Tudo que Kurwa postou
-
[7.72] OTHire 0.0.3 - Attack Two handed
OThire foi desenvolvido para ser o mais parecido com o tibia original da época, o mecanismo dessa distribuição não aceita equipar 2 armas ao mesmo tempo, para isto você terá que editar o protocolo do jogo nas sources e não é garantia de que irá conseguir fazer o jogo funcionar desta forma.
-
Pedido Distros
E ai, =) Gostaria de pedir a vocês, caso alguém tenha algum desses distros abaixo: [8.41/42] The Forgotten Server 0.3.4PL2 (Crying Damson) [8.5] The Forgotten Server 0.3.5pl1 (Crying Damson) [8.54] The Forgotten Server 0.3.6pl1 (Crying Damson) Se puderem compartilhar comigo, eu agradeceria muito, pois estou precisando muito desses distros e não acho em lugar algum. Muito obrigado!
-
Bug depot TFS
Alguém pode me passar o script do depot ?
-
Bug depot TFS
Fala ai pessoal, Venho reportar um erro que ocorre no meu servidor que é um 8.42 TFS 0.2.1 Bom, o que ocorre é que quando eu logo qualquer char e não acesso o depot ao relogar eu perco tudo oque esta dentro do depot. OBS: Quando eu logo o char e acesso o depot e relogo o char o que esta no depot fica salvo. Então o problema é o depot não salvar quando o player não abre o depot e desloga ;s Se alguém tiver alguma idéia do que possa ser por favor se manifeste OBS2: Já tentei usar outra versão do distro e o erro permanece. Grato.
-
Ajuda - Desaparecendo os itens do depot
Não e não aparece nenhum erro no console :/
-
Ajuda - Desaparecendo os itens do depot
Boa noite galera Tenho percebido que eventualmente (não sempre) tem sumido tudo do depot dos players. O que fazer ? Aonde procurar pelo erro ? Alguém ajuda por favor ;( Obrigado.
-
Dúvida scripting NPC
Boa tarde, Estou tendo o seguinte problema com um NPC que vende spells (ele informa as magias disponíveis para compra de acordo com o level), o problema é o seguinte, quando eu falo 8,18,28,38 (segue print) ele da a mesma mensagem... Obs: Porém isso não ocorre quando eu falo por exemplo: 11,21,31,41 ou 13,23,33 etc.. .xml do meu NPC: <npc name="Custom Sorcerer Spells" script="data/npc/scripts/Custom Sorcerer Spells.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="134" head="57" body="59" legs="40" feet="76" corpse="2212"/> <parameters> <parameter key="message_greet" value="Hello |PLAYERNAME|, For which level would you like to learn spells 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 23, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 37, 38, 41, 45, 55 or 60?" /> <parameter key="module_keywords" value="1" /> <parameter key="keywords" value="8;9;10;11;12;13;14;15;16;17;18;20;21;23;24;25;26;27;28;29;31;32;33;35;37;38;41;45;55;60" /> <parameter key="keyword_reply1" value="I can teach you, light and find person." /> <parameter key="keyword_reply2" value="I can teach you, light healing and magic rope." /> <parameter key="keyword_reply3" value="I can teach you, antidote." /> <parameter key="keyword_reply4" value="I can teach you, intense healing." /> <parameter key="keyword_reply5" value="I can teach you, energy strike and levitate" /> <parameter key="keyword_reply6" value="I can teach you, great light and terra strike." /> <parameter key="keyword_reply7" value="I can teach you, flame strike, haste, magic shield and poison field rune" /> <parameter key="keyword_reply8" value="I can teach you, fire field rune, ice strike and light magic missile rune." /> <parameter key="keyword_reply9" value="I can teach you, death strike." /> <parameter key="keyword_reply10" value="I can teach you, destroy field rune." /> <parameter key="keyword_reply11" value="I can teach you, energy field rune and fire wave." /> <parameter key="keyword_reply12" value="I can teach you, strong haste." /> <parameter key="keyword_reply13" value="I can teach you, desintegrate rune." /> <parameter key="keyword_reply14" value="I can teach you, creature illusion and energy beam" /> <parameter key="keyword_reply15" value="I can teach you, stalagmite Rune." /> <parameter key="keyword_reply16" value="I can teach you, heavy magic missile rune and summon creature." /> <parameter key="keyword_reply17" value="I can teach you, ultimate light." /> <parameter key="keyword_reply18" value="I can teach you, animate dead rune, fire bomb rune, fireball rune and soulfire rune." /> <parameter key="keyword_reply19" value="I can teach you, thunderstorm rune." /> <parameter key="keyword_reply20" value="I can teach you, great energy beam and Poison Wall Rune." /> <parameter key="keyword_reply21" value="I can teach you, explosion rune." /> <parameter key="keyword_reply22" value="I can teach you, magic wall rune." /> <parameter key="keyword_reply23" value="I can teach you, fire wall rune." /> <parameter key="keyword_reply24" value="I can teach you, invisible." /> <parameter key="keyword_reply25" value="I can teach you, energy bomb rune." /> <parameter key="keyword_reply26" value="I can teach you, energy wave." /> <parameter key="keyword_reply27" value="I can teach you, enchant staff and energy wall rune." /> <parameter key="keyword_reply28" value="I can teach you, sudden death rune." /> <parameter key="keyword_reply29" value="I can teach you, rage of the skies." /> <parameter key="keyword_reply30" value="I can teach you, hell's core." /> </parameters> </npc> Grato desde já! @Edit Solucionado, pode encerrar o tópico. Grato
-
[Pedido] The Oracle 8.42 TFS
Boa noite aew Galera, eu tenho um OT 8.42 TFS 0.2.1 e gostaria que alguém me ajuda-se a fazer o NPC The Oracle funcionar (ele não troca a vocação e nem teleporta para a city), irei postar o xml e o lua do npc: xml: <?xml version="1.0" encoding="UTF-8"?> <npc name="The Oracle" floorchange="0" walkinterval="0"> <health now="150" max="150"/> <look typeex="1448"/> <interaction range="3" idletime="30"> <interact keywords="hi" focus="1"> <!--These are the keywords will trigger this interaction--> <keywords>hello</keywords> <keywords>greet</keywords> <response> <action name="script"> <!-- if(getPlayerVocation(cid) ~= 0) then selfSay("SORRY, YOU HAVE ALREADY MADE YOUR CHOICE IN LIFE!") _state.isidle = true return end --> if(getPlayerLevel(cid)) >= 8 then selfSay(getCreatureName(cid) .. ", ARE YOU PREPARED O FACE YOUR DESTINY?") _state.b1 = (isPremium(cid) == TRUE) _state.topic = 1 else selfSay("CHILD! COME BACK WHEN YOU HAVE GROWN UP!") _state.isidle = true end </action> </response> </interact> <interact keywords="yes" topic="1"> <!--Premium account, b1 is set in above--> <response b1="1" text="IN WHICH TOWN DO YOU WANT TO LIVE: CARLIN, EDRON, THAIS, OR VENORE?"> <action name="topic" value="2"/> </response> <!--Normal account--> <response text="IN WHICH TOWN DO YOU WANT TO LIVE: CARLIN, THAIS, OR VENORE?"> <action name="topic" value="2"/> </response> </interact> <interact keywords="carlin" topic="2"> <response text="IN CARLIN! AND WHAT PROFESSION HAVE YOU CHOSEN: KNIGHT, PALADIN, SORCERER, OR DRUID?"> <!--n1: 1 = carlin, 2 = edron, 3 = thais, 4 = venore--> <action name="script"> _state.n1 = 1 _state.topic = 3 </action> </response> </interact> <interact keywords="thais" topic="2"> <response text="IN THAIS! AND WHAT PROFESSION HAVE YOU CHOSEN: KNIGHT, PALADIN, SORCERER, OR DRUID?"> <!--n1: 1 = carlin, 2 = edron, 3 = thais, 4 = venore--> <action name="script"> _state.n1 = 2 _state.topic = 3 </action> </response> </interact> <interact keywords="venore" topic="2"> <response text="IN VENORE! AND WHAT PROFESSION HAVE YOU CHOSEN: KNIGHT, PALADIN, SORCERER, OR DRUID?"> <!--n1: 1 = carlin, 2 = edron, 3 = thais, 4 = venore--> <action name="script"> _state.n1 = 3 _state.topic = 3 </action> </response> </interact> <interact keywords="edron" topic="2"> <response text="YOU NEED A PREMIUM ACCOUNT IN ORDER TO GO THERE!"> <!--Set the topic back to 2, ie. choose a new town.--> <action name="topic" value="2"/> </response> <!--b1: premium account, see <interact keywords="hi" focus="1"> where _state.b1 is is set.--> <response b1="1" text="IN EDRON! AND WHAT PROFESSION HAVE YOU CHOSEN: KNIGHT, PALADIN, SORCERER, OR DRUID?"> <!--n1: 1 = carlin, 2 = edron, 3 = thais, 4 = venore--> <action name="script"> _state.n1 = 3 _state.topic = 3 </action> </response> </interact> <!--If the player does not say any city, repeat our question--> <interact keywords="|*|" topic="2"> <response b1="1" text="CARLIN, EDRON, THAIS, OR VENORE?"/> <response text="CARLIN, EDRON, THAIS, OR VENORE?"/> </interact> <interact keywords="sorcerer" topic="3"> <response text="A SORCERER! ARE YOU SURE? THIS DECISION IS IRREVERSIBLE!"> <!--n2: 1 = sorcerer, 2 = druid, 3 = paladin, 4 = knight--> <action name="script"> _state.n2 = 1 _state.topic = 4 </action> </response> </interact> <interact keywords="druid" topic="3"> <response text="A DRUID! ARE YOU SURE? THIS DECISION IS IRREVERSIBLE!"> <!--n2: 1 = sorcerer, 2 = druid, 3 = paladin, 4 = knight--> <action name="script"> _state.n2 = 2 _state.topic = 4 </action> </response> </interact> <interact keywords="paladin" topic="3"> <response text="A PALADIN! ARE YOU SURE? THIS DECISION IS IRREVERSIBLE!"> <!--n2: 1 = sorcerer, 2 = druid, 3 = paladin, 4 = knight--> <action name="script"> _state.n2 = 3 _state.topic = 4 </action> </response> </interact> <interact keywords="knight" topic="3"> <response text="A KNIGHT! ARE YOU SURE? THIS DECISION IS IRREVERSIBLE!"> <!--n2: 1 = sorcerer, 2 = druid, 3 = paladin, 4 = knight--> <action name="script"> _state.n2 = 4 _state.topic = 4 </action> </response> </interact> <!--If the player does not say any profession, repeat our question--> <interact keywords="|*|" topic="3"> <response text="KNIGHT, PALADIN, SORCERER, OR DRUID?"/> </interact> <interact keywords="yes" topic="4"> <response> <!--n1: 1 = carlin, 2 = edron, 3 = thais, 4 = venore--> <!--n2: 1 = knight, 2 = paladin, 3 = sorcerer, 4 = druid--> <action name="script"> local pos = 0 if(_state.n1 == 1) then pos = {x=180, y=233, z=7} elseif(_state.n1 == 2) then pos = {x=180, y=233, z=7} elseif(_state.n1 == 3) then pos = {x=180, y=233, z=7} elseif(_state.n1 == 4) then pos = {x=180, y=233, z=7} else selfSay("I DO NOT KNOW WHAT PROFESSION THAT IS, ASK THE GODS FOR GUIDANCE!") return end selfSay("SO BE IT!") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) if(doTeleportThing(cid, pos) == 0) then doPlayerSetVocation(cid, _state.n2) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end </action> <action name="idle" value="1"/> </response> </interact> <interact keywords="bye" focus="0"> <keywords>farewell</keywords> <response text="Good bye. Recommend us, if you were satisfied with our service."/> </interact> <!-- If the event onBusy exists, the npc will make a queue like Tibia, if the event is removed the npc will be able to talk to all customers at the same time without problems. --> <interact event="onBusy"> <response text="WAIT UNTIL IT IS YOUR TURN!"> <action name="addqueue" value="|PLAYER|"/> </response> </interact> <!--This event triggers if the player goes to far away from the npc/logout/idle timeout--> <interact event="onPlayerLeave" focus="0"> <response text="COME BACK WHEN YOU ARE PREPARED TO FACE YOUR DESTINY!"/> </interact> </interaction> </npc> lua: focus = 0 talk_start = 0 target = 0 following = false attacking = false talk_state = 0 cname = '' vocation = 0 mainlevel = 8 dx = 0 dy = 0 dz = 0 function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(cid, pos) if focus == cid then selfSay('Good bye then.') focus = 0 talk_start = 0 end end function onCreatureTurn(creature) end function msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)')) end function onCreatureSay(cid, type, msg) cname = creatureGetName(cid) msg = string.lower(msg) if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then selfSay('Hello ' .. cname .. '! Are you ready to face your destiny?') talk_state = 0 focus = cid talk_start = os.clock() elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Sorry, ' .. cname .. '! I talk to you in a minute.') elseif msgcontains(msg, 'bye') and focus == cid and getDistanceToCreature(cid) < 4 then selfSay('Good bye, ' .. cname .. '!') talk_state = 0 focus = 0 talk_start = 0 elseif focus == cid then talk_start = os.clock() if talk_state == 0 then if msgcontains(msg, 'yes') then -- wanna go to mainland level = getPlayerLevel(cname) if level >= mainlevel then selfSay('Great! Do you want to be a knight, a paladin, a sorcerer or a druid?') talk_state = 1 else selfSay('Sorry, you need level ' .. mainlevel .. ' to go to the mainland.') talk_state = 0 end else selfSay('Come back when you are ready then.') talk_state = 0 end elseif talk_state == 1 then -- telling vocation talk_state = 2 if msgcontains(msg, 'sorcerer') then selfSay('A mighty sorcerer! Are you sure?') vocation = 1 elseif msgcontains(msg, 'druid') then selfSay('A mysterious druid! Are you sure?') vocation = 2 elseif msgcontains(msg, 'paladin') then selfSay('A nimble paladin! Are you sure?') vocation = 3 elseif msgcontains(msg, 'knight') then selfSay('A valorous knight! Are you sure?') vocation = 4 else selfSay('Sorry, there is no such vocation.') vocation = 0 talk_state = 1 end elseif talk_state == 2 then -- confirming vocation if msgcontains(msg, 'yes') then selfSay('Great! I can send you to Carlin, Thais, Abdendriel, Venore or Kazordoon. Where do you want to go?') talk_state = 3 else selfSay('What vocation do you want then?') talk_state = 1 end elseif talk_state == 3 then -- telling city name if msgcontains(msg, 'carlin') then dx=32360 dy=31782 dz=7 elseif msgcontains(msg, 'thais') then dx=32369 dy=32241 dz=7 elseif msgcontains(msg, 'venore') then dx=32957 dy=32076 dz=7 elseif msgcontains(msg, 'kazordoon') then dx=32649 dy=31925 dz=11 elseif msgcontains(msg, 'abdendriel') then dx=32732 dy=31634 dz=7 else selfSay('Sorry, there is no such city.') talk_state = 3 dx = 0 end if dx > 0 then selfSay('Good luck, young adventurer!') setPlayerVocation(cid,vocation) setPlayerMasterPos(cid,dx,dy,dz) selfSay('/send ' .. cname .. ', '..dx..' '..dy..' '..dz) talk_state = 0 focus = 0 talk_start = 0 end end end end function onCreatureChangeOutfit(creature) end function onThink() if focus > 0 then selfLook(focus) if getDistanceToCreature(focus) > 5 then focus = 0 selfSay('Good bye then.') end end if (os.clock() - talk_start) > 40 then if focus > 0 then selfSay('Next Please...') end focus = 0 end end Grato desde já!
-
liberar portas roteador
Boa noite amigo, Pelo visto o pessoal do fórum não esta muito disposto a ajudar, encontrei esse vídeo do youtube e espero que lhe ajude : Abraço !
-
Depot save
Boa noite, Tenho um OT 8.42 TFS 0.2.1 global full e o depot não funciona bem, as vezes os itens somem. Esse é um bug que me impede de botar o ot online, alguém poderia ajudar ? @Edit Exemplo: quando o char morre os itens do depot desaparecem! Isso teria alguma coisa a ver ? (Data/movements/movements.xml) <!-- (Depot & Level) tiles --> <movevent event="StepIn" itemid="416" script="tiles.lua"/> <movevent event="StepOut" itemid="417" script="tiles.lua"/> <movevent event="StepIn" itemid="426" script="tiles.lua"/> <movevent event="StepOut" itemid="425" script="tiles.lua"/> <movevent event="StepIn" itemid="446" script="tiles.lua"/> <movevent event="StepOut" itemid="447" script="tiles.lua"/> <movevent event="StepIn" itemid="3216" script="tiles.lua"/> <movevent event="StepOut" itemid="3217" script="tiles.lua"/> e isso: (data/movements/scripts/tiles.lua) local increasingItemID = {416, 446, 3216} local decreasingItemID = {417, 447, 3217} function onStepIn(cid, item, position, fromPosition) if isInArray(increasingItemID, item.itemid) == TRUE then doTransformItem(item.uid, item.itemid + 1) if item.actionid > 1000 then getLevelTile(cid, item, position) elseif getTilePzInfo(position) == TRUE then getDepotItems(cid, item) end elseif item.itemid == 426 then doTransformItem(item.uid, 425) if item.actionid > 1000 then getLevelTile(cid, item, position) elseif getTilePzInfo(position) == TRUE then getDepotItems(cid, item) end end return TRUE end function onStepOut(cid, item, position, fromPosition) if isInArray(decreasingItemID, item.itemid) == TRUE then doTransformItem(item.uid, item.itemid - 1) elseif item.itemid == 425 then doTransformItem(item.uid, item.itemid + 1) end return TRUE end function getLevelTile(cid, item, position) if isPlayer(cid) == TRUE then if getPlayerLevel(cid) < item.actionid - 1000 then doTeleportThing(cid, {x = getPlayerPosition(cid).x, y = getPlayerPosition(cid).y, z = getPlayerPosition(cid).z + 1}, FALSE) doSendMagicEffect(position, CONST_ME_MAGIC_BLUE) end end return TRUE end function getDepotItems(cid, item) if item.actionid > 100 then if isPlayer(cid) == TRUE then depotItems = getPlayerDepotItems(cid, item.actionid - 100) if depotItems < 2 then doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Your depot contains 1 item.") else doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Your depot contains " ..depotItems.. " items.") end end end return TRUE end
-
Problemas com acc do GOD
@skyligh Segue a print do database SQL configurado : http://img51.imagesh...semttuloanm.jpg No meu otserver não tem essa groups.xml e sempre funcionou o god sem ela. Aí quando tento logar com o GOD da esse erro aqui : http://imageshack.us...94/errorzc.jpg/ @EDIT Não entendo ! Eu loguei pela versão do tibia 8.42 e funcionou.. será que ocorreu algum erro na atualização do server ? Alguém sabe como me ajudar ?
-
Problemas com acc do GOD
Já tentei mas ele diz q é um número inválido
-
Problemas com acc do GOD
não po, eu coloco só o número ! account type "5" group id "3"
-
Problemas com acc do GOD
sim no sqlite !
-
Problemas com acc do GOD
Se eu não me engano eu já tentei botar o group_id 6 mas ele não aceita.. É que estou no trabalho agora mas qualquer sugestão é válida !
-
Problemas com acc do GOD
Mesmo copiando a DB do servidor antigo no qual a acc do GOD funciona ele da o mesmo problema que fecha o tibia ao logar. Será que é falta de algum script ?
-
Problemas com acc do GOD
Pessoal eu to com um probleminha na criação da account GOD do meu server. Fiz a atualização de um servidor 8.42 para 8.50. Fui criar a acc do GOD e consegui alterar o group_id para 3 na aba account e na aba players, porém quando eu altero o acc type para 5 na aba account quando vou logar o GOD no tibia ele da crash e fecha sozinho.. E quando consigo logar o GOD com outro account type e tento executar algum comando ele dá a seguinte mensagem : You cannot execute this command. Alguém pode me ajudar ?