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
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
n é creaturesript?? tem certeza?? deve ser globalevents
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) thendoPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)endlocal accountManager = getPlayerAccountManager(cid)if(accountManager == MANAGER_NONE) thenlocal lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessageif(lastLogin > 0) thendoPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "."elsestr = str .. " Please choose your outfit."doPlayerSendOutfitWindow(cid)enddoPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)elseif(accountManager == MANAGER_NAMELOCK) thendoPlayerSendTextMessage(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) thendoPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.")elsedoPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.")endif(not isPlayerGhost(cid)) thendoSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)endregisterCreatureEvent(cid, "Mail")registerCreatureEvent(cid, "GuildMotd")registerCreatureEvent(cid, "ProtectExp")registerCreatureEvent(cid, "Idle")if(config.useFragHandler) thenregisterCreatureEvent(cid, "SkullCheck")endregisterCreatureEvent(cid, "ReportBug")registerCreatureEvent(cid, "AdvanceSave")return trueend
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" />
Site Do Meu OT
ShadownServer.BlogSpot.Com.Br
IP Do Meu OT
Shadown.No-Ip.Biz
Face Do OT
Facebook.Com/ShadownServer
Ajudei ? Rep+
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!
Tópico movido para a seção de dúvidas e pedidos resolvidos.
Bons tempos...
[Portfólio de scripts]