Register for your free account! | Forgot your password?

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

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

Advertisement



Live Update Gold By Packet

Discussion on Live Update Gold By Packet within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2012
Posts: 263
Received Thanks: 271
Live Update Gold By Packet

I have read , but here he only handles when using item, is there any way to send packet to live update gold
I tried sending the packet just like when I used the item in HB's post but nothing happened

Quote:
Packet update = new Packet(0x704C, true);
update.WriteUInt8((byte)13); //<= This is slot in your inventory. (example 13 = first slot)
update.WriteUInt8(0xED);
update.WriteUInt8(0xC6);//
m_RemoteSecurity.Send(update);
Send(false);
Quote:
[S -> C][B04C]
02 ................ //Result (1 = Success | 2 = Fail)
92 18 ................ //ErrorCode
thaidu0ngpr0 is offline  
Old 10/26/2020, 21:40   #2
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,108
Received Thanks: 903
Doesn't make sense, that error code is for character skin changer scroll.

Why are you doing this anyways?
Code:
update.WriteUInt8(0xED);
update.WriteUInt8(0xC6);
TID is in fact a ushort, just write it straight
Code:
update.WriteUInt16(0xC6ED);
#HB is offline  
Old 10/27/2020, 19:38   #3
 
elite*gold: 0
Join Date: Apr 2012
Posts: 263
Received Thanks: 271
Quote:
Originally Posted by #HB View Post
Doesn't make sense, that error code is for character skin changer scroll.

Why are you doing this anyways?
Code:
update.WriteUInt8(0xED);
update.WriteUInt8(0xC6);
TID is in fact a ushort, just write it straight
Code:
update.WriteUInt16(0xC6ED);

Thank you my idol
it worked. and must have gold scrolls in the inventory.
Is there a way to live give gold without scrolling?
thaidu0ngpr0 is offline  
Old 10/28/2020, 00:32   #4
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,108
Received Thanks: 903
I suggest you to have a look at the game server code.
#HB is offline  
Old 10/28/2020, 07:31   #5
 
elite*gold: 0
Join Date: Apr 2012
Posts: 263
Received Thanks: 271
Quote:
Originally Posted by #HB View Post
I suggest you to have a look at the game server code.

I tried to use chathandling to give gold but when I do it the client is disconnected, while live drop and live give item still work normally.
thaidu0ngpr0 is offline  
Old 10/28/2020, 10:32   #6
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,108
Received Thanks: 903
You need to confirm PC pointer is not null before doing such functions for safety, also debug the targetcharname variable and ensure its correct.
#HB is offline  
Reply


Similar Threads Similar Threads
Packet update class "10014" and name packet "SpawnPlayer" with source alex 3D
08/08/2018 - CO2 Programming - 5 Replies
Hello i wanna to help anyone can help, me! i wanna to know how to update any packet from that source this is stream not c# this is packet class 10014 i wanna to understand how update it! this is photo for monster i can't see name and it's monster for 3d! https://ibb.co/kC72Jz and name guard can't see that again, and the blood can't see what say i do now, https://ibb.co/cHNrBK and that is class packet 10014 for i wanna to update with stream, for i don't understand really, with stream!...
World of Live - Not your Real Live, Just your Play Live!
05/11/2011 - Metin2 PServer Advertising - 176 Replies
http://img821.imageshack.us/img821/4219/vorwortf.p ng Hallo Com! Ich stelle euch heute den Server World of Live vor! Er war schon mal Online, jedoch ging er down, da es unzuverlässige GameMaster gab. Jetzt versuchen wir es erneut! http://img42.imageshack.us/img42/4508/serverkonze pt.png Der Server bietet Euch ein perfektes PvP sowohl auch PvM System an!



All times are GMT +1. The time now is 23:58.


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.