Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, 1 invisible), 1,211 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Compile Error #286848
08/27/09 19:46
08/27/09 19:46
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
Hey Guys,

So I'm trying to compile the ANet sample. I'm getting the following error when I try to run it:


ptr_remove(ptr_for_handle(players[sender].skill[40]));

Undeclared identifier

Any ideas on what should I do?

Thanks in advance,

Doug

Re: Compile Error [Re: xDoug] #286860
08/27/09 21:06
08/27/09 21:06
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Have you got the last update?

Last edited by Rei_Ayanami; 08/27/09 21:07.
Re: Compile Error [Re: Rei_Ayanami] #286864
08/27/09 21:43
08/27/09 21:43
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
I'm not sure, where do I get it and what do i do?

Re: Compile Error [Re: xDoug] #286865
08/27/09 21:46
08/27/09 21:46
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
I downloaded the ANet demo in the ANet website.
And I uploaded it into my project folder,
and i get this message:
Error in like 189: ptr_remove undeclared identifier
if(ptr_for_handle(players[i].skill[40]!=0){ptr_remove(ptr_for_handle(players[i].skill[40])
}

Re: Compile Error [Re: xDoug] #286867
08/27/09 22:02
08/27/09 22:02
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
That error have notting to do with ANET. You have to use the newest version from Lite-c, older versions don`t understand ptr_remove.
ptr_remove is the newer version from ent_remove.

PS: You use lite-c or c-script?

Re: Compile Error [Re: Widi] #286869
08/27/09 22:04
08/27/09 22:04
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
lite-c

Re: Compile Error [Re: xDoug] #286871
08/27/09 22:08
08/27/09 22:08
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
update....

Re: Compile Error [Re: Widi] #286873
08/27/09 22:10
08/27/09 22:10
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
Okay I will do that,

Sorry but where do i get this update/?

Re: Compile Error [Re: xDoug] #286874
08/27/09 22:11
08/27/09 22:11
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
Right now i have Version 7.02.4 of the a7

Re: Compile Error [Re: xDoug] #286876
08/27/09 22:17
08/27/09 22:17
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
Nevermind, i think i got it wink

Page 1 of 2 1 2

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1