Tirar o aol infinito

DuvidasOt
em Scripts

DuvidasOt

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 30/09/13Posts: 16

Meu Ot ta com aol infinito, mais eu queria tirar.. nao tem nenhuma actions, creaturescripts, que tenha isso

 

tem como fazer um script para o aol cair?

 

grato

Vodkart

Sumus Validus
avatar
Herói
Herói

INFOS

Grupo: HeróiRegistrado: 21/05/10Posts: 3406Gênero: Masculino

n é creaturesript?? tem certeza?? deve ser globalevents

bossisg.png

DuvidasOt

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 30/09/13Posts: 16

tambem nao tem nada

meu tsf é 0.4

 

meu creaturescripts/scripts/login

local config = {
loginMessage = getConfigValue('loginMessage'),
useFragHandler = getBooleanFromString(getConfigValue('useFragHandler'))
}
function onLogin(cid)
local loss = getConfigValue('deathLostPercent')
if(loss ~= nil) then
doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
end
local accountManager = getPlayerAccountManager(cid)
if(accountManager == MANAGER_NONE) then
local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage
if(lastLogin > 0) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "."
else
str = str .. " Please choose your outfit."
doPlayerSendOutfitWindow(cid)
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
elseif(accountManager == MANAGER_NAMELOCK) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?")
elseif(accountManager == MANAGER_ACCOUNT) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.")
end
if(not isPlayerGhost(cid)) then
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
end
registerCreatureEvent(cid, "Mail")
registerCreatureEvent(cid, "GuildMotd")
registerCreatureEvent(cid, "ProtectExp")
registerCreatureEvent(cid, "Idle")
if(config.useFragHandler) then
registerCreatureEvent(cid, "SkullCheck")
end
registerCreatureEvent(cid, "ReportBug")
registerCreatureEvent(cid, "AdvanceSave")
return true
end

 

 

Shadownzinho

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 12/06/12Posts: 99

DuvidasOt, Faça O Seguinte Vá Em (Patsa Do Seu OT/Data/Items) Abra O Arquivo Items.XML, Aperte CTRL+F E Procure Por "Amulet Of Loss" Ou O Nome Que Esteja Do Seu Aol.

Vc Encontrara As Seguintes Tags:

 

   </item>
    <item id="2173" article="an" name="amulet of loss">
        <attribute key="weight" value="0" />
        <attribute key="slotType" value="necklace" />
        <attribute key="preventDrop" value="1" />
Onde Esta PreventDrop Value 1 É O Tanto De Veses Que O Aol Vai Ficar Sem Cair Do Player Mude Para 1 E Quando O Player Morrer O Player Ira Perder O Aol
Shadownzinho

 

 

Site Do Meu OT

 

ShadownServer.BlogSpot.Com.Br

 

IP Do Meu OT

 

Shadown.No-Ip.Biz

 

Face Do OT

 

Facebook.Com/ShadownServer

 

 

Ajudei ? Rep+

DuvidasOt

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 30/09/13Posts: 16

edit:

achei o erro, ja que meu tsf é 0.4 tem q tirar a linha que esta vermelha

 

 

<item id="2173" article="an" name="amulet of loss">
<attribute key="weight" value="420" />
<attribute key="slotType" value="necklace" />
<attribute key="charges" value="1" />
<attribute key="preventDrop" value="1" />
</item>

 

 

pode fechar vlw!