Ir para conteúdo

rDs7008

Visconde
  • Total de itens

    303
  • Registro em

  • Última visita

  • Dias Ganhos

    1

Tudo que rDs7008 postou

  1. sim o view character ficou foda mesmo ;D tbem curti, vo por enquanto usar esse layout mesmo depois eu faço o meu haha
  2. Aqui eu testei e funcionou, agora to fazendo minhas modificacoes, como colocar pra escolher pokemon inicial no site, e tal. @shingo cara tá sha1 no teu config.lua ?
  3. ainda nao foi sanada minha duvida, preciso realmente de ajuda com isso :X
  4. Estou tendo erros no console em relação a todos npcs, segue a mensagem que aparece para cada um dos npcs: [02/04/2011 14:46:49] Lua Script Error: [Npc interface] [02/04/2011 14:46:49] data/npc/scripts/Sell/food.lua [02/04/2011 14:46:49] data/npc/scripts/Sell/food.lua:1: attempt to index global 'KeywordHandler' (a nil value) [02/04/2011 14:46:49] stack traceback: [02/04/2011 14:46:50] [C]: in function '__index' [02/04/2011 14:46:50] data/npc/scripts/Sell/food.lua:1: in main chunk [02/04/2011 14:46:50] [Warning - NpcScript::NpcScript] Can not load script: data/npc/scripts/Sell/food.lua [02/04/2011 14:46:50] cannot open santaclaus.lua: No such file or directory e tambem um outro erro no npc system que aparece no final: [02/04/2011 14:48:43] Lua Script Error: [Npc interface] [02/04/2011 14:48:43] data/npc/lib/npc.lua [02/04/2011 14:48:43] cannot open npc/lib/npcsystem/keywordhandler.lua: No such file or directory [02/04/2011 14:48:43] stack traceback: [02/04/2011 14:48:43] [C]: ? [02/04/2011 14:48:43] [C]: in function 'dofile' [02/04/2011 14:48:43] data/npc/lib/npcsystem/npcsystem.lua:6: in main chunk [02/04/2011 14:48:44] [C]: in function 'dofile' [02/04/2011 14:48:44] data/npc/lib/npc.lua:2: in main chunk [02/04/2011 14:48:44] Warning: [NpcScriptInterface::loadNpcLib] Can not load data/npc/lib/npc.lua [02/04/2011 14:48:44] Warning: [Npc::loadInteraction] Missing time attribute for onidle event Meu server eh global 8.7 tfs preciso muito de ajuda pra solucionar esse bug. plz :X vou colocar em spoiler os arquivos. npc.lua npcsystem.lua se precisar de mais algum deixa mp ou posta repply aki. grato
  5. Primeiramente, eu gostaria de implementar o sistema de pagamento do MoIP no meu otserver, andei olhando na internet e nao achei tutoriais sobre como fazer isso, gostaria, que se alguem soubesse, me ensinasse a fazer isso. Minha segunda duvida eh sobre o sistema de vip do meu servidor. Toda vez que eu compro vip (testei apenas com 30 days), no vip status da account fica assim : Vip Account, 1299939337 Time left p.s.: no banco de dados tambem fica esse valor. contato por msn : ricardo_sohn@hotmail.com skype : ricardo.sohn Obrigado desde já.
  6. O miih, pq nao entra mais no msn ??? preciso falar contigo cara. ___ edit: se possivel manda pm ou entra no msn, pra nao dar flood.
  7. edited __ closed aki
  8. FULL RIP DO NPC DO BRUN123 ! REPORTADO
  9. eu quero que voce faca funcionar no servidor da thalia, cujos scripts de go back e catch eu postei antes. vou passar os ids das balls: poke balls: 2531, 2532 2653;2557 superball 2652;2524 greatball 2654;2525 ultraball 2195;2523 masterball
  10. Mano eu quero falar contigo sobre teus scripts me add no msn: ricardo_sohn@hotmail.com
  11. aonde eu configuro o level para usar cada spell ? ----------------------- u.U esquece eu olhei direito e achei
  12. vitor me add no msn que eu te passo pra tu arrumar ----------- vo posta os scripts de go/back e catch do thalia, ai tu edita e arruma pra min plx go / back function onUse(cid, item, fromPosition, itemEx, toPosition) function getPokemonMaxLife(name) local file = io.open('data/monster/monsters.xml','r') local arquivo = file:read(-1):lower():match('<monster name="'..name:lower()..'" file="(.-)"/>') file:close() local data = io.open('data/monster/'..(arquivo or ''),'r') if not data then return 100 end local maximo = data:read(-1):match('max%s*=%s*"(%d+)"') data:close() return maximo end ----- Config ----- local MaximoSummon = 1 local nome = getItemName(item.uid) local poke_name = nome:match('(.-) Pokeball') local summons = getCreatureSummons(cid) local action_id = getItemAttribute(item.uid, "aid") ----- Config ----- if getItemAttribute(item.uid, "aid") == -1 then return doPlayerSendCancel(cid, "Your Pokemon Is Dead.") end if getPlayerStorageValue(cid, 25000) == 5 then return doPlayerSendCancel(cid, "You are riding.") end if getPlayerStorageValue(cid, 23000) == 5 then return doPlayerSendCancel(cid, "You are flying.") end local summons = getCreatureSummons(cid) if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_FEET).uid then doPlayerSendCancel(cid, "Sorry, you must put your pokeball in the pokeball place.") return TRUE end if(table.maxn(summons) < MaximoSummon) then -- no summons creature = doSummonCreature(poke_name, getCreaturePosition(cid)) doConvinceCreature(cid, creature) registerCreatureEvent(creature, "DiePoke") registerCreatureEvent(cid, "PlayerPokeDeath") registerCreatureEvent(cid, "LogoutPoke") doPlayerSay(cid, poke_name .. " eu escolho você!!") doSendMagicEffect(getCreaturePosition(creature), 188) doTransformItem(getPlayerSlotItem(cid,8).uid, 2531, 1) doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Pokeball") if action_id ~= 0 then doCreatureAddHealth(creature, -(tonumber(getPokemonMaxLife(poke_name) - action_id))) else doCreatureAddHealth(creature, getPokemonMaxLife(poke_name)) end else for _, pid in ipairs(summons) do if (table.maxn(summons) >= 1) then doItemSetAttribute(item.uid, "aid", getCreatureHealth(summons[1])) doSendMagicEffect(getCreaturePosition(getCreatureSummons(cid)[1]), 188) doPlayerSay(cid,"Back, "..poke_name.."") doRemoveCreature(pid) doTransformItem(getPlayerSlotItem(cid,8).uid, 2532, 1) doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Pokeball") end end end return true end catch -- CAPTURE SYSTEM BY RAMZA (RICARDO IANELLI) - DO NOT COPY WITHOUT PERMISSION -- local chance = { ['abra'] = 100, ['shiny abra'] = 100, ['shiny abra'] = 100, ['aerodactyl'] = 30, ['kadabra'] = 100, ['alakazam'] = 50, ['grimer'] = 50, ['machop'] = 200, ['machoke'] = 100, ['machamp'] = 50, ['bellsprout'] = 200, ['weepinbell'] = 200, ['victreebel'] = 100, ['tentacool'] = 200, ['shiny tentacool'] = 200, ['tentacruel'] = 100, ['shiny tentacruel'] = 100, ['geodude'] = 200, ['graveler'] = 100, ['golem'] = 50, ['ponyta'] = 100, ['rapidash'] = 50, ['slowpoke'] = 200, ['slowbro'] = 50, ['magnemite'] = 200, ['magneton'] = 100, ['farfetchd'] = 200, ['shiny farfetchd'] = 200, ['duduo'] = 200, ['dodrio'] = 100, ['seel'] = 200, ['dewgong'] = 100, ['grimmer'] = 100, ['muk'] = 50, ['shiny muk'] = 50, ['shellder'] = 100, ['cloyster'] = 50, ['gastly'] = 100, ['haunter'] = 100, ['gengar'] = 50, ['onix'] = 50, ['crystal onix'] = 50, ['drownzee'] = 100, ['hypno'] = 50, ['krabby'] = 170, ['shiny krabby'] = 170, ['kingler'] = 100, ['shiny kingler'] = 100, ['voltorb'] = 130, ['shiny voltorb'] = 130, ['electrode'] = 110, ['shiny electrode'] = 110, ['exeggcute'] = 80, ['exeggutor'] = 50, ['cubone'] = 130, ['marowak'] = 50, ['hitmonlee'] = 50, ['shiny hitmonlee'] = 50, ['hitmonchan'] = 50, ['shiny hitmonchan'] = 50, ['lickitung'] = 55, ['koffing'] = 150, ['weezing'] = 150, ['rhyhorn'] = 100, ['rhydon'] = 100, ['chansey'] = 100, ['tangela'] = 100, ['kangaskhan'] = 75, ['horsea'] = 200, ['shiny horsea'] = 200, ['seadra'] = 150, ['shiny seadra'] = 150, ['goldeen'] = 170, ['seaking'] = 100, ['staryu'] = 80, ['starmie'] = 50, ['mr.Mime'] = 100, ['scyther'] = 80, ['shiny scyther'] = 80, ['jynx'] = 75, ['shiny jynx'] = 75, ['electabuzz'] = 30, ['shiny electabuzz'] = 30, ['magmar'] = 100, ['pinsir'] = 120, ['tauros'] = 110, ['magikarp'] = 150, ['shiny magikarp'] = 150, ['gyarados'] = 50, ['shiny gyarados'] = 50, ['lapras'] = 20, ['ditto'] = 40, ['eevee'] = 140, ['vaporeon'] = 100, ['flareon'] = 100, ['jolteon'] = 100, ['porygon'] = 50, ['omanyte'] = 10, ['omastar'] = 10, ['kabuto'] = 110, ['kabutops'] = 50, ['snorlax'] = 50, ['articuno'] = 10, ['zapdos'] = 900, ['moltres'] = 10, ['dratini'] = 100, ['shiny dratini'] = 100, ['dragonair'] = 80, ['dragonite'] = 50, ['mew'] = 1, ['mewtwo'] = 1, ['beedrill'] = 180, ['shiny beedrill'] = 180, ['bulbasaur'] = 190, ['ivysaur'] = 100, ['venusaur'] = 55, ['charmander'] = 150, ['charmeleon'] = 100, ['charizard'] = 50, ['elder charizard'] = 1, ['squirtle'] = 180, ['wartortle'] = 100, ['blastoise'] = 85, ['shiny blastoise'] = 85, ['caterpie'] = 900, ['metapod'] = 180, ['butterfree'] = 130, ['shiny butterfree'] = 130, ['weedle'] = 200, ['kakuna'] = 150, ['pidgey'] = 200, ['pidgeotto'] = 100, ['pidgeot'] = 65, ['rattata'] = 200, ['shiny rattata'] = 200, ['raticate'] = 100, ['shiny raticate'] = 100, ['spearow'] = 100, ['fearow'] = 80, ['ekans'] = 200, ['arbok'] = 100, ['pikachu'] = 80, ['raichu'] = 50, ['shiny raichu'] = 50, ['sandshrew'] = 100, ['sandslash'] = 80, ['nidoranFE'] = 150, ['nidorina'] = 100, ['nidoqueen'] = 80, ['nidoranMA'] = 150, ['nidorino'] = 100, ['nidoking'] = 80, ['clefairy'] = 100, ['clefable'] = 80, ['vulpix'] = 120, ['ninetales'] = 65, ['jigglypuff'] = 100, ['wigglytuff'] = 50, ['zubat'] = 150, ['shiny zubat'] = 150, ['golbat'] = 100, ['oddish'] = 200, ['gloom'] = 120, ['vileplume'] = 50, ['paras'] = 200, ['parasect'] = 100, ['shiny parasect'] = 100, ['venonat'] = 150, ['venomoth'] = 100, ['shiny venomoth'] = 100, ['diglett'] = 180, ['dugtrio'] = 100, ['meowth'] = 100, ['persian'] = 100, ['psyduck'] = 80, ['golduck'] = 55, ['mankey'] = 180, ['primeape'] = 100, ['growlithe'] = 100, ['shiny growlithe'] = 100, ['arcanine'] = 80, ['shiny arcanine'] = 80, ['poliwag'] = 200, ['poliwhirl'] = 140, ['poliwrath'] = 90, } local ID_GREATBALL = 2146 local ID_SUPERBALL = 2147 local ID_ULTRABALL = 2150 local ID_MASTERBALL = 2554 local ID_CAPTUROU = 24 local ID_NAO_CAPTUROU = 23 local pokebolas = { [2149] = {2532,"Pokeball"}, [2147] = {2653,"Superball"}, [2146] = {2652,"Greatball"}, [2150] = {2654,"Ultraball"}, [2521] = {2195,"Masterball"}, } local level = { ['abra'] = 15, ['shiny abra'] = 15, ['kadabra'] = 45, ['alakazam'] = 80, ['machop'] = 20, ['machoke'] = 45, ['machamp'] = 70, ['bellsprout'] = 5, ['weepinbell'] = 25, ['victreebel'] = 50, ['tentacool'] = 15, ['tentacruel'] = 75, ['shiny tentacool'] = 15, ['shiny tentacruel'] = 75, ['geodude'] = 15, ['graveler'] = 40, ['golem'] = 65, ['ponyta'] = 20, ['rapidash'] = 55, ['slowpoke'] = 15, ['slowbro'] = 45, ['magnemite'] = 15, ['magneton'] = 35, ['farfetchd'] = 40, ['shiny farfetchd'] = 40, ['duduo'] = 15, ['dodrio'] = 45, ['seel'] = 20, ['dewgong'] = 65, ['grimmer'] = 15, ['shiny grimmer'] = 15, ['muk'] = 35, ['shiny muk'] = 35, ['shellder'] = 10, ['cloyster'] = 60, ['gastly'] = 20, ['haunter'] = 45, ['gengar'] = 80, ['onix'] = 50, ['crystal onix'] = 50, ['drownzee'] = 25, ['hypno'] = 55, ['krabby'] = 10, ['shiny krabby'] = 10, ['klinger'] = 40, ['shiny klinger'] = 40, ['voltorb'] = 10, ['shiny voltorb'] = 10, ['electrode'] = 35, ['shiny electrode'] = 35, ['exeggcute'] = 10, ['exeggutor'] = 55, ['cubone'] = 20, ['marowak'] = 55, ['hitmonlee'] = 60, ['shiny hitmonlee'] = 60, ['hitmonchan'] = 75, ['shiny hitmonchan'] = 75, ['lickitung'] = 55, ['koffing'] = 15, ['weezing'] = 35, ['rhyhorn'] = 30, ['rhydon'] = 70, ['chansey'] = 60, ['tangela'] = 40, ['kangaskhan'] = 75, ['horsea'] = 10, ['shiny horsea'] = 10, ['seadra'] = 45, ['shiny seadra'] = 45, ['goldeen'] = 10, ['seaking'] = 35, ['staryu'] = 15, ['starmie'] = 35, ['mr.Mime'] = 60, ['scyther'] = 80, ['shiny scyther'] = 80, ['jynx'] = 75, ['shiny jynx'] = 75, ['electabuzz'] = 80, ['shiny electabuzz'] = 80, ['magmar'] = 80, ['pinsir'] = 45, ['tauros'] = 45, ['magikarp'] = 5, ['shiny magikarp'] = 5, ['gyarados'] = 85, ['shiny gyarados'] = 85, ['lapras'] = 80, ['ditto'] = 40, ['eevee'] = 20, ['vaporeon'] = 55, ['flareon'] = 55, ['jolteon'] = 55, ['porygon'] = 40, ['omanyte'] = 20, ['omastar'] = 80, ['kabuto'] = 20, ['kabutops'] = 80, ['snorlax'] = 85, ['articuno'] = 100, ['zapdos'] = 100, ['moltres'] = 100, ['dratini'] = 20, ['shiny dratini'] = 20, ['dragonair'] = 60, ['dragonite'] = 90, ['mew'] = 150, ['mewtwo'] = 160, ['beedrill'] = 3, ['shiny beedrill'] = 3, ['bulbasaur'] = 20, ['ivysaur'] = 40, ['venusaur'] = 85, ['charmander'] = 20, ['charmeleon'] = 40, ['charizard'] = 85, ['elder charizard'] = 150, ['squirtle'] = 20, ['wartortle'] = 40, ['blastoise'] = 85, ['shiny blastoise'] = 85, ['caterpie'] = 1, ['metapod'] = 10, ['butterfree'] = 30, ['shiny butterfree'] = 30, ['weedle'] = 1, ['kakuna'] = 10, ['pidgey'] = 5, ['pidgeotto'] = 20, ['pidgeot'] = 65, ['rattata'] = 1, ['raticate'] = 20, ['shiny rattata'] = 1, ['shiny raticate'] = 20, ['spearow'] = 5, ['fearow'] = 50, ['ekans'] = 15, ['arbok'] = 30, ['pikachu'] = 20, ['raichu'] = 45, ['shiny raichu'] = 45, ['sandshrew'] = 20, ['sandslash'] = 55, ['nidoranFE'] = 10, ['nidorina'] = 30, ['nidoqueen'] = 65, ['nidoranMA'] = 10, ['nidorino'] = 25, ['nidoking'] = 65, ['clefairy'] = 20, ['clefable'] = 35, ['vulpix'] = 15, ['ninetales'] = 65, ['jigglypuff'] = 20, ['wigglytuff'] = 45, ['zubat'] = 10, ['golbat'] = 30, ['oddish'] = 5, ['gloom'] = 25, ['vileplume'] = 50, ['paras'] = 5, ['parasect'] = 50, ['shiny paras'] = 5, ['shiny parasect'] = 50, ['venonat'] = 20, ['venomoth'] = 50, ['shiny venomoth'] = 50, ['diglett'] = 10, ['dugtrio'] = 35, ['meowth'] = 15, ['persian'] = 25, ['psyduck'] = 20, ['golduck'] = 55, ['mankey'] = 15, ['primeape'] = 50, ['growlithe'] = 25, ['shiny growlithe'] = 25, ['arcanine'] = 80, ['shiny arcanine'] = 80, ['poliwag'] = 5, ['poliwhirl'] = 25, ['poliwrath'] = 65, } -- Vá adicionando mais acima, como está ali "" local function capturou(params) doSendMagicEffect(getCreaturePosition(params.cid), 173) doPlayerSendTextMessage(params.cid, 25, 'You cath a Pokemon! ('..params.monster..').') item = doCreateItemEx(params.ball) doItemSetAttribute(item, "name", ""..params.monster.." "..params.ball2) doItemSetAttribute(item, "level", params.level) doItemSetAttribute(item, "aid", params.hp) doPlayerAddItemEx(params.cid, item, true) end local function naocapturou(params) end function onUse(cid, item, fromPosition, itemEx, toPosition) local monster = getItemName(itemEx.uid):match("dead (.*)") if item.itemid == ID_GREATBALL then chances = (chance[monster]) * 2 elseif item.itemid == ID_SUPERBALL then chances = (chance[monster]) * 3 elseif item.itemid == ID_ULTRABALL then chances = (chance[monster]) * 4 elseif item.itemid == 2521 then chances = (chance[monster]) * 25 else chances = chance[monster] end if not chance[monster] then return doPlayerSendTextMessage(cid, 23, 'You captured pokemon defeated!') end if math.random(1,1000) <= chances then if item.itemid == 2149 then doSendMagicEffect(toPosition, 24) elseif item.itemid == 2147 then doSendMagicEffect(toPosition, 202) elseif item.itemid == 2146 then doSendMagicEffect(toPosition, 198) elseif item.itemid == 2150 then doSendMagicEffect(toPosition, 200) elseif item.itemid == 2521 then doSendMagicEffect(toPosition, 24) end local hpmax = 0 local ball = pokebolas[item.itemid] addEvent(capturou, 4000, {cid = cid, monster = monster, ball = ball[1], ball2 = ball[2], level = level[monster], hp = hpmax}) doRemoveItem(itemEx.uid, 1) doRemoveItem(item.uid, 1) else if item.itemid == 2149 then doSendMagicEffect(toPosition, 23) elseif item.itemid == 2147 then doSendMagicEffect(toPosition, 201) elseif item.itemid == 2146 then doSendMagicEffect(toPosition, 197) elseif item.itemid == 2150 then doSendMagicEffect(toPosition, 199) elseif item.itemid == 2521 then doSendMagicEffect(toPosition, 23) end doRemoveItem(itemEx.uid, 1) doRemoveItem(item.uid, 1) end return TRUE end
  13. no meu tambem nao funciounou, se possivel tenta faze um pro server do thalia ou pro flash. grato
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...