Gamestudio Links
Zorro Links
Newest Posts
contractUpdate() is filtering if >2 rows
by mistery. 12/04/26 19:03
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (mistery, AndrewAMD), 5,869 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Error in my script #235026
11/05/08 17:12
11/05/08 17:12
Joined: Nov 2008
Posts: 50
S
Secret_V Offline OP
Junior Member
Secret_V  Offline OP
Junior Member
S

Joined: Nov 2008
Posts: 50
Hi, I'm making a game in GameStudio A7 and it includes the lift01.wdl script. But now when I try to load the game, it gives me an error and then I can't load my game. It says:

< move_mode+=ignore+maps+IGNORE_WORLD>
lift01.wdl 164:0 (): Parameter unknown IGNORE_WORLD

< move_mode+=ignore+maps+IGNORE_WORLD>
lift01.wdl 199:0 (): Parameter unknown IGNORE_WORLD

< move_mode+=ignore+maps+IGNORE_WORLD>
lift01.wdl 271:0 (): Parameter unknown IGNORE_WORLD

< move_mode+=ignore+maps+IGNORE_WORLD>
lift01.wdl 306:0 (): Parameter unknown IGNORE_WORLD

Script error
Engine shutdown
Startup failure - any key to abort      

I checked the four lines in my SED, and they all had the same text:

if(my._ignore_map__00E == ON) { move_mode += ignore_maps + IGNORE_WORLD; }

I already tried to disable these lines and then my game would run properly. At least, that's what I thought at first. Cause my doors won't slide open properly. Does anyone know how I can fix this?

Secret V

Re: Error in my script [Re: Secret_V] #235028
11/05/08 17:19
11/05/08 17:19
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
This is the lite-c forum. So I guess you are using lite-c then? Including .wdl files in litec is not ideal. In this case you should be able to remove the error by replacing ignore_world with INGORE_WORLD. Thats a define from a atypes.h.


Always learn from history, to be sure you make the same mistakes again...
Re: Error in my script [Re: Uhrwerk] #235044
11/05/08 18:02
11/05/08 18:02
Joined: Nov 2008
Posts: 50
S
Secret_V Offline OP
Junior Member
Secret_V  Offline OP
Junior Member
S

Joined: Nov 2008
Posts: 50
Yes, It's lite-c. The lift01.wdl file is already included in the program when you first install it. But as you can see, the IGNORE_WORLD part is already in caps in the script.

Re: Error in my script [Re: Secret_V] #235045
11/05/08 18:15
11/05/08 18:15
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Sorry, I meant IGNORE_MAPS.


Always learn from history, to be sure you make the same mistakes again...
Re: Error in my script [Re: Uhrwerk] #235046
11/05/08 18:19
11/05/08 18:19
Joined: Nov 2008
Posts: 50
S
Secret_V Offline OP
Junior Member
Secret_V  Offline OP
Junior Member
S

Joined: Nov 2008
Posts: 50
Still the same error.

Re: Error in my script [Re: Secret_V] #235049
11/05/08 18:27
11/05/08 18:27
Joined: Jan 2005
Posts: 605
Deutschland, NRW
G
garv3 Offline
User
garv3  Offline
User
G

Joined: Jan 2005
Posts: 605
Deutschland, NRW
I think Uhrwerk was a bit wrong. It's not "ignore_maps" but "ignore+maps" in your script. But I can't see the problem either.


GameStudio Version: A7 Pro v7.86
Re: Error in my script [Re: garv3] #235058
11/05/08 19:04
11/05/08 19:04
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
It's IGNORE_MAPS with an underscore as he writes in his first post.

I guess the error comes then from including .wdl files in .c files.


Always learn from history, to be sure you make the same mistakes again...
Re: Error in my script [Re: Uhrwerk] #235060
11/05/08 19:11
11/05/08 19:11
Joined: Jan 2005
Posts: 605
Deutschland, NRW
G
garv3 Offline
User
garv3  Offline
User
G

Joined: Jan 2005
Posts: 605
Deutschland, NRW
OK. The encoder said ignore+maps... But I agree - including the .wdl in lite-c might be the error.


GameStudio Version: A7 Pro v7.86
Re: Error in my script [Re: garv3] #235066
11/05/08 19:47
11/05/08 19:47
Joined: Nov 2008
Posts: 50
S
Secret_V Offline OP
Junior Member
Secret_V  Offline OP
Junior Member
S

Joined: Nov 2008
Posts: 50
Could be, but wouldn't that be strange? Cause when I disable those 4 lines which contain the errors, my game will load. It then doesn't give me any errors anymore, only my doors won't slide completely open, like it's stuck or something.

I think everyone here who uses GameStudio A6 or A7 would have this file. It's called lift01 and it's a .wdl file. It's in the Template_6 map, and then the code map. Could you please check it for me? My errors are in line 164, 199, 271 and 306.

Re: Error in my script [Re: Secret_V] #235070
11/05/08 20:11
11/05/08 20:11
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
The lift01.wdl is a standard template file and contains of course the same for all of us. It's not so strange that it runs with these line disabled cause lite-c and c-script are very similiar. Now my third guess is, that move_mode is undefined. I know this variable has been used in previous versions, but I don't know where it went. It's not anymore in the manual. What you can do is trying to find where it is used and replace the mode used in c_move with the given flags manually.


Always learn from history, to be sure you make the same mistakes again...
Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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