Ir para conteúdo

sxeinjected

Membro
  • Registro em

  • Última visita

Tudo que sxeinjected postou

  1. Antes tava entrando pelo site ? Tenta entrar com uma conta do tibiaglobal ,nesse teu client ai,pode ser teu ipchanger que não esteja funcionando
  2. Edite o campo " Password " da conta ondrake ,colocando : 7c4a8d09ca3762af61e59520943dc26494f8941b e testa Login : ondrake Password : 123456
  3. Após alterado,vc reiniciou o servidor ?
  4. De passwordType = "plain" Mude para passwordType = "sha1" crie uma nova conta,e teste
  5. Esse é o problema ..,deveria PEGAR UM TUTORIAL PRONTO,JÁ EXISTENTE AQUI NO TK ,e compilar,assim aprofundando seus conhecimentos,e não depender dos outros
  6. Discordo totalmente,com inúmeros tutorias de como compilar para windows e linux aqui no TK, ele não precisa criar outro,ou ter que ensinar cada um que pede para ele,se for assim ,ele teria que abandonar os projetos dele ,e apenas ensinar a galera a compilar ,e esses servidores novos,exigem alta perfomance do computador,então se você ,ou eu ,ou qualquer outro não tem um computador que atinja a necessidade do servidor ,deve abandonar e começar um outro projeto,com outra versão,ou trocar de pc,para começar um,e lembrando ,se eles já são compilando em linux,deve ser pq essa plataforma,deve atingir picos maiores de perfomance,para não dar crash,bugar script e outras coisas,se não fosse tão bom o nosso amigo linux,os servidores seriam todos em windows,,vejo inúmeros tópicos de pessoas pedindo ajuda para abrir um servidor,é so procurar no tk !,youtube,google ,que você ira achar,e não ficar querendo tudo de mão beijada,muitos tópicos repetidos,com soluções.mas de vez a pessoa ir e procurar,não,ela cria outro tópico,para outro membro ter o trabalho ,de criar aquele script ou,de procurar o tópico que já foi solucionado e postar para ele.
  7. Eu ja tive problemas com o o seguinte,exemplo no meu config.lua está 127.0.0.1 ,eu só conseguia logar pelo 192.168.1.9 (ip local do pc) ,pelo 127.0.0.1 eu não conseguia ,ou vice versão,tenta entrar com 127.0.0.1 ou pelo ip do teu pc !
  8. Nunca testei o magebot nessa versão 10.76,mas em algumas versões ele buga assim mesmo,isso acontece também na versão 8.60
  9. local config = { removeOnUse = "yes", usableOnTarget = "yes", -- can be used on target? (fe. healing friend) splashable = "no", realAnimation = "Yes", -- make text effect visible only for players in range 1x1 healthMultiplier = 1.0, manaMultiplier = 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 = 2, health = {50, 100}}, -- small health potion [7618] = {empty = 7636, splash = 2, health = {100, 200}}, -- health potion [7588] = {empty = 7634, splash = 2, health = {200, 400}, level = 50, vocations = {3, 4, 7, 8}, vocStr = "knights and paladins"}, -- strong health potion [7591] = {empty = 7635, splash = 2, health = {500, 700}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 2, health = {800, 1000}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 7, mana = {70, 130}}, -- mana potion [7589] = {empty = 7634, splash = 7, mana = {110, 190}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 7, mana = {200, 250}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 3, health = {200, 400}, mana = {110, 190}, level = 80, vocations = {3, 7}, vocStr = "paladins"} -- great spirit potion } 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 = getThingPos(item.uid) end doDecayItem(doCreateItem(2016, potion.splash, toPosition)) doTransformItem(item.uid, potion.empty) return true end if(hasCondition(cid, CONDITION_EXHAUST_HEAL)) 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 local health = potion.health if(health and not doCreatureAddHealth(itemEx.uid, math.ceil(math.random(health[1], health[2]) * config.healthMultiplier))) then return false end local mana = potion.mana if(mana and not doPlayerAddMana(itemEx.uid, math.ceil(math.random(mana[1], mana[2]) * config.manaMultiplier))) then return false end if(not realAnimation) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) doSendMagicEffect(getThingPos(itemEx.uid), 66) doSendMagicEffect(getThingPos(itemEx.uid), 12) else for i, tid in ipairs(getSpectators(getCreaturePosition(cid), 1, 1)) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1, false, tid) end end end doAddCondition(cid, exhaust) if(not potion.empty or config.removeOnUse) then return true end return true end Tente assim.
  10. Poste seu potions.lua ,original aqui
  11. Procure dentro da pasta data/actions/scripts,um arquivo chamado potions.lua,faça um backup dele, e edite colocando : local config = { removeOnUse = "yes", usableOnTarget = "yes", -- can be used on target? (fe. healing friend) splashable = "no", realAnimation = "Yes", -- make text effect visible only for players in range 1x1 healthMultiplier = 1.0, manaMultiplier = 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 = 2, health = {50, 100}}, -- small health potion [7618] = {empty = 7636, splash = 2, health = {100, 200}}, -- health potion [7588] = {empty = 7634, splash = 2, health = {200, 400}, level = 50, vocations = {3, 4, 7, 8}, vocStr = "knights and paladins"}, -- strong health potion [7591] = {empty = 7635, splash = 2, health = {500, 700}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 2, health = {800, 1000}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 7, mana = {70, 130}}, -- mana potion [7589] = {empty = 7634, splash = 7, mana = {110, 190}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 7, mana = {200, 250}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 3, health = {200, 400}, mana = {110, 190}, level = 80, vocations = {3, 7}, vocStr = "paladins"} -- great spirit potion } 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 = getThingPos(item.uid) end doDecayItem(doCreateItem(2016, potion.splash, toPosition)) doTransformItem(item.uid, potion.empty) return true end if getTilePzInfo(getCreaturePosition(cid)) then doCreatureSay(itemEx.uid, "You cannot use potions in protection zone", TALKTYPE_ORANGE_1) return TRUE end if(hasCondition(cid, CONDITION_EXHAUST_HEAL)) 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 local health = potion.health if(health and not doCreatureAddHealth(itemEx.uid, math.ceil(math.random(health[1], health[2]) * config.healthMultiplier))) then return false end local mana = potion.mana if(mana and not doPlayerAddMana(itemEx.uid, math.ceil(math.random(mana[1], mana[2]) * config.manaMultiplier))) then return false end doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) if(not realAnimation) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) else for i, tid in ipairs(getSpectators(getCreaturePosition(cid), 1, 1)) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1, false, tid) end end end doAddCondition(cid, exhaust) if(not potion.empty or config.removeOnUse) then return true end return true end Veja se deu certo
  12. Olá ,boa noite ! em data/talkactions/Scripts,crie um arquivo chamado rainbow.lua e coloque dentro local colors = {94, 81, 79, 88, 18, 11, 92, 128} local storage = 65535 local time = 10 --in miliseconds function onSay(cid, words, param, channel) if(param == "on") then if getPlayerStorageValue(cid, storage) < 1 then if doPlayerRemoveMoney(cid, 0) == TRUE then local event = addEvent(changeOutfit, time, cid) setPlayerStorageValue(cid, storage, 1) return TRUE else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You do not have enough money.") return TRUE end else return TRUE end elseif(param == "off") then if getPlayerStorageValue(cid, storage) > 0 then setPlayerStorageValue(cid, storage, 0) return TRUE else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You do not have rainbow outfit on.") return TRUE end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Use !rainbow on-off.") return TRUE end return TRUE end function changeOutfit(cid) local randomHead = colors[math.random(#colors)] local randomLegs = colors[math.random(#colors)] local randomBody = colors[math.random(#colors)] local randomFeet = colors[math.random(#colors)] local tmp = {} if getPlayerStorageValue(cid, storage) > 0 then local outfit = getCreatureOutfit(cid) tmp = outfit tmp.lookType = outfit.lookType tmp.lookHead = randomHead tmp.lookLegs = randomLegs tmp.lookBody = randomBody tmp.lookFeet = randomFeet tmp.lookAddons = outfit.lookAddons doCreatureChangeOutfit(cid, tmp) local event = addEvent(repeatChangeOutfit, time, cid) return TRUE else stopEvent(event) return TRUE end end function repeatChangeOutfit(cid) local randomHead = colors[math.random(#colors)] local randomLegs = colors[math.random(#colors)] local randomBody = colors[math.random(#colors)] local randomFeet = colors[math.random(#colors)] local tmp = {} if getPlayerStorageValue(cid, storage) > 0 then local outfit = getCreatureOutfit(cid) tmp = outfit tmp.lookType = outfit.lookType tmp.lookHead = randomHead tmp.lookLegs = randomLegs tmp.lookBody = randomBody tmp.lookFeet = randomFeet tmp.lookAddons = outfit.lookAddons doCreatureChangeOutfit(cid, tmp) local event = addEvent(changeOutfit, time, cid) return TRUE else stopEvent(event) return TRUE end end Em data/talkactions ,abra o talkactions.xml e coloque dentro <talkaction words="!rainbow" event="script" value="rainbow.lua"/> !rainbow on = Liga !rainbow off = Desliga
  13. Se você usa Mysql,nos players "samples" ou Seja Rook Sample Druid Sample Sorcerer Sample Knight Sample Paladin Sample é so logar neles,e colocar os itens que você deseja,que quando criar um char normal,ira aparecer com eles !
  14. Procure um item no phpmyadmin chamado SQL ,ai ira abrir um campo para você digitar o comando,ai você coloca SET GLOBAL max_allowed_packet = 16776192; @Editado~~ Edite o arquivo 1.lua,apague tudo e coloque function onUpdateDatabase() print("> Updating database to version 2 (market offers)") db.query("CREATE TABLE `market_offers` (`id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `player_id` INT NOT NULL, `sale` TINYINT(1) NOT NULL DEFAULT 0, `itemtype` INT UNSIGNED NOT NULL, `amount` SMALLINT UNSIGNED NOT NULL, `created` BIGINT UNSIGNED NOT NULL, `anonymous` TINYINT(1) NOT NULL DEFAULT 0, `price` INT UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY(`sale`, `itemtype`), KEY(`created`), FOREIGN KEY (`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE) ENGINE = InnoDB") return true end
  15. Resolva aquele seu primeiro erro ,como expliquei nesse tópico : http://www.tibiaking.com/forum/topic/53594-warning/ e verifique, se na pasta data/migrations/ Existe um arquivo chamado -1.lua Ou 1.lua E poste aqui.
  16. Gostei ! ótimo trabalho
  17. sxeinjected postou uma resposta no tópico em Suporte & Pedidos
    Bacana !! ,você ira disponibilizar para download ?
  18. sxeinjected postou uma resposta no tópico em Suporte Tibia OTServer
    Primeiramente você tem que comprar um dominio na registro.br,custa em torno de R$ 35,00 (.com.br),e dps entrar em contato com a empresa que hospeda seu servidor e perguntar qual o ip de dns,para configurar teu dominio e etc,ou se a empresa que você hospeda ja te fornecer a venda de dominio,eles mesmo configura. 2º acho que essa imagem ja vem configurada,pra quando clicar em cima ir pra pagina principal
  19. HAHA o sentido de criptografar é esse mesmo,você tera que criar uma propria conta no site,e você sabera a senha , @Editado Dessa forma,você não ira conseguir entrar no servidor mesmo,pois no seu config.lua esta apontando a db pro 10.76 e nao pro 10.41 que está o site,se vc colocar no config.lua para pegar a db 10.41 ira funcionar,mas provavelmente o servidor ira dar bugs,pois pode ter coisas na db que na 10.76 tem e na 10.41 não,por isso que tem que reinstalar o site ,para configurar corretamente para pegar o config.lua do 10.76
  20. Entendi ,me manda msg privado,te mandarei meu skype,ai resolvemos,mas aqui pode colocar ja a melhor resposta se você quiser, e dar o seu "GOSTEI!",pq o problema ja foi descoberto,é apenas que o site esta criando as contas em outra db,esta configurado errado,não é nenhum erro.
  21. Olha só querido ESTAGIARIO @Summ,acho que eu estava certo não ? !!!!!! HAHAHAHAH os passwords estão varias letras e numeros ? é pq estão criptrografados ,é assim mesmo. Faça o seguinte,copie essa pasta www ,para outro canto,dps apague tudo que tem nela,e extrai o site la dentro novamente,é para começar uma instalação do 0 ,na hora que informar para pedir a pasta que está seu config.lua,você coloca a pasta do 10.76
  22. Certo amigo,ja resolvemos isso ,só por curiosidade,verifique dentro da database do 10.41,e veja se as accounts não estão lá ?
  23. Como ja resolvemos no skype,vou postar aqui a solução ,parar outros membros,que tenham o mesmo problema ,como é um erro arcaico ,no index.php ,depois de <?php adicione error_reporting(E_ALL || ~E_WARNING);
  24. Verifique dentro da pasta WWW. do otpanel,se não existe alguma pasta chamada config ,se não existir procure pelo arquivo config.ini dentro da pasta WWW
  25. A lógica esta correta sim ,porem não sei se o tibia em si ,aceita essa exp "9999999",vamos supor q ele aceite apenas "9999" <stage minlevel="1" maxlevel="6000" multiplier="9999999"/> <stage minlevel="6001" maxlevel="10000" multiplier="9999995"/> <stage minlevel="10001" maxlevel="15000" multiplier="999999"/> <stage minlevel="15001" maxlevel="19000" multiplier="999995"/> <stage minlevel="19001" maxlevel="25000" multiplier="99999"/> <stage minlevel="25001" maxlevel="35000" multiplier="99995"/> toda essa parte sera invalida,ele ira reconhecer como "9999",tem que testar isso no seu servidor agora,pode ser que eu falei bobagem rsrs

Informação Importante

Confirmação de Termo