|
You last visited: Today at 01:46
Advertisement
[WIP] Get SRO Source Code - by re-writing it
Discussion on [WIP] Get SRO Source Code - by re-writing it within the SRO Coding Corner forum part of the Silkroad Online category.
10/25/2020, 00:59
|
#241
|
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,471
|
Quote:
Originally Posted by mudik
@ ist das hier auch von def_kit?
|
Nope, that's not in DevKit, yet. Maybe someone could contribute it
Was kinda bored. Here it is
|
|
|
11/02/2020, 11:40
|
#242
|
elite*gold: 0
Join Date: May 2020
Posts: 70
Received Thanks: 6
|
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
|
#243
|
elite*gold: 0
Join Date: Oct 2020
Posts: 22
Received Thanks: 8
|
Quote:
Originally Posted by florian0
Nope, that's not in DevKit, yet. Maybe someone could contribute it
Was kinda bored. Here it is
|
Hiho flo, i appreciate all your efforts, but you totally forgot to change function names,
-- >
TO
-- >
Thanks for the contribution tho!
|
|
|
11/02/2020, 16:26
|
#244
|
elite*gold: 0
Join Date: Mar 2010
Posts: 565
Received Thanks: 226
|
Quote:
Originally Posted by WolfgangNeverDie
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
good luck
|
|
|
11/02/2020, 17:04
|
#245
|
elite*gold: 0
Join Date: May 2020
Posts: 70
Received Thanks: 6
|
Quote:
Originally Posted by khaleed2010
Hello,
You should read it completely and recycle it
Example:
0x300C | AGENT_GAME_NOTIFY
good luck
|
Thank's you.!
But how can i find offset which call function i need
Like 0x0086FCDD
|
|
|
11/02/2020, 18:03
|
#246
|
elite*gold: 0
Join Date: Oct 2020
Posts: 22
Received Thanks: 8
|
Quote:
Originally Posted by WolfgangNeverDie
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
|
#247
|
elite*gold: 0
Join Date: May 2020
Posts: 70
Received Thanks: 6
|
Quote:
Originally Posted by paul_0
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
|
#248
|
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,471
|
Quote:
Originally Posted by paul_0
Hiho flo, i appreciate all your efforts, but you totally forgot to change function names,
-- >
TO
-- >
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
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).
There is a list of all msgids and the handler function.
|
|
|
11/03/2020, 04:30
|
#249
|
elite*gold: 0
Join Date: May 2020
Posts: 70
Received Thanks: 6
|
Quote:
Originally Posted by florian0
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).
There is a list of all msgids and the handler function.
|
Thank's you! Now i can see
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
|
#250
|
elite*gold: 53
Join Date: Jul 2012
Posts: 538
Received Thanks: 186
|
Quote:
Originally Posted by florian0
Nope, that's not in DevKit, yet. Maybe someone could contribute it
Was kinda bored. Here it is
|
hello @ 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
|
|
|
11/10/2020, 13:51
|
#251
|
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,471
|
Quote:
Originally Posted by WolfgangNeverDie
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
hello @ 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:
"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
|
#252
|
elite*gold: 0
Join Date: May 2020
Posts: 70
Received Thanks: 6
|
Quote:
Originally Posted by florian0
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 . I want to make ingame Auto Bot
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
|
#253
|
elite*gold: 53
Join Date: Jul 2012
Posts: 538
Received Thanks: 186
|
Quote:
Originally Posted by florian0
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:
"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 @ , 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);
}
but I add it and the problem continues
|
|
|
11/10/2020, 17:36
|
#254
|
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,471
|
Quote:
Originally Posted by esteve458
Thanks @ , 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
|
#255
|
elite*gold: 0
Join Date: Oct 2020
Posts: 22
Received Thanks: 8
|
Quote:
Originally Posted by esteve458
Thanks @ , 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);
}
but I add it and the problem continues
|
same here
|
|
|
|
|
Similar Threads
|
[Source] Fix the old exp bar - by writing code!
05/17/2020 - SRO PServer Guides & Releases - 18 Replies
Hello beloved, dead community,
its time for another release. Its more of a proof of concept and I hope it might inspire people to continue working on it. You don't need the source to accomplish cool things. Just write your own source.
http://i.epvpimg.com/d7hJbab.png
Ye, its super ugly looking. I choose to be a coder, not a designer. I'd be happy, if someone supplies me a proper version of the 2dt and ddj files so I can update this embarrassing screenshot.
Anyway. It allows you to...
|
[Release/WIP]EP6 Source code
04/15/2018 - Shaiya PServer Guides & Releases - 33 Replies
Hi guys,
First of all, I want to say that this release is not recommended for public servers yet. Shortly ago I changed my server to ep6 using shen1l's pet.dll, the server crashed every day, after checking the dump files I discovered that the problem was in pet.dll, but without the source code it would be harder to find the cause of the problem. So I decided to start a project and release the source code for everyone, so that everyone can solve their problems more easily, and also so that...
|
[C++ Source] My Free Farm Bot [WIP]
06/28/2011 - Browsergames - 0 Replies
I decided to release this on here as i have no more use for it and no intention to continue the project.
I am releasing 2 projects: One basic library for mff called libmff(although it is not really a library) there is an example on how to use it in the package.
And a helper with a fancy gui.
Note that there is almost no error checking on the helper and that it crashes if you for example forget to select a product.
You need libcurl and boost for both and GWEN(the gui toolkit by garry) for...
|
All times are GMT +2. The time now is 01:46.
|
|