Ir para conteúdo

Fir3element

Héroi
  • Registro em

  • Última visita

Tudo que Fir3element postou

  1. tenta isso aq: bool Player::canWalkthrough(const Creature* creature) const { if(creature == this || hasCustomFlag(PlayerCustomFlag_CanWalkthrough) || creature->isWalkable() || (creature->getMaster() && creature->getMaster() != this && canWalkthrough(creature->getMaster()))) return true; const Player* player = creature->getPlayer(); if(!player) return false; if((((g_game.getWorldType() == WORLDTYPE_OPTIONAL && #ifdef __WAR_SYSTEM__ !player->isEnemy(this, true) && #endif player->getVocation()->isAttackable()) || player->getTile()->hasFlag(TILESTATE_PROTECTIONZONE) || (player->getVocation()->isAttackable() && player->getLevel() < (uint32_t)g_config.getNumber(ConfigManager::PROTECTION_LEVEL))) && player->getTile()->ground && Item::items[player->getTile()->ground->getID()].walkStack) && (!player->hasCustomFlag(PlayerCustomFlag_GamemasterPrivileges) || player->getAccess() <= getAccess())) return true; return (player->isGhost() && getGhostAccess() < player->getGhostAccess()) || (isGhost() && getGhostAccess() > player->getGhostAccess()); }
  2. andar por cima dos players é na função canWalkthrough (player.cpp) hp/mana por % tem q fazer essas alterações: protocolgame.cpp, substitua: msg->put<uint16_t>(player->getHealth()); msg->put<uint16_t>(player->getPlayerInfo(PLAYERINFO_MAXHEALTH)); por: if (player->getPlayerInfo(PLAYERINFO_MAXHEALTH) > 0) { msg->put<uint16_t>(uint16_t(player->getHealth() * 100 / player->getPlayerInfo(PLAYERINFO_MAXHEALTH))); msg->put<uint16_t>(100); } else { msg->put<uint16_t>(0); msg->put<uint16_t>(0); } substitua: msg->put<uint16_t>(player->getPlayerInfo(PLAYERINFO_MANA)); msg->put<uint16_t>(player->getPlayerInfo(PLAYERINFO_MAXMANA)); por: if (player->getPlayerInfo(PLAYERINFO_MAXMANA) > 0) { msg->put<uint16_t>(player->getPlayerInfo(PLAYERINFO_MANA) * 100 / player->getPlayerInfo(PLAYERINFO_MAXMANA)); msg->put<uint16_t>(100); } else { msg->put<uint16_t>(0); msg->put<uint16_t>(0); }
  3. no 0.4 já tem isso, é só configurar o pz level no config.lua
  4. function onLogin(cid) local rate = 1.5 -- 50% local config = { welvip = "você tem "..((rate - 1)*100).."% de exp a mais agora!", not_vip = "Vips ganham "..((rate - 1)*100).."% a mais de experiencia!", s = 13500 -- storage vip } if getPlayerStorageValue(cid, config.s) - os.time() >= 1 then doPlayerSetExperienceRate(cid, getPlayerRates(cid)[8] * rate) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.welvip) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.not_vip) end return true end
  5. claro, roda muito bem no linux n adianta alguém compilar pra vc, vai ter q instalar as libs e o gcc (n tenho ctz) de qualquer jeito, então melhor fazer vc mesmo qual linux vc ta usando e qual erro ta aparecendo? recomendo ubuntu 10.04, source antiga é uma merda pra usar nas versões atuais
  6. try http://www.microsoft.com/en-us/download/details.aspx?id=40784 windows 7?
  7. https://www.mediafire.com/?9h9zjfz7ulahcse
  8. http://www.tibiaking.com/forum/topic/53099-1076-tfs-11-addons-e-mounts/
  9. afinal, pra q querem usar o 1.0? sem esse papo de q release é mais estável pq n é verdade aheuheau, tem mts bugs usa algo atualizado pow (1.1, last rev)
  10. modern acc tbm n é seguro n, n me lembro bem mas tem mais falhas q o gesior da uma olhada nessa page do shop ai... hackear o dedicado acho pouco provável
  11. Acho que ele não dá tanta importância assim não... tem algo chamado DDoS tb, resolve a maioria dos problemas HSUAHSA
  12. ta tentando abrir 2 ots ao mesmo tempo, ai n vai mesmo...
  13. Semelhante a função dos bots n é?
  14. Sim mas ainda falta arrumar algumas coisas... Bless tbm acho q n vai funcionar
  15. Os floors estão bugados, e não tem outro jeito de fazer sem remover a autenticação?
  16. Tem como sim, mas não é algo que vc vai querer aprender xD
  17. Fir3element respondeu ao post em um tópico de WilsonK em Suporte & Pedidos
    achei a estrutura mt dhr, só os detalhes dentro das casas q ficou +-
  18. Fir3element respondeu ao post em um tópico de Emersonssss em Códigos C++
  19. na source, em items.cpp remova essas linhas: else if(Items::dwMinorVersion != CLIENT_VERSION_861) { std::clog << "[Error - Items::loadFromOtb] Another (client) version of items.otb is required." << std::endl; return ERROR_INVALID_FORMAT; }
  20. config.php adiciona isso aq: $config['site']['access_tickers'] = 3;
  21. posta seu config.lua
  22. cara modifiquei uma faz mt tempo acho q era do robinhood, dá uma procurada ai
  23. n, n são do seu ot os efeitos q tem é os q ja vem no tibia, não tem nenhum efeito novo não vai fazer diferença eu compilar, vc tem q achar outra source
  24. como assim invisivel? e pq vc perderia os effects se esse sistema n altera qse nd? ta usando source diferente da original...

Informação Importante

Confirmação de Termo