Tudo que victorcx postou
-
(Resolvido)[AJUDA] Food Especiais
Olá galera, gostaria de solicitar a ajuda para esse script, no caso vocês conhecem aqueles food especiais, blessed steak por exemplo enche a mana toda, mas é o seguinte.. eu queria que ao comer , so pode-se comer eles novamente 10 minutos depois... eu tenho aqui o script funfando do Blessed Steak e do Rotworm Stew... mas não consegui mudar pra os outros. também ter tempo... BLESSED STEAK e ROTWORM STEW FUNFANDO: É AQUI QUE PRECISO DE TEMPO TAMBÉM, NÃO CONSEGUI COLOCAR.. ALGUÉM PODERIA ME AJUDAR?
-
[b]Problema com Grizzly Adams NPC
Gente, o sistema ta funfando certinho, exceto na parte que, quando mato um monstro da task, a contagem não sai do zero.. Exemplo: Killing 0 of 650 hydras... Killing 0 of 650 hydras... Killing 0 of 650 hydras... Killing 0 of 650 hydras... Killing 0 of 650 hydras... Não vai aumentando, só fica no 0... minha LIB; Npc/scripts Aguardando ajuda, valeu pessoal.
-
Potions e Magias ~ Exaust
Deu um errinho aqui; [Error - Luainterface : : loadFile ] data/spells/scripts/attack/rage of the skies.lua:18 'end' expected <to close 'function' at line 16> near 'else' [WARNING] - event : : loadscript] Cannot load script <data/spells/scripts/attack/rage of the skie.lua> vou postar aqui minhas potions, e a magia, assim você pode me dizer onde está errado. o server é um TFS 0.4 (8.60) MAGIA: (No meu bloco de notas ela ta toda em linha reta > , por isso ficou assim \/ POTIONS; Cara, gostei muito , muito eficiente... mesmo não tendo funcionado "ainda" , já agradeço rs.... Abraço .. aguardando resposta!
-
Potions e Magias ~ Exaust
Hm, eu não manjo muito de script, mas entendi mas ou menos sua ideia... poderia detalhar como faço amigão? agradeceria abraço!!!
-
Potions e Magias ~ Exaust
Olá amigos do Tibia King. Bem , não sei se existe um tutorial já, mas procurei muito e não axei... gostaria de saber se alguém sabe como eu faço para, quando meu char usar potion, ele n poder usar magia de atk, ou runas de atk imediatamente, e virce versa.. Já mudei o exaust das magias para 2000, e das potions para 1500, mas isso não altera nessa questão, axo que tem que ser feito algum script.. é como no global, se vocês observarem, ao usar uma potion seja de mana ou heal, o char não usa imediatamente SD ou Magias de Atk( e virce versa ), tem um pequeno intervalo para que ele possa usar.. Galera, agradeço se alguém poder me ajudar, REP++ pra quem conseguir.. Um grande abraço amigos!!!
-
(Resolvido)[AJUDA] Erro ao trocar de TFS
Obrigado Ana Paula, simples,curta e eficiente. Um grande beijo rs PODE FECHAR! REP++
-
(Resolvido)[AJUDA] Erro ao trocar de TFS
GENTE, AJUDA AQUI PLZ... EU TROQUEI O MAPA DO MEU TFS 0.4... DAI TROQUE OS NPCS, HOUSE ETC... FUNFOU TUDO LEGAL MENOS OS NPCS, TIPO, EU FALO HI ELES NÃO RESPONDEM...... O ERRO QUE DA É; [ERROR - NPCSCRIPT INTERFACE] DATA/NPC/SCRIPTS/NOME DO NPC.LUA:ONCREATURESAY DESCRIPTION: DATA/NPC/LIB/NPCSYSTEM/NPCHANDLER.LUA 551: ATTEMP TO CALL GLOBAL 'GETDISTANCETO' <A NIL VALUE> STACK TRACEBACK: DATA/NPC/LIB/NPCSYSTEM/NPCHANDLER.LUA 551: IN FUNCTION 'ISINRANGE' DATA/NPC/LIB/NPCSYSTEM/NPCHANDLER.LUA 374: IN FUNCTION 'ONCREATURESAY' JA TENTEI PEGAR A LIB DOS NPCS DE ANTES E COLOCAR NESSE MAIS NÃO DEU CERTO... AJUDEM AI, O QUE EU FAÇO? LEMBRANDO QUE O ERRO É EM TODOS NPCS. VERSÃO ~ TFS 0.4 SVN MAPA QUE USEI PARA SUBSTITUIR ~ REAL SERVER 0.1.7 SEGUE ABAIXO IMAGEM DO ERRO \/
-
PROGAMADORES ATENÇÃO
Eu to precisando muito da ajuda de um programador. Eu estou com um problema no meu Real Server 8.60, estou com aquele bug que a maioria dos otservers tem, hotkeys de runas e potion bugadas, ou seja se vc tiver 500 na bp , só conta 100,99,98 etc... Sei que preciso mexer nas sources (game.ccp), ja baixei o dev-ccp mas, nos tutoriais que ensinam a compilar , não mostram o que fazer depois. Na verdade o meu otserver eu não tenho as Sources, mas baixei um outro OT 8.60 também real server com as sources, como faço pra usar essas sources no meu server? Estou disponibilizando pagamento para quem resolver essa questão! Abraço, aguardando resposta URGENTEEE!!
-
AJUDA COM SOURCES
OLÁ AMIGOS, ESTOU COM UM PROBLEMINHA!!! EU TENHO UM OTSERVER (REAL SERVER NA VERSÃO 0.1.7 ( 8.60) , O PROBLEMA E QUE TENHO BUG NAS HOTKEYS DAS RUNAS E POTIONS, OU SEJA AO USAR SO APARECE 100 MESMO TENDO MAIS.. ACONTECE QUE PRA ARRUMAR ISSO PRECISO MEXER NAS SOURCES, MAS AI EU TIVE QUE BAIXAR OUTRO REAL SERVER NA VERSAO 8.60, JA QUE ESSE TINHAS AS SOURCES DISPONIBILIZADAS. OK, TB BAIXEI O PROGRAMA DEV-CCP PARA COMPILAR, MAS EU VI ALGUNS TUTORIAIS E NÃO COMO FAZER, ALGUÉM AQUI PODE ME AJUDAR? SO QUERO ARRUMAR O BUG QUE ESTAR NO MEU GAME-CCP DO MEU SERVER, SO QUE NO MEU SERVER NÃO TENHO AS SOURCES, SÓ DESSE OUTRO QUE BAIXEI... É POSSIVEL PASSAR O GAME-CCP DESSE QUE EU BAIXEI PRO MEU SERVER? O QUE EU FAÇO AJUDEM =\\\
-
AJUDA COM AS POTIONS PLZ!
Seguinte amigo, me fala uma coisa, se sabe onde baixo Sources ? me tire uma duvida , se eu pegar uma source do forggoten 8.6 e compilar , ela serve pro meu server? vi aqui q esse problema tem q ter as source, mas não sei mexer. http://forums.otserv.com.br/showthread.php?155459-Arrumando-Bug-Das-Runas-Na-Hotkey
-
AJUDA COM AS POTIONS PLZ!
Nada amigo, =( a potion nem usou no player.
-
AJUDA COM AS POTIONS PLZ!
Pessoal meu server é SQLITE 8.60, e estou com um probleminha, aliás 2 probleminhas. O primeiro é que por exemplo se eu tiver 500 manas ou healths tanto faz , isso acontece com todas potions, se eu tiver com 500 na bp, quando uso só aparece 100, ai quando acaba as 100 recomeça a contagem. o segundo pro é que se usar potion no chão ao invés de cair a poça no chão, nada acontece e aparece o erro, [24/03/2014 01:01:17] [Error - Action Interface] [24/03/2014 01:01:17] data/actions/scripts/liquids/potions.lua:onUse [24/03/2014 01:01:17] Description: [24/03/2014 01:01:17] (luaDoDecayItem) Item not found. Vou postar aqui meu script, me ajudem por favor !!! [LUA]<action itemid="7588-7591;8472;8473;7618;7620;8704" event="script" value="liquids/potions.lua"/>[/LUA] [LUA]local config = { removeOnUse = "yes", usableOnTarget = "yes", -- can be used on target? (fe. healing friend) splashable = "no", range = -1, realAnimation = "yes", -- make text effect visible only for players in range 1x1 multiplier = { health = 1.0, mana = 1.0 } } config.removeOnUse = getBooleanFromString(config.removeOnUse) config.usableOnTarget = getBooleanFromString(config.usableOnTarget) config.splashable = getBooleanFromString(config.splashable) config.realAnimation = getBooleanFromString(config.realAnimation) local POTIONS = { [8704] = {empty = 7636, splash = 42, health = {45, 95}}, -- small health potion [7618] = {empty = 7636, splash = 42, health = {100, 180}}, -- health potion [7588] = {empty = 7634, splash = 42, health = {200, 300}, level = 50, vocations = {3, 4, 7, 8}, vocStr = "knights and paladins"}, -- strong health potion [7591] = {empty = 7635, splash = 42, health = {450, 500}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 42, health = {600, 750}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 47, mana = {40, 130}}, -- mana potion [7589] = {empty = 7634, splash = 47, mana = {110, 190}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 47, mana = {120, 250}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 43, health = {200, 300}, mana = {100, 150}, level = 80, vocations = {3, 7}, vocStr = "paladins"} } local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) local potion = POTIONS[item.itemid] if(not potion) then return false end if(not isPlayer(itemEx.uid) or (not config.usableOnTarget and cid ~= itemEx.uid)) then if(not config.splashable) then return false end if(toPosition.x == CONTAINER_POSITION) then toPosition = getThingPosition(item.uid) end doDecayItem(doCreateItem(POOL, potion.splash, toPosition)) doRemoveItem(item.uid, 1) if(not potion.empty or config.removeOnUse) then return true end if(fromPosition.x ~= CONTAINER_POSITION) then doCreateItem(potion.empty, fromPosition) else doPlayerAddItem(cid, potion.empty, 1) end return true end if(hasCondition(cid, CONDITION_EXHAUST)) then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return true end if(((potion.level and getPlayerLevel(cid) < potion.level) or (potion.vocations and not isInArray(potion.vocations, getPlayerVocation(cid)))) and not getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES)) then doCreatureSay(itemEx.uid, "Only " .. potion.vocStr .. (potion.level and (" of level " .. potion.level) or "") .. " or above may drink this fluid.", TALKTYPE_ORANGE_1) return true end if(config.range > 0 and cid ~= itemEx.uid and getDistanceBetween(getCreaturePosition(cid), getCreaturePosition(itemEx.uid)) > config.range) then return false end local health = potion.health if(health and not doCreatureAddHealth(itemEx.uid, math.ceil(math.random(health[1], health[2]) * config.multiplier.health))) then return false end local mana = potion.mana if(mana and not doPlayerAddMana(itemEx.uid, math.ceil(math.random(mana[1], mana[2]) * config.multiplier.mana))) then return false end doSendMagicEffect(getThingPosition(itemEx.uid), CONST_ME_MAGIC_BLUE) if(not config.realAnimation) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) else for i, tid in ipairs(getSpectators(getThingPosition(itemEx.uid), 1, 1)) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1, false, tid) end end end doAddCondition(cid, exhaust) doRemoveItem(item.uid, 1) if(not potion.empty or config.removeOnUse) then return true end if(fromPosition.x ~= CONTAINER_POSITION) then doCreateItem(potion.empty, fromPosition) else doPlayerAddItem(cid, potion.empty, 1) end return true end[/LUA]
-
AJUDAAAA, COM MONSTROS GLOBAIS!
Não exatamente igual, mas o mais parecido possivel.. identicos sabemos que é impossível, mas chegar o mais proximo é possível?
-
AJUDAAAA, COM MONSTROS GLOBAIS!
OLÁ AMIGOS DO TIBIAKING, GOSTARIA MUITO QUE ALGUÉM POSTA-SE MONSTROS PARA UM OT SERVER 8.60 , EM SQLITE, QUE ESSES SEJAM IGUAIS OU PARECIDOS COM O GLOBAL. FALO IGUAIS OU PARECIDOS NA FORMA DE ATK, MAGIAS, VELOCIDADE , ETC. ESSES OTS QUE BAIXAMOS GERALMENTE VEM COM OS BIXOS BEM DIFERENTES E ALGUNS BUGADOS EM RELAÇÃO AO GLOBAL. TIPO, O QUE QUERIA ERA MAIS UM REALISMO,PARA QUE ESSES MONSTROS FIQUEM O MAIS PARECIDOS POSSÍVEIS COM O GLOBAL. EXEMPLO DISSO, É OS DEMONS DA ANIHI POR EXEMPLO, OU NÃO HITAM, OU NÃO HITAM QUASE NADA, BOM É ISSO AMIGO, ACHO QUE SE ALGUÉM POSTAR AJUDARIA MUITO E SERIA UM TÓPICO BEM INTERESSANTE, QUEM POSTAR PRA MIM POSSO DAR UMA GRATIFICAÇÃO SE FOR REALMENTE INTERESSANTES. GALERA ABRAÇO, POR FAVOR AJUDEM!!!
-
NPC QUE VENDE PREMIUM ACCOUNT
Agradeço amigo, favor dúvida sanada, fechar!
-
NPC QUE VENDE PREMIUM ACCOUNT
Olá galera, estou precisando muito de um npc que venda Premium Account, e que seja pago com Gold normal. Meu server é em SQLite. Gente , por favor me ajudem ;( Abç!