Ir para conteúdo

Rusherzin

Membro
  • Registro em

  • Última visita

Tudo que Rusherzin postou

  1. A imagem que você anexou é de um erro na distro, então..
  2. AHEIUAHEAIUHEA, belo nome do tópico Posta o script para que a gente possa ao menos tentar ajudá-lo.
  3. Ah, sim. Tem que adicionar a tag dos itens no movements.xml, procure pela tag da soft boots e adicione as mesmas tags só mudando os respectivos ID's
  4. Não entendi qual exatamente é o problema..
  5. Para não remover nenhum dos dois: local scroll = ID DO ITEM QUE PRECISA local temple = {x=xxx, y=xxx, z=x} local level = 25 function onUse(cid, item, frompos, item2, topos) if item.itemid == scroll and getPlayerLevel(cid) >= level then doTeleportThing(cid, temple, TRUE) doSendMagicEffect(temple,10) doSendAnimatedText(temple, "You are teleporting!", 5) else doPlayerSendCancel(cid, "Sorry, your level must higher than 25!") end return 1 end
  6. local a = { [11638] = {balltype = "normal", ballid = 11826, pokemons = {"Slowking", "Ampharos", "Houndoom", "Meganium", "Electabuzz", "Gengar", "Alakazam", "Shiny Electabuzz", "Donphan", "Hitmontop", "Hitmonchan", "Ninetales", "Tentacruel", "Venusaur", "Charizard", "Blastoise", "Snorlax", "Nidoking", "Rapidash", "Vileplume"}}, [11639] = {balltype = "great", ballid = 11832, pokemons = {"Pidgeotto", "Weepinbell", "Clefairy", "Omanyte", "Kabuto", "Arbok", "Raichu", "Nidorino", "Nidorina", "Dodrio", "Muk", "Golbat", "Gloom", "Parasect", "Venomoth", "Dugtrio", "Persian", "Poliwhirl", "Victreebel", "Machoke", "Graveler", "Slowbro", "Magneton", "Farfetch'd", "Haunter", "Kingler", "Electrode", "Weezing", "Rhyhorn", "Seadra", "Jigglypuff", "Seaking", "Tauros", "Starmie", "Eevee", "Dratini", "Charmeleon", "Wartortle", "Ivysaur"}}, [11640] = {balltype = "super", ballid = 11835, pokemons = {"Pidgeot", "Fearow", "Sandslash", "Ninetales", "Vileplume", "Primeape", "Golduck", "Kadabra", "Rapidash", "Clefable", "Wigglytuff", "Dewgong", "Onix", "Cloyster", "Hypno", "Exeggutor", "Marowak", "Hitmonchan", "Hitmonlee", "Lickitung", "Chansey", "Tangela", "Mr. Mime", "Pinsir", "Vaporeon", "Jolteon", "Flareon", "Porygon", "Dragonair"}}, [11641] = {balltype = "ultra", ballid = 11829, pokemons = {"Shiny Hitmonchan", "Shiny Hitmonlee", "Shiny Abra", "Dragonite", "Snorlax", "Kabutops", "Omastar", "Ditto", "Lapras", "Gyarados", "Magmar", "Electabuzz", "Jynx", "Scyther", "Kangaskhan", "Golem", "Venusaur", "Machamp", "Poliwrath", "Arcanine", "Nidoking", "Nidoqueen", "Charizard", "Blastoise", "Tentacruel", "Alakazam", "Gengar", "Rhydon"}}, [12149] = {balltype = "normal", ballid = 11826, pokemons = {"Articuno"}}, [12150] = {balltype = "normal", ballid = 11826, pokemons = {"Zapdos"}}, [12151] = {balltype = "normal", ballid = 11826, pokemons = {"Moltres"}}, [12237] = {balltype = "normal", ballid = 11826, pokemons = {"Tyranitar"}}, [12227] = {balltype = "normal", ballid = 11826, pokemons = {"Speed Deoxys"}}, [12338] = {balltype = "normal", ballid = 11826, pokemons = {"Lugia"}}, [12283] = {balltype = "normal", ballid = 11826, pokemons = {"Suicune"}}, [12236] = {balltype = "normal", ballid = 11826, pokemons = {"Raikou"}}, [12271] = {balltype = "normal", ballid = 11826, pokemons = {"Entei"}}, [12194] = {balltype = "normal", ballid = 11826, pokemons = {"Mewtwo"}}, [12289] = {balltype = "normal", ballid = 11826, pokemons = {"Mew"}}, [9074] = {balltype = "normal", ballid = 11826, pokemons = {"Ho-oh"}}, [9075] = {balltype = "normal", ballid = 11826, pokemons = {"Celebi"}}, [5944] = {balltype = "normal", ballid = 11826, pokemons = {"Shiny Regice"}}, [4852] = {balltype = "normal", ballid = 11826, pokemons = {"Shiny Darkrai"}}, [12225] = {balltype = "normal", ballid = 11826, pokemons = {"Shiny Mewtwo"}}, [12250] = {balltype = "normal", ballid = 11826, pokemons = {"Shiny Kyogre"}}, [12238] = {balltype = "normal", ballid = 11826, pokemons = {"Shiny Groudon"}}, [12224] = {balltype = "normal", ballid = 11826, pokemons = {"Palkia"}}, [12339] = {balltype = "normal", ballid = 11826, pokemons = {"Shiny Zekrom"}}, [13095] = {balltype = "normal", ballid = 11826, pokemons = {"Shiny Reshiram"}}, [13096] = {balltype = "normal", ballid = 11826, pokemons = {"Shiny Riolu"}}, [114] = {balltype = "normal", ballid = 11826, pokemons = {"Black Kyurem"}}, [115] = {balltype = "normal", ballid = 11826, pokemons = {"White Kyurem"}}, [116] = {balltype = "normal", ballid = 11826, pokemons = {"Primal Dialga"}}, [117] = {balltype = "normal", ballid = 11826, pokemons = {"Super Darkrai"}} } local happy = 220 function onUse(cid, item, frompos, item2, topos) local b = a[item.itemid] if not b then return true end local pokemon = b.pokemons[math.random(#b.pokemons)] local btype = b.balltype if not pokeballs[btype] then return true end doPlayerSendTextMessage(cid, 27, "You opened a pokemon box!") doSendMagicEffect(getThingPos(cid), 29) addPokeToPlayer(cid, pokemon, 0, nil, btype) doRemoveItem(item.uid, 1) return true end
  7. Não daria pra fazer com onLogin?
  8. Concordo com o Vills, e, depois desta nova regra já vi muitos servidores serem banidos por "falsificação de dados", que é como eles chamam, acredito que nem todos que usam esse tipo de tile é para aumentar o número de players online e sim para alguma outra função importante dentro do OT. Enfim, apoio a criação de uma ServerList e desejo-lhes boa sorte se essa ideia for levada adiante.
  9. Testa aí local a = { [11638] = {balltype = "normal", ballid = 11826, pokemons = {"Slowking", "Ampharos", "Houndoom", "Meganium", "Electabuzz", "Gengar", "Alakazam", "Shiny Electabuzz", "Donphan", "Hitmontop", "Hitmonchan", "Ninetales", "Tentacruel", "Venusaur", "Charizard", "Blastoise", "Snorlax", "Nidoking", "Rapidash", "Vileplume"}}, [11639] = {balltype = "great", ballid = 11832, pokemons = {"Pidgeotto", "Weepinbell", "Clefairy", "Omanyte", "Kabuto", "Arbok", "Raichu", "Nidorino", "Nidorina", "Dodrio", "Muk", "Golbat", "Gloom", "Parasect", "Venomoth", "Dugtrio", "Persian", "Poliwhirl", "Victreebel", "Machoke", "Graveler", "Slowbro", "Magneton", "Farfetch'd", "Haunter", "Kingler", "Electrode", "Weezing", "Rhyhorn", "Seadra", "Jigglypuff", "Seaking", "Tauros", "Starmie", "Eevee", "Dratini", "Charmeleon", "Wartortle", "Ivysaur"}}, [11640] = {balltype = "super", ballid = 11835, pokemons = {"Pidgeot", "Fearow", "Sandslash", "Ninetales", "Vileplume", "Primeape", "Golduck", "Kadabra", "Rapidash", "Clefable", "Wigglytuff", "Dewgong", "Onix", "Cloyster", "Hypno", "Exeggutor", "Marowak", "Hitmonchan", "Hitmonlee", "Lickitung", "Chansey", "Tangela", "Mr. Mime", "Pinsir", "Vaporeon", "Jolteon", "Flareon", "Porygon", "Dragonair"}}, [11641] = {balltype = "ultra", ballid = 11829, pokemons = {"Shiny Hitmonchan", "Shiny Hitmonlee", "Shiny Abra", "Dragonite", "Snorlax", "Kabutops", "Omastar", "Ditto", "Lapras", "Gyarados", "Magmar", "Electabuzz", "Jynx", "Scyther", "Kangaskhan", "Golem", "Venusaur", "Machamp", "Poliwrath", "Arcanine", "Nidoking", "Nidoqueen", "Charizard", "Blastoise", "Tentacruel", "Alakazam", "Gengar", "Rhydon"}}, [12149] = {balltype = "normal", ballid = 11826, pokemons = {"Articuno"}}, [12150] = {balltype = "normal", ballid = 11826, pokemons = {"Zapdos"}}, [12151] = {balltype = "normal", ballid = 11826, pokemons = {"Moltres"}}, [12237] = {balltype = "normal", ballid = 11826, pokemons = {"Tyranitar"}}, [12227] = {balltype = "normal", ballid = 11826, pokemons = {"Speed Deoxys"}}, [12338] = {balltype = "normal", ballid = 11826, pokemons = {"Lugia"}}, [12283] = {balltype = "normal", ballid = 11826, pokemons = {"Suicune"}}, [12236] = {balltype = "normal", ballid = 11826, pokemons = {"Raikou"}}, [12271] = {balltype = "normal", ballid = 11826, pokemons = {"Entei"}}, [12194] = {balltype = "normal", ballid = 11826, pokemons = {"Mewtwo"}}, [12289] = {balltype = "normal", ballid = 11826, pokemons = {"Mew"}}, [9074] = {balltype = "normal", ballid = 11826, pokemons = {"Ho-oh"}}, [9075] = {balltype = "normal", ballid = 11826, pokemons = {"Celebi"}}, [5944] = {balltype = "normal", ballid = 11826, pokemons = {"Shiny Regice"}}, [4852] = {balltype = "normal", ballid = 11826, pokemons = {"Shiny Darkrai"}}, [12225] = {balltype = "normal", ballid = 11826, pokemons = {"Shiny Mewtwo"}}, [12250] = {balltype = "normal", ballid = 11826, pokemons = {"Shiny Kyogre"}}, [12238] = {balltype = "normal", ballid = 11826, pokemons = {"Shiny Groudon"}}, [12224] = {balltype = "normal", ballid = 11826, pokemons = {"Palkia"}}, [12339] = {balltype = "normal", ballid = 11826, pokemons = {"Shiny Zekrom"}}, [13095] = {balltype = "normal", ballid = 11826, pokemons = {"Shiny Reshiram"}}, [13096] = {balltype = "normal", ballid = 11826, pokemons = {"Shiny Riolu"}} } local happy = 220 function onUse(cid, item, frompos, item2, topos) local b = a[item.itemid] if not b then return true end local pokemon = b.pokemons[math.random(#b.pokemons)] local btype = b.balltype if not pokeballs[btype] then return true end doPlayerSendTextMessage(cid, 27, "You opened a pokemon box!") doSendMagicEffect(getThingPos(cid), 29) addPokeToPlayer(cid, pokemon, 0, nil, btype) doRemoveItem(item.uid, 1) return true end
  10. De acordo com o que eu sei, está correto, vou dar mais uma pesquisada e vejo se consigo ajudá-lo.
  11. htdocs\system\application\views\ posta o arquivo create.php, por favor
  12. Esse erro é ao tentar criar um character né? Posta seu config.php
  13. É NTO? Criou os samples na database?
  14. data/creaturescripts/scripts minlevel.lua function onLogin(cid) local minlevel = 10 if getPlayerLevel(cid) < minlevel then doPlayerAddExp(cid, (getExperienceForLevel(minlevel) - getPlayerExperience(cid))) end return TRUE end creaturescripts.xml <event type="login" name="minlevel" event="script" value="minlevel.lua"/>
  15. Abre o phpmyadmin, vai na sua database e na aba SQL coloca os códigos lá e clica em executar.
  16. Provavelmente nasceu com vida 0
  17. Rusherzin postou uma resposta no tópico em Suporte Tibia OTServer
    Qual a versão do seu TFS?
  18. Rusherzin postou uma resposta no tópico em Suporte Tibia OTServer
    Poste o script para que eu ou outro membro possa ao menos tentar ajudá-lo.
  19. Tem que fechar o OT para funcionar, fecha, execute a query e depois abra novamente..
  20. Qual foi o problema?
  21. ALTER TABLE `players` ADD `rep` INT( 11 ) NOT NULL DEFAULT '0';
  22. Creio que não
  23. Tenta aí, não testei.. ALTER TABLE `guilds` ADD `frags` INT NOT NULL;
  24. UPDATE player_skills SET value= 10;
  25. Executa elas, uma por vez. DELETE FROM `player_items` WHERE `itemtype` = "2160"; DELETE FROM `player_depotitems` WHERE `itemtype` = "2160"; DELETE FROM `tile_items` WHERE `itemtype` = "2160";

Informação Importante

Confirmação de Termo