Tudo que bringsz postou
-
[Resolvido] Bug das Mortes DBO
Galera vejo muito gente que está com servidor 24 horas e esse bug inferniza todo mundo.. e até agora nennhum ser humano de bom coração e inteligente veio nos ajudar.... O Bug simplesmente acontece do nada e não é sempre que acontece... Acontece player vs player e players vs monstros Como funciona o bug - O player morre, e não volta para o templo como deveria ser.. ele fica bugado no sqm que morreu, morrendo infinitas vezes sem parar, o personagem que bugou fica sem nome e embaixo dele fica varios e varios corpos... Imagem do bug Com eu disse, ele perde o nome e fica varis corpos embaixo do seu char.. e nas ultimas mortes do site aparece muitas vezes a morte dele... Fui pesquisar aqui no tibiaking o que poderia ser esse bug, muitos falam em ser algum script no creaturescript de tipo onDeath, porém removi todos os script que usam essa função e o bug simplesmente continua, será que pode ser algum conflito na database? estou procurando alguém para me ajudar... Meu creaturescript <event type="statschange" name="dodge" event="script" value="dodge.lua"/> <event type="statschange" name="critical" event="script" value="critical.lua"/> <event type="advance" name="Maxlvl" event="script" value="maxlvl.lua"/> <event type="advance" name="Maxlvl1" event="script" value="maxlvl1.lua"/> <event type="login" name="antimc" event="script" value="antimc.lua"/> <event type="logout" name="perderefeito" event="script" value="perderefeito.lua"/> <event type="login" name="PlayerLogin" event="script" value="login.lua"/> <event type="think" name="TiraBattle" event="script" value="tirabattle.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="statschange" name="Reflect" event="script" value="reflect.lua"/> <event type="advance" name="LevelRecompense" event="script" value="recompenselvl.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="RemovedorDeFrags" event="script" value="removedordefrags.lua"/> <event type="login" name="BlessCheck" event="script" value="CheckBless.lua"/> Qualquer coisa entre em contato skype: bru.niiinho1
-
Player não ataca quando heala
Teta adicionar em waepons.xml na flecha Ficando assim
-
[HELP] Registrar Storage
Galera porque quando eu viro ultra god ele não registra o storage 32024 nos players sendo que seria um segundo reborn? O Primeiro reborn registra o storage 30023 local focus = 0 local talk_start = 0 local target = 0 local following = false local attacking = false function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(cid, pos) if focus == cid then selfSay('???') focus = 0 talk_start = 0 end end function onCreatureTurn(creature) end function msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)')) end function onCreatureSay(cid, type, msg) msg = string.lower(msg) if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then selfSay('Olá! Se voce está pronto, diga "reborn".') focus = cid talk_start = os.clock() elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Desculpe, ' .. getCreatureName(cid) .. '! Hey!.') elseif focus == cid then talk_start = os.clock() if msgcontains(msg, 'reborn') and getPlayerStorageValue(cid,30023) == 4 then selfSay('Desculpe, mas voce já é rebornado.') focus = 0 talk_start = 0 elseif msgcontains(msg, 'reborn') and (getPlayerLevel(cid) < 200 and getPlayerStorageValue(cid,30023) ~= 4) or (getPlayerLevel(cid) > 1200 and getPlayerStorageValue(cid,30023) ~= 4) then selfSay('Apenas level 200 até 1200 podem rebornar.') focus = 0 talk_start = 0 elseif msgcontains(msg, 'reborn') then selfSay('Realmente quer isto?') talk_state = 2 --_GOKU_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 8 then doReborn(cid,1,10,9) talk_state = 0 --_VEGETA_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 23 then doReborn(cid,1,25,24) talk_state = 0 --_PICCOLO_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 36 then doReborn(cid,1,42,37) talk_state = 0 --_C17_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 49 then doReborn(cid,1,50,50) talk_state = 0 --_GOHAN_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 63 then doReborn(cid,1,62,64) talk_state = 0 --_TRUNKS_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 75 then doReborn(cid,1,74,76) talk_state = 0 --_CELL_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 87 then doReborn(cid,1,81,88) talk_state = 0 --_FREEZA_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 101 then doReborn(cid,1,88,102) talk_state = 0 --_MAJIN BOO_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 117 then doReborn(cid,1,98,118) talk_state = 0 --_BROLY_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 131 then doReborn(cid,1,113,132) talk_state = 0 --_C18_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 144 then doReborn(cid,1,50,145) talk_state = 0 --_UUB_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 156 then doReborn(cid,1,128,157) talk_state = 0 --_GOTEN_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 170 then doReborn(cid,1,142,171) talk_state = 0 --_CHIBI TRUNKS_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 184 then doReborn(cid,1,151,185) talk_state = 0 --_COOLER_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 197 then doReborn(cid,1,153,198) talk_state = 0 --_DENDE_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 210 then doReborn(cid,1,169,211) talk_state = 0 --_TSUFUL_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 222 then doReborn(cid,1,180,223) talk_state = 0 --_BARDOCK_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 235 then doReborn(cid,1,194,236) talk_state = 0 --_KURIRIN_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 248 then doReborn(cid,1,205,249) talk_state = 0 --_PAN_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 260 then doReborn(cid,1,212,261) talk_state = 0 --_KAIO_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 272 then doReborn(cid,1,221,273) talk_state = 0 --_VIDEL_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 284 then doReborn(cid,1,227,285) talk_state = 0 --_JANEMBA_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 296 then doReborn(cid,1,234,297) talk_state = 0 --_TENSHINHAN_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 308 then doReborn(cid,1,246,309) talk_state = 0 --_JENK_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 320 then doReborn(cid,1,257,321) talk_state = 0 --_RADITZ_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 332 then doReborn(cid,1,265,333) talk_state = 0 --_C16_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 344 then doReborn(cid,1,277,345) talk_state = 0 --_TURLES_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 356 then doReborn(cid,1,285,357) talk_state = 0 --_BULMA_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 368 then doReborn(cid,1,296,369) talk_state = 0 --_SHENRON_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 380 then doReborn(cid,1,302,381) talk_state = 0 --_VEGETTO_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 392 then doReborn(cid,1,308,393) talk_state = 0 --_TAPION_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 404 then doReborn(cid,1,321,405) talk_state = 0 --_KAME_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 417 then doReborn(cid,1,335,418) talk_state = 0 --_KING VEGETA_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 429 then doReborn(cid,1,347,430) talk_state = 0 --_KAGOME_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 441 then doReborn(cid,1,357,442) talk_state = 0 --_ZAIKO_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 453 then doReborn(cid,1,368,454) talk_state = 0 --_LORD CHILLED_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 465 then doReborn(cid,1,375,466) talk_state = 0 --_C8_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 482 then doReborn(cid,1,517,483) talk_state = 0 --_BILLS_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 841 then doReborn(cid,1,501,842) talk_state = 0 --_CHAMPA_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 862 then doReborn(cid,1,633,863) talk_state = 0 --_BOTAMO_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 1200 and getPlayerVocation(cid) == 883 then doReborn(cid,1,641,884) talk_state = 0 elseif msgcontains(msg, 'yes') and talk_state == 2 then selfSay('Desculpe, ' .. getCreatureName(cid) .. '! Voce deve estar na ultima transformação.') elseif msgcontains(msg, 'bye') and getDistanceToCreature(cid) < 4 then selfSay('Adeus!') focus = 0 talk_start = 0 end end end function onThink() doNpcSetCreatureFocus(focus) if (os.clock() - talk_start) > 45 then if focus > 0 then selfSay('Próximo por favor...') end focus = 0 end if focus ~= 0 then if getDistanceToCreature(focus) > 5 then selfSay('Adeus!') focus = 0 end end end Agora esse ultra god não registra.. poque? local focus = 0 local talk_start = 0 local target = 0 local following = false local attacking = false function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(cid, pos) if focus == cid then selfSay('???') focus = 0 talk_start = 0 end end function onCreatureTurn(creature) end function msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)')) end function onCreatureSay(cid, type, msg) msg = string.lower(msg) if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then selfSay('Olá! Se voce está pronto, diga "ultra god".') focus = cid talk_start = os.clock() elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Desculpe, ' .. getCreatureName(cid) .. '! Hey!.') elseif focus == cid then talk_start = os.clock() if msgcontains(msg, 'super reborn') and getPlayerStorageValue(cid,32024) == 4 then selfSay('Desculpe, mas voce já é ultra god.') focus = 0 talk_start = 0 elseif msgcontains(msg, 'super reborn') and (getPlayerLevel(cid) < 1000 and getPlayerStorageValue(cid,32024) ~= 4) or (getPlayerLevel(cid) > 2000 and getPlayerStorageValue(cid,32024) ~= 4) then selfSay('Apenas level 1000 até 2000 podem rebornar.') focus = 0 talk_start = 0 elseif msgcontains(msg, 'ultra god') then selfSay('Realmente quer isto?') talk_state = 2 --_GOKU_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 15 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,10, 501) talk_state = 0 --_VEGETA_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 30 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,25,510) talk_state = 0 --_PICCOLO_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 43 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,38,519) talk_state = 0 --_C17_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 56 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,50,528) talk_state = 0 --_GOHAN_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 70 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,561,537) talk_state = 0 --_TRUNKS_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 82 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,74,546) talk_state = 0 --_CELL_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 94 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,81,555) talk_state = 0 --_FREEZA_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 110 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,88,564) talk_state = 0 --_MAJIN BOO_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 126 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,98,573) talk_state = 0 --_BROLY_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 138 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,113,582) talk_state = 0 --_C18_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 151 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,50,591) talk_state = 0 --_UUB_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 163 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,128,600) talk_state = 0 --_GOTEN_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 177 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,142,609) talk_state = 0 --_CHIBI TRUNKS_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 191 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,151,611) talk_state = 0 --_COOLER_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 205 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,153,620) talk_state = 0 --_DENDE_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 217 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,169,630) talk_state = 0 --_TSUFUL_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 229 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,180,639) talk_state = 0 --_BARDOCK_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 242 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,194,648) talk_state = 0 --_KURIRIN_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 255 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,205,657) talk_state = 0 --_PAN_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 267 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,212,666) talk_state = 0 --_KAIO_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 279 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,221,675) talk_state = 0 --_VIDEL_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 291 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,227,684) talk_state = 0 --_JANEMBA_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 303 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,234,693) talk_state = 0 --_TENSHINHAN_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 315 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,246,702) talk_state = 0 --_JENK_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 327 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,257,711) talk_state = 0 --_RADITZ_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 339 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,265,720) talk_state = 0 --_C16_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 351 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,277,729) talk_state = 0 --_TURLES_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 363 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,285,738) talk_state = 0 --_BULMA_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 375 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,296,747) talk_state = 0 --_SHENRON_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 387 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,302,756) talk_state = 0 --_VEGETTO_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 392 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,308,393) talk_state = 0 --_TAPION_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 411 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,321,765) talk_state = 0 --_KAME_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 424 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,335,774) talk_state = 0 --_KING VEGETA_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 436 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,347,792) talk_state = 0 --_KAGOME_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 448 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,357,783) talk_state = 0 --_ZAIKO_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 460 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,368,819) talk_state = 0 --_LORD CHILLED_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 472 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,375,801) talk_state = 0 --_C8_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 489 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,517,810) talk_state = 0 --_BILLS_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 848 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,501,849) talk_state = 0 --_CHAMPA_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 869 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,633,870) talk_state = 0 --_BOTAMO_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 1000 and getPlayerLevel(cid) <= 2000 and getPlayerVocation(cid) == 890 and doPlayerRemoveItem(cid, 13622, 4000) then doReborn(cid,1,641,891) talk_state = 0 elseif msgcontains(msg, 'yes') and talk_state == 2 then selfSay('Desculpe, ' .. getCreatureName(cid) .. '! Voce deve estar na ultima.') elseif msgcontains(msg, 'bye') and getDistanceToCreature(cid) < 4 then selfSay('Adeus!') focus = 0 talk_start = 0 end end end function onThink() doNpcSetCreatureFocus(focus) if (os.clock() - talk_start) > 45 then if focus > 0 then selfSay('Próximo por favor...') end focus = 0 end if focus ~= 0 then if getDistanceToCreature(focus) > 5 then selfSay('Adeus!') focus = 0 end end end
-
[RESOLVIDO]Reborn Quest
Galera estou precisando de uma ajuda aqui, acho que maioria das pessoas conhecem como funciona a quest reborn certo? Você fala com o npc entra em uma sala e mata o monstro e abre o teleport para a prox sala e assim vai, bom fui fazer esse sistema dnv porém eu percebi que quando você faz dnv esse sistema o monstro da quest não nasce sozinho.. porém se você adicionar um monstro da quest reborn com o comando /m MONSTRO ele começa a da respawn sozinho.. ai percebi que quando eu ligo o servidor os monstro da quest reborn já estão vivo la dentro em outro sqm do respaw, pensei que deve ter um script que quando liga o servidor ele faz 1 monstro da quest para poder dar o respawn sozinho, mas não achei o script.. OBS: na quest reborn não tem monstro no mapa editor **EDIT** Galera achei o script que faz nascer os monstros... estava com um nome nada vê e eu não sabia a pasta Fica na pasta globalevents para quem estiver com essa duvida.
-
[Ubuntu] Debug
Galera estou usando um script para magia: local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_HITCOLOR, COLOR_DARKPURPLE) setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, 20) setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, 27) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -20.0, 0, -25.0, 0) local function onCastSpell1(parameters) doCombat(parameters.cid, parameters.combat1, parameters.var) end function onCastSpell(cid, var) local parameters = {cid = cid, var = var, combat1 = combat1} for k = 1, 2 do addEvent(function() if isCreature(cid) then addEvent(onCastSpell1, 1, parameters) end end, 1 + ((k-1) * 200)) end return true end E no linux está tudo uma maravilha, quando fui exportar para minha VPS Linux/Ubuntu começou a aparecer alguns erros, quando eu uso magia em area funciona normal, qual eu uso essa mina que é target ela sai o nome da magia no jogo e da debug. Alguém sabe a solução?
-
Limpar Database
Galera eu estou com um problema na DB, estou com as vocações sample e account manager na database, quando vou criar outro personagem ou uma conta o id vai pra 2000 invez de seguir a ordem, teria como resetar a db para voltar com os ids na sequencia?
-
[HTTPS] HTTPS em Linux
Alguem sabe como colocar HTTPS no site gesior no S.O Ubuntu 14.04? Mande algum tutorial
-
[Logout] Create Character
Galera logo no meu servidor, quando clico em create character ele desloga sozinho da conta e pede para logar novamente, para criar o char, e fica fazendo isso varias e varias vezes, já troquei o accountmanagement e o problema persiste
-
[RESOLVIDO] Apache/2.4.7 (Ubuntu) Server at "IP" Port 80
Galera instalei meu gesior na VPS, quando vou abrir aparece essa mensagem, Index of / NameLast modifiedSizeDescription Apache/2.4.7 (Ubuntu) Server at 192.95.48.110 Port 80 Já importei a database ------------- EDIT ------------------- Galera quem tiver com esse problema, é simples eu estava fazendo errado algo bem simples, eu deletei a html.index da pasta /var/www/html/ e extrai meu site para www e na configuração do ele lê a o site na pasta /var/www/html/, Obrigado, Tópico resolvido.
- Highscore monstrando outfit
-
Highscore monstrando outfit
Mano não era pra ficar branco, ou era pra aparecer os highscore ou se desse erro, era pra aparecer a mensagem de erro, você tem notepad ++? se tiver invez de abrir por bloco de notas, abre pelo notepad++ que facilida a visualização. Talvez pode ser problema com o gesior que você está utilizando, se for 8.60, tenta trocar seu site para esse:
-
Highscore monstrando outfit
oque você acessou: http://localhost/index.php?subtopic=highscores tenta acessar: http://localhost/?subtopic=highscores Mano estou com ele aberto aqui nesse exato momento, refaz o processo novamente. Depois de refazer continuar em branco, layouts/tibiabr ou tibiacom depende do nome da pasta do seu layout e abre o arquivo layout.php digita ctrl F e procura por Highscore e substitua por: <a href="?subtopic=highscores"> <div id="submenu_highscores" class="Submenuitem" onmouseover="MouseOverSubmenuItem(this)" onmouseout="MouseOutSubmenuItem(this)"> <div class="LeftChain" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);"></div> <div id="ActiveSubmenuItemIcon_highscores" class="ActiveSubmenuItemIcon" style="background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);"></div> <div id="ActiveSubmenuItemLabel_highscores" class="SubmenuitemLabel">Highscores</div> <div class="RightChain" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);"></div> </div> </a>
-
[Top Fraggers] Bugando outfit
Galera estou usando o top frags disponibilizado no tk porém estou usando para um servidor derivado, quando ele vê a looktype do meu personagem que é 2 invez de ele mostrar a sprite, ele seleciona a pasta 2 dentro da pasta outfit, ai tem mais 5 opções de addon, body, head, legs e feet. Com o numero dessas 5 ultimas opções ele forma a sprite do personagem e mostra na tela com a cor certa, porém eu queria que invez de buscar por essas 5 opções, quando ele pedir a looktype 2 mostrar a sprite 2 que ta dentro da pasta outfit. Parte do script onde está sendo editada foreach ($rankingFrags as $member) { $main_content .= ' <td align="center"> <img style="margin-top: -40px; margin-left: -50px; position: relative;" src="images/trofeus/'.$rm.'.gif" /> <img style="margin-top: -45px; margin-left: -40px;" src="outfit.php?id='.$member['looktype'].'&addons='.$member['lookaddons'].'&head='.$member['lookhead'].'&body='.$member['lookbody'].'&legs='.$member['looklegs'].'&feet='.$member['lookfeet'].'" width="80" height="80" /> <br> <a href="?subtopic=characters&name='.$member['name'].'"> '.$member['name'].'</a> <br> <b>'.$member['frags_all'].'</b> </td> '; $rm++; } <img style="margin-top: -45px; margin-left: -40px;" src="outfit.php?id='.$member['looktype'].'&addons='.$member['lookaddons'].'&head='.$member['lookhead'].'&body='.$member['lookbody'].'&legs='.$member['looklegs'].'&feet='.$member['lookfeet'].'" width="80" height="80" /> basicamente ele manda buscar no outfit.php, que seria um php das cores das outfits se não me engano. só gostaria q ele buscasse a sprite invez das cores de outfit para formar a sprite Script completo caso necessite de mais modificações <?php if(!defined('INITIALIZED')) exit; $main_content .= ' <div class="TableContainer"> <div class="CaptionContainer"> <div class="CaptionInnerContainer"> <span class="CaptionEdgeLeftTop" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span> <span class="CaptionEdgeRightTop" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span> <span class="CaptionBorderTop" style="background-image:url(./layouts/tibiarl/images/content/table-headline-border.gif);"></span> <span class="CaptionVerticalLeft" style="background-image:url(./layouts/tibiarl/images/content/box-frame-vertical.gif);"></span> <div class="Text">The 3 best killers on '.htmlspecialchars($config['server_name']).'</div> <span class="CaptionVerticalRight" style="background-image:url(./layouts/tibiarl/images/content/box-frame-vertical.gif);"></span> <span class="CaptionBorderBottom" style="background-image:url(./layouts/tibiarl/images/content/table-headline-border.gif);"></span> <span class="CaptionEdgeLeftBottom" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span> <span class="CaptionEdgeRightBottom" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span> </div> </div> <table class="Table5" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <div class="InnerTableContainer"> <table style="width:100%;"> <tbody> <tr> <td> <div class="TableShadowContainerRightTop"> <div class="TableShadowRightTop" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-rt.gif);"></div> </div> <div class="TableContentAndRightShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-rm.gif);"> <div class="TableContentContainer"> <table bgcolor="#D4C0A1" border="0" cellpadding="3" cellspacing="1" width="100%"> <tr bgcolor="#505050"></tr> <tr> <td> <table border="0" cellpadding="4" cellspacing="1" width="100%"> <tr bgcolor="#505050"> <td align="center" class="white" colspan="3"><b>Ranking</b> </td> </tr> <tbody> <tr bgcolor="#F1E0C6"> '; $rankingFrags = $SQL->query('SELECT name, frags_all, lookbody, lookfeet, lookhead, looklegs, looktype, lookaddons FROM players WHERE group_id = 1 AND account_id != 1 ORDER BY frags_all DESC LIMIT 3'); $rm = 1; foreach ($rankingFrags as $member) { $main_content .= ' <td align="center"> <img style="margin-top: -40px; margin-left: -50px; position: relative;" src="images/trofeus/'.$rm.'.gif" /> <img style="margin-top: -45px; margin-left: -40px;" src="outfit.php?id='.$member['looktype'].'&addons='.$member['lookaddons'].'&head='.$member['lookhead'].'&body='.$member['lookbody'].'&legs='.$member['looklegs'].'&feet='.$member['lookfeet'].'" width="80" height="80" /> <br> <a href="?subtopic=characters&name='.$member['name'].'"> '.$member['name'].'</a> <br> <b>'.$member['frags_all'].'</b> </td> '; $rm++; } $main_content .= ' </td> </tr> </table></tr></tbody> </table> <br/> </div> </div> <div class="TableShadowContainer"> <div class="TableBottomShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-bm.gif);"> <div class="TableBottomLeftShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-bl.gif);"></div> <div class="TableBottomRightShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-br.gif);"></div> </div> </td> </tr> </tbody> </table> </div> </td> </tr> </tbody> </table> </div> <br /> '; $main_content .= ' <div class="TableContainer"> <div class="CaptionContainer"> <div class="CaptionInnerContainer"> <span class="CaptionEdgeLeftTop" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span> <span class="CaptionEdgeRightTop" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span> <span class="CaptionBorderTop" style="background-image:url(./layouts/tibiarl/images/content/table-headline-border.gif);"></span> <span class="CaptionVerticalLeft" style="background-image:url(./layouts/tibiarl/images/content/box-frame-vertical.gif);"></span> <div class="Text">TOP Frags on '.htmlspecialchars($config['server_name']).'</div> <span class="CaptionVerticalRight" style="background-image:url(./layouts/tibiarl/images/content/box-frame-vertical.gif);"></span> <span class="CaptionBorderBottom" style="background-image:url(./layouts/tibiarl/images/content/table-headline-border.gif);"></span> <span class="CaptionEdgeLeftBottom" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span> <span class="CaptionEdgeRightBottom" style="background-image:url(./layouts/tibiarl/images/content/box-frame-edge.gif);"></span> </div> </div> <table class="Table5" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <div class="InnerTableContainer"> <table style="width:100%;"> <tbody> <tr> <td> <div class="TableShadowContainerRightTop"> <div class="TableShadowRightTop" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-rt.gif);"></div> </div> <div class="TableContentAndRightShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-rm.gif);"> <div class="TableContentContainer"> <table border="0" cellspacing="1" cellpadding="4" width="100%"> <tr bgcolor="#505050"> <td class="white" style="text-align: center; font-weight: bold;">Name</td> <td class="white" style="text-align: center; font-weight: bold;">Frags</td> </tr>'; $topFrags = $SQL->query('SELECT name, frags_all FROM players WHERE group_id = 1 AND account_id != 1 ORDER BY frags_all DESC LIMIT 30'); $bgcount = 0; foreach ($topFrags as $member) { $bgcount++; if(is_int($bgcount / 2)): $bgcolor = $config['site']['darkborder']; else: $bgcolor = $config['site']['lightborder']; endif; $main_content .= '<tr bgcolor="'.$bgcolor.'"> <td><a href="?subtopic=characters&name='.$member['name'].'">'.$member['name'].'</a></td> <td style="text-align: center;">'.$member['frags_all'].'</td> </tr>'; }; $main_content .= ' </table> </div> </div> <div class="TableShadowContainer"> <div class="TableBottomShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-bm.gif);"> <div class="TableBottomLeftShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-bl.gif);"></div> <div class="TableBottomRightShadow" style="background-image:url(./layouts/tibiarl/images/content/table-shadow-br.gif);"></div> </div> </td> </tr> </tbody> </table> </div> </td> </tr> </tbody> </table> </div> '; ?> vlw
-
[MONSTRO] Não passar por tal elemento
tbm estou precisando =/
-
Highscore monstrando outfit
Galera muito tempo atrás procurei e não achei como colocar outfits para mostrar no Highscores, dei uma olhada por ai e não encontrei, por sorte eu estava mexendo por aqui e achei um script mostrando a outfit no highscore. Vamos lá. Em htdocs/pages/ abre highscore.php Delata tudo que está dentro e cola esse script: <?php if(!defined('INITIALIZED')) exit; $list = 'experience'; if(isset($_REQUEST['list'])) $list = $_REQUEST['list']; $page = 0; if(isset($_REQUEST['page'])) $page = min(50, $_REQUEST['page']); $vocation = ''; if(isset($_REQUEST['vocation'])) $vocation = $_REQUEST['vocation']; switch($list) { case "hand": $id=Highscores::SKILL_FIST; $list_name='Hand Ability'; break; case "weapon": $id=Highscores::SKILL_CLUB; $list_name='Weapon Ability'; break; case "sword": $id=Highscores::SKILL_SWORD; $list_name='Sword Fighting'; break; case "str": $id=Highscores::SKILL_AXE; $list_name='Strenght'; break; case "blasting": $id=Highscores::SKILL_DISTANCE; $list_name='Ki Blasting'; break; case "def": $id=Highscores::SKILL_SHIELD; $list_name='Defense'; break; case "fish": $id=Highscores::SKILL_FISHING; $list_name='Fishing'; break; case "kilvl": $id=Highscores::SKILL__MAGLEVEL; $list_name='Ki Level'; break; default: $id=Highscores::SKILL__LEVEL; $list_name='Experience'; break; } if(count($config['site']['worlds']) > 1) { foreach($config['site']['worlds'] as $idd => $world_n) { if($idd == (int) $_REQUEST['world']) { $world_id = $idd; $world_name = $world_n; } } } if(!isset($world_id)) { $world_id = 0; $world_name = $config['server']['serverName']; } if(count($config['site']['worlds']) > 1) { $main_content .= '<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%><TR><TD></TD><TD> <FORM ACTION="" METHOD=get><INPUT TYPE="hidden" NAME="subtopic" VALUE="highscores"><TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4><TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>World Selection</B></TD></TR><TR><TD BGCOLOR="'.$config['site']['darkborder'].'"> <TABLE BORDER=0 CELLPADDING=1><TR><TD>Best players on world:</TD><TD><SELECT SIZE="1" NAME="world">'; foreach($config['site']['worlds'] as $wid => $world_n) { if($wid == $world_id) $main_content .= '<OPTION VALUE="'.htmlspecialchars($wid).'" selected="selected">'.htmlspecialchars($world_n).'</OPTION>'; else $main_content .= '<OPTION VALUE="'.htmlspecialchars($wid).'">'.htmlspecialchars($world_n).'</OPTION>'; } $main_content .= '</SELECT> </TD><TD><INPUT TYPE="image" NAME="Submit" ALT="Submit" SRC="'.$layout_name.'/images/buttons/sbutton_submit.gif"> </TD></TR></TABLE></TABLE></FORM></TABLE>'; } $offset = $page * 100; $skills = new Highscores($id, 100, $page, $world_id, $vocation); $main_content .= ' <table cellspacing="0" cellpadding="0" width="100%" class="highskills"> <tbody> <tr> <td style="text-align: center;"><a href="?subtopic=highscores&list=experience&world=' . $world_id . '"><img src="images/skills/level.gif" alt="" style="border-style: none"/></td> <td style="text-align: center;"><a href="?subtopic=highscores&list=kilvl&world=' . $world_id . '"><img src="images/skills/ml.gif" alt="" style="border-style: none"/></td> <td style="text-align: center;"><a href="?subtopic=highscores&list=hand&world=' . $world_id . '"><img src="images/skills/fist.gif" alt="" style="border-style: none"/></td> <td style="text-align: center;"><a href="?subtopic=highscores&list=weapon&world=' . $world_id . '"><img src="images/skills/club.gif" alt="" style="border-style: none"/></td> <td style="text-align: center;"><a href="?subtopic=highscores&list=sword&world=' . $world_id . '"><img src="images/skills/sword.gif" alt="" style="border-style: none"/></td> <td style="text-align: center;"><a href="?subtopic=highscores&list=str&world=' . $world_id . '"><img src="images/skills/axe.gif" alt="" style="border-style: none"/></td> <td style="text-align: center;"><a href="?subtopic=highscores&list=blasting&world=' . $world_id . '"><img src="images/skills/dist.gif" alt="" style="border-style: none"/></td> <td style="text-align: center;"><a href="?subtopic=highscores&list=def&world=' . $world_id . '"><img src="images/skills/def.gif" alt="" style="border-style: none"/></td> <td style="text-align: center;"><a href="?subtopic=highscores&list=fish&world=' . $world_id . '"><img src="images/skills/fish.gif" alt="" style="border-style: none"/></td> </tr> <tr> <tr><td style="text-align: center;">Level</td> <td style="text-align: center;">Ki Level</td> <td style="text-align: center;">Hand</td> <td style="text-align: center;">Weapon</td> <td style="text-align: center;">Sword</td> <td style="text-align: center;">Strenght</td> <td style="text-align: center;">Blasting</td> <td style="text-align: center;">Defense</td> <td style="text-align: center;">Fishing</td> </tr> </table> <br> <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%><TR><TD><CENTER><H2>Rank Level</H2></CENTER> '; $main_content .= '<br><TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1 WIDTH=100%></TABLE><TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1 WIDTH=100%><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD CLASS=whites><B>#</B></TD><TD CLASS=whites><b></b></TD><TD WIDTH=75% CLASS=whites><B>Name</B></TD><TD WIDTH=15% CLASS=whites><b><center>Level</center></B></TD>'; if($list == "experience") $main_content .= '<TD CLASS=whites><b><center>Experience</center></B></TD>'; //$main_content .= '</TR><TR>'; $main_content .= '</TR>'; $number_of_rows = 0; foreach($skills as $skill) { if($list == "kilvl") $value = $skill->getMagLevel(); elseif($list == "experience") $value = $skill->getLevel(); else $value = $skill->getScore(); $bgcolor = (($number_of_rows++ % 2 == 1) ? $config['site']['darkborder'] : $config['site']['lightborder']); $main_content .= '<tr bgcolor="'.$bgcolor.'"><td style="text-align:right">'.($offset + $number_of_rows).'.</td><TD><center><img src="Monsters/'. $skill->getLookType() . '_0.png" alt="" /></center></TD><td><a href="?subtopic=characters&name='.urlencode($skill->getName()).'">'.($skill->getOnline()>0 ? "<font color=\"green\">".htmlspecialchars($skill->getName())."</font>" : "<font color=\"red\">".htmlspecialchars($skill->getName())."</font>").'</a><img src="' . $config['site']['flag_images_url'] . $skill->getFlag() . $config['site']['flag_images_extension'] . '" title="Country: ' . $skill->getFlag() . '" alt="' . $skill->getFlag() . '" /></td><td><center>'.$value.'</center></td>'; if($list == "experience") $main_content .= '<td><center>'.$skill->getExperience().'</center></td>'; $main_content .= '</tr>'; } $main_content .= '</TABLE><TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1 WIDTH=100%>'; if($page > 0) $main_content .= '<TR><TD WIDTH=100% ALIGN=right VALIGN=bottom><A HREF="?subtopic=highscores&list='.urlencode($list).'&page='.($page - 1).'&vocation=' . urlencode($vocation) . '&world=' . urlencode($world_id) . '" CLASS="size_xxs">Previous Page</A></TD></TR>'; if($page < 50) $main_content .= '<TR><TD WIDTH=100% ALIGN=right VALIGN=bottom><A HREF="?subtopic=highscores&list='.urlencode($list).'&page='.($page + 1).'&vocation=' . urlencode($vocation) . '&world=' . urlencode($world_id) . '" CLASS="size_xxs">Next Page</A></TD></TR>'; $main_content .= '</TABLE></TD></TR></TABLE>'; Após isso, copia sua pasta de Outfits e cola depois renomeia para monsters Só testar agora, desculpe se tem algum outro tópico explicativo disso, mas não achei nenhum =/ Lembrando que é para Gesior e testado na versão compatível com 8.60 TFS 0.4 Provavelmente funcional em versão 1.0.0 e 0.3.6 Algumas nomes de skill podem estar trocadas, pois não foi para tibia que estava usando
-
[10.90] Vanaheim Global Opensource - TFS 1.2
Muito bom, ganhou meu rep+, uma duvida as quests estão todas certas? warzone funfando normal? tem reward chest?
-
Erro [Unknown key value]
Uso tfs 1.2, e o servidor é 10.79 disponibilizado aqui no tibiaking.. meus items.xml nao da pra postar aqui da erro axo q é mto grande, mas os itens q tem os valores. <item fromid="13946" toid="13947" name="magic helmet"> <attribute key="weight" value="1200" /> <attribute key="armor" value="5" /> <attribute key="slotType" value="head" /> <attribute key="magiclevelpoints" value="2" /> <attribute key="increasemagicpercent" value="108" /> <attribute key="suppressdrown" value="1" /> <attribute key="absorbPercentDrown" value="100" /> </item> <item id="2474" article="a" name="helmet"> <attribute key="description" value="It's the Helmet of Hermes." /> <attribute key="weight" value="10000" /> <attribute key="armor" value="15" /> <attribute key="slotType" value="head" /> <attribute key="skillSword" value="3" /> <attribute key="skillAxe" value="3" /> <attribute key="skillClub" value="3" /> <attribute key="skillDist" value="3" /> <attribute key="increasePhysicalPercent" value="108"/> <attribute key="suppressdrown" value="1" /> <attribute key="absorbPercentDrown" value="100" /> </item>
-
Erro [Unknown key value]
Bom eu sei qual é o erro, ele não esta reconhecendo o increasePhysicalPercent (já esperava por isso) e tbm o increaseMagicPercent ( por esse nao esperava ) qual motivo do erro? por que não ta reconhecendo? queria adicionar % de dano magico em um item e % de dano fisico em outro, ouvi dizer que talvez para criar o increasePhysicalPercent precisaria mexer nas sources, tem algum tutorial para me ajudar? e como arrumo o increaseMagicPercent vlw,
-
[AJUDA] Script de Invasão
Vlw mano, espero q esteja certo
-
[AJUDA] Script de Invasão
Estou com um script de invasão aqui, gostaria de saber quanto tempo está configurado para ter essa invasão e como mudar o tempo. Raid.xml <raid name="Draptor" file="Draptor.xml" interval2="250" margin="60"/> Script: <?xml version="1.0" encoding="utf-8"?> <raid> <announce delay="1000" type="event" message="The dragons of the Dragonblaze Mountains have descended to Zao to protect the lizardkin!" /> <areaspawn delay="2000" fromx="33194" fromy="31207" fromz="7" tox="33301" toy="31259" toz="7"> <monster name="Draptor" amount="10" /> </areaspawn> </raid> Vlw,
- [v32] GlobalFull 11/12 - New Asuras, Falcons, Warzones 4,5,6 . (Updates Frequentes)
-
(Resolvido)% de dano nos equips
Vlw rep+, e de ataque fisico? tem como?
-
(Resolvido)% de dano nos equips
e como aumento % de poder magico?
-
(Resolvido)% de dano nos equips
up, alguem?
- Addon/Mount para Shopsystem por Storage