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
0 registered members (), 18,561 guests, and 5 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
script error 97 #89821
09/14/06 00:08
09/14/06 00:08
Joined: Sep 2006
Posts: 41
B
blakegoat Offline OP
Newbie
blakegoat  Offline OP
Newbie
B

Joined: Sep 2006
Posts: 41
I am using the standard edition on update 6.40, i had completely finished my game and when it came time to publish, this script error appeared:

Error(97): Syntax error - nonexistent/empty function remove

does anybody know what this means?

Re: script error 97 [Re: blakegoat] #89822
09/14/06 05:11
09/14/06 05:11
Joined: Aug 2003
Posts: 7,440
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,440
Red Dwarf
that you are using a function called "remove" in your game and it does not exist is empty or bad placed.


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: script error 97 [Re: Michael_Schwarz] #89823
09/14/06 05:27
09/14/06 05:27
Joined: Sep 2006
Posts: 41
B
blakegoat Offline OP
Newbie
blakegoat  Offline OP
Newbie
B

Joined: Sep 2006
Posts: 41
any idea where i am using this function?

Re: script error 97 [Re: blakegoat] #89824
09/14/06 05:34
09/14/06 05:34
Joined: Aug 2003
Posts: 7,440
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,440
Red Dwarf
I dont know your project, so how should I know? Make a search through your script files and search for "function remove" or "remove();" or "remove("


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: script error 97 [Re: Michael_Schwarz] #89825
09/14/06 05:51
09/14/06 05:51
Joined: Sep 2006
Posts: 41
B
blakegoat Offline OP
Newbie
blakegoat  Offline OP
Newbie
B

Joined: Sep 2006
Posts: 41
i found this in the debug file:
wait(MY.SKILL1);
ent_remove(me);

and in my plBiped01 i found:
{
diag("\nWARNING! PlBiped01::PlBiped01- Two or more PlBiped01 entities in level.");
wait(1); ent_remove(me);
return;
}

and in trigger00 i found:
//remove from level
my.passable = on;
(few other things)
wait(1);
ent_remove(me);
}

and in lift01 i found:
if(my._link_id__0e <= 0)
{
diag("\nWARNING! Lift01::Lift01_Linked - Bad link id. Entity removed");
ent_remove(me);

in levels00:
//remove ".wmb" from all strings
str_trunc(levels00_1_str,4)
(etc.)

i appreciate this help.
thankyou

Re: script error 97 [Re: blakegoat] #89826
09/14/06 06:36
09/14/06 06:36
Joined: Sep 2006
Posts: 41
B
blakegoat Offline OP
Newbie
blakegoat  Offline OP
Newbie
B

Joined: Sep 2006
Posts: 41
could it be related to any of those?

Re: script error 97 [Re: blakegoat] #89827
09/14/06 06:45
09/14/06 06:45
Joined: Aug 2005
Posts: 312
Sweden
tindust Offline
Senior Member
tindust  Offline
Senior Member

Joined: Aug 2005
Posts: 312
Sweden
You are probably using an older version of the template files. The engine function "remove(me)" has been renamed to "ent_remove(me)" or "panel_remove(me)" etc. Check for the old function name "remove()" in all your wdls and change them to "ent_remove()" or any other suitable current function name.
Or, update your template files...

cheers
tindust


Lighten Your Load With

DynaLights 1.0

Realtime 3D Lighting. Free Trial Version available.

3DGS 660P
Re: script error 97 [Re: tindust] #89828
09/14/06 06:49
09/14/06 06:49
Joined: Sep 2006
Posts: 41
B
blakegoat Offline OP
Newbie
blakegoat  Offline OP
Newbie
B

Joined: Sep 2006
Posts: 41
as much as i would like that to work ive been through all of them and the above ones were the only instances of remove i found. also i have not used the program on the old update as i (obviously) only just got it, hence my dumbness.

haha does anyone else have an idea?

Re: script error 97 [Re: blakegoat] #89829
09/14/06 07:08
09/14/06 07:08
Joined: Aug 2005
Posts: 312
Sweden
tindust Offline
Senior Member
tindust  Offline
Senior Member

Joined: Aug 2005
Posts: 312
Sweden
Well, a function named remove is apparently called somewhere in your code and it does not exist. One solution I've seen, which is a sort of hack is to add a function called remove with just a wait(1). It will not solve the underlaying problem, but will allow the build process to contine, and perhaps give you the chance to find the underlying problem later.
we all just try to help,
cheers
tindust


Lighten Your Load With

DynaLights 1.0

Realtime 3D Lighting. Free Trial Version available.

3DGS 660P
Re: script error 97 [Re: tindust] #89830
09/14/06 07:14
09/14/06 07:14
Joined: Sep 2006
Posts: 41
B
blakegoat Offline OP
Newbie
blakegoat  Offline OP
Newbie
B

Joined: Sep 2006
Posts: 41
thanks for that but im so bad with the program that i dont actually know how to do that.

Page 1 of 2 1 2

Moderated by  old_bill, Tobias 

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