Ir para conteúdo
Banner com Efeitos

Kimoszin

Héroi
  • Registro em

  • Última visita

Tudo que Kimoszin postou

  1. Passa toda linha do erro.
  2. Todos scripts funcionando? Tópico Resolvido?
  3. Kimoszin postou uma resposta no tópico em Playground (Off-topic)
    Eu uso firefox, e a rapoza está abraçando a terra, demonstrando afeto.
  4. local places = { ["papai noel"] = {pos={x=1, y=2, z=7}, price = 1}, ["teletubies"] = {pos={x=1, y=2, z=7}, price = 1}, ["goku"] = {pos={x=1018, y=1032, z=7}, price = 1}, } [nome] = {pos = {x=1234, y=132456, z=67}, price = 15346},
  5. \data\npc\Marujo.xml <?xml version="1.0" encoding="UTF-8"?> <npc name="Marujo" script="marujo.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="151" head="17" body="54" legs="114" feet="0" addons="3"/> <parameters> </parameters> </npc> \data\npc\scripts\marujo.lua local focuses = {} local function isFocused(cid) for i, v in pairs(focuses) do if(v == cid) then return true end end return false end local function addFocus(cid) if(not isFocused(cid)) then table.insert(focuses, cid) end end local function removeFocus(cid) for i, v in pairs(focuses) do if(v == cid) then table.remove(focuses, i) break end end end local function lookAtFocus() for i, v in pairs(focuses) do if(isPlayer(v)) then doNpcSetCreatureFocus(v) return end end doNpcSetCreatureFocus(0) end local function getPlayerMoney(cid) return ((getPlayerItemCount(cid, 2160) * 10000) + (getPlayerItemCount(cid, 2152) * 100) + getPlayerItemCount(cid, 2148)) end function onCreatureDisappear(cid) if(isFocused(cid)) then selfSay("Bye!") removeFocus(cid) if(isPlayer(cid)) then --Be sure he's online closeShopWindow(cid) end end end function onCreatureAppear(cid) end local places = { ["papai noel"] = {pos={x=1, y=2, z=7}, price = 1}, ["teletubies"] = {pos={x=1, y=2, z=7}, price = 1}, ["goku"] = {pos={x=1018, y=1032, z=7}, price = 1}, } function onCreatureSay(cid, type, msg) if((msg == "hi" or msg == "hello") and not (isFocused(cid))) then selfSay("Welcome, ".. getCreatureName(cid) ..".", cid) addFocus(cid) elseif((isFocused(cid)) and (msg == "travel" or msg == "sail")) then local str = "" for cityName, _ in pairs(places) do str = str.."{"..cityName.."} " end selfSay("Para onde voce quer viajar? "..str, cid) elseif((isFocused(cid)) and places[msg:lower()]) then if not(doPlayerRemoveMoney(cid, places[msg:lower()].price)) then return selfSay("Voce nao tem dinheiro", cid) end selfSay("Bye", cid) doTeleportThing(cid, places[msg:lower()].pos) removeFocus(cid) elseif((isFocused(cid)) and (msg == "bye" or msg == "goodbye" or msg == "cya")) then selfSay("Goodbye!", cid, true) removeFocus(cid) end end function onPlayerCloseChannel(cid) if(isFocused(cid)) then selfSay("Bye!") closeShopWindow(cid) removeFocus(cid) end end function onThink() for i, focus in pairs(focuses) do if(not isCreature(focus)) then removeFocus(focus) else local distance = getDistanceTo(focus) or -1 if((distance > 4) or (distance == -1)) then selfSay("Hmph!") closeShopWindow(focus) removeFocus(focus) end end end lookAtFocus() end
  6. Abra o SQL e de Load na sua database, depois Tools e Open SQL query editor, cole: CREATE TABLE IF NOT EXISTS `guild_wars` ( "id" INTEGER PRIMARY KEY NOT NULL, `guild_id` INT NOT NULL, `enemy_id` INT NOT NULL, `begin` BIGINT NOT NULL DEFAULT '0', `end` BIGINT NOT NULL DEFAULT '0', `frags` INT NOT NULL DEFAULT 0, `payment` BIGINT NOT NULL DEFAULT 0, `guild_kills` INT NOT NULL DEFAULT 0, `enemy_kills` INT NOT NULL DEFAULT 0, `status` INT NOT NULL DEFAULT 0 );[/SQL] E aperte F9.
  7. Tu tem que por na versão que o map é.
  8. Você criou as tabelas?
  9. Kimoszin postou uma resposta no tópico em Suporte Bots
    Folda-2.rar
  10. Kimoszin postou uma resposta no tópico em Suporte Tibia OTServer
    \data\spells\scripts\attack\sudden death.lua local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SUDDENDEATH) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1, -60, -1, -60, 5, 5, 4, 7) function onCastSpell(cid, var) if (getPlayerVocation(cid) ~= 4 or getPlayerVocation(cid) ~= 8) then return doCombat(cid, combat, var) else return doPlayerSendDefaultCancel(cid, RETURNVALUE_YOURVOCATIONCANNOTUSETHISSPELL) end end
  11. Ela não esta dando a backack com as potions ou as potions não funcionam?
  12. Você precisa dos arquivos dos client (.dat e .spr) e então você bota na pasta do RME.
  13. Kimoszin postou uma resposta no tópico em Suporte Tibia OTServer
    Está assim? \data\spells\spells.xml <rune name="Sudden Death" id="2268" allowfaruse="1" charges="3" lvl="45" maglv="15" exhaustion="2000" needtarget="1" blocktype="solid" event="script" value="attack/sudden death.lua"/>
  14. Você precisa dos arquivos do client para abrir tudo certinho.
  15. \data\monster\monsters.xml <monster name="NOME" file="PATH.xml" />
  16. Kimoszin postou uma resposta no tópico em Suporte Bots
    Fale qual criatura você quer caçar.
  17. O .exe para deixar seu OTServer online.
  18. Qual distro você usa?
  19. Tente com algumas versões nova do Gesior. Tópico Movido.
  20. Kimoszin postou uma resposta no tópico em Playground (Off-topic)
    Se você não postasse seus contatos no forum, nada disso teria acontecido.
  21. Você adicionou ele nos monsters.xml?
  22. Kimoszin postou uma resposta no tópico em Suporte Tibia OTServer
    Os seus contatos foram removidos do tópico, o suporte deve ficar dentro do Tibia King.
  23. Eu testei com os player aqui, funcionou normal. Não sei oque está acontecendo D:
  24. Kimoszin postou uma resposta no tópico em Recursos Avançados
    Mas pelo oque você disse, ele fica dando spam na mana potion certo? Então seria alguma coisa com a verificação com a sua mana atual. Qual o seu sistema opercional? Quantos bits?

Informação Importante

Confirmação de Termo