Jump to content

V3ct0r

Administrators
  • Content Count

    2,887
  • Joined

  • Last visited

  • Days Won

    519

Everything posted by V3ct0r

  1. @Angelix it is same code but a bit easier. math.mod(RandomTickVariable, 180) equals to RandomTickVariable % 180. 180 % 180 = 0 200 % 180 = 20 300 % 180 = 120 360 % 180 = 0 720 % 180 = 0 799 % 180 = 79
  2. Hello @Snre3n You can use both ways. What version of VS are you using? Try to use VS 2008
  3. Hello @Shako You can use GetMapCopyNextPlayerCha(map_copy) function for example function GetPlayerList(map) local players = {} local ply_num = GetMapCopyPlayerNum(map) BeginGetMapCopyPlayerCha(map) for i = 0, ply_num - 1, 1 do local player = GetMapCopyNextPlayerCha(map) if (ValidCha(player) == 1) then players[i] = player end end return players end
  4. Hello @Totoka! AccountServer.exe MAC address in login packet. GroupServer.exe Pin set packet; Pin change packet. GameServer.exe (not SQL inj) Party searching on the sea; Players can make monster skills (skill upgrade packet); Players can make 20lv skill (skill upgrade packet).
  5. V3ct0r

    Maps prob

    @OldHero There is function check_can_enter_xxx(role, copy_mgr), were xxx is map name. The function is defined in entry.lua for each map. You can put necessary checks here.
  6. @Angelix RandomTickVariable = 0 function map_copy_run_X(MapCopy) RandomTickVariable = RandomTickVariable + 1 if math.mod(RandomTickVariable, 180) == 0 then -- ticks every 180 seconds or 3 minutes -- do something end end
  7. This is the unspoken rule. Our community does not recognize the stolen files. It doesn't matter what administrator told to you? What you do here? Would you like so if I got into your rdp and after that released server files and your pc credentials?
  8. It means administrators can decide take the user to a group or refuse. Even if all other conditions are met
  9. В Game.exe есть строка texture\ui\loading_%i.bmp в которую вместо %i функция sprintf подставляет номер выбранной картинки. Твоя задача заменить эту строку, например на texture\ui\loading_1.bmp и отредактировать код который с ней работает. Если открыть Game.exe в отладчике и найти где используется данная строка, то там будет такой код call _rand cdq mov ecx, 9 idiv ecx inc edx push edx lea edx, [esp+154h+name] push offset aTextureUiLoadi ; "texture\\ui\\loading_%i.bmp" push edx ; char * call _sprintf add esp, 0Ch push 10h ; fuLoad push 0 ; cy push 0 ; cx push 0 ; type lea eax, [esp+160h+name] push eax ; name push 0 ; hInst call ds:LoadImageA Т.к. мы хотим убрать случайную генерацию строки, то функция sprint нам больше не нужна. Вырезаем ее. И также передаем строку напрямую в функцию LoadImage() nop nop nop nop nop nop nop nop nop nop nop ; На самом деле nop будет больше, столько сколько байт занимают вырезанные инструкции push 10h ; fuLoad push 0 ; cy push 0 ; cx push 0 ; type push offset aTextureUiLoadi ; "texture\\ui\\loading_1.bmp" push 0 ; hInst call ds:LoadImageA
  10. The problem has been solved. Sorry for inconvenience!
  11. @Dimitrov I will think if you are worthy of this rank. Since you shared another's server files and account to RDP
  12. Hello @Shako! The problem has been solved. Sorry for inconvenience!
  13. Yes I have no idea how
  14. В доступе есть? Тот гайд выкладывал я на МД. Это был не гайд, а тема по коллективной разработке защиты от WPE/RPE и подмены пакетов. Далее я решил сделать эту защиту закрытой и потер тему. Рассказывать как она работает я не собираюсь.
  15. @Fajar neck and ring are items. Items are defined in ItemInfo.txt. As @Angelix said, you can just copy existed ring or neck item line and edit their stats.
  16. Hello @nectrouler! Check how item "Grenade" (ID 1135) works. You can notice number 0329 in the 8 column from the ending in ItemInfo.txt. It is skill ID from skillinfo.txt
  17. @Syfax Hello! What is the problem?
  18. Hello @Aveatrex! What concrete script do you want to make? First of all, learn lua. You can explore / learn existing scripts and understand how to make your own.
  19. V3ct0r

    MacBanner[Tool]

    Also I think it is @Xeon's work
  20. V3ct0r

    MacBanner[Tool]

    It is easy to falsify / change MAC address. For example in the login packet.
  21. @BETEP/macs509 спасибо! Обновил ссылку в шапке
  22. Привет, @kiberhack! Тут кроме знания PHP нужно знать SQL - язык структурированных запросов. Чтобы вытащить GM-персонажей, которые онлайн, можно использовать такой запрос: SELECT c.cha_name FROM character AS c LEFT JOIN account AS a ON (a.act_id = c.act_id) WHERE c.mem_addr > 0 AND a.gm > 0 В связке с PHP это будет выглядеть например так: <?php // Данные для соединения с MSSQL-сервером $db_host = 'AMD'; $db_user = 'MDuser'; $db_pass = 'maindevru'; // Подключаемся к MSSQL-серверу... if (mssql_connect($db_host, $db_user, $db_pass) == false) { die('<b>Ошибка:</b> Невозможно подключиться к MSSQL-серверу!'); } // Выбираем базу данных GameDB if (mssql_select_db('GameDB') == false) { die('<b>Ошибка:</b> Не удалось открыть базу данных GameDB!'); } // Делаем SQL-запрос к базе данных $sql = 'SELECT c.cha_name FROM character AS c LEFT JOIN account AS a ON (a.act_id = c.act_id) WHERE c.mem_addr > 0 AND a.gm > 0'; $query = mssql_query($sql); if ($query == false) { die('<b>Ошибка:</b> Не удалось выполнить SQL-запрос на получение списка онлайн GM-персонажей!'); } // Формируем список персонажей $cha_online = array(); while ($cha = mssql_fetch_object($query)) { $cha_online[] = $cha->cha_name; } // Закрываем соединение с MSSQL-сервером (необязательно) mssql_close(); ?> <html> <head> <title>Список GM онлайн</title> </head> <body> <h1>Список GM онлайн</h1> <?php // Печатаем список персонажей foreach ($cha_online as $cha_name) { echo $cha_name . '<br />'; } ?> </body> </html>
×
×
  • Create New...