• 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!

MoveEvent Three Rounds Tic-Tac-Toc System(Fixed Version + more features)

such much code for simple event Oo
Someone should make new one (not me xD)
Where players register automatically when they step near the game tiles.
Only first 2 player will register.
By double using the board, their mark will be set down.
As soon as 1 of players steps out the game tile radius, game resets.
 
Change this doTeleportThing(array,getTownTemplePosition(getPlayerTown(array))) on line 243 to
Code:
doTeleportThing(array[i],getTownTemplePosition(getPlayerTown(array[i])))

On line 385 there is this.
Code:
for i = 1,#players do
Under that line, change players to
Code:
players[i]
So
Code:
doTeleportThing(players[i],config_tic.pos_game,false)
Do the same thing for the 4 lines with players under that.
My mod: http://pastebin.com/aJZV4DPv

Errors:
:eek:nUse
Description:
attempt to index a nil value
stack traceback:
[C]: in function 'doTeleportThing'
[string "LuaInterface::loadBuffer"]:32: in function <[string "LuaInterface::loadBuffer"]:4>
 
Back
Top