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, AndrewAMD, NewbieZorro), 16,055 guests, and 7 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 2 of 2 1 2
Re: script error 97 [Re: blakegoat] #89831
09/14/06 07:25
09/14/06 07:25
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
open your script file and add:

function remove(ent)
{
return;
}

save and close it, run the engine.

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

Joined: Aug 2005
Posts: 312
Sweden
Well, this is what you could do:
open your main game wdl script, and insert the following lines before the function(main). (This is just temporary fix, usually you would not put additional functions in this place)

// TEMPORARY REMOVE FUNCTION
function remove() {wait(1);}

save,
that's it
hope the build will complete now

revised: oops, posted at the same time!

Last edited by tindust; 09/14/06 07:27.

Lighten Your Load With

DynaLights 1.0

Realtime 3D Lighting. Free Trial Version available.

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

Joined: Sep 2006
Posts: 41
thank you very much,
i have included that before function main, and there is now no script error.
but there is still one slight problem, when the game loads, i can only see the side of the outside of my building and the player does not move.

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

Joined: Sep 2006
Posts: 41
i tried the same thing with the scripts both of you gave me and they both do the same thing.

:S

Re: script error 97 [Re: blakegoat] #89835
09/14/06 07:58
09/14/06 07:58
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Better do NOT apply the above mentioned tricks for getting rid of the error message. Rather, look for the reason of that problem.

Maybe, either you or the person whose project you're running have tampered with template scripts. When you are using the old A5 templates, make sure to use their original versions from the template folder, and not any copies or modified versions.

Otherwise there's a REMOVE keyword in your own code. Erase that and use the proper ent_remove function for removing entities.

Re: script error 97 [Re: jcl] #89836
09/14/06 11:34
09/14/06 11:34
Joined: Sep 2006
Posts: 41
B
blakegoat Offline OP
Newbie
blakegoat  Offline OP
Newbie
B

Joined: Sep 2006
Posts: 41
Thank you very much for your help, i was able to fix the error and the game is now working, however, whenever i publish the game, and go to the second level i recieve an error Unsupported WMB version, when i rebuild the game, it then works on the game, but if i republish the game, the same thing happens in the published file :S

any ideas?

Page 2 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