Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 20:48

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

Advertisement



ResurrectAtTheDesignatedPlace

Discussion on ResurrectAtTheDesignatedPlace within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2012
Posts: 53
Received Thanks: 6
ResurrectAtTheDesignatedPlace

PHP Code:
    else if (opcode == MsgOpcodes::SERVER_CHARACTER_DIED)
    {
        
//unkByte01 = 3    by char    (job / nojob)
        //unkByte01 = 4    by mob
        
uint8_t theTypeOfBeKilled packet->Read<uint8_t>();
        
        if (
theTypeOfBeKilled == 3)
        {
            
CMsgStreamBufferresurrectAtTheDesignatedPlace = new CMsgStreamBuffer(0x3053);
            
resurrectAtTheDesignatedPlace->Write<uint8_t>(2);
            
resurrectAtTheDesignatedPlace->SendToServer();
        }
    } 
I want the character will 'resurrect at the designated place ', when killed by someone else,

but this code is don't work
PHP Code:
CMsgStreamBufferresurrectAtTheDesignatedPlace = new CMsgStreamBuffer(0x3053);
            
resurrectAtTheDesignatedPlace->Write<uint8_t>(2);
            
resurrectAtTheDesignatedPlace->SendToServer(); 
someone can help? ths!
halloway520 is offline  
Old 02/04/2022, 10:10   #2
 
elite*gold: 0
Join Date: Apr 2012
Posts: 263
Received Thanks: 271
Send live teleport to filter or use reverse scroll packet
thaidu0ngpr0 is offline  
Old 02/04/2022, 10:59   #3
 
elite*gold: 0
Join Date: Dec 2012
Posts: 53
Received Thanks: 6
Quote:
Originally Posted by thaidu0ngpr0 View Post
Send live teleport to filter or use reverse scroll packet
thanks friend! I fix it,

Thanks very much again
halloway520 is offline  
Reply




All times are GMT +1. The time now is 20:49.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.