Register for your free account! | Forgot your password?

You last visited: Today at 01:55

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

Advertisement



Notify

Discussion on Notify within the SRO PServer Questions & Answers forum part of the SRO Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2020
Posts: 79
Received Thanks: 42
Notify

Hey everyone,
recently i was trying to create a notify appear after every unique kill using the 0x300c Opcode but seems like i am wrong, because on everysingle unique spawn/despawn the message appear, i want the message comes after unique despawn only, any help?
EDIT : after unique despawn, message appear for all online players.
irockalone is offline  
Old 09/17/2020, 07:42   #2
 
GameRPoP's Avatar
 
elite*gold: 0
Join Date: Sep 2020
Posts: 122
Received Thanks: 64
0x05 byte = spawn
0x06 byte = despawn
GameRPoP is offline  
Thanks
1 User
Old 09/17/2020, 07:45   #3
 
elite*gold: 0
Join Date: Apr 2020
Posts: 79
Received Thanks: 42
Quote:
Originally Posted by GameRPoP View Post
0x05 byte = spawn
0x06 byte = despawn
Thanks for your reply but sorry , i cant understand , i am a new programming student, can you share an example, not a fully solution but just an example.
irockalone is offline  
Old 09/18/2020, 01:55   #4
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,464
Quote:
Originally Posted by irockalone View Post
can you share an example, not a fully solution but just an example.
You can use HBs release as a reference.


You need to read the type first, then read the RefObjId to determine the object, if relevant.

Code:
unsigned short type;

msg >> type;

switch (type) {

  case 0xc05: { /* spawn */
    int refObjId;

    msg >> regObjId;
    
    break;
  }


If you're planning to pass the message to the original handler, you have to "rewind" it so the original handler starts at "type" and not after RefObjId.
florian0 is offline  
Thanks
3 Users
Old 09/18/2020, 06:01   #5
 
elite*gold: 0
Join Date: Jan 2009
Posts: 313
Received Thanks: 667
Quote:
Originally Posted by florian0 View Post
Oh, look my packet documentation
DaxterSoul is offline  
Old 09/18/2020, 09:40   #6
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,464
Quote:
Originally Posted by DaxterSoul View Post
Oh, look my packet documentation
Uuuuuuuuhhhhhm ... how did that link end up in my post ... I even went to Silkroad Doc to get the link and still failed ...
florian0 is offline  
Old 09/18/2020, 16:51   #7
 
elite*gold: 0
Join Date: Apr 2020
Posts: 79
Received Thanks: 42
Quote:
Originally Posted by florian0 View Post
You can use HBs release as a reference.


You need to read the type first, then read the RefObjId to determine the object, if relevant.

Code:
unsigned short type;

msg >> type;

switch (type) {

  case 0xc05: { /* spawn */
    int refObjId;

    msg >> regObjId;
    
    break;
  }


If you're planning to pass the message to the original handler, you have to "rewind" it so the original handler starts at "type" and not after RefObjId.

How to read the RefObjID?
irockalone is offline  
Reply


Similar Threads Similar Threads
VP Notify
11/09/2006 - CO2 Exploits, Hacks & Tools - 39 Replies
VP Notify V1.0 Shows your VPs anywhere! -Works better with 1 client (will attack to first opened client) -DOES NOT WORK if the window name is not -Only tested with 1024x768 resolution -Ugly version, Crap compatible, show interest and you will gain a better version. Enjoy!



All times are GMT +2. The time now is 01:55.


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.