• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

"real tibia svargrond arena" by Gesior

If your arena doesn't want to work check in your data/monsters.xml if the names of the monsters are the same as in the gesior script.

For me it works tfs b2, BUT if there is a fire on the ground the monster dosnt want to spawn so i had to delete the fire attacks (fire fields etc).
 
If your arena doesn't want to work check in your data/monsters.xml if the names of the monsters are the same as in the gesior script.

For me it works tfs b2, BUT if there is a fire on the ground the monster dosnt want to spawn so i had to delete the fire attacks (fire fields etc).
You can fix bug with fire field. In data/movements/scripts/arenaroom.lua add function:
PHP:
function doSummonCreatureArena(name, pos)
	local tempPos = getThingPos(42645)
	local monsterUID = doSummonCreature(name, tempPos)
	doTeleportThing(monsterUID, pos, TRUE)
	return monsterUID
end
Then in this file find:
PHP:
doSummonCreature
and replace with:
PHP:
doSummonCreatureArena
Somewhere on map create small empty isle and on one ground tile set UniqueID 42654. Monsters will spawn there (can't see any player-target on isle - dont use fire field) and teleport to arena room.
 
What is this?
Code:
[27/01/2009 19:45:19] Lua Script Error: [MoveEvents Interface] 
[27/01/2009 19:45:19] data/movements/scripts/arenaroom.lua:onStepIn

[27/01/2009 19:45:19] luaGetThingPos(). Thing not found

[27/01/2009 19:45:19] Lua Script Error: [MoveEvents Interface] 
[27/01/2009 19:45:19] data/movements/scripts/arenaroom.lua:onStepIn

[27/01/2009 19:45:19] luaDoSummonCreature(). Can not summon monster: avalanche

[27/01/2009 19:45:19] Lua Script Error: [MoveEvents Interface] 
[27/01/2009 19:45:19] data/movements/scripts/arenaroom.lua:onStepIn

[27/01/2009 19:45:19] luaDoTeleportThing(). Thing not found
I use TFS beta 3
 
You can fix bug with fire field. In data/movements/scripts/arenaroom.lua add function:
PHP:
function doSummonCreatureArena(name, pos)
	local tempPos = getThingPos(42645)
	local monsterUID = doSummonCreature(name, tempPos)
	doTeleportThing(monsterUID, pos, TRUE)
	return monsterUID
end
Then in this file find:
PHP:
doSummonCreature
and replace with:
PHP:
doSummonCreatureArena
Somewhere on map create small empty isle and on one ground tile set UniqueID 42654. Monsters will spawn there (can't see any player-target on isle - dont use fire field) and teleport to arena room.

That was noobish :/, better is removing IDs of fire fields in arena before player enters than playing with stupid islands to move monsters then -.-
 
Gesior, i think peoples getting still error in ovements after putting the script from global.lua to data.lua in lib.

and then i kill.lua putting a return TRUE before the last end.

I dont think that's the all.

Test yourself, and then say;)
 
I too :f. Maybe I will release mine (Gerior's 99% ofc) uber mega pro fixed arena? :D
 
OK it is ok but when I take chest
[29/01/2009 18:49:47] Lua Script Error: [Action Interface]
[29/01/2009 18:49:47] data/actions/scripts/quests/arenareward.lua:eek:nUse

[29/01/2009 18:49:47] data/lib/function.lua:311: attempt to index a number value
[29/01/2009 18:49:47] stack traceback:
[29/01/2009 18:49:47] data/lib/function.lua:311: in function 'getItemName'
[29/01/2009 18:49:47] data/actions/scripts/quests/arenareward.lua:23: in function <data/actions/scripts/quests/arenareward.lua:1>
 
I have TFS 0.3b3 and i have the same error like Aragornik, but all another scripts are working perfectly...hmm maybe not all beacouse i can took a present and a backpack, not only one of this 2 prizes.
 
TOLD YOU... If you got "first kill the monster" that means you should check in your monsters.xml if the names of the monsters are the same as in the gesior scripts
 
TOLD YOU... If you got "first kill the monster" that means you should check in your monsters.xml if the names of the monsters are the same as in the gesior scripts

Hey. I did check it, It still doesnt work.
When i enter first tp, I can kill the first monster,
Then after i killed the first monster i want to enter the other tp
It says "First kill the monster!"

I have no idea. Before it was that i was in the last room and it said "First kill the monster!"


Geisor you should be answearing those who have prob's.
Not ignoring.
 
TOLD YOU... If you got "first kill the monster" that means you should check in your monsters.xml if the names of the monsters are the same as in the gesior scripts

It say "first, kill the monster" When I've payd the NPC, walked through the doors and is about to enter the first teleport.

Pay NPC -> Walk through doors -> Trying to walk into the teleport!

It's not spawning a monster there, because the first tp is not INSIDE the pits!
 
<monster name="Kreebosh the Exile" file="Arena/scrapper/kreebosh the exile.xml/>
Monster name=... must be the same as the monster name in data lua arena_monsters[42311] = 'kreebosh the exile'

second one you should check if you added everything!! you should read whole posts in this thread...

third you can take only one reward !! as on real tibia...
 
Back
Top