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

[MOD] Castle System

<config name="CastleSystem Lib"><![CDATA[
castle = {}

castle.wallid = 7594
castle.wall = {{x = 587,y = 675,z = 7, stackpos = 1}, {x = 587,y = 676,z = 7, stackpos = 1}, {x = 587,y = 677,z = 7, stackpos = 1}}
castle.fromx = 583
castle.tox = 586
castle.fromy = 675
castle.toy = 677
castle.z = 7
castle.kick = {x = 583,y = 670,z = 7}
castle.teams = 0
castle.pos = {x = 583,y = 670,z = 7}
castle.mostdamage = 0
castle.winnerteam = 0
castle.monster = {x = 585, y = 673, z = 7}
castle.msg = true
castle.gary = true
castle.garypos =
{
[1] = {x = x, y = y, z = z},
[2] = {x = x, y = y, z = z},
[3] = {x = x, y = y, z = z},
[4] = {x = x, y = y, z = z}

}

Help me with cfg... i don't know some things.
 
Hello, i need this system but....:

[05/01/2013 18:29:00] > Broadcasted message: "Attention! Immediately register to Castle Wars. Leaders of the guild can enter your guild command: !castle".

[05/01/2013 18:34:00] [Error - GlobalEvent Interface]
[05/01/2013 18:34:00] In a timer event called from:
[05/01/2013 18:34:00] buffer:eek:nTimer
[05/01/2013 18:34:00] Description:
[05/01/2013 18:34:00] data/lib/004-database.lua:76: [Result:getDataString] Result not set!
[05/01/2013 18:34:00] stack traceback:
[05/01/2013 18:34:00] [C]: in function 'error'
[05/01/2013 18:34:00] data/lib/004-database.lua:76: in function 'getDataString'
[05/01/2013 18:34:00] [string "loadBuffer"]:17: in function <[string "loadBuffer"]:13>


Why this error?? Please I need help.(Sorry for my bad english)
 
Just wondered, is it possible to add a teleport that can tp only castle owner (guild members) to the castle?
 
Back
Top