I have a question, what do I write in: YOUR STORAGE ID HERE
I have a question, what do I write in: YOUR STORAGE ID HERE
[Error - CreatureEvent::executeOnPreparedeath] Call stack overflow]
Then a segmentation error and crash..
Are you using the script that I provided or did you change something? If so please post your script.
Hmm.. Getting this upon death... WHAT SCRIPT FILE IS UNKNOWN!! :'(
K i was an idiot i had the group ID set to 1 aswell lawl chanign it to 4 has fixed the error..
But now on a death i am getting
Code:[Error - CreatureEvent::executeOnPreparedeath] Call stack overflow] Then a segmentation error and crash..
Fixed Segmentation error by chaning the "Function timer" Back to the original one in the first post but am still getting the "Nil Value error" as above.
Are you using the script that I provided or did you change something? If so please post your script.
for i = 1,2, #Game.getTowns() do
modal:addChoice(i, Town(i):getName())
end
so u know what u do ya?I was using your script... However i have it working by adding the "1,2," to this:
Code:for i = 1,2, #Game.getTowns() do modal:addChoice(i, Town(i):getName()) end
Where can I add more towns to spawn too? When i add more then three towns the nil value pops up.. weird..
so u know what u do ya?
lemme show u
for i = 1, 10, #Game.getTowns() do
modal:addChoice(i, Town(i):getName())
end
for i = 1, 10, 1, #Game.getTowns() do
modal:addChoice(i, Town(i):getName())
end
Code:for i = 1, #Game.getTowns() do modal:addChoice(i, Town(i):getName()) end
If i use this code i get this
lol
print(#Game.getTowns())
18tell me what shows up in your console with that.Code:print(#Game.getTowns())
You can add towns manually instead of using that code that takes all the towns of your map, you can can add w/e position really, but you'll need to create a table.
And the error doesn't seems to be with the towns.