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

[10.10] Team War CTF

Cirocbr20

New Member
Joined
Aug 17, 2013
Messages
18
Reaction score
2
Best War server systems today with new mode Capture the flag and team death match in the version 10.10

[Systems]
[•] [Capture the flag]
[•] [Team Death Match]
[•] [Online System]
[•] [Placar System]
[•] [Up Frag/Level System]
[•] [Suport Mysql]
[•] [Top 5 Frags]
[•] [Vip System id Coins: 6527]
[•] [4 bases [2] Red [2] Blue]
[•] [5 Maps : Fibula,Thais,Venore,Edron,Arena]
[•] [Change Map: 40 Minutes]
[•] [Uptime : 420 Hrs Estavel]

[Pictures]
http://postimg.org/image/in3zhw1mp/
http://postimg.org/image/ojzokqdw3/

[Download Link]
http://www.4shared.com/rar/WggbRZHa/War_1010.html?

[Credits]
Cirocbr20/Nextbr

[Password Admin]
504504 / 504504
 
All new players spawns in blue, xD
Should make something to split them each time a new chars creates ;D
 
The 050-function is wrong. it is missing functions.
Also I tried to make diff chars. all go blue o.o?

[18:26:41.302] [Error - CreatureScript Interface]
[18:26:41.305] In a timer event called from:
[18:26:41.308] data/creaturescripts/scripts/Team War/war.lua:eek:nLogin
[18:26:41.310] Description:
[18:26:41.312] data/lib/050-function.lua:278: attempt to concatenate local 'text
' (a nil value)
[18:26:41.316] stack traceback:
[18:26:41.318] data/lib/050-function.lua:278: in function <data/lib/050-functio
n.lua:261>
[18:27:03.701] [Error - GlobalEvents::think] Couldn't execute event: tean

Also there r missing NPC, like frag exchanger etc
 
What is the different between the main link and the second link in the other post?
 
cause why this bug does not exist in player online server to balance the team in real time

Deletes the row in globalevents.xml
<globalevent name="tean" interval="120000" event="script" value="aa.lua"/>
 
this bug is not caused because players online on the server to do the balancing Times in Real Time [GlobalEvents]
 
@Cirocbr20
I still dont understand you.
But If I remove the line? the script wont load o.o and there wont be balancing at all?
 
will not impair the balance of teams just will not work in real time by changing the color of the clothes of the player in real time during the game
 
@Cirocbr20
I still dont get you xD

But I have MC on and it seems like it balanced them. But what do u mean by what u wrote up there?
 
deletes the row
<globalevent name="tean" interval="120000" event="script" value="aa.lua"/>

and tests the balancing team
 
Ahh, Now I see how the balancing works :p

It still have some missing .xml npc. Like Frag exchanger file and Buff npc.
 
*and npc trading 100 soul orbs for 100k. This soul orbs when you kill a player wins

create a file [Troca.xml]
Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Trocador de Frags" script="data/npc/scripts/trocas.lua" walkinterval="2000" floorchange="0">
    <health now="100" max="100"/>
    <look type="144" head="82" body="95" legs="126" feet="132" addons="3"/>
    <parameters>
        <parameter key="message_greet" value="Eae |PLAYERNAME|.Eu Troco seus [100] Soul Orbs por [100k] !! Digite [Trocar]" />
    </parameters>
</npc>

data/npc/scripts/trocas.lua
Code:
------------------- By Notle -------------------
local keywordHandler = KeywordHandler:new()                                                                                                     
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local qua = 100 -- quantos item que vai precisa pra troca
local troca = 5944 -------------- id do item que vai ser trocado
local id = 2160  --- id do item que vai ganhar dps da troca
function onCreatureAppear(cid)                              npcHandler:onCreatureAppear(cid)                      end
function onCreatureDisappear(cid)                                npcHandler:onCreatureDisappear(cid)  end
function onCreatureSay(cid, type, msg)    npcHandler:onCreatureSay(cid, type, msg)        end
function onThink()                                                                                          npcHandler:onThink()  end
function creatureSayCallback(cid, type, msg)
if msgcontains(msg, 'trocar') then
if doPlayerRemoveItem(cid,troca,qua) then
doPlayerAddItem(cid,2160,10)
selfSay("Obrigado Amigo ! Toma [100k]! Volte mais para me trazer Soul Orbs =)!", cid)
else
selfSay("Voce nao tem [100] Soul Orbs so Lamento =D", cid)
end
end
return TRUE
end
npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
npcHandler:addModule(FocusModule:new())
 
@Cirocbr20
I already have that one. But there is a npc that trades 50 frags for x thing.

and I just found a serious bug. I just killed my other character. The whole game just stopped and it says. Game server not respoding please wait. and I have to restart the ot. So there is a problem when someone dies ;/
Also when someone takes the chest, the server lags for like 5sec


Edit: after restarting server I tried it again, now when (the killer) kills the opponent he get teleported to another temple
 
The server with this anti kill mc delete this line
<event type="kill" name="mc" event="script" value="Team War/task.lua"/>

will creaturescripts / teamwar / cast.lua and exchange for this
Code:
local reward = {
    item = 2152, --ITEM ID!
    count = 50 -- How many?
}
local expRate = 2
function onKill(cid, target, lastHit)
local a, b, c, d, e = math.floor(getPlayerLevel(cid) * 1.1), 0, getPlayerLevel(cid), math.floor(getPlayerExperience(cid) * 0.05), 0
if isPlayer(cid) and isPlayer(target) and lastHit then             
  b = getPlayerLevel(cid)
  e = math.floor(((a - b) / c) * d)
  if e > 0 then
    if getPlayerLevel(target) >= 200 then
    doPlayerAddExp(cid, ((e * expRate)/100 * 40))
    elseif getPlayerLevel(target) >= 260 then
    doPlayerAddExp(cid, ((e * expRate)/100 * 30))
    elseif getPlayerLevel(target) >= 350 then
    doPlayerAddExp(cid, ((e * expRate)/100 * 20)) 
    else
    doPlayerAddExp(cid, e * expRate)
doPlayerAddItem(cid, reward.item, reward.count)
      doPlayerAddItem(cid,5944,1)
    setPlayerStorageValue(cid,19999,getPlayerStorageValue(cid,19999)+1)
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ORANGE,"Voce agora tem "..(getPlayerStorageValue(cid,19999) + 1).." frags.")     
    doCreatureSay(cid, '+ Frag Point', TALKTYPE_ORANGE_1)
  end
  end
    end
    return true
end

the second download link I posted all the bugs station tidy XD
 
Oh, I cant use the other link cuz I already translated everything to English etc. would take some time to re translate.
Can you state here what bugs did you fix so I can fix them on the one I got?
 
Back
Top