Ir para conteúdo
Banner com Efeitos

Ovini

Membro
  • Registro em

  • Última visita

Tudo que Ovini postou

  1. Fiz esse comando, mas ainda não da nada. Acho que vou desistir rsrsrs
  2. Coloquei desse jeito ae, mas ele ainda nao continua respondendo quando falo "old backpack".
  3. Bom, estou tendo problemas na Dwarven Armor Quest. O player pega a "Old and used backpack" e vai entrega-la para o npc Sam para ele dar permissão para falar com o proximo npc. Mas o npc Sam não responde o player. 01:36 Sam: Welcome to my shop, adventurer GOD! I trade with weapons and armor. 01:36 GOD [8]: old backpack Script do npc: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local config = { storage = 18256, } function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if (msgcontains(msg, "old backpack")) then if (getPlayerItemCount(cid, 3960) >= 1) and doPlayerRemoveItem(cid,3960,1)then npcHandler:say({'Thank you very much! This brings back good old memories! Please, as a reward, travel to Kazordoon and ask my old friend Kroox to provide you a special dwarven armor. ...', 'I will mail him about you immediately. Just tell him, his old buddy sam is sending you.'}, cid) setPlayerStorageValue(cid, config.storage, 1) else selfSay("You don't have my backpack.", cid) end talkState[talkUser] = 0 elseif(msgcontains(msg, 'no') and isInArray({1}, talkState[talkUser])) then talkState[talkUser] = 0 selfSay("Bye.", cid) end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  4. Ovini postou uma resposta no tópico em Suporte Tibia OTServer
    Funcionou! Vlw ae.
  5. Ovini postou uma resposta no tópico em Suporte Tibia OTServer
    Ta assim: worldId = 0 ip = " " bindOnlyConfiguredIpAddress = false loginPort = 7171 gamePort = 7172 -- Não mude adminPort = 7171 statusPort = 7171 loginTries = 10 retryTimeout = 5 * 1000 loginTimeout = 60 * 1000 maxPlayers = 200 motd = "Bem vindo ao Global Compacto" displayOnOrOffAtCharlist = false onePlayerOnlinePerAccount = true allowClones = false serverName = "Global Compacto" loginMessage = "Bem vindo ao Global Compacto" statusTimeout = 5 * 60 * 1000 replaceKickOnLogin = true forceSlowConnectionsToDisconnect = false loginOnlyWithLoginServer = false premiumPlayerSkipWaitList = true
  6. Ovini postou uma resposta no tópico em Suporte Tibia OTServer
    To tendo esse problema no step 1! Alguém sabe arrumar? STEP 1 Check server configuration Error occured! Error ID: More info: ERROR: #C-1 : Class::ConfigLUA - Line 73 of LUA config file is not valid [key: gamePort] File: C:\xampp\htdocs\classes/configlua.php Line: 59 File: C:\xampp\htdocs\classes/configlua.php Line: 20 File: C:\xampp\htdocs\classes/configlua.php Line: 12 File: C:\xampp\htdocs/install.php Line: 249
  7. Ovini postou uma resposta no tópico em Suporte Tibia OTServer
    Arrumei, mas quando eu crio o npc in-game da debug. Ja criei outro char e quando fui perto do npc também da debug. @edited. Bom, mudei o looktype do npc e parou o debug, mas o npc não responde ao - Hi.
  8. Ovini postou uma resposta no tópico em Suporte Tibia OTServer
    Bom, estou tendo um erro em um npc que tentei criar. Erro é esse: [Error - LuaScriptInterface::loadFile] data/npc/scripts/kingjester.lua:45: '<eof>' expected near 'function' [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/kingjester.lua data/npc/scripts/kingjester.lua:45: '<eof>' expected near 'function' Script do npc: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function playerHaveItems(cid, itemid) local items = type(itemid) == "table" and itemid or {itemid} for i = 1, #items do if getPlayerItemCount(cid, items) <= 0 then return false end end return true end function doPlayerRemoveItems(cid, itemid, count) local items = type(itemid) == "table" and itemid or {itemid} for i = 1, #items do doPlayerRemoveItem(cid, items, count ~= nil and count or 1) end return nil end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end end if msgcontains(msg, "addon doll") then if playerHaveItems(cid, {9694, 9695, 9696, 9697, 9698, 9699}) then doPlayerRemoveItems(cid, {9694, 9695, 9696, 9697, 9698, 9699}, 1) doPlayerAddItem(cid, 9693, 1) else selfSay("Você não tem os itens necessarios para fazer um addon doll.") end end return true function ndnpcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) end Se alguém puder me ajudar.
  9. Ovini postou uma resposta no tópico em Suporte Tibia OTServer
    Testei aqui, mas mesmo assim o erro acontece.
  10. Ovini postou uma resposta no tópico em Suporte Tibia OTServer
    Bom, fui testar a yalahar quest e na ultima parte de aparecer o azerus, pra você matar ele e virar teleporte, o azerus não aparece. Da o seguinte erro: [19:13:47.943] [Error - Action Interface] [19:13:47.944] In a timer event called from: [19:13:47.946] data/actions/sripts/quests/azerus.lua:onUse [19:13:47.947] Description: [19:13:47.948] <luaDoCreateMonster> Monster with name 'Azerus1' not found
  11. Ovini postou uma resposta no tópico em Suporte Tibia OTServer
    Ola, gostaria de saber como cortar missões de quest's, tipo yalahar quest, a partir da missão 10.
  12. Ovini postou uma resposta no tópico em Suporte Tibia OTServer
    Funcionou perfeitamente, obrigado ae!
  13. Ovini postou uma resposta no tópico em Suporte Tibia OTServer
    Adicionei uma boots em meu otserver, mas não esta regenerando e nem dando velocidade. </item> <item id="4758" article="a" name="donate boots"> <attribute key="weight" value="800"/> <attribute key="slotType" value="feet"/> <attribute key="healthGain" value="50"/> <attribute key="healthTicks" value="1000"/> <attribute key="manaGain" value="50"/> <attribute key="manaTicks" value="1000"/> <attribute key="showattributes" value="1"/> <attribute key="speed" value="25" />
  14. @EnzzoCaaue ja mudei pra pvp, e quando vou abrir da erro na distro. [17:52:40.559] > ERROR: Unknown world type: pvp
  15. Battle -- NOTE: showHealth/ManaChangeForMonsters inherites from showHealth/ManaChange. -- loginProtectionPeriod is the famous Tibia anti-magebomb system. -- deathLostPercent set to nil enables manual mode. worldType = "pvp" protectionLevel = 8 pvpTileIgnoreLevelAndVocationProtection = true pzLocked = 60 * 1000 huntingDuration = 60 * 1000 criticalHitChance = 7 criticalHitMultiplier = 1 displayCriticalHitNotify = false removeWeaponAmmunition = true removeWeaponCharges = true removeRuneCharges = true whiteSkullTime = 15 * 60 * 1000 noDamageToSameLookfeet = true showHealthChange = true showManaChange = true showHealthChangeForMonsters = true showManaChangeForMonsters = true fieldOwnershipDuration = 5 * 1000 stopAttackingAtExit = false loginProtectionPeriod = 10 * 1000 deathLostPercent = 10 stairhopDelay = 2 * 1000 pushCreatureDelay = 2 * 1000 deathContainerId = 1987 gainExperienceColor = 215 addManaSpentInPvPZone = true recoverManaAfterDeathInPvPZone = false squareColor = 0 allowFightback = true fistBaseAttack = 7 useFairfightReduction = true optionalWarAttackableAlly = false Isso?
  16. Simplesmente não consigo atacar outro player, já tentei mudar com o comando /mode mas nem assim funciona.Também já verifiquei o protection level e é level 1! Alguém sabe me dizer o problema?
  17. Ovini postou uma resposta no tópico em Suporte Tibia OTServer
    Descobri qual era o problema, tem que fazer primeiro o addon 1 para depois fazer o addon 2, por isso o npc zoltan nao respondia. Erro meu! Mesmo assim obrigado por responder!
  18. Ovini postou uma resposta no tópico em Suporte Tibia OTServer
    Ola galera do TK! Bom, tenho um otserver global e o npc Zoltan (addonmage2) nao esta entregando o addon, o player fala :hi : Ferumbras hat e o npc nao pega o hat e nem entrega o addon. Vou deixa a script do npc aqui em baixo, se puderem me ajudar. =)
  19. Funcionou perfeitamente, Obrigado!
  20. Ola galera do TK. Bom, estou tendo problema em deixar as poções do meu otserv infinitas, ja tentei de tudo, até remover linhas e trocar id's. Vou deixar o script de uma das potion e se alguem puder me ajudar eu agradeço.
  21. Agora entendi, obrigado ae cara.
  22. Funcionou, mas só uma duvida, o que é aquele Storage? (naoconheçomuitodeotserv)
  23. Bom, testei aqui o script, a parte de adicionar o addon funcionou, mas o item não some, tem como arrumar isso?
  24. Bom, eu precisava de um script, que ao usar certo item o player ganha o addon full e o item some. Exemplo, um Ferumbra's Hat, o player ira dar use, fazendo com que ele ganha o mage addon full (male) ou o summoner addon full (female).

Informação Importante

Confirmação de Termo