Jump to content
tratsh

@ares mod : issues with save and load one sqf code

Recommended Posts

here is my pb.

 

i ve created a zeus mission a server using latest ares mod.

 

-saved the sqf code for anything on map 2000+ objects

 

-pasted it in a text file for later use.

 

Now when i try to execute code on server the objects doesnt appear

but if i click on adding all object on zeus it says 2000+ objects added to curator...

still nothing showing up , and  i ll be happy if someone can tell me why :)

 

 

 

FYI: i m running the same version ares mod than the server

 

when i recreate other mission and save them in txt file ( with far less object) the code is executing perfectly and everything shows up on map.

 

 

Share this post


Link to post
Share on other sites

Is the SQF file saved in the missionfolder?

 

Where do you execute the script?

 

Maybe you should wait a bit. It takes time to create that many object, if you execute this on the server.

Share this post


Link to post
Share on other sites

i execute the script with execute code(server) option in ares mode

 

i use it on a public server. ( any other sqf code i load is working)

 

i waited 10 minutes and not a single object showed up ( but when i select add object to zeus it tell me 2530 object added to the curator)

 

i ll try create 2000 object on map save them and load them to see if my problem is related to the number of object.

 

how can i send you the sqf ?  if i put it on code option on the forum it tells me its too long ...

Share this post


Link to post
Share on other sites

If you execute the code on the server it will take ages (depending on the serer "fps"), because it will run in unscedualed environment.

do you paste the code in the debug console or do you execVm it?

Share this post


Link to post
Share on other sites

your txt is unreadable. 

Pro tip:

 

1.) open notepad.

2.) paste the export

3.)go to replace

4.)select searchmode : extendet

5.) search for ";"

6.)replace with ";\r"

7.) replace all

 

there you go now you can read shit ^^ adn especially find the line which might have an error.

Share this post


Link to post
Share on other sites

your export has script errors.

 

run arma with script errors on and correct your export. then try again

Share this post


Link to post
Share on other sites

i ve tried to correct the file using your tips but it doesnt change anything

 

here is the option i use to exec code

 

https://drive.google.com/file/d/0B9kjTYLgjzi3ZXFjWlVVQkFfVmc/view?usp=sharing

 

here is what is written when i add object to zeus ( but nothing appear on map) :

 

https://drive.google.com/file/d/0B9kjTYLgjzi3ZjljYVRxd0hHQ3c/view?usp=sharing

Share this post


Link to post
Share on other sites

if it does not work with ares modiules, do it with the debug console. It's propably too long for the ares module to execute. and it takes hours for the server to create that many objects

Share this post


Link to post
Share on other sites

i'm trying to load the code on  a public server so i think i can't access to debug console.

 

i ve manage to load 3000 object and its working fine but i can't figure out what is wrong with the code i ve made previously ...

Share this post


Link to post
Share on other sites

U do strange things. Try contacting the author of ares or maybe the missionmaker has disabled the option to execute stuff on the server.

Share this post


Link to post
Share on other sites

i thunk i ll go for the ares dude... coz any code but this one can be executed on the server 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×