Ir para conteúdo

Thenew

Membro
  • Registro em

  • Última visita

Tudo que Thenew postou

  1. Thenew postou uma resposta no tópico em OTClient
    Aqui também ocorre o mesmo erro do piso. Aqui nesta função return g_game.getLocalPlayer():getItemsCount(3031) + (g_game.getLocalPlayer():getItemsCount(3035)* 100) + (g_game.getLocalPlayer():getItemsCount(3043) * 10000) Os números 3035* 3031* 3043* são respectivamente?
  2. Não tem como retirar esta essa condição de área pz não? Mesmo em local pvp aqui dá este erro
  3. Aqui deu este erro [18:7:28.037] [Error - CreatureEvent::configureEvent] No valid type for creature event.modalwindow [18:7:28.039] [Warning - BaseEvents::loadFromXml] Cannot configure an event
  4. O que tem que usar para abrir as sprites? object builder fala que não é suportado. Tenho umas sprites boas para por nele
  5. Thenew postou uma resposta no tópico em Suporte & Pedidos
    Depois que o tibiaking fechou poketibia caiu
  6. Primeiramente qual base tu usa? Ve em config.lua e procura por rateLoot vai ter algo parecido com isso rateLoot = 10. Ai tu muda o valor que tiver depois de = para um menor como 1. Ficando assim rateLoot = 1
  7. Thenew postou uma resposta no tópico em Suporte Tibia OTServer
    Está ai ele local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) local accountManager = getPlayerAccountManager(cid) if getPlayerLevel(cid) >= 1 and getPlayerLevel(cid) <= 80 then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 90) doCreatureSetDropLoot(cid, false) end if getPlayerLevel(cid) >= 81 and getPlayerLevel(cid) <= 149 then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 80) doCreatureSetDropLoot(cid, false) end if getPlayerLevel(cid) >= 150 then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 75) doCreatureSetDropLoot(cid, false) end 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 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 getCreatureName(cid) == "Account Manager" then local outfit = {} if accountManagerRandomPokemonOutfit then outfit = {lookType = getPokemonXMLOutfit(oldpokedex[math.random(151)][1])} else outfit = accountManagerOutfit end doSetCreatureOutfit(cid, outfit, -1) return true end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end local outfit = {} if getPlayerVocation(cid) == 0 then doPlayerSetMaxCapacity(cid, 0) doPlayerSetVocation(cid, 1) setCreatureMaxMana(cid, 6) doPlayerAddSoul(cid, -getPlayerSoul(cid)) setPlayerStorageValue(cid, 19898, 0) if getCreatureOutfit(cid).lookType == 128 then outfit = {lookType = 510, lookHead = math.random(0, 132), lookBody = math.random(0, 132), lookLegs = math.random(0, 132), lookFeet = math.random(0, 132)} elseif getCreatureOutfit(cid).lookType == 136 then outfit = {lookType = 511, lookHead = math.random(0, 132), lookBody = math.random(0, 132), lookLegs = math.random(0, 132), lookFeet = math.random(0, 132)} end doCreatureChangeOutfit(cid, outfit) end registerCreatureEvent(cid, "dropStone") registerCreatureEvent(cid, "ShowPokedex") --alterado v1.6 registerCreatureEvent(cid, "ClosePokedex") --alterado v1.6 registerCreatureEvent(cid, "WatchTv") registerCreatureEvent(cid, "StopWatchingTv") registerCreatureEvent(cid, "WalkTv") registerCreatureEvent(cid, "RecordTv") registerCreatureEvent(cid, "PlayerLogout") registerCreatureEvent(cid, "WildAttack") registerCreatureEvent(cid, "Idle") registerCreatureEvent(cid, "PokemonIdle") registerCreatureEvent(cid, "EffectOnAdvance") registerCreatureEvent(cid, "GeneralConfiguration") registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "LookSystem") registerCreatureEvent(cid, "T1") registerCreatureEvent(cid, "T2") registerCreatureEvent(cid, "task_count") registerCreatureEvent(cid, "pokemons") addEvent(doSendAnimatedText, 500, getThingPosWithDebug(cid), "Bem Vindo!!", COLOR_BURN) if getPlayerStorageValue(cid, 99284) == 1 then setPlayerStorageValue(cid, 99284, -1) end if getPlayerStorageValue(cid, 6598754) >= 1 or getPlayerStorageValue(cid, 6598755) >= 1 then setPlayerStorageValue(cid, 6598754, -1) setPlayerStorageValue(cid, 6598755, -1) doRemoveCondition(cid, CONDITION_OUTFIT) --alterado v1.9 \/ doTeleportThing(cid, posBackPVP, false) doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) end doChangeSpeed(cid, -(getCreatureSpeed(cid))) --///////////////////////////////////////////////////////////////////////////-- local storages = {17000, 63215, 17001, 13008, 5700} for s = 1, #storages do if not tonumber(getPlayerStorageValue(cid, storages[s])) then if s == 3 then setPlayerStorageValue(cid, storages[s], 1) elseif s == 4 then setPlayerStorageValue(cid, storages[s], -1) else if isBeingUsed(getPlayerSlotItem(cid, 8).itemid) then setPlayerStorageValue(cid, storages[s], 1) else setPlayerStorageValue(cid, storages[s], -1) end end doPlayerSendTextMessage(cid, 27, "Sorry, but a problem occurred on the server, but now it's alright") end end --/////////////////////////////////////////////////////////////////////////-- if getPlayerStorageValue(cid, 17000) >= 1 then -- fly local item = getPlayerSlotItem(cid, 8) local poke = getItemAttribute(item.uid, "poke") doChangeSpeed(cid, getPlayerStorageValue(cid, 54844)) doRemoveCondition(cid, CONDITION_OUTFIT) doSetCreatureOutfit(cid, {lookType = flys[poke][1] + 351}, -1) local apos = getFlyingMarkedPos(cid) apos.stackpos = 0 if getTileThingByPos(apos).itemid <= 2 then doCombatAreaHealth(cid, FIREDAMAGE, getFlyingMarkedPos(cid), 0, 0, 0, CONST_ME_NONE) doCreateItem(460, 1, getFlyingMarkedPos(cid)) end doTeleportThing(cid, apos, false) if getItemAttribute(item.uid, "boost") and getItemAttribute(item.uid, "boost") >= 50 and getPlayerStorageValue(cid, 42368) >= 1 then sendAuraEffect(cid, auraSyst[getItemAttribute(item.uid, "aura")]) --alterado v1.8 end local posicao = getTownTemplePosition(getPlayerTown(cid)) markFlyingPos(cid, posicao) elseif getPlayerStorageValue(cid, 63215) >= 1 then -- surf local item = getPlayerSlotItem(cid, 8) local poke = getItemAttribute(item.uid, "poke") doSetCreatureOutfit(cid, {lookType = surfs[poke].lookType + 351}, -1) --alterado v1.6 doChangeSpeed(cid, getPlayerStorageValue(cid, 54844)) if getItemAttribute(item.uid, "boost") and getItemAttribute(item.uid, "boost") >= 50 and getPlayerStorageValue(cid, 42368) >= 1 then sendAuraEffect(cid, auraSyst[getItemAttribute(item.uid, "aura")]) --alterado v1.8 end elseif getPlayerStorageValue(cid, 17001) >= 1 then -- ride local item = getPlayerSlotItem(cid, 8) local poke = getItemAttribute(item.uid, "poke") if rides[poke] then doChangeSpeed(cid, getPlayerStorageValue(cid, 54844)) doRemoveCondition(cid, CONDITION_OUTFIT) doSetCreatureOutfit(cid, {lookType = rides[poke][1] + 351}, -1) if getItemAttribute(item.uid, "boost") and getItemAttribute(item.uid, "boost") >= 50 and getPlayerStorageValue(cid, 42368) >= 1 then sendAuraEffect(cid, auraSyst[getItemAttribute(item.uid, "aura")]) --alterado v1.8 end else setPlayerStorageValue(cid, 17001, -1) doRegainSpeed(cid) end local posicao2 = getTownTemplePosition(getPlayerTown(cid)) markFlyingPos(cid, posicao2) elseif getPlayerStorageValue(cid, 13008) >= 1 then -- dive if not isInArray({5405, 5406, 5407, 5408, 5409, 5410}, getTileInfo(getThingPos(cid)).itemid) then setPlayerStorageValue(cid, 13008, 0) doRegainSpeed(cid) doRemoveCondition(cid, CONDITION_OUTFIT) return true end if getPlayerSex(cid) == 1 then doSetCreatureOutfit(cid, {lookType = 1034, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet}, -1) else doSetCreatureOutfit(cid, {lookType = 1035, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet}, -1) end doChangeSpeed(cid, 800) elseif getPlayerStorageValue(cid, 5700) > 0 then --bike doChangeSpeed(cid, -getCreatureSpeed(cid)) doChangeSpeed(cid, getPlayerStorageValue(cid, 5700)) --alterado v1.8 if getPlayerSex(cid) == 1 then doSetCreatureOutfit(cid, {lookType = 1394}, -1) else doSetCreatureOutfit(cid, {lookType = 1393}, -1) end elseif getPlayerStorageValue(cid, 75846) >= 1 then --alterado v1.9 \/ doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)), false) setPlayerStorageValue(cid, 75846, -1) sendMsgToPlayer(cid, 20, "You have been moved to your town!") else doRegainSpeed(cid) end if getPlayerStorageValue(cid, 22545) >= 1 then setPlayerStorageValue(cid, 22545, -1) doTeleportThing(cid, getClosestFreeTile(cid, posBackGolden), false) setPlayerRecordWaves(cid) end if useKpdoDlls then doUpdateMoves(cid) doUpdatePokemonsBar(cid) onPokeHealthChange(cid) end doPlayerChangeModeIcon(cid) return true end
  8. Thenew postou uma resposta no tópico em Suporte Tibia OTServer
    As vezes eu to jogando ai quando saio. Não consigo logar mais.Aparece o seguinte erro. [02/04/2015 07:25:18] [Error - CreatureScript Interface] [02/04/2015 07:25:18] data/creaturescripts/scripts/login.lua:onLogin [02/04/2015 07:25:18] Description: [02/04/2015 07:25:18] (luaGetItemAttribute) Item not found [02/04/2015 07:25:18] [Error - CreatureScript Interface] [02/04/2015 07:25:18] data/creaturescripts/scripts/login.lua:onLogin [02/04/2015 07:25:18] Description: [02/04/2015 07:25:18] data/lib/IconSys.lua:245: attempt to index local 'x' (a nil value) [02/04/2015 07:25:18] stack traceback: [02/04/2015 07:25:18] data/lib/IconSys.lua:245: in function 'doPlayerChangeModeIcon' [02/04/2015 07:25:18] data/creaturescripts/scripts/login.lua:227: in function <data/creaturescripts/scripts/login.lua:6> [02/04/2015 07:25:18] Danilo has logged out.
  9. Muito dahora esse script parabens Zipter. Agora vo largar de ser preguiçoso e vo dar uma estudara para por para ele requerir um item na bag antes kkk
  10. Zipter98 ficou muito bom parabens. Mas teria como eu colocar alguma animação ? E ao evoluir o pokemon morre com 1 hit e seus ataques fica super fracos. [31/03/2015 18:12:19] [Error - TalkAction Interface] [31/03/2015 18:12:19] data/talkactions/scripts/evolution.lua:onSay [31/03/2015 18:12:19] Description: [31/03/2015 18:12:19] (luaDoTeleportThing) Thing not found [31/03/2015 18:12:19] [Error - TalkAction Interface] [31/03/2015 18:12:19] data/talkactions/scripts/evolution.lua:onSay [31/03/2015 18:12:19] Description: [31/03/2015 18:12:19] (luaDoCreatureSetLookDir) Creature not found
  11. Ot show de bola. o foda é o client que ta bugadao
  12. Thenew postou uma resposta no tópico em Sistemas, Mods & Funções .lua
    Man muito bom esse seu Smeargle system rep+. E que venham grandes systemas assim
  13. Thenew postou uma resposta no tópico em Sistemas, Mods & Funções .lua
    Hum mas a parada do 4 passo é para colocar onde?
  14. Thenew postou uma resposta no tópico em Sistemas, Mods & Funções .lua
    Man em . 4 - Se seu servidor ja tiver os spells, sketch 1, sketch 2... Substitua por esses: Spoiler Se não, use os mesmos acima, não esqueça de adicionar no spells.xml. No caso o meu ja tem é para mim criar um sketch e colar tudo em um ou fazer 1 a 1 os sketch? Não entendi o passo 4 direito. o meu sketch 1 ta assim
  15. Queria um npc que ao entregasse um item para ele ele trocasse por outro. Mas queria que desse para trocar quantas vezes quisesse. Porque estou fazendo um sisteminha de held item aqui no meu Pokemon e só falta esse npc. Se alguem tiver um scripts que faça isto agradeço.
  16. Galera eu uso aqui o PDA cyan by senhor. Quem quiser ta a tag ai do actions.xml com todos os pokes do jogo <action itemid="11838;11839;11840;11841;11842;11844;11845;11846;11847;11848;11849;11850;11851;11852;11853;11854;11855;11856;11858;11859;11860;11861;11862;11863;11864;11865;11866;11867;11868;11869;11870;11871;11872;11873;11874;11875;11876;11877;11878;11879;11880;12749;11881;11882;11883;11884;11885;11886;11887;11888;11889;12140;11890;11891;11892;11893;11894;11895;11896;11897;11898;11899;11900;11901;11902;11903;11904;11905;11906;11907;11908;11909;11910;11911;11912;11913;11914;11915;11916;11917;11918;11919;11921;11922;11923;11924;11925;11926;11927;11928;11929;11930;11931;11932;11933;11934;11935;11936;11937;11938;11939;11940;11941;11942;11943;11944;11945;11946;11947;11948;11949;11950;11951;11952;11953;11954;11955;11956;11957;11958;11959;11960;11961;11962;11963;11964;11965;11966;11967;11968;11969;11970;11971;11972;11973;11974;11975;11976;11977;11978;11979;11980;11981;11982;11983;11984;11985;11986;11987;11988;3267;3268;3269;3270;3271;3272;3273;3274;3275;3276;3277;3278;3279-4759;14144;14036;13997;13998;14181;14046;14041;14154;14084;14014;14166;14160;14176;12751-12825;12586;12587;12584;12585;12588;12589;12588;12586;12587;12584;12585;3058" event="script" value="Autoloot.lua"/>
  17. Grinstony. Como faz para compilar essas soruces. Eu uso o dev-c++ mas da erro no final. Não sei se tenho que ter algo especifico. http://www.tibiaking.com/forum/topic/44208-erro-ao-compilar/
  18. Thenew postou uma resposta no tópico em Suporte Tibia OTServer
    Fiz isto mas dá o mesmo erro
  19. Thenew postou uma resposta no tópico em Suporte Tibia OTServer
    Estou com este seguinte erro no final da compilação.Não sei como arrumar
  20. Se esse server continuar atualizando e sempre com as sources eu até animo a voltar

Informação Importante

Confirmação de Termo