[WIP] Get SRO Source Code - by re-writing it

10/25/2020 00:59 florian0#241
Quote:
Originally Posted by mudik View Post
@[Only registered and activated users can see links. Click Here To Register...] ist das hier auch von def_kit? [Only registered and activated users can see links. Click Here To Register...]
Nope, that's not in DevKit, yet. Maybe someone could contribute it :)

Was kinda bored. Here it is
[Only registered and activated users can see links. Click Here To Register...]
11/02/2020 11:40 WolfgangNeverDie#242
Hi florian0, #HB
When i read a packet (S->C) with "CPSMission", client can't receiver this.
Ex: When i read 0x3026 packet (handle chat packet), Client can't show messenger in chat windows.
How can i read packet without stop it.
Thank's you!
11/02/2020 15:10 paul_0#243
Quote:
Originally Posted by florian0 View Post
Nope, that's not in DevKit, yet. Maybe someone could contribute it :)

Was kinda bored. Here it is
[Only registered and activated users can see links. Click Here To Register...]
Hiho flo, i appreciate all your efforts, but you totally forgot to change function names,

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

-- > [Only registered and activated users can see links. Click Here To Register...]
Thanks for the contribution tho!
11/02/2020 16:26 Laag#82#244
Quote:
Originally Posted by WolfgangNeverDie View Post
Hi florian0, #HB
When i read a packet (S->C) with "CPSMission", client can't receiver this.
Ex: When i read 0x3026 packet (handle chat packet), Client can't show messenger in chat windows.
How can i read packet without stop it.
Thank's you!
Hello,

You should read it completely and recycle it

Example:

0x300C | AGENT_GAME_NOTIFY

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


good luck
11/02/2020 17:04 WolfgangNeverDie#245
Quote:
Originally Posted by khaleed2010 View Post
Hello,

You should read it completely and recycle it

Example:

0x300C | AGENT_GAME_NOTIFY

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


good luck
Thank's you.!
But how can i find offset which call function i need :D
Like 0x0086FCDD
11/02/2020 18:03 paul_0#246
Quote:
Originally Posted by WolfgangNeverDie View Post
Hi florian0, #HB
When i read a packet (S->C) with "CPSMission", client can't receiver this.
Ex: When i read 0x3026 packet (handle chat packet), Client can't show messenger in chat windows.
How can i read packet without stop it.
Thank's you!
0x3026 is already being handled by the devkit's netprocess, look at NetProcessIn.cpp
11/02/2020 18:33 WolfgangNeverDie#247
Quote:
Originally Posted by paul_0 View Post
0x3026 is already being handled by the devkit's netprocess, look at NetProcessIn.cpp
No no. That's example. i want to handle/parse a any packet ^^
11/02/2020 22:55 florian0#248
Quote:
Originally Posted by paul_0 View Post
Hiho flo, i appreciate all your efforts, but you totally forgot to change function names,

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

-- > [Only registered and activated users can see links. Click Here To Register...]
Thanks for the contribution tho!
Not sure what you mean. SetTooltipText is the correct name. Why should I rename it to sub_xxxx?


Quote:
Originally Posted by WolfgangNeverDie View Post
No no. That's example. i want to handle/parse a any packet ^^
All packets are currently available in CNetProcess(In/Second/Third). You also find all addresses of the original functions there. If you want to look the addresses up yourself, check out the RegisterPacketHandlers functions of each class (0086fbb0 for CNetProcessIn).

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

There is a list of all msgids and the handler function.
11/03/2020 04:30 WolfgangNeverDie#249
Quote:
Originally Posted by florian0 View Post
Not sure what you mean. SetTooltipText is the correct name. Why should I rename it to sub_xxxx?




All packets are currently available in CNetProcess(In/Second/Third). You also find all addresses of the original functions there. If you want to look the addresses up yourself, check out the RegisterPacketHandlers functions of each class (0086fbb0 for CNetProcessIn).

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

There is a list of all msgids and the handler function.
Thank's you! Now i can see :D

But #flo. I can re-write some interface, text which display in my Client. But how can i re-send something else in packet (Char UniqueID,Mob UniqueID, HP/MP etc...)
11/10/2020 10:52 XxGhostSpiriTxX#250
Quote:
Originally Posted by florian0 View Post
Nope, that's not in DevKit, yet. Maybe someone could contribute it :)

