theFarWilds.com http://thefarwilds.com/forum/ | |
few more bugs http://thefarwilds.com/forum/viewtopic.php?f=14&t=1808 |
Page 1 of 1 |
Author: | angelatheist [ Sat Apr 03, 2010 12:40 am ] |
Post subject: | few more bugs |
getVeg returned 0 for an ocean but this isn't a valid value for setting terrain; if you play naturscaping and choose the swamp desert option it makes a swamp despite there being a picture of a desert. Sometimes the ai freezes up and doesn't do anything on it turn, this seems to somehow depend on the location of its creatures. (this happened on a 17x17 map) In a very large script I had some of setTerrain functions near the end not doing anything. After moving around some code in the script it worked fine |
Author: | jed [ Sat Apr 03, 2010 12:04 pm ] |
Post subject: | Re: few more bugs |
> getVeg returned 0 for an ocean but this isn't a valid value for setting terrain; Oceans have no veg so they will always return 0 here. >In a very large script I had some of setTerrain functions near the end not doing anything. >After moving around some code in the script it worked fine Well I'd have to see the code. Maybe you were setting it one way and then changing it later? |
Author: | angelatheist [ Sat Apr 03, 2010 11:46 pm ] |
Post subject: | Re: few more bugs |
my issue with getVeg is that setTerrain(loc1, getTopo(loc2), getVeg(loc2)); does not work if loc2 is an ocean. for the second issue ive put {Script,work in progress,114} into the public scripts, as it is now currently none of the terrain at 11 or above are being changed. this problem also seemed to happen with {Script,Battle Ship,104} one other small issue ive been having is that occasionally when i try to save a script instead i get a new script like {Script,,211} without a name. |
Author: | angelatheist [ Mon Apr 05, 2010 2:05 am ] |
Post subject: | Re: few more bugs |
ent.getLoc() == ent.getLoc() returns false. |
Author: | jed [ Mon Apr 05, 2010 4:00 pm ] |
Post subject: | Re: few more bugs |
ok all these issues should be fixed. Except the saving the script with a blank name. I haven't been able to make that happen |
Author: | angelatheist [ Fri Apr 09, 2010 1:19 pm ] |
Post subject: | Re: few more bugs |
endGame(getAIPlayer(0)); causes the human player to win |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |