First tried out some scripts that i found here. Did not work for me whatsoever.
Found some other scripts.
Added them to the server and set up all the Action/Unique ids.
Npc enables you to enter the door > Teleport inside works.
When teleporting to the first room.
Changing "doForceSummonCreature" to "doSummonCreature" works.
However when you kill the monster the pillar does not get removed. And if you try and use the portal to get out (Escape exit) you will get teleported back into the room and a new monster will spawn.
Console also prints this when using the portal (escape exit)
Changing "doForceSummonCreature" to "doSummonCreature" removes the error in the log. But will still teleport you to the middle of the room.
arena_pit.lua
"doTeleportThing(cid, POSITION_KICK)"
svargrondarenaquest.lua
"POSITION_KICK = {x = 1484, y = 1062, z = 7}"
I did set the duration of how long you can stay in the arena to 60 sec to test the kick when taking to long. This works just fine and will teleport you to the "POSITION_KICK" coords.
So im stuck with no errors, just a script that does not do what its supposed to do ^^,
(Perhaps to new functions?)
Any hints is very much appreciated =)
Files im using
arena_enter.lua
arena_pit.lua
SvargrondArenaQuest.lua (inside Data\lib)
(There are some more, like rewards etc. But since its not possible to get the UID's to get rewards yets its not worth listing them.)
Found some other scripts.
Added them to the server and set up all the Action/Unique ids.
Npc enables you to enter the door > Teleport inside works.
When teleporting to the first room.
Code:
[08/12/2013 16:14:37] Lua Script Error: [MoveEvents Interface]
[08/12/2013 16:14:37] data/movements/scripts/svargrond arena quest/arena_enter.lua:onStepIn
[08/12/2013 16:14:37] .../movements/scripts/svargrond arena quest/arena_enter.lua:55: attempt to call global 'doForceSummonCreature' (a nil value)
[08/12/2013 16:14:37] stack traceback:
[08/12/2013 16:14:37] [C]: in function 'doForceSummonCreature'
[08/12/2013 16:14:37] .../movements/scripts/svargrond arena quest/arena_enter.lua:55: in function <.../movements/scripts/svargrond arena quest/arena_enter.lua:17>
Changing "doForceSummonCreature" to "doSummonCreature" works.
However when you kill the monster the pillar does not get removed. And if you try and use the portal to get out (Escape exit) you will get teleported back into the room and a new monster will spawn.
Console also prints this when using the portal (escape exit)
Code:
[08/12/2013 16:15:57] Lua Script Error: [MoveEvents Interface]
[08/12/2013 16:15:57] data/movements/scripts/svargrond arena quest/arena_pit.lua:onStepIn
[08/12/2013 16:15:57] data/movements/scripts/svargrond arena quest/arena_pit.lua:68: attempt to call global 'doForceSummonCreature' (a nil value)
[08/12/2013 16:15:57] stack traceback:
[08/12/2013 16:15:57] [C]: in function 'doForceSummonCreature'
[08/12/2013 16:15:57] data/movements/scripts/svargrond arena quest/arena_pit.lua:68: in function <data/movements/scripts/svargrond arena quest/arena_pit.lua:16>
arena_pit.lua
"doTeleportThing(cid, POSITION_KICK)"
svargrondarenaquest.lua
"POSITION_KICK = {x = 1484, y = 1062, z = 7}"
I did set the duration of how long you can stay in the arena to 60 sec to test the kick when taking to long. This works just fine and will teleport you to the "POSITION_KICK" coords.
So im stuck with no errors, just a script that does not do what its supposed to do ^^,
(Perhaps to new functions?)
Any hints is very much appreciated =)
Files im using
arena_enter.lua
arena_pit.lua
SvargrondArenaQuest.lua (inside Data\lib)
(There are some more, like rewards etc. But since its not possible to get the UID's to get rewards yets its not worth listing them.)
Last edited: