Ximboliex 86 Report post Posted August 20, 2016 (edited) Hi Guys, I need lines of GameServer.exe of skilleffect.txt and skillinfo.txt PKO 2.4 @V3ct0r -Thanks for Support Edited August 20, 2016 by Ximboliex Quote Share this post Link to post Share on other sites
Totoka 152 Report post Posted August 20, 2016 (edited) skilleffect skillinfo Edited August 20, 2016 by Totoka 5 Quote Discord: andresc Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted August 21, 2016 10 часов назад, Ximboliex сказал: Hi Guys, I need lines of GameServer.exe of skilleffect.txt and skillinfo.txt PKO 2.4 @V3ct0r -Thanks for Support if you don't know how to use OllyDbg but you know how to use HEX editor. You can see addresses in GameServer.exe file from @Totoka's screenshots. skillinfo.txt: 0x000e355d (0x004e355C - 0x00400000 + 1 ). 25816 is 60010 in decimal. Open your GameServer.exe in HEX editor and go to address 0x000e355d. skilleff.txt is similarly 5 Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites
Angelix 374 Report post Posted August 21, 2016 Can you post the address for Game.exe? Thanks! Quote Share this post Link to post Share on other sites
Totoka 152 Report post Posted August 22, 2016 46 minutes ago, Angelix said: Can you post the address for Game.exe? Thanks! Game.exe 2 Quote Discord: andresc Share this post Link to post Share on other sites
Angelix 374 Report post Posted August 22, 2016 (edited) Thank you very much! I have already edited my GameServer (SkillInfo, SkillEff and ItemInfo), just need to finish on Game (SkillInfo and SkillEff), need for ItemInfo. Does StoneInfo/MapInfo have limits? EDIT: Already found my ItemInfo limit, it was 10,000 and changed it to 20,000. Thanks! Edited August 22, 2016 by Angelix Quote Share this post Link to post Share on other sites
Totoka 152 Report post Posted August 22, 2016 53 minutes ago, Angelix said: Thank you very much! I have already edited my GameServer (SkillInfo, SkillEff and ItemInfo), just need to finish on Game (SkillInfo and SkillEff), need for ItemInfo. Does StoneInfo/MapInfo have limits? Dunno, I Will provide those offsets/references, but they have a different pattern, and also different allocator (2 function arguments instead of 3), can you check it ? here game.exe: 2 Quote Discord: andresc Share this post Link to post Share on other sites
Angelix 374 Report post Posted August 22, 2016 (edited) 59 minutes ago, Totoka said: Dunno, I Will provide those offsets/references, but they have a different pattern, and also different allocator (2 function arguments instead of 3), can you check it ? here game.exe: Yes, for MapInfo that is correct, I was only able to raise up to 125 (7D), tried putting 150 (96) and Compiler(Game.exe) crashed. Will try testing for StoneInfo. EDIT: Same goes for StoneInfo, anything higher than 125 (7D) will result in a crash I think, also tried placing 150 (96) and it crashed. Thanks! Edited August 22, 2016 by Angelix 1 Quote Share this post Link to post Share on other sites
Guest Report post Posted August 22, 2016 Skilleff reacts weird to hexing. Let me know if you succeeded hexing it. @Angelix Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted August 22, 2016 52 минуты назад, V1tor сказал: Skilleff reacts weird to hexing. Let me know if you succeeded hexing it. @Angelix Do you mean the problem when there is no effects for IDs > 199? @Totoka you have found right address 0x0041DC55 push 64h ; nIDCnt 0x0041DC57 push 0 ; nIDStart 0x0041DC59 mov ecx, eax ; this 0x0041DC5B call ??0CStoneSet@@QAE@HH@Z ; CStoneSet::CStoneSet(int, int) to use IDs > 0x7D we should use long form of push (opcode = 0x68). So we have to go to code cave, because the long push takes more bytes Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites
Angelix 374 Report post Posted August 22, 2016 2 hours ago, V1tor said: Skilleff reacts weird to hexing. Let me know if you succeeded hexing it. @Angelix Well I was able to use hex and edit both GameServer and Game to new limits. I hexed GameServer and set ItemInfo/CharacterInfo to 20K and SkillEff/SkillInfo to 5K. Opened up each text file and placing a line with that number and it failed, but when using the limit minus one (ex: 19,999, or 5,999 for SkillEff and SkillInfo), no errors showed up. Same goes for Game when compiling using "table _bin". I have yet to actually go in-game and test if it actually works, so far it got through the compiler. Quote Share this post Link to post Share on other sites
Totoka 152 Report post Posted August 22, 2016 1 hour ago, V3ct0r said: Do you mean the problem when there is no effects for IDs > 199? @Totoka you have found right address 0x0041DC55 push 64h ; nIDCnt 0x0041DC57 push 0 ; nIDStart 0x0041DC59 mov ecx, eax ; this 0x0041DC5B call ??0CStoneSet@@QAE@HH@Z ; CStoneSet::CStoneSet(int, int) to use IDs > 0x7D we should use long form of push (opcode = 0x68). So we have to go to code cave, because the long push takes more bytes there is also one more thing that i think its very important, each character and monsters probably, also have an small copy of all those skills, I don't know if those copies also comes from that magic number, but I think no; hope yes. If that's the case, this maybe can come up with an overflow, ( random crash probably ). this shall be checked Quote Discord: andresc Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted August 22, 2016 21 минуту назад, Totoka сказал: there is also one more thing that i think its very important, each character and monsters probably, also have an small copy of all those skills, I don't know if those copies also comes from that magic number, but I think no; hope yes. If that's the case, this maybe can come up with an overflow, ( random crash probably ). this shall be checked I don't understand you sorry. We can't use values more then 0x7D because they are become negative Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites
Totoka 152 Report post Posted August 22, 2016 15 minutes ago, V3ct0r said: I don't understand you sorry. We can't use values more then 0x7D because they are become negative I quote you answer without sense, sorry. I think 0x7F, but nvm, i was adding some extra info about those limit's, by changing of these limits (skillinfo especially), an overflow can come up. not sure Quote Discord: andresc Share this post Link to post Share on other sites
Guest Report post Posted August 22, 2016 @Angelix , when I hexed my skilleff I had no errors, too. However, effects still didn't work; @V3ct0r, exactly. Quote Share this post Link to post Share on other sites
Angelix 374 Report post Posted August 25, 2016 On 8/22/2016 at 5:32 AM, V1tor said: @Angelix , when I hexed my skilleff I had no errors, too. However, effects still didn't work; @V3ct0r, exactly. Around what number did you start getting errors? I'm kinda busy with university right now and haven't checked or modified my files since hexing the limits, when I have time, I'll give it a test and see what happens. Quote Share this post Link to post Share on other sites
Guest Report post Posted August 25, 2016 18 minutes ago, Angelix said: Around what number did you start getting errors? I'm kinda busy with university right now and haven't checked or modified my files since hexing the limits, when I have time, I'll give it a test and see what happens. Anything beyond current limit (which is 240 I believe). Quote Share this post Link to post Share on other sites
Vasil 71 Report post Posted August 25, 2016 What hex editor you guys are using? Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted August 25, 2016 @Vasil I use HxD 1 Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites
Lucky 65 Report post Posted August 25, 2016 3 hours ago, V1tor said: Anything beyond current limit (which is 240 I believe). PKO2.4 limit is 254 Quote Share this post Link to post Share on other sites
Angelix 374 Report post Posted August 28, 2016 So apparently I tried add a skill and effect beyond normal limits and when I try to add them in-game, it just says that skill doesn't exist. So is there any way to increase limit beyond that? Quote Share this post Link to post Share on other sites
Totoka 152 Report post Posted August 28, 2016 (edited) On 22/08/2016 at 7:38 AM, Totoka said: there is also one more thing that i think its very important, each character and monsters probably, also have an small copy of all those skills, I don't know if those copies also comes from that magic number, but I think no; hope yes. If that's the case, this maybe can come up with an overflow, ( random crash probably ). this shall be checked Skillinfo under gameserver binary would be a very hard work to do, CCharacter structure should be changed, it means that any relative offset pointed to a character, also should be moved forward. this increases the allocation limit( for global proposes ). it will allow the gameserver to handle these skills. But for characters there is also an internal structure which holds the level and some other unique info. Dunno if kop1 was like that, but looking at the source, could be a hard task. Edited August 28, 2016 by Totoka Quote Discord: andresc Share this post Link to post Share on other sites
mkhzaleh 132 Report post Posted April 14, 2017 On 8/21/2016 at 2:10 AM, Totoka said: skilleffect helo guys i try find the right address but OllyDbg don't work with me and idk how go to this address in hxd i found this one for skilleffect but which one is the right one and i found the address skillinfo.txt from @V3ct0r comment can u help me to find skilleffect + iteminfo +same for game.exe 2.4 (skilleffect + iteminfo+skillinfo) and thx Quote Share this post Link to post Share on other sites
mkhzaleh 132 Report post Posted April 15, 2017 CAN SOMEONE put the address in hxd? (iteminfo/skilleffect) or how to convert the address from ollydbg to hxd? cuz i can't save my editing in ollydbg @V3ct0r @Totoka and thx Quote Share this post Link to post Share on other sites
Wrexor 61 Report post Posted April 15, 2017 4 hours ago, mkhzaleh said: CAN SOMEONE put the address in hxd? (iteminfo/skilleffect) or how to convert the address from ollydbg to hxd? cuz i can't save my editing in ollydbg @V3ct0r @Totoka and thx Usually it's -0x400000. If you have address 0x4D0420 in ollydbg that should be 0xD0420 in hex editor. 1 Quote Share this post Link to post Share on other sites