fodev.net

FOnline Development => General Discussion => Topic started by: Bevolard on January 23, 2013, 06:43:23 am

Title: Error Is something wrong with the world map?
Post by: Bevolard on January 23, 2013, 06:43:23 am
[30:333] FOServer::SScriptFunc::Global_SetSendParameterFunc : Script error: Index already enabled. : main : bool start() : 146, 2 : FOServer::InitReal : Game
Title: Re: Error Is something wrong with the world map?
Post by: Mr Feltzer on January 23, 2013, 07:25:47 am
Inside main.fos have you called the "start()" function twice?
or inside of start() is "Global_SetSendParameterFunc" called twice?
Title: Re: Error Is something wrong with the world map?
Post by: Bevolard on January 23, 2013, 12:38:42 pm
No that wasn't the problem damn.. thanks for the help though
still trying to figure it out
Title: Re: Error Is something wrong with the world map?
Post by: Wipe on January 23, 2013, 01:43:01 pm
If you're not quite sure why error message shows up, just read it carefuly. What is interesting for you, is this part.
Quote
Index already enabled : main : bool start() : 146, 2

Now what that mess means.

Quote
Index already enabled
You've used SetSendParameter() function twice on same parameter, and engine doesn't allow that; you should recheck the place where error takes place...

Quote
main : bool start() : 146, 2
...and you can find it using this part. First is module (main), then function(bool start()), and finally position in preprocessed file. Open main.fosp file, which is the one and jump to line 146 - that's where you made something wrong. File is bit harder to read, as all defines/macros are already translated, but when you compare .fos and .fosp files, mistakes causing engine to cry are easier to find, and maybe even fix.
Title: Re: Error Is something wrong with the world map?
Post by: Bevolard on January 23, 2013, 03:15:50 pm
hmm on main.fosb
Line 146 XŽ@ÿ@g0=
i dont get how i made something wrong when i never even touched it..
also its weird encoding
Title: Re: Error Is something wrong with the world map?
Post by: Wipe on January 23, 2013, 03:22:58 pm
hmm on main.fosb
Open main.fosp file

...
Title: Re: Error Is something wrong with the world map?
Post by: Bevolard on January 23, 2013, 03:39:28 pm
*Face Palm*
Title: Re: Error Is something wrong with the world map?
Post by: Bevolard on January 23, 2013, 03:42:32 pm
i cant find where i made this problem