Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 19:37

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

Advertisement



[Help] How i type string as Ascii

Discussion on [Help] How i type string as Ascii within the SRO Private Server forum part of the Silkroad Online category.

Closed Thread
 
Old   #1
 
ramy_11_1's Avatar
 
elite*gold: 0
Join Date: Feb 2013
Posts: 65
Received Thanks: 37
[Help] How i type string as Ascii

hi epvp ,
i want to know how i can type an encrypted string as Ascii when i send packets.

for example :

Original opcode is :

Screen shot :


#Fixed
Here is the solution :

#Close
ramy_11_1 is offline  
Old 06/04/2015, 14:08   #2
 
elite*gold: 0
Join Date: Nov 2007
Posts: 959
Received Thanks: 602
to be honest with you,the problem is that you're sending incorrect length of the string.. 0x0A --> 10
[Ramy]'s Stall is 14 characters,so it should be 0x0E hope that solves the problem ^_^
edit: I'm also not sure if that packet is supposed to be encrypted
vorosmihaly is offline  
Old 06/04/2015, 14:15   #3
 
Bizzyyyyy's Avatar
 
elite*gold: 500
Join Date: Jul 2009
Posts: 262
Received Thanks: 541
Packet packet = new Packet(0x70B1, true);
packet.WriteAscii("[Ramy]'s Stall");
Agent.Send(packet);

0x0A = length of your string.
You dont need to write it as an integer you have to start your writeascii here already.
The code above should work
Bizzyyyyy is offline  
Thanks
1 User
Old 06/06/2015, 13:37   #4


 
Nectix's Avatar
 
elite*gold: 26
The Black Market: 135/0/0
Join Date: Apr 2012
Posts: 23,018
Received Thanks: 3,060
#closed
Nectix is offline  
Closed Thread


Similar Threads Similar Threads
[Help] How i type string as Ascii
06/06/2015 - SRO Coding Corner - 1 Replies
hi epvp , i want to know how i can type an encrypted string as Ascii when i send packets. for example : Packet packet = new Packet(0x70B1, true); packet.WriteUInt16(0x0A); packet.WriteAscii("'s Stall"); <------- i mean this string Agent.Send(packet); Original opcode is :
[Visual Basic] [Problem] String auslesen/String zufällig wählen
05/06/2012 - General Coding - 4 Replies
Code: #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Name Generator", 236, 299, 815, 246) $Input1 = GUICtrlCreateInput("Username", 24, 72, 185, 21) $Input2 = GUICtrlCreateInput("Username", 24, 104, 185, 21) $Input3 = GUICtrlCreateInput("Username", 24, 136, 185, 21) $Input4 = GUICtrlCreateInput("Username", 24, 168, 185, 21) $Input5 = GUICtrlCreateInput("Username", 24, 200, 185, 21)
Ascii String für ASM
03/09/2012 - C/C++ - 0 Replies
Hallo Leute, ich bin gerade dabei das Chatfenster meines Opferspiels zu beschreiben und habe soweit die Funktion auch gefunden nur habe ich gerade überhaupt keinen Plan wie ich in C++ einen ASCII-String deklariere damit ich ihn später im __asm an die Funktion übergeben kann. kann mir vlt jemand auf die Sprünge helfen? EDIT: bin ich recht der Annahme das ich einfach einen INT erstellen muss mit der Länge des gesamten Strings und die einzelnen HEX werte da drin speichere und den peer PUSH...
[Resource] ASCII String & Byte Array Converter
11/14/2010 - CO2 PServer Guides & Releases - 9 Replies
#deleted



All times are GMT +2. The time now is 19:37.


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.