vSRO Running Old Systems

07/09/2023 16:21 1turkvar#1
SRO_ClientLib.dll SRC
v1.0
1- Patch Client
-Lv Cap, Skill Cap, Max Skill, Party Match, GM Console Key, Loading Reolution, Old Underbor Cos Button UI
[Only registered and activated users can see links. Click Here To Register...]
2- Old Login Screen

v1.1
3- Old Alchemy
4- Old Mainpop Wnd
5- Old Item Tool Tip
6- Old Under Bar
7- Old Target Wnd


__________________________________________________ ____________________________
1- Old Login -> Sector1337
2- Old Alchemy ->Sector1337
3- Old Tooltip ->Sector1337
4- Old Underbar ->florian0
5- Old MainPop -> My Code
6- Old Mercenary -> gmhasan13
7- Old Target -> goaway

not sure it's working
1- Old Chat
2- Old Item Mall
3- 3Job System

I want to combine them into one topic. I would appreciate if you share the link of the systems that you are sure are working, such as the Old Item Mall.
07/09/2023 20:28 gmhasan13#2
6- Old Mercenary


--King, I will answer in English because we are in a foreign forum Old Mercenary I fixed it like this


07/09/2023 20:32 1turkvar#3
Quote:
Originally Posted by gmhasan13 View Post
6- Old Mercenary


--King, I will answer in English because we are in a foreign forum Old Mercenary I fixed it like this



my solution
07/09/2023 22:06 gmhasan13#4
Quote:
Originally Posted by 1turkvar View Post
my solution
Why are you throwing so much
07/10/2023 03:55 ZαKuRα#5
I actually saw the old item mall working
07/10/2023 09:17 SubZero**#6
Quote:
Originally Posted by ZαKuRα View Post
I actually saw the old item mall working
and old 3 job bro :D

5- Old MainPop -> My Code
as i remember that florian0 who share the guide to enable it

Edit:
goaway shared some of his f8lib [Only registered and activated users can see links. Click Here To Register...]
07/10/2023 19:20 1turkvar#7
Quote:
Originally Posted by SubZero** View Post
and old 3 job bro :D

5- Old MainPop -> My Code
as i remember that florian0 who share the guide to enable it

Edit:
goaway shared some of his f8lib [Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

I posted about this and then the code was reversed.

My code.

Quote:
Originally Posted by ZαKuRα View Post
I actually saw the old item mall working
Would you like to share the resinfo and code snippet to the topic?

[Only registered and activated users can see links. Click Here To Register...]

Visually more aesthetic

Code

Quote:
Originally Posted by SubZero** View Post
and old 3 job bro :D

5- Old MainPop -> My Code
as i remember that florian0 who share the guide to enable it

Edit:
goaway shared some of his f8lib [Only registered and activated users can see links. Click Here To Register...]
Can you give information about the working logic of 3Job? What changes need to be made etc.

Quote:
Originally Posted by gmhasan13 View Post
Why are you throwing so much
How? Most systems have already been shared. I just aim to unite the shared under one roof.
07/10/2023 20:04 Judgelemental#8
Quote:
Originally Posted by 1turkvar View Post
.
Hello
I THINK (I'm not sure) this client has the old res_ui & resinfo of :
-old mall
-old options
-old quest
-old whatever else

This is the client that has everything old-school but unfortunately it's f8lib filter locked
[Only registered and activated users can see links. Click Here To Register...]

I have also attached res_ui and resinfo
[Only registered and activated users can see links. Click Here To Register...]
07/10/2023 20:26 1turkvar#9
Quote:
Originally Posted by Judgelemental View Post
Hello
I THINK (I'm not sure) this client has the old res_ui & resinfo of :
-old mall
-old options
-old quest
-old whatever else

This is the client that has everything old-school but unfortunately it's f8lib filter locked
[Only registered and activated users can see links. Click Here To Register...]

I have also attached res_ui and resinfo
[Only registered and activated users can see links. Click Here To Register...]
It is necessary to make a single client and dll structure by doing a good work on the old system.
07/11/2023 10:16 gmhasan13#10
Quote:
How? Most systems have already been shared. I just aim to unite the shared under one roof.
I mean why are you throwing so many NOPs?
07/14/2023 11:29 qoaway#11
Quote:
Originally Posted by ZαKuRα View Post
I actually saw the old item mall working
Quote:
Originally Posted by SubZero** View Post
and old 3 job bro :D

5- Old MainPop -> My Code
as i remember that florian0 who share the guide to enable it

Edit:
goaway shared some of his f8lib [Only registered and activated users can see links. Click Here To Register...]
while reading the thread, I remembered the issues with old item mall and how I approached them

1-you need resinfo patch, and you can take from silkroad royale client with no problems
2-apply patches from my gist
3-order your item mall items' slot 0 to n in your database & textdata otherwise, you have empty slots in client as I remember (I mean don't jump like slotindex 3 to 6, use 0-1-2-3-4-5-6)
4-load refpackage tables to your filter
5-my patches does not only change appearance of item mall, it activates the existing old item mall since that server response will crash your client. To prevent that in your filter read 0xb034 type 0x18 message, it contains package groupId tabId and slotId, find all items related to this package and send the corresponding b034 type 6 (pick up) message to client, you also have to send 0xb034 0x02 0x18 0x01 message to be able continue play the game after buying from item mall

step 5 might be exhausting. I did it just straightforward since I already have this kind of functionality, but If you have or find the correct response for old item mall packet handler (ecsro files could help, but they have different shopdata or just use a debugger and debug the crash) step 4 and 5 might not be necessary you can just modify the 0xb034 type 0x18, and that's it.

edit:
you must also set a variable on client when 0xb034 0x02 0x18 0x01 received like following (I guess I added this message, so you must not route this message to client otherwise probably crashes)

(directly copying from f8lib)

Quote:
uint32_t(__thiscall *GetItemMallWnd)(void *) = (decltype(GetItemMallWnd))0x007995E0;
uint32_t ecx = GetItemMallWnd(reinterpret_cast<void *>(*(DWORD *)0x110F80C));
if (ecx)
{
*reinterpret_cast<uint32_t *>(ecx + 0x81C) = 0;
}
edit2 extra:

ecsro like yes no prompt when closing your buffs, also useful for bard tumble bug abusers

Quote:
char* patch_yesno_enter = "\x90\x90\x90\x90\x90\x90\x90";
SroPP::detail::MemoryHack::CopyBytes(0x00644A44, patch_yesno_enter, 7);
uint8_t patch_yesno[] = { 0x83, 0xBE, 0x94, 0x01, 0x00, 0x00, 0x00, 0x75, 0x5C };
SroPP::detail::MemoryHack::CopyBytes(0x00800979, patch_yesno, 9);
07/15/2023 12:32 1turkvar#12
collecting most old systems in one file.
07/15/2023 19:32 gmhasan13#13
Quote:
Originally Posted by 1turkvar View Post
collecting most old systems in one file.
Thanks for this, it looks good, those who don't know will ask a lot of questions
07/20/2023 23:49 ByEfexor#14
Can anyone solve the item mall and the old job system?
07/21/2023 17:06 1turkvar#15
I have a lot of time working on it