-
Content Count
2,887 -
Joined
-
Last visited
-
Days Won
519
Everything posted by V3ct0r
-
Nice logos
-
@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
-
Source code - Undefined identifiers in MindPower3D
V3ct0r replied to Snre3n's topic in Questions & Help
Hello @Snre3n You can use both ways. What version of VS are you using? Try to use VS 2008 -
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
-
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).
-
@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.
-
@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
-
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?
-
It means administrators can decide take the user to a group or refuse. Even if all other conditions are met
-
В 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
-
The problem has been solved. Sorry for inconvenience!
-
@Dimitrov I will think if you are worthy of this rank. Since you shared another's server files and account to RDP
-
Is anybody interested in making a server nowadays...?
V3ct0r replied to a topic in Shared Projects / Team search
Also @V1tor is great map maker. Highly recommend him -
Hello @Shako! The problem has been solved. Sorry for inconvenience!
-
В доступе есть? Тот гайд выкладывал я на МД. Это был не гайд, а тема по коллективной разработке защиты от WPE/RPE и подмены пакетов. Далее я решил сделать эту защиту закрытой и потер тему. Рассказывать как она работает я не собираюсь.
-
@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.
-
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
-
@Syfax Hello! What is the problem?
-
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.
-
Credits to @Xeon
-
It is easy to falsify / change MAC address. For example in the login packet.
-
@BETEP/macs509 спасибо! Обновил ссылку в шапке
-
Привет, @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>