Ir para conteúdo

churpsx

Campones
  • Total de itens

    0
  • Registro em

  • Última visita

Sobre churpsx

Informações

  • Forma que conheci o xTibia
    Sites de Busca
  • Sou
    Não Informado

churpsx's Achievements

  1. churpsx

    Random

    gostaria de saber. como posso adicionar um respaw aleatorio no serve. vamo supor eu tenho "abra female" ~ "abra male" quero deixar aleatorio esse respaw. tem a necessidade de eu criar os 2 arquivos ? ou posso usar algo um script utilizando "math.random" no respaw. se tiver alguem pode me apontar o caminho ? Obrigado ! bem não consigue faze a imagem aparecer http://imageshack.us/photo/my-images/31/pokesp.jpg então endereço dela ta aqui ! do reply ! :}
  2. churpsx

    Erros Scripts

    Erro: [03/07/2011 23:47:58] [Error - CreatureScript Interface] [03/07/2011 23:47:58] data/creaturescripts/scripts/login.lua:onLogin [03/07/2011 23:47:58] Description: [03/07/2011 23:47:58] data/creaturescripts/scripts/login.lua:116: attempt to index field '?' (a nil value) [03/07/2011 23:47:58] stack traceback: [03/07/2011 23:47:58] data/creaturescripts/scripts/login.lua:116: in function <data/creaturescripts/scripts/login.lua:7> Login.lua local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandle r')) } function onLogin(cid) doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 0) doCreatureSetDropLoot(cid, false) local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. " Have fun! " end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then doPlayerSendTextMessage(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) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.") end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end local flys = { ['Moltres'] = {229, 2300}, ['Articuno'] = {230, 2100}, ['Zapdos'] = {224, 2600}, ['Mew'] = {232, 2200}, ['Mewtwo'] = {233, 2200}, ['Dragonite'] = {221, 1300}, ['Pidgeot'] = {222, 900}, ['Fearow'] = {226, 800}, ['Aerodactyl'] = {227, 1100}, ['Charizard'] = {216, 1000}, ['Porygon'] = {316, 600}, } local rides = { ["Tauros"] = {128, 780, 400}, ["Ninetales"] = {129, 800, 375}, ["Rapidash"] = {130, 800, 395}, ["Ponyta"] = {131, 410, 500}, ["Rhyhorn"] = {132, 400, 510}, ["Arcanine"] = {12, 900, 390}, ["Shiny Arcanine"] = {492, 1000, 360}, ["Shiny Venusaur"] = {494, 420, 420}, ["Crystal Onix"] = {293, 480, 430}, ["Onix"] = {126, 450, 450}, ["Venusaur"] = {134, 390, 450}, ["Dodrio"] = {133, 750, 380}, ["Doduo"] = {135, 420, 500}, } local surf = { ["Poliwag"] = {lookType=278, speed = 320}, ["Poliwhirl"] = {lookType=137, speed = 480}, ["Seaking"] = {lookType=269, speed = 520}, ["Dewgong"] = {lookType=183, speed = 700}, ["Blastoise"] = {lookType=184, speed = 850}, ["Tentacruel"] = {lookType=185, speed = 750}, ["Lapras"] = {lookType=186, speed = 960}, ["Gyarados"] = {lookType=187, speed = 1050}, ["Omastar"] = {lookType=188, speed = 680}, ["Kabutops"] = {lookType=189, speed = 840}, ["Poliwrath"] = {lookType=190, speed = 680}, ["Vaporeon"] = {lookType=191, speed = 800}, ["Staryu"] = {lookType=266, speed = 385}, ["Starmie"] = {lookType=267, speed = 685}, ["Goldeen"] = {lookType=268, speed = 355}, ["Seadra"] = {lookType=270, speed = 655}, ["Golduck"] = {lookType=271, speed = 760}, ["Squirtle"] = {lookType=273, speed = 365}, ["Wartortle"] = {lookType=275, speed = 605}, ["Tentacool"] = {lookType=277, speed = 340}, ["Snorlax"] = {lookType=300, speed = 500}, } registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "PlayerPokeDeath") registerCreatureEvent(cid, "LogoutPoke") registerCreatureEvent(cid, "WildAttack") registerCreatureEvent(cid, "Idle") registerCreatureEvent(cid, "Tele") registerCreatureEvent(cid, "Exp") registerCreatureEvent(cid, "Alook") if getPlayerStorageValue(cid, 61207) >= 1 then setPlayerStorageValue(cid, 61207, 0) if getPlayerSlotItem(cid, 8).itemid == 2223 or getPlayerSlotItem(cid, 8).itemid == 2221 or getPlayerSlotItem(cid, 8).itemid == 2042 or getPlayerSlotItem(cid, 8).itemid == 2045 or getPlayerSlotItem(cid, 8).itemid == 2048 or getPlayerSlotItem(cid, 8).itemid == 2051 or getPlayerSlotItem(cid, 8).itemid == 2054 or getPlayerSlotItem(cid, 8).itemid == 2057 or getPlayerSlotItem(cid, 8).itemid == 2060 then doTransformItem(getPlayerSlotItem(cid, 8).uid, getPlayerSlotItem(cid, 8).itemid-1) end local item = getPlayerSlotItem(cid, 8) doItemSetAttribute(item.uid, "poke", getItemAttribute(item.uid, "poke") .. " HP = ["..getPlayerStorageValue(cid, 61205).."/"..getPlayerStorageValue(cid, 61206).."]") end if getPlayerItemCount(cid, pokeout) >= 1 and getPlayerStorageValue(cid, 61207) <= 0 and getPlayerStorageValue(cid, 17001) <= 0 and getPlayerStorageValue(cid, 17000) <= 0 and getPlayerStorageValue(cid, 63215) <= 0 then local item = getPlayerItemById(cid, TRUE, pokeout) doTransformItem(item.uid, pokein) doItemSetAttribute(item.uid, "poke", getItemAttribute(item.uid, "poke") .. " HP = ["..getPlayerStorageValue(cid, 61205).."/"..getPlayerStorageValue(cid, 61206).."]") end if getPlayerItemCount(cid, ultrapokeout) >= 1 and getPlayerStorageValue(cid, 61207) <= 0 and getPlayerStorageValue(cid, 17001) <= 0 and getPlayerStorageValue(cid, 17000) <= 0 and getPlayerStorageValue(cid, 63215) <= 0 then local item = getPlayerItemById(cid, TRUE, ultrapokeout) doTransformItem(item.uid, ultrapokein) doItemSetAttribute(item.uid, "poke", getItemAttribute(item.uid, "poke") .. " HP = ["..getPlayerStorageValue(cid, 61205).."/"..getPlayerStorageValue(cid, 61206).."]") end doChangeSpeed(cid, -(getCreatureSpeed(cid))) if getPlayerStorageValue(cid, 17000) >= 1 then item = getPlayerSlotItem(cid, 8) poke = getItemAttribute(item.uid, "poke"):match("This is (.-)'s pokeball.") doChangeSpeed(cid, flys[poke][2]) registerCreatureEvent(cid, "Flying") doRemoveCondition(cid, CONDITION_OUTFIT) doSetCreatureOutfit(cid, {lookType = flys[poke][1], lookHead = 0, lookAddons = 0, lookLegs = 0, lookBody = 0, lookFeet = 0}, -1) elseif getPlayerStorageValue(cid, 63215) >= 1 then item = getPlayerSlotItem(cid, 8) poke = getItemAttribute(item.uid, "poke"):match("This is (.-)'s pokeball.") doSetCreatureOutfit(cid, surf[poke], -1) doChangeSpeed(cid, surf[poke].speed) elseif getPlayerStorageValue(cid, 17001) >= 1 then item = getPlayerSlotItem(cid, 8) poke = getItemAttribute(item.uid, "poke"):match("This is (.-)'s pokeball.") doChangeSpeed(cid, rides[poke][2]) doRemoveCondition(cid, CONDITION_OUTFIT) doSetCreatureOutfit(cid, {lookType = rides[poke][1], lookHead = 0, lookAddons = 0, lookLegs = 0, lookBody = 0, lookFeet = 0}, -1) else if getPlayerGroupId(cid) >= 2 and getPlayerGroupId(cid) <= 7 or getPlayerGroupId(cid) >= 20 and getPlayerGroupId(cid) <= 23 then doChangeSpeed(cid, 400*getPlayerGroupId(cid)) else doChangeSpeed(cid, 250) end end if getPlayerVocation(cid) == 0 then doPlayerSetVocation(cid, 1) setCreatureMaxMana(cid, 6) doPlayerAddSoul(cid, -getPlayerSoul(cid)) setPlayerStorageValue(cid, 19898, 0) end if getCreatureOutfit(cid).lookType == 128 then outfit = {lookType = 159} doCreatureChangeOutfit(cid, outfit) elseif getCreatureOutfit(cid).lookType == 136 then outfit = {lookType = 160} doCreatureChangeOutfit(cid, outfit) end registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "AdvanceSave") local permission = { '[Adm] ', '[Adm]', '[Gm] ', '[Gm] ', 'Account Manager', 'Account Manager T', } if getPlayerGroupId(cid) >= 20 and not isInArray(permission, getCreatureName(cid)) then doBroadcastMessage("WARNING! "..getCreatureName(cid).." tried to login without permission, report to a Gamemaster!") doAddAccountBanishment(getPlayerAccountId(cid), target, os.time() + 99999999*24*3600, 5, 2, "Access denied! WARNING! "..getCreatureName(cid).." tried to login without permission, report to a Gamemaster!", 0) return false end return true end Base pokemon Dash ! :}
  3. Brun. é perfeito. so falta uma coisa. no caso queria que fica-se assim. "você usa a vara .. joga no rio.. ela fica parada no lugar tipo com uma boinha e so sumise quando pegar o poke. a ideia é +/- essa. se puder ajudar fico grato. se não obrigado ja me ajudo bastante. +reply ;d
  4. sim. você simplifico ! =)
  5. Tipo do script: Fishing. Protocolo (versão do Tibia): 8.54 Servidor utilizado: Base Pokemon Dash Nível de experiência: Iniciante Adicionais/Informações: Ola gostaria de pedir ajuda em como começar ou na construção junto com vocês. o objetivo é fazer um fishing igual a muitos P.O por ai, que ao invez de pescar a todo instante. você apenas para de pescar quando pega um pokemon. para facilitar a vida dos pescadores do pokemon. quem puder ajudar fico grato!
  • Quem Está Navegando   0 membros estão online

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