Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server > SRO PServer Guides & Releases
You last visited: Today at 17:45

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Non-Mini Release] Rewriting Client Notification Handler

Discussion on [Non-Mini Release] Rewriting Client Notification Handler within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,097
Received Thanks: 889
[Non-Mini Release] Rewriting Client Notification Handler

Hey there,

Been a while since I released anything, and I was planning to release this once I'm done with it.

After my last about similar topic, I wasn't really satisfied, so I decided to re-write the whole notification handler, aka fyll 0x300C | AGENT_GAME_NOTIFY

This personally took me a while, since the function isn't that small and I was kinda lazy about it too.


TF IS THIS: This is a re-written handler for in-game notifications, you can use this to customize a lot of things like unique notifications.

You can make notifications for new uniques, change the color, do whatever you want with it or any other notifications, you can even create new types.

Code Snippets:






Copyrights: Feel free to do tf you want with it.
Download: Attached below.

NOTE: Any addresses given above were found on VSRO 1.88 sro_client, so they are most likely different on any other version.
NOTE: Structures found in the files are for VC80 libs, back when strings were 28 bytes. You'll face errors, if you work with any later compiler.
NOTE: Always compile on Release!

NOTE: This handler is missing a single type case, I'm not sure what the type was, but anyways if you face a crash and the dump file ends with a detail like:
Code:
ASSERT("(CPSMission) MSGID:0x300C,R(?),W(?),(덜뺏음)"), ?, d:\vss-od\silkroad\client\client\MsgStreamBuffer.h
then thats because of the missing type.

I'll update it with the missing type as soon as I have some free time.

Good luck.
Attached Files
File Type: rar SRC.rar (14.2 KB, 406 views)
#HB is offline  
Thanks
23 Users
Old 09/03/2020, 20:11   #2
 
elite*gold: 0
Join Date: Mar 2010
Posts: 564
Received Thanks: 226
I was doing this idea to a page uniques active & dead

good job
Laag#82 is offline  
Old 09/03/2020, 20:55   #3
 
elite*gold: 0
Join Date: Apr 2012
Posts: 263
Received Thanks: 267
Quote:
Originally Posted by khaleed2010 View Post
I was doing this idea to a page uniques active & dead

good job

His release caused me to rewrite the project. it was great

Quote:
Originally Posted by #HB View Post
Hey there,

Been a while since I released anything, and I was planning to release this once I'm done with it.

After my last about similar topic, I wasn't really satisfied, so I decided to re-write the whole notification handler, aka fyll 0x300C | AGENT_GAME_NOTIFY

This personally took me a while, since the function isn't that small and I was kinda lazy about it too.

TF IS THIS: This is a re-written handler for in-game notifications, you can use this to customize a lot of things like unique notifications.

You can make notifications for new uniques, change the color, do whatever you want with it or any other notifications, you can even create new types.

Code Snippets:






Copyrights: Feel free to do tf you want with it.
Download: Attached below.

NOTE: Any addresses given above were found on VSRO 1.88 sro_client, so they are most likely different on any other version.
NOTE: Structures found in the files are for VC80 libs, back when strings were 28 bytes. You'll face errors, if you work with any later compiler.
NOTE: Always compile on Release!

NOTE: This handler is missing a single type case, I'm not sure what the type was, but anyways if you face a crash and the dump file ends with a detail like:
Code:
ASSERT("(CPSMission) MSGID:0x300C,R(?),W(?),(덜뺏음)"), ?, d:\vss-od\silkroad\client\client\MsgStreamBuffer.h
then thats because of the missing type.

I'll update it with the missing type as soon as I have some free time.

Good luck.

expect the next release to change the title color
thanks so much
thaidu0ngpr0 is offline  
Old 09/03/2020, 22:15   #4
 
elite*gold: 0
Join Date: Apr 2020
Posts: 79
Received Thanks: 42
awesome as always!
thanks for sharing buddy.
irockalone is offline  
Old 09/04/2020, 00:46   #5
 
elite*gold: 0
Join Date: Dec 2009
Posts: 386
Received Thanks: 88
Thank you. One question why you not work with def_kit I mean why you not add this all on def kit for not spam silkroad folder with dll‘s. just ask out of curiosity
mudik is offline  
Old 09/05/2020, 02:40   #6
 
.Network's Avatar
 
elite*gold: 0
Join Date: Dec 2014
Posts: 177
Received Thanks: 121
Sro Client not started once i inject dll in it
I think there's an error in dll
.Network is online now  
Old 09/07/2020, 08:37   #7
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,221
Received Thanks: 1,457
if i kill a unique this error appear
NorseGodTyr is offline  
Old 09/07/2020, 11:42   #8


 
*Deadly's Avatar
 
elite*gold: 213
Join Date: Feb 2020
Posts: 401
Received Thanks: 189
Amazing as always, works prefectly.
*Deadly is offline  
Old 09/10/2020, 15:43   #9
 
