
Tudo que Vodkart postou
-
Bug 0 De Life
te aconselho a trocar de distro então
-
Ideias para criar eventos/sistemas
gostei da ideia em si, 100 waves são mto, mas posso fazer um sistema de boss ou dungeon
-
Bug 0 De Life
@Ziguirifido vc removeu as linhas que te falei? foi removendo uma por uma?
-
Sistema de refinamento (ajuda)
--- Upgrade By Vicente --- Aer Joy kkkk local gain = { gainArmor='&p+1',loseArmor='&p-1', gainShield='&s+#',loseShield='&s-(#+1)', gainAttack='&a+(2*(#))',loseAttack='&a-(2*(#+1))', gainDefense='&d+(2*(#))',loseDefense='&d-(2*(#+1))', chance='100/((#*(1/(@/2)))*(@/2))', maxlvl = 7, blocked_ids = {2488,8881} } -- &a = weapon attack -- &d = weapon defense -- &s = shield defense -- &p = armor defense -- # = nivel do item -- @ = max level if not setItemName then function setItemName(uid,name) return doItemSetAttribute(uid,'name',name) end function setItemArmor(uid,name) return doItemSetAttribute(uid,'armor',name) end function setItemDefense(uid,name) return doItemSetAttribute(uid,'defense',name) end function setItemAttack(uid,name) return doItemSetAttribute(uid,'attack',name) end function getItemAttack(uid) return getItemAttribute(uid,'attack') end function getItemDefense(uid) return getItemAttribute(uid,'defense') end function getItemArmor(uid) if type(uid) == 'number' then return getItemAttribute(uid,'armor') else return getItemInfo(uid.itemid).armor end end end function isArmor(uid) -- Function by vicente the bear. if (getItemArmor(uid) and getItemArmor(uid) ~= 0 and not getItemInfo(uid.itemid,'attack') and not getItemInfo(uid.itemid,'defense') and getItemWeaponType(uid.uid) == 0) then return true end return false end function isWeapon(uid) -- Function by vicente the bear. uid = uid or 0 local f = getItemWeaponType(uid) if f == 1 or f == 2 or f == 3 then return TRUE end return FALSE end function isShield(uid) -- Function by vicente the bear. uid = uid or 0 if getItemWeaponType(uid) == 4 then return TRUE end return FALSE end function getWeaponLevel(uid) -- Function by vicente the bear. uid = uid or 0 local name = getItemName(uid) local lvl = string.match(name,'+(%d)') return tonumber(lvl) or 0 end function doTransform(s,i) -- Function by vicente the bear. local c = string.gsub(s,'@',gain.maxlvl) local c = string.gsub(c,'&a',getItemAttack(i.uid) or getItemInfo(i.itemid).attack) local c = string.gsub(c,'&d',getItemDefense(i.uid) or getItemInfo(i.itemid).defense) local c = string.gsub(c,'&s',getItemDefense(i.uid) or getItemInfo(i.itemid).defense) local c = string.gsub(c,'&p',getItemArmor(i.uid) or getItemInfo(i.itemid).armor) local c = string.gsub(c,'#',getWeaponLevel(i.uid)) local q,err = loadstring('return '..c) assert(q,err) return assert(q()) end function onUse(cid, item, fromPosition, itemEx, toPosition) toPosition.stackpos = 255 if isInArray(gain.blocked_ids, itemEx.itemid) == TRUE or getItemWeaponType(itemEx.uid) > 4 or (getItemWeaponType(itemEx.uid) == 0 and isArmor(itemEx) == FALSE) or itemEx.itemid == 0 then doPlayerSendTextMessage(cid, 24,"You cant refine this item.") return TRUE else doPlayerRemoveItem(item.uid, 1) return TRUE end end if isCreature(itemEx.uid) == TRUE then return FALSE end local level = getWeaponLevel(itemEx.uid) local chance = doTransform(gain.chance,itemEx) if chance >= math.random(0,100) or item.actionid >= 1000 or (item.actionid == 500 and math.random(0,100) <= 25) then if level+1 > gain.maxlvl then doSendMagicEffect(toPosition, 2) return doPlayerSendTextMessage(cid, 24,"Your item is on max level, you can't upgrade it.") else setItemName(itemEx.uid, getItemNameById(itemEx.itemid)..' +'..(level+1)) doPlayerSendTextMessage(cid, 24, "Your item has been upgrated to +"..(level+1)..".") doSendMagicEffect(toPosition, 53) if isArmor(itemEx) == TRUE then local get = doTransform(gain.gainArmor,itemEx) setItemArmor(itemEx.uid,get) elseif isWeapon(itemEx.uid) == TRUE then setItemAttack(itemEx.uid, doTransform(gain.gainAttack,itemEx)) setItemDefense(itemEx.uid, doTransform(gain.gainDefense,itemEx)) elseif isShield(itemEx.uid) == TRUE then setItemDefense(itemEx.uid, doTransform(gain.gainShield,itemEx)) end end else if level == 0 then doPlayerSendTextMessage(cid, 24,"No effect.") doSendMagicEffect(toPosition, 2) elseif level == gain.maxlvl then doSendMagicEffect(toPosition, 2) return doPlayerSendTextMessage(cid, 24,"Your item is on max level, you can't upgrade it.") elseif level > 0 and level < 5 then if level == 1 then setItemName(itemEx.uid, getItemNameById(itemEx.itemid)) doPlayerSendTextMessage(cid, 24,"Your item back to normal.") else setItemName(itemEx.uid, getItemNameById(itemEx.itemid)..' +'..(level-1)) doPlayerSendTextMessage(cid, 24,"Your item back to +"..(level-1)..".") end if isArmor(itemEx) == TRUE then setItemArmor(itemEx.uid,doTransform(gain.loseArmor,itemEx)) elseif isWeapon(itemEx.uid) == TRUE then setItemAttack(itemEx.uid, doTransform(gain.loseAttack,itemEx)) setItemDefense(itemEx.uid, doTransform(gain.loseDefense,itemEx)) elseif isShield(itemEx.uid) == TRUE then setItemDefense(itemEx.uid, doTransform(gain.loseShield,itemEx)) end elseif level > 4 then doPlayerSendTextMessage(cid, 24,"Your item broken.") doRemoveItem(itemEx.uid) end doSendMagicEffect(toPosition, 39) end doRemoveItem(item.uid,1) return true end
- [8.6][MODS] AutoLoot By Account! [+Item]
-
parece que roubaram as minhas cuecas :(
mas só cria tópico bosta né pqp
-
Bug 0 De Life
esse é o seu creaturescript.xml original: <?xml version="1.0" encoding="UTF-8"?> <creaturescripts> <event type="login" name="PlayerLogin" event="script" value="login.lua"/> <event type="login" name="MultipleExp" event="script" value="multipleExpLogin.lua"/> <event type="login" name="vip" event="script" value="vip.lua"/> <event type="think" name="TiraBattle" event="script" value="tirabattle.lua"/> <event type="login" name="AntiMC" event="script" value="antimc.lua"/> <event type="receivemail" name="Mail" event="script" value="mail.lua"/> <event type="think" name="Idle" event="script" value="idle.lua"/> <event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/> <event type="death" name="PlayerDeath" event="script" value="playerdeath.lua"/> <event type="login" name="Outfit" script="outfit_vocation.lua"/> <event type="death" name="Niwdeath" event="script" value="niwdeath.lua"/> <event type="statschange" name="Reflect" event="script" value="reflect.lua"/> <event type="advance" name="AdvanceSave" event="script" value="advancesave.lua"/> <event type="login" name="BoasVindas" event="script" value="boasvindas.lua"/> <event type="advance" name="FullHpMana" event="script" value="fullhpmana.lua"/> <event type="login" name="SkillStagesLogin" event="script" value="skillstageslogin.lua"/> <event type="advance" name="SkillStagesAdvance" event="script" value="skillstagesadvance.lua"/> <event type="death" name="tp" event="script" value="tpmonster.lua"/> <event type="combat" name="NoPartyAttack" event="script" value="nopartyattack.lua"/> <event type="think" name="VocShenron" event="script" value="vocshenron.lua"/> <event type="think" name="VocVegetto" event="script" value="vocvegetto.lua"/> <event type="think" name="VocTapion" event="script" value="voctapion.lua"/> <event type="think" name="VocKame" event="script" value="vockame.lua"/> <event type="think" name="VocKagome" event="script" value="vockagome.lua"/> <event type="think" name="VocKingVegeta" event="script" value="vockingvegeta.lua"/> <event type="think" name="VocZaiko" event="script" value="voczaiko.lua"/> <event type="think" name="VocGoku" event="script" value="vocgoku.lua"/> <event type="think" name="VocChilled" event="script" value="vocchilled.lua"/> <event type="think" name="VocC8" event="script" value="vocc8.lua"/> <event type="think" name="VocBills" event="script" value="vocbills.lua"/> <event type="think" name="VocFreeza" event="script" value="vocfreeza.lua"/> <event type="think" name="VocZamasu" event="script" value="voczamasu.lua"/> <event type="think" name="VocGogeta" event="script" value="vocgogeta.lua"/> <event type="think" name="VocWhiss" event="script" value="vocwhiss.lua"/> <event type="think" name="VocVados" event="script" value="vocvados.lua"/> <event type="think" name="VocVegettoblack" event="script" value="vocvegettoblack.lua"/> <event type="login" name="TopEffect2" event="script" value="topeffect.lua"/> <event type="advance" name="CheckTop2" event="script" value="topeffect.lua"/> <event type="think" name="VocVegettoblue" event="script" value="vocvegettoblue.lua"/> <event type="think" name="VocGokuevo" event="script" value="vocgokuevo.lua"/> <event type="think" name="VocZeno" event="script" value="voczeno.lua"/> <event type="think" name="RemovedorDeFrags" event="script" value="removedordefrags.lua"/> <event type="login" name="BlessCheck" event="script" value="CheckBless.lua"/> <event type="think" name="ZombieThink" event="script" value="zombie/onthink.lua"/> <event type="statschange" name="ZombieAttack" event="script" value="zombie/onattack.lua"/> <event type="death" name="ZombieDeath" event="script" value="zombie/ondeath.lua"/> </creaturescripts> os scripts que podem estar bugando o seu serve é algum desses: <event type="death" name="PlayerDeath" event="script" value="playerdeath.lua"/> <event type="death" name="Niwdeath" event="script" value="niwdeath.lua"/> <event type="statschange" name="Reflect" event="script" value="reflect.lua"/> <event type="death" name="tp" event="script" value="tpmonster.lua"/> <event type="statschange" name="ZombieAttack" event="script" value="zombie/onattack.lua"/> <event type="death" name="ZombieDeath" event="script" value="zombie/ondeath.lua"/> o que eu te aconselho é ir removendo uma linha dessas por vez e ir testando até ver qual é que está bugando seu serve.
- [8.6][MODS] AutoLoot By Account! [+Item]
-
Bug 0 De Life
então só acontece em determinado acontecimento, como em evento war? quando isso acontece você diz que da 0 erros no console. esse bug só da quando um player mata outro player ou quando um monstro mata o player tbm?
-
Bug 0 De Life
EU SEI, é pra testar pra ve se desse jeito desbuga... testa do jeito que te mandei e ve se o char morre ou ainda fica bugado @Ziguirifido uni seus 2 tópicos e vamos resolver por aqui
- [8.6][MODS] AutoLoot By Account! [+Item]
-
Como colocar OUTFIT para apenas aquela vocação..
@robi123 http://www.tibiaking.com/forum/forums/topic/21059-vocation-outfit-v10/
- [8.6][MODS] AutoLoot By Account! [+Item]
-
que raiva
se for te servir de consolo, pega minha rola e mama
-
(Resolvido)Apos Clikar na lavanca consome um item e e teleportado
Esta é uma mensagem automática! Este tópico foi movido para a área correta. Pedimos que você leia as regras do fórum.
-
Bug 0 De Life
deixa assim e testa ve se continua o bug: <?xml version="1.0" encoding="UTF-8"?> <creaturescripts> <event type="login" name="PlayerLogin" event="script" value="login.lua"/> <event type="login" name="MultipleExp" event="script" value="multipleExpLogin.lua"/> <event type="login" name="vip" event="script" value="vip.lua"/> <event type="think" name="TiraBattle" event="script" value="tirabattle.lua"/> <event type="login" name="AntiMC" event="script" value="antimc.lua"/> <event type="receivemail" name="Mail" event="script" value="mail.lua"/> <event type="think" name="Idle" event="script" value="idle.lua"/> <event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/> <event type="login" name="Outfit" script="outfit_vocation.lua"/> <event type="advance" name="AdvanceSave" event="script" value="advancesave.lua"/> <event type="login" name="BoasVindas" event="script" value="boasvindas.lua"/> <event type="advance" name="FullHpMana" event="script" value="fullhpmana.lua"/> <event type="login" name="SkillStagesLogin" event="script" value="skillstageslogin.lua"/> <event type="advance" name="SkillStagesAdvance" event="script" value="skillstagesadvance.lua"/> <event type="combat" name="NoPartyAttack" event="script" value="nopartyattack.lua"/> <event type="think" name="VocShenron" event="script" value="vocshenron.lua"/> <event type="think" name="VocVegetto" event="script" value="vocvegetto.lua"/> <event type="think" name="VocTapion" event="script" value="voctapion.lua"/> <event type="think" name="VocKame" event="script" value="vockame.lua"/> <event type="think" name="VocKagome" event="script" value="vockagome.lua"/> <event type="think" name="VocKingVegeta" event="script" value="vockingvegeta.lua"/> <event type="think" name="VocZaiko" event="script" value="voczaiko.lua"/> <event type="think" name="VocGoku" event="script" value="vocgoku.lua"/> <event type="think" name="VocChilled" event="script" value="vocchilled.lua"/> <event type="think" name="VocC8" event="script" value="vocc8.lua"/> <event type="think" name="VocBills" event="script" value="vocbills.lua"/> <event type="think" name="VocFreeza" event="script" value="vocfreeza.lua"/> <event type="think" name="VocZamasu" event="script" value="voczamasu.lua"/> <event type="think" name="VocGogeta" event="script" value="vocgogeta.lua"/> <event type="think" name="VocWhiss" event="script" value="vocwhiss.lua"/> <event type="think" name="VocVados" event="script" value="vocvados.lua"/> <event type="think" name="VocVegettoblack" event="script" value="vocvegettoblack.lua"/> <event type="login" name="TopEffect2" event="script" value="topeffect.lua"/> <event type="advance" name="CheckTop2" event="script" value="topeffect.lua"/> <event type="think" name="VocVegettoblue" event="script" value="vocvegettoblue.lua"/> <event type="think" name="VocGokuevo" event="script" value="vocgokuevo.lua"/> <event type="think" name="VocZeno" event="script" value="voczeno.lua"/> <event type="think" name="RemovedorDeFrags" event="script" value="removedordefrags.lua"/> <event type="login" name="BlessCheck" event="script" value="CheckBless.lua"/> </creaturescripts>
-
Bug 0 De Life
mas não aparece nenhum erro no console?
-
que raiva
tem mais que se fuder mesmo
-
como por foto do item no shop
Esta é uma mensagem automática! Este tópico foi movido para a área correta. Pedimos que você leia as regras do fórum.
-
[8.6][MODS] AutoLoot By Account! [+Item]
cria uma talk de teste e coloca isso: function AutomaticDeposit(cid,item,n) local deposit = item == tonumber(2160) and (n*10000) or tonumber(item) == 2152 and (n*100) or (n*1) return doPlayerDepositMoney(cid, deposit) end function onSay(cid, words, param) local gps, amount = 2160,5 AutomaticDeposit(cid,gps,amount) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"Você tem "..getPlayerBalance(cid).." gps no banco.") return true end e ai usa o comando e vê se aparece alguma coisa no banco ------------------------------------------//----------------------------------- se não der certo tenta dessa forma e me avisa: function AutomaticDeposit(cid,item,n) local deposit = item == tonumber(2160) and (n*10000) or tonumber(item) == 2152 and (n*100) or (n*1) return doPlayerDepositMoney(cid, deposit) end function doPlayerDepositMoney(cid, amount) if(not getBooleanFromString(getConfigInfo('bankSystem'))) then return false end if(not doPlayerRemoveMoney(cid, amount)) then return false end doPlayerSetBalance(cid, getPlayerBalance(cid) + amount) return true end function onSay(cid, words, param) local gps, amount = 2160,5 AutomaticDeposit(cid,gps,amount) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"Você tem "..getPlayerBalance(cid).." gps no banco.") return true end
- [8.6][MODS] AutoLoot By Account! [+Item]
- [8.6][MODS] AutoLoot By Account! [+Item]
-
Aqui é bem devagar
- [8.6][MODS] AutoLoot By Account! [+Item]
- Aqui é bem devagar
ai não tem graça, gosto de bundas no estilo capitão caverna
Informação Importante
Confirmação de Termo