Page 2 of 2

Re: Valley of Peace

PostPosted: 03 Jul 2017, 08:31
by Black

There are errors in your script - every second more than 20. This may affect performance when you have a slow hard drive (For each log there must be loaded the *.LOG file then add a new line and finally save the whole file again). Fix errors and it will be smooth.
Yeah i actually haven't think to see the Log File :rolleyes: Infact some functions receive invalid parameters in the script, and this happens much time in a second like you just said.
So thank you toxic :)

I made a screenshoot of the script part that causes the errors. It seems that you use some array's elements, which are not initialized before. By commenting these line of code there is no more lag.
I don't know if those lines were meant to be necessary for something else, maybe Aasfresser check the script file and let me know :D

Re: Valley of Peace

PostPosted: 06 Jul 2017, 20:56
by Aasfresser
I see! I didn't know that can cause problems. As soon as I find some spare time Ill see if I can fix it ;)

@Killer yeah I do still have the replay, but that wont get you far since it breaks after 30-45 mins :(

Re: Valley of Peace

PostPosted: 09 Jul 2017, 11:52
by Aasfresser
Updated the map! Might have fixed the lag issue ;)

Re: Valley of Peace

PostPosted: 10 Jul 2017, 07:56
by Black
If you try the map alone, there is still a small lag beacuse the other player isn't active, and some functions receive invalid parameters; Although this is not a real problem because the map is for 2 player. Infact in 2 all works well. I'm gonna try the map soon, for now i can only say well done ;)

Re: Valley of Peace

PostPosted: 13 Jul 2017, 13:45
by Aasfresser
Nice! Glad it works now :D Hope you will enjoy it.