FOnline Development > General Discussion
Error Is something wrong with the world map?
Bevolard:
[30:333] FOServer::SScriptFunc::Global_SetSendParameterFunc : Script error: Index already enabled. : main : bool start() : 146, 2 : FOServer::InitReal : Game
Mr Feltzer:
Inside main.fos have you called the "start()" function twice?
or inside of start() is "Global_SetSendParameterFunc" called twice?
Bevolard:
No that wasn't the problem damn.. thanks for the help though
still trying to figure it out
Wipe:
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
--- End quote ---
Now what that mess means.
--- Quote ---Index already enabled
--- End quote ---
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
--- End quote ---
...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.
Bevolard:
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
Navigation
[0] Message Index
[#] Next page
Go to full version