elite*gold: 0
Join Date: Dec 2013
Posts: 63
Received Thanks: 6
Please sro_dev where add?
gmhasan13 is offline  
Old 09/11/2020, 09:29   #10
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,097
Received Thanks: 889
Quote:
Originally Posted by GameRPoP View Post
??

Quote:
Originally Posted by NorseGodTyr View Post
if i kill a unique this error appear
Well, the message says "stack around the variable 'buffer' is corrupted", so you can check that variable.

My guess is that your message is too long that it exceeds buffer limit, IDK.
#HB is offline  
Old 09/11/2020, 10:42   #11
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,221
Received Thanks: 1,457
Quote:
Originally Posted by #HB View Post
??



Well, the message says "stack around the variable 'buffer' is corrupted", so you can check that variable.

My guess is that your message is too long that it exceeds buffer limit, IDK.
for TG/Uru/Isy/Lord using the original code

UIIT_MSG_ANYONE_DEAD_TIGER_GIRL
UIIT_MSG_ANYONE_DEAD_URRUCHI
UIIT_MSG_ANYONE_DEAD_IYUTARU
UIIT_MSG_ANYONE_DEAD_BONELORD
UIIT_MSG_ANYONE_DEAD_TAHOMET

the normal spawn message work fine only if a player kill a unique get this error msg

NorseGodTyr is offline  
Old 09/11/2020, 15:10   #12
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,097
Received Thanks: 889
Hmmm works fine for me.

Your problem is here anyways:
Code:
if (chat = g_notificationhandler.GetKillNotify(uqdata->ObjNameStrID))
{
	swprintf_s(buffer, sizeof(buffer), g_textmanager->GetStringTextByCode(chat)->c_str(), KillerName.c_str());
	g_interface->ShowBlueNotify(buffer);
	sysmsg->Write(UNIQUE_KILL_SYSTEM_COLOR, buffer);
}
You have to be exceeding the buffer size or messing up arguments, ex:
#HB is offline  
Old 09/11/2020, 15:23   #13
 
elite*gold: 0
Join Date: Apr 2020
Posts: 79
Received Thanks: 42
Quote:
Originally Posted by NorseGodTyr View Post
for TG/Uru/Isy/Lord using the original code

UIIT_MSG_ANYONE_DEAD_TIGER_GIRL
UIIT_MSG_ANYONE_DEAD_URRUCHI
UIIT_MSG_ANYONE_DEAD_IYUTARU
UIIT_MSG_ANYONE_DEAD_BONELORD
UIIT_MSG_ANYONE_DEAD_TAHOMET

the normal spawn message work fine only if a player kill a unique get this error msg

what vs you're using?
irockalone is offline  
Old 09/11/2020, 17:50   #14


 
Goosxc's Avatar
 
elite*gold: 0
Join Date: Jan 2020
Posts: 242
Received Thanks: 240
My game stuck after i load monster the unique

also after i killed the unique i got the same error @norsegodtyr
Goosxc is offline  
Old 09/11/2020, 18:16   #15


 
*Deadly's Avatar
 
elite*gold: 213
Join Date: Feb 2020
Posts: 401
Received Thanks: 189
Is it possible to use some other color like the Pink, Green and Blue notifications on the middle of the screen? when I tried to change the hex color of ShowBlueNotify or Pink to something else and build, it started crashing my client the unique appears.
*Deadly is offline  
Reply


Similar Threads Similar Threads
hat jemand erfahrung mit nginx location URL Rewriting?
12/04/2014 - Web Development - 3 Replies
Hallo, hat jemand Erfahrung mit nginx URL Rewriting? Ich hab da einige fragen. Bitte melden!
[WTB] unded mini ghostly/mini panada/mini polar bear
05/07/2012 - Guild Wars Trading - 2 Replies
Hi, Would like to buy one of those pets. Make me an offer if you got one. Thanks.
[Release] Hero OnLine Notification for iPhone
03/13/2012 - General Gaming Releases - 0 Replies
Dear users i'm near the end of finishing Hero OnLine Notification for iPhone software. No you think wtf is that right ? Well i made a small piss of software that looks if your Hero OnLine Windows / Process is ON, if not then you will get an notification to your iPhone using pushme.to http://www.nexxoz.com/e107_files/public/133165932 6_1_FT0_nofication_iphone.png What you need to do is go to pushme.to make an account then go to Export widget then click on Romantic design then to the rgiht...
Texture Rewriting
11/23/2011 - Lin2 Guides & Templates - 1 Replies
http://darkmanga.irule.net/l2/l2tools.htm wer viel zeit hat kanns ja mal in deutsch übersetzen ;p l2tool könnt ihr hier saugen
Client für Novo Easy Handler v0.4.0.5?
08/17/2010 - WoW Private Server - 3 Replies
Hi Leute, da die SuFu nichts ergeben hat nun meine Frage: Wo kann ich einen Client für meinen WOW-P-Server (Novo's Easy Handler v0.4.0.5) downloaden oder einrichten? :confused: Danke im Vorraus! Euer Hacke



All times are GMT +2. The time now is 17:45.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.