Was kinda bored. Here it is
[Only registered and activated users can see links. Click Here To Register...]
hello @[Only registered and activated users can see links. Click Here To Register...] good morning first of all thank you for your wonderful sister, thank you very much for sharing with the community, now a question because I can't activate (CIFMainPopup) I know you said it was handled by (The commit also includes a CMake option for enabling the oldschoolstyle.) (The commit also includes a CMake option for enabling the oldschool style.) but I finish downloading everything again and I don't get those options

[Only registered and activated users can see links. Click Here To Register...]
11/10/2020 13:51 florian0#251
Quote:
Originally Posted by WolfgangNeverDie View Post
But #flo. I can re-write some interface, text which display in my Client. But how can i re-send something else in packet (Char UniqueID,Mob UniqueID, HP/MP etc...)
What do you mean by "re-send". You you want to send "fake health of mob" to the client? Or do you want to receive it from the server?

Quote:
Originally Posted by esteve458 View Post
hello @[Only registered and activated users can see links. Click Here To Register...] good morning first of all thank you for your wonderful sister, thank you very much for sharing with the community, now a question because I can't activate (CIFMainPopup) I know you said it was handled by (The commit also includes a CMake option for enabling the oldschoolstyle.) (The commit also includes a CMake option for enabling the oldschool style.) but I finish downloading everything again and I don't get those options
The page I linked is a "Merge Request". All changes to the project are prepared in "Merge Requests". These changes are not part of the "devel"-Branch.
When the change is ready to be integrated into the project, the "Merge Request" is merged. After that, the changes are part of the "devel"-Branch.

The linked "Merge Request" is not merged yet, therefore it is not part of "devel". It is in a branch. You can read the branch name here:
[Only registered and activated users can see links. Click Here To Register...]

"feature/ifmainpopup" is the branch. You can clone this branch with git if you want to work with it, but be aware that it is not well tested and may have issues.

To clone it, simply change your git clone command to include
Code:
-b feature/ifmainpopup
so it looks like this

Code:
git clone -b feature/ifmainpopup --recurse-submodules https://gitlab.com/florian0/SRO_DevKit
11/10/2020 15:38 WolfgangNeverDie#252
Quote:
Originally Posted by florian0 View Post
What do you mean by "re-send". You you want to send "fake health of mob" to the client? Or do you want to receive it from the server?
Yes! Bingo. like send fake heal :D. I want to make ingame Auto Bot :D
Example. I want to read current character's HP/MP.
If I read packet 0x3057 then client won't update current HP/MP . I using function from "On3057" from NetProcessIn.
11/10/2020 17:25 XxGhostSpiriTxX#253
Quote:
Originally Posted by florian0 View Post
What do you mean by "re-send". You you want to send "fake health of mob" to the client? Or do you want to receive it from the server?



The page I linked is a "Merge Request". All changes to the project are prepared in "Merge Requests". These changes are not part of the "devel"-Branch.
When the change is ready to be integrated into the project, the "Merge Request" is merged. After that, the changes are part of the "devel"-Branch.

The linked "Merge Request" is not merged yet, therefore it is not part of "devel". It is in a branch. You can read the branch name here:
[Only registered and activated users can see links. Click Here To Register...]

"feature/ifmainpopup" is the branch. You can clone this branch with git if you want to work with it, but be aware that it is not well tested and may have issues.

To clone it, simply change your git clone command to include
Code:
-b feature/ifmainpopup
so it looks like this

Code:
git clone -b feature/ifmainpopup --recurse-submodules https://gitlab.com/florian0/SRO_DevKit
Thanks @[Only registered and activated users can see links. Click Here To Register...], I added everything and the icons came out, the only problem is that of the quest


researching the forum had to add this

(void CGInterface :: SwitchQuestWindow ()
{
return reinterpret_cast <void (__ thiscall *) (CGInterface *)> (0x007990E0) (this);
}

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

but I add it and the problem continues

[Only registered and activated users can see links. Click Here To Register...]
11/10/2020 17:36 florian0#254
Quote:
Originally Posted by esteve458 View Post
Thanks @[Only registered and activated users can see links. Click Here To Register...], I added everything and the icons came out, the only problem is that of the quest
Check CIFMainPopup::OnClick_BtnQuest
11/12/2020 15:52 paul_0#255
Quote:
Originally Posted by esteve458 View Post
Thanks @[Only registered and activated users can see links. Click Here To Register...], I added everything and the icons came out, the only problem is that of the quest


researching the forum had to add this

(void CGInterface :: SwitchQuestWindow ()
{
return reinterpret_cast <void (__ thiscall *) (CGInterface *)> (0x007990E0) (this);
}

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

but I add it and the problem continues

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