Postado Fevereiro 4, 2015 10 anos Autor tenta assim <?xml version="1.0" encoding="UTF-8"?> <creaturescripts> <event type="login" name="PlayerLogin" event="script" value="login.lua"/> <event type="channelrequest" name="Ban_Type" event="script" value="ban/type.lua"/> <event type="channelrequest" name="Ban_Action" event="script" value="ban/action.lua"/> <event type="textedit" name="Ban_Finish" event="script" value="ban/finish.lua"/> <event type="channeljoin" name="GuildEvents" event="script" value="guild.lua"/> <event type="mailreceive" name="Mail" event="script" value="mail.lua"/> <event type="reportbug" name="ReportBug" script="reportbug.lua"/> <event type="login" name="FirstItems" event="script" value="firstitems.lua"/> <event type="advance" name="AdvanceSave" event="script" value="advancesave.lua"/> <event type="think" name="Idle" event="script" value="idle.lua"/> <event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/> <event type="extendedopcode" name="ExtendedOpcode" event="script" value="extendedopcode.lua"/> <event type="kill" name="AZKILL" script="yala/azkill.lua"/> <event type="kill" name="INQKill" event="script" value="inq/kill.lua"/> <event type="kill" name="DISKILL" event="script" value="yala/diseased.lua"/> <event type="kill" name="QUARAKILL" event="script" value="yala/quaras.lua"/> <event type="kill" name="KILLMORIK" event="script" value="yala/morik.lua"/> <!-- Inquisition Full Quest --> <event type="kill" name="inquisitionPortals" script="Inquisition.lua"/> <!-- Custom Scripts--> <event type="kill" name="KillingInTheNameOf" event="script" value="killinginthenameof.lua"/> <!-- Quests--> <event type="logout" name="demonOakLogout" event="script" value="doq/demonOakLogout.lua"/> <event type="death" name="demonOakDeath" event="script" value="doq/demonOakDeath.lua"/> <event type="attack" name="demonOakAttack" event="script" value="doq/demonOakAttack.lua"/> <event type="kill" name="svargrond_arena" event="script" value="arena_kill.lua"/> <event type="death" name="PythiusTheRotten" event="script" value="PythiusTheRotten.lua"/> </creaturescripts> Coloquei e ainda continua o problema function onPrepareDeath(cid, corpse) if isPlayer(cid) then if (getPlayerLevel(cid) < 100 and getPlayerSkullType(cid) ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_ITEMS, 0) doPlayerSetLossPercent(cid, PLAYERLOSS_CONTAINERS, 0) else doPlayerSetLossPercent(cid, PLAYERLOSS_ITEMS, 100) doPlayerSetLossPercent(cid, PLAYERLOSS_CONTAINERS, 100) end end return true end playerdeath.lua
Postado Fevereiro 4, 2015 10 anos Esse script é de lvl protection, você já testou esse erro com players acima do lvl 100 ? Se quiser sua dúvida tirada, mande PM com os links, e não com a dúvida (outros podem ter a mesma dúvida, e o fórum serve para ser usado). Tópicos: [FAQ] BBCODE [LIB] Constant [RME] Administrando bordas. [TALK] Broadcast Editável. [TALK] Sugest. [TALK] Checkpoint. [MOVE] Pântano pegajoso. [ACTION] Piggy Bank. (Cassino). [GLOBAL] Uptime Ad. [C0DE] Consertando 'Invalid Password' [PROGRAM] Quest Maker
Postado Fevereiro 4, 2015 10 anos tenta esse function onPrepareDeath(cid, corpse) if isPlayer(cid) then if (getPlayerLevel(cid) < 10 and getPlayerSkullType(cid) ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_ITEMS, 0) doPlayerSetLossPercent(cid, PLAYERLOSS_CONTAINERS, 0) else doPlayerSetLossPercent(cid, PLAYERLOSS_ITEMS, 100) doPlayerSetLossPercent(cid, PLAYERLOSS_CONTAINERS, 100) end end return true end I like
Postado Fevereiro 4, 2015 10 anos Autor sim isso ocorre com players de todos os leveis, testei com um player de lv 20 e um player de lv acima de 100 o lv protect é atualmente :1
Postado Fevereiro 4, 2015 10 anos sim isso ocorre com players de todos os leveis, testei com um player de lv 20 e um player de lv acima de 100 o lv protect é atualmente :1 Exclua a tag do script e veja se continua ... Se quiser sua dúvida tirada, mande PM com os links, e não com a dúvida (outros podem ter a mesma dúvida, e o fórum serve para ser usado). Tópicos: [FAQ] BBCODE [LIB] Constant [RME] Administrando bordas. [TALK] Broadcast Editável. [TALK] Sugest. [TALK] Checkpoint. [MOVE] Pântano pegajoso. [ACTION] Piggy Bank. (Cassino). [GLOBAL] Uptime Ad. [C0DE] Consertando 'Invalid Password' [PROGRAM] Quest Maker
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.