Ir para conteúdo
Banner com Efeitos

Pedro.

Membro
  • Registro em

  • Última visita

Tudo que Pedro. postou

  1. Pedro. postou uma resposta no tópico em Outros Bots
    Maneiro cara, parabéns
  2. ALTER TABLE `accounts` ADD loot_time INT(15) NOT NULL DEFAULT 0; CREATE TABLE marriage_system ( id INTEGER NOT NULL, player_id INTEGER NOT NULL, partner VARCHAR( 255 ) NOT NULL, marriage_date INTEGER NOT NULL, PRIMARY KEY ( id ) );
  3. execute no seu banco de dados: ALTER TABLE `accounts` ADD loot_time INT(15) NOT NULL DEFAULT 0; se você adicionou o script do vodkart não devia da esse erro, porque ele usa mods, e no script dele adiciona a função automaticamente nas libs. https://tibiaking.com/forums/topic/78242-86mods-autoloot-by-account-item/
  4. sim, e registra em login.lua
  5. 0.4 né? local freeBlessMaxLevel = 300 function onLogin(cid) if(getPlayerLevel(cid) <= freeBlessMaxLevel and not getPlayerBlessing(cid,1)) then for b=1, 5 do doPlayerAddBlessing(cid, b) end doPlayerSendTextMessage(cid,26,"You have Free blessing till level 300.") doCreatureSay(cid, 'BLESS', TALKTYPE_ORANGE_1) doSendMagicEffect(getThingPosition(cid), CONST_ME_HOLYDAMAGE) end return true end 1° erro ele está tentando executar uma raid em raid.xml e não existe, tem que criar ou remover. 2º erro, pode ser diversas coisas, pois ele está perdendo conexão com o Mysql, no caso se você estiver usando xampp, as vezes pode ser erro da internet, ddos, diversas cosias. Se teu servidor tiver essa função dá pra usar. mysqlReadTimeout = 0 mysqlWriteTimeout = 0
  6. Pedro. postou uma resposta no tópico em Websites
    Fixado botão de login: <?php if($logged) { ?> <a href="?subtopic=accountmanagement&action=logout"> <button type="button" class="p2 btn-info"> <span class="glyphicon glyphicon-log-out"></span> Log out </button> </a> <?php } else { ?> <button type="button" class="p2 btn-login btn-success dropdown-toggle" data-toggle="dropdown"> <span class="glyphicon glyphicon-share-alt"></span>Login<span class="caret"></span> </button> <ul class="dropdown-menu" role="menu"> <li style="width: 266px; margin: 5px 15px 0px 15px;"> <form action="?subtopic=accountmanagement" method="post"> <div class="form-group"> <input type="password" name="account_login" maxlength="30" class="form-control" placeholder="Account Name"> </div> <div class="form-group"> <input type="password" name="password_login" maxlength="30" class="form-control" placeholder="Password"> </div> <button type="submit" class="btn btn-success" style="width: 100px">Login</button> <a class="btn btn-default" style="width: 131px" href="?subtopic=lostaccount">Lost Password?</a> </form> </li> </ul> </div> <?php } ?>
  7. ah sim, eu tinha dito isso já, na epoca que usei até comentei aqui e não continuei usando por causa disso, minotaur,cyclops, dragons, tem vários derivados. Eu digo, tu usa return false, player:popupFYI(text) Na minha opinião fica feio, ficaria mais maneirinho se fosse tudo pelo channel, com umas cores azuis fortes nos monstros, leveis, recompensas etc.
  8. Adotou minhas sugestões né gato rs Tá maneirinho, tá maneirinho. Você poderia por as recompensas essas coisas no channel ao invés de modal
  9. estranho, teu servidor tem critical system ou dodge?
  10. Pedro. postou uma resposta no tópico em Websites
    Valeu meu garoto.
  11. Pedro. postou uma resposta no tópico em Suporte Tibia OTServer
    Sim, e troca lá esse movements. movements.xml
  12. Pedro. postou uma resposta no tópico em Suporte Tibia OTServer
    DROP TABLE IF EXISTS `player_advances`; CREATE TABLE `player_advances` ( `id` int(11) NOT NULL AUTO_INCREMENT, `cid` int(11) DEFAULT NULL, `skill` int(11) DEFAULT NULL, `oldlevel` int(11) DEFAULT NULL, `newlevel` int(11) DEFAULT NULL, `time` int(11) DEFAULT NULL, UNIQUE KEY `id` (`id`), KEY `cid` (`cid`), CONSTRAINT `player_advances_ibfk_1` FOREIGN KEY (`cid`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1; adiciona em phpmyadmin lá, naquele esquema. e posta aqui seu movements.xml
  13. ah sim, adiciona no index pra vê se dá jeito, mas eu lembro que você comentou que baixou e pegou de outro site. https://tibiaking.com/forums/topic/88291-site-bugado/
  14. tenta pegar de outro site, se não me engano da ultima vez você fez isso.
  15. Entre em system/load.init e depois de session_start(); coloque isso na linha abaixo: date_default_timezone_set("America/Sao_Paulo");
  16. manja muito rs
  17. Pedro. postou uma resposta no tópico em Websites
    Update Accountmanagement Antes. Depois
  18. Pedro. postou uma resposta no tópico em Suporte Tibia OTServer
    @Daniel isso já aconteceu contigo? o-o
  19. estranho, teu server tá on? troca toda a database pra fazer um teste.
  20. preguiça até de procurar lol troca lá local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) if getCreatureOutfit(cid).lookType == 306 and getPlayerStorageValue(cid, 121219) ~= 1 then doCreatureChangeOutfit(cid, getPlayerSex(cid) == 0 and {lookType = 136} or {lookType = 128}) end if(getBooleanFromString(getConfigValue('accountManager')) == false) then if (getCreatureName(cid) == "Account Manager") then return doRemoveCreature(cid, true) end end local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then addEvent(valid(doCreatureSay), 500, cid, "Hello, it appears that your character has been locked for name violating rules, what new name would you like to have?", TALKTYPE_PRIVATE_NP, true, cid) elseif(accountManager == MANAGER_ACCOUNT) then addEvent(valid(doCreatureSay), 500, cid, "Hello, type {account} to manage your account. If you would like to start over, type {cancel} anywhere.", TALKTYPE_PRIVATE_NP, true, cid) else addEvent(valid(doCreatureSay), 500, cid, "Hello, type {account} to create an account or {recover} to recover an account.", TALKTYPE_PRIVATE_NP, true, cid) end if getPlayerStorageValue(cid, 54304) > 0 then doPlayerSetStorageValue(cid, 54304, 0) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Bem Vindo!") if getPlayerLevel(cid) < 717217 then registerCreatureEvent(cid, "AdvanceTeleport") end registerCreatureEvent(cid, "DesertDeath") registerCreatureEvent(cid, "DesertCombat") registerCreatureEvent(cid, "BattleDeath") registerCreatureEvent(cid, "ZombieThink") registerCreatureEvent(cid, "ZombieDeath") registerCreatureEvent(cid, "BattleCombat") registerCreatureEvent(cid, "FireStorm") registerCreatureEvent(cid, "ctf") registerCreatureEvent(cid, "zombieevent") registerCreatureEvent(cid, "Idle") registerCreatureEvent(cid, "tpquest") registerCreatureEvent(cid, "CombatDodge") registerCreatureEvent(cid, "recompensa") registerCreatureEvent(cid, "SkullAmulet") registerCreatureEvent(cid, "BountyHunter") registerCreatureEvent(cid, "PlayerDeath") registerCreatureEvent(cid, "rewardpoints") registerCreatureEvent(cid, "autoloot") registerCreatureEvent(cid, "Auto Loot") registerCreatureEvent(cid, "RecordIp") if (InitArenaScript ~= 0) then InitArenaScript = 1 -- make arena rooms free for i = 42300, 42309 do setGlobalStorageValue(i, 0) setGlobalStorageValue(i+100, 0) end end registerCreatureEvent(cid, "Mail") if(getPlayerOperatingSystem(cid) >= CLIENTOS_OTCLIENT_LINUX) then registerCreatureEvent(cid, "ExtendedOpcode") end registerCreatureEvent(cid, "ReportBug") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") end registerCreatureEvent(cid, "GuildEvents") registerCreatureEvent(cid, "critical") registerCreatureEvent(cid, "BroadDeath") registerCreatureEvent(cid, "AdvanceSave") registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "fraglook") registerCreatureEvent(cid, "blesscheck") registerCreatureEvent(cid, "DeathBroadcast") registerCreatureEvent(cid, "addons") registerCreatureEvent(cid, "onPrepareDeath") registerCreatureEvent(cid, "fraglook") registerCreatureEvent(cid, "antimb") registerCreatureEvent(cid, "antimagebomb") registerCreatureEvent(cid, "FimVip") registerCreatureEvent(cid, "ExpVip") registerCreatureEvent(cid, "VipReceive") registerCreatureEvent(cid, "redSkullAmulet") registerCreatureEvent(cid, "FullHpMana") registerCreatureEvent(cid, "killitem") registerCreatureEvent(cid, "huntdeath") registerCreatureEvent(cid, "loguthunt") registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "CastleExp") registerCreatureEvent(cid, "AdvEffect") registerCreatureEvent(cid, "dodge") registerCreatureEvent(cid, "town") registerCreatureEvent(cid, "recompensaLvl") if getPlayerStorageValue(cid, 48902) == -1 then setPlayerStorageValue(cid, 48902, 0) end registerCreatureEvent(cid, "critical") if getPlayerName(cid) == "Account Manager" and #getPlayersByIp(getPlayerIp(cid)) > 10 then return false end if getPlayerSlotItem(cid, 2).itemid == 7889 then doPlayerAddBlessing(cid, 1) doPlayerAddBlessing(cid, 2) doPlayerAddBlessing(cid, 3) doPlayerAddBlessing(cid, 4) doPlayerAddBlessing(cid, 5) doSendMagicEffect(getPlayerPosition(cid), 49) else doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end if getPlayerStorageValue(cid, 48903) == -1 and getPlayerStorageValue(cid, 48902) == -1 then setPlayerStorageValue(cid, 48903, 0) setPlayerStorageValue(cid, 48902, 0) end return true end
  21. Pedro. postou uma resposta no tópico em Websites
    Gesior. WAEIUHAWIUEHUWAHEIUWAE, valeu irmão! Preciso baixar um ativador heuaheuaheua!
  22. A tabela que te mandei era do outro erro, quero saber se o outro parou, esse o gabriel ja mandou a função.
  23. pegou não o que? não conseguiu adicionar ou tá dando o mesmo erro? ou mudou o erro.

Informação Importante

Confirmação de Termo