Tudo que Ovini postou
-
[Ajuda] Dwarven Armor - Old Backpack
Fiz esse comando, mas ainda não da nada. Acho que vou desistir rsrsrs
-
[Ajuda] Dwarven Armor - Old Backpack
Coloquei desse jeito ae, mas ele ainda nao continua respondendo quando falo "old backpack".
-
[Ajuda] Dwarven Armor - Old Backpack
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())
-
[Erro] Step 1
Funcionou! Vlw ae.
-
[Erro] Step 1
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
-
[Erro] Step 1
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
-
Erro Npc
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.
-
Erro Npc
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.
-
Error - yalahar quest!
Testei aqui, mas mesmo assim o erro acontece.
-
Error - yalahar quest!
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
-
Como cortar missões?
Ola, gostaria de saber como cortar missões de quest's, tipo yalahar quest, a partir da missão 10.
-
Boots Donate! Ajuda.
Funcionou perfeitamente, obrigado ae!
-
Boots Donate! Ajuda.
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" />
-
Não da pra atacar outro player!
@EnzzoCaaue ja mudei pra pvp, e quando vou abrir da erro na distro. [17:52:40.559] > ERROR: Unknown world type: pvp
-
Não da pra atacar outro player!
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?
-
Não da pra atacar outro player!
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?
-
NPC não entrega addon!
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!
-
NPC não entrega addon!
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. =)
-
(Resolvido)AJUDA ! Potion não fica infinita.
Funcionou perfeitamente, Obrigado!
-
(Resolvido)AJUDA ! Potion não fica infinita.
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.
-
(Resolvido)Addon ao usar o item ! Ajuda Aqui!
Agora entendi, obrigado ae cara.
-
(Resolvido)Addon ao usar o item ! Ajuda Aqui!
Funcionou, mas só uma duvida, o que é aquele Storage? (naoconheçomuitodeotserv)
-
(Resolvido)Addon ao usar o item ! Ajuda Aqui!
Bom, testei aqui o script, a parte de adicionar o addon funcionou, mas o item não some, tem como arrumar isso?
-
(Resolvido)Addon ao usar o item ! Ajuda Aqui!
@up
-
(Resolvido)Addon ao usar o item ! Ajuda Aqui!
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).