Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (TipmyPip, OptimusPrime, AndrewAMD), 14,882 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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