n é creaturesript?? tem certeza?? deve ser globalevents
6
1.5k
info
Grupo: Herói
Registrado: 20/05/10
Posts: 3.4k
Reputação: +1.5k
Gênero: Masculino

02 de outubro de 2013 às 17:33
02 de outubro de 2013 às 18:15
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
Editado Outubro 2 por DuvidasOt
info
Grupo: Campones
Registrado: 12/06/12
Posts: 99
Reputação: +8

02 de outubro de 2013 às 18:32
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
Editado Outubro 2 por Shadownzinho
02 de outubro de 2013 às 19:26
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!
Editado Outubro 2 por DuvidasOt




info
Grupo: Campones
Registrado: 30/09/13
Posts: 16
Reputação: 0
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