Jump to content

V3ct0r

Administrators
  • Content Count

    2,827
  • Joined

  • Last visited

  • Days Won

    501

V3ct0r last won the day on December 8

V3ct0r had the most liked content!

Community Reputation

2,074 Excellent

About V3ct0r

  • Rank
    Sea Captain

Recent Profile Visitors

93,448 profile views
  1. Something related with the game protocol encryption, they are used by class NetIF.
  2. // Вывод рейтинга if (_IsShowName && _pOwn->IsPlayer()) { if (_pOwn->getGuildID()) y -= 14; static char szTextRating[32u] = { 0 }; sprintf(szTextRating, "- [%d] -", CalculateRating(_pOwn)); static const DWORD COLOR_TEXT_RATING = 0xFF00FFFF; const int nDrawX = x - (CGuiFont::s_Font.GetWidth(szTextRating) / 2); const int nDrawY = y - 28; CGuiFont::s_Font.BRender(szTextRating, nDrawX, nDrawY, COLOR_TEXT_RATING, COLOR_BLACK); } // Подсчет рейтинга inline int CalculateRating(const CCharacter* pCha) { const SGameAttr* pGameAttr = pCha->getGameAttr(); int nPowerCounter = 0; nPowerCounter += pGameAttr->get(ATTR_HP); return nPowerCounter; } Функцию CalculateRating() хорошо было бы сделать членом какого-нибудь класса, например class CHeadSay или class CCharacter. Вопрос: будет ли это работать для персонажей других игроков? Так как есть сомнения, что сервер присылает (синхронизирует) характеристики других персонажей нашему клиенту, и для других игроков рейтинг будет отображаться некорректно. Если код задумывался для отображения рейтинга только нашего персонажа, то можно заменить: if (_IsShowName && _pOwn->IsPlayer()) на: if (_IsShowName && _pOwn->IsMainCha()) Стоит учесть, что в некоторых случаях рейтинг персонажа может уйти в минус. Если говорить про ATTR_HP, то лучше взять ATTR_MXHP, и так далее. P.S. Не тестил код выше.
  3. Привет, @MADstan и @Mercer! Спасибо большое за добрые слова и что вы с нами!
  4. Привет, @Vehd! Спасибо за ответ! Хочу пожелать удачи с проектом!
  5. Маленький факт: MindPower3D_D8R.dll (библиотека движка) из официального русского клиента ("Пиратия") был пропатчен чтобы поддерживать русский язык.
  6. Hello @gunnapong, Unfortunately, I don’t have time right now to search for the necessary addresses to support your Game.exe.
  7. Hello @aoodi, You can find instructions for installing mods in this topic: I don't see the point in recording a video.
  8. Hello @SolidusZA, Sorry for the late reply, maybe it will help someone else: 1) File \pages\inc.register.php, line ~87: if (!preg_match('|^[A-Z0-9]+$|i', $password)) 2) File \pages\account\inc.changepass.php, line ~50: if ( ($length < 5 || $length > 15) || !preg_match('|^[A-Z0-9]+$|i', $old_password) ) line ~72: if(!preg_match('|^[A-Z0-9]+$|i', $new_password)) 3) File \pages\account\inc.login.php, line ~455: !preg_match('|^[A-Z0-9]+$|i', $password) ) All you need to do is modify the regular expression (|^[A-Z0-9]+$|i) for your requirements. P.S. It is a bad design, I should have written a separate function for validating passwords.
  9. Hello @StaffEN, Could you please provide more details? Maybe you're seeing errors in the system chat channel? Will the portal work if you use unmodified Game.exe and MindPower3D_D8R.dll?
  10. Hello @Mesut, The modification is designed for official 1.3x client binaries.
×
×
  • Create New...