kito2
www.masteria.net
Nice idea, but when event finishes, the storages goes to 0?
What happens if you log out and both teams are full? It was a long time since i tried this script but if i can remember right i got bug in my distro...
if you logged out during team is ful it will just say that you got out of event, and wont start teleporting .
@ Winnerandy
I donno , maybe you copied wrong, you diid wrong on editing veribles cause i am pretty much sure like 10023930% that it works fine on 0.4![]()
22:56 Eventer: Hello Test Jeden. If you want to join the Battle just tell me.
22:56 Test Jeden [8]: battle
22:56 Eventer: Oh! Hail, sire. Do you want to reset my event?
22:56 Test Jeden [8]: yes
22:56 Eventer: Oh! Hail, sire. Do you want to reset my event?
22:56 Eventer: Event was reseted, sire.
22:56 Test Jeden [8]: join test dwa
22:56 Eventer: Oh! Hail, sire. Do you want to reset my event?
22:56 Test Jeden [8]: blue team
22:56 Eventer: Oh! Hail, sire. Do you want to reset my event?
22:56 Test Jeden [8]: red team
22:56 Eventer: Oh! Hail, sire. Do you want to reset my event?
22:57 My Event was reseted on the orders of Test Dwa. So all who want to join msg me now.
22:57 The Battle Event is opened.Npc is gathering 2 teams to start event. There is 0 players in blue team vs 0 players in red team.
As i said Gms cant join they can only talk to npc to reset event
@ Winnerandy
It could be helpful if you show me one of the errors you get if you can.
I do not know the command
You can write them?
[11/12/2010 18:03:37] Demore has logged in.
[11/12/2010 18:03:37] [Error - CreatureScript Interface]
[11/12/2010 18:03:37] buffernLogin
[11/12/2010 18:03:37] Description:
[11/12/2010 18:03:37] data/lib/032-position.lua:2: attempt to index global 'position' (a nil value)
[11/12/2010 18:03:37] stack traceback:
[11/12/2010 18:03:37] data/lib/032-position.lua:2: in function 'isInRange'
[11/12/2010 18:03:37] [string "loadBuffer"]:5: in function <[string "loadBuffer"]:3>
[11/12/2010 18:03:37] > Broadcasted message: "Demore have left the War-Event".
[11/12/2010 18:03:37] Demore has logged out.
function isInRange(position, fromPosition, toPosition)
function isInRange(position, fromPosition, toPosition)
return (position.x >= fromPosition.x and position.y >= fromPosition.y and position.z >= fromPosition.z and position.x <= toPosition.x and position.y <= toPosition.y and position.z <= toPosition.z)
end
function isInRange(pos, fromPosition, toPosition)
return (position.x >= fromPosition.x and position.y >= fromPosition.y and position.z >= fromPosition.z and position.x <= toPosition.x and position.y <= toPosition.y and position.z <= toPosition.z)
end
function isInRange(position, fromPosition, toPosition)
return (position.x >= fromPosition.x and position.y >= fromPosition.y and position.z >= fromPosition.z and position.x <= toPosition.x and position.y <= toPosition.y and position.z <= toPosition.z)
end