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

GlobalEvent [MOD]Full auto WAR-TeamBattle Event(with random rewards)

03:02 Eventer: Do you wish to join the battle? There is currently 2/2 players in Blue team and 2/2 players in Red team...? he doesn't teleport us or anything. And why does a god have to reset this event o0?
 
I did a 1v1 to test it, and when someone died it instantly crashed and gave me this error.
Code:
Segmentation fault
 
If your server is crashing when using this, Then don't use it.
 
Will do , i will rewrite the script today or tomorrow to depend on teleport instead of npc too, and make it a bit more orgnized.
 
Well, randomly crashes the server =(

--
There's a way to enable/disable this event without restart server? Or something to stop broadcasting spam

--
sometimes, when the player leave queue = shows -1 in the team
 
Last edited:
Updated to v2.0, currently works on 0.3.6PL1 and 0.4


Recommended to switch to new v2.0 as it is more bug-free than the previous version.
 
Last edited:
When draw:
bugerror.png
 
Last edited:
Another issue: senior tutors can't join (group id 3).

Just:
XML:
if getPlayerGroupId(cid) < 3 then
to
XML:
if getPlayerGroupId(cid) < 4 then
 
I got this message in the console:
Code:
[23/9/2011 18:34:47] [Error - CreatureScript Interface] 
[23/9/2011 18:34:47] domodlib('teamFunctions')
[23/9/2011 18:34:47]  
[23/9/2011 18:34:47] function onLogout(cid)
[23/9/2011 18:34:47] 	clearTeamEventStorages(cid)
[23/9/2011 18:34:47] 	if thereIsAWinner() then
[23/9/2011 18:34:47] 		endTeamEvent("KO")
[23/9/2011 18:34:47] 	end
[23/9/2011 18:34:47] 	return true
[23/9/2011 18:34:47] end
[23/9/2011 18:34:47]  
[23/9/2011 18:34:47] :onLogout
[23/9/2011 18:34:47] Description: 
[23/9/2011 18:34:47] (luaGetThingPosition) Thing not found

[23/9/2011 18:34:47] [Error - CreatureScript Interface] 
[23/9/2011 18:34:47] domodlib('teamFunctions')
[23/9/2011 18:34:47]  
[23/9/2011 18:34:47] function onLogout(cid)
[23/9/2011 18:34:47] 	clearTeamEventStorages(cid)
[23/9/2011 18:34:47] 	if thereIsAWinner() then
[23/9/2011 18:34:47] 		endTeamEvent("KO")
[23/9/2011 18:34:47] 	end
[23/9/2011 18:34:47] 	return true
[23/9/2011 18:34:47] end
[23/9/2011 18:34:47]  
[23/9/2011 18:34:47] :onLogout
[23/9/2011 18:34:47] Description: 
[23/9/2011 18:34:47] data/lib/032-position.lua:2: attempt to index local 'position' (a boolean value)
[23/9/2011 18:34:47] stack traceback:
[23/9/2011 18:34:47] 	data/lib/032-position.lua:2: in function <data/lib/032-position.lua:1>
[23/9/2011 18:34:47] 	(tail call): ?
[23/9/2011 18:34:47] 	[string "domodlib('teamSetting')..."]:237: in function 'clearTeamEventStorages'
[23/9/2011 18:34:47] 	[string "LuaInterface::loadBuffer"]:4: in function <[string "LuaInterface::loadBuffer"]:3>
 
I use 0.3.6pl1(8.54). But one friend tested in tfs 0.4 rev 4560(9.1) or something.He received the same error.
I guess the error appears when some players logout.
 
Back
Top