Register for your free account! | Forgot your password?

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

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

Advertisement



[Help] Simple Sit Packet.

Discussion on [Help] Simple Sit Packet. within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2010
Posts: 16
Received Thanks: 0
[Help] Simple Sit Packet.

I programing C++, And I amde in the past a simple program that connect to the PhConnector and make the character Sit or Stand.
I don't have the source now and I try to rember how I did it ..

PHP Code:
BYTE Pack[7] =
{
    
0x010x00// Packet length
    
0x4F0x70// Opcode
    
0x000x00// Direction to send it
    
0x04 // Packet data    
}; 
PHP Code:
send(Socket, (char*)Pack70); 
or
PHP Code:
send(Socket, (char*)&Pack70); 
I'm using TCP and its not working ..
idohadar is offline  
Old 01/06/2013, 12:06   #2
 
Schickl's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,064
Received Thanks: 539
This one
Code:
send(Socket, (char*)Pack, 7, 0);
is correct

I never used phConnector, but i guess it's not different from nuconnector/srproxy, so the 5th byte must be either 1 or 2.
Can't remember if 1 means that it should be sent to the server, or if it was 2. Just try it out
Schickl is offline  
Old 01/06/2013, 13:37   #3
 
elite*gold: 0
Join Date: Jan 2010
Posts: 16
Received Thanks: 0
Nvm working. thanks.
idohadar is offline  
Old 01/12/2013, 16:14   #4
 
elite*gold: 130
Join Date: Mar 2008
Posts: 2,485
Received Thanks: 934
What was the solution, if I can ask? (Educational purposes here)
intercsaki is offline  
Old 01/13/2013, 05:30   #5
 
elite*gold: 0
Join Date: Mar 2009
Posts: 248
Received Thanks: 118
Quote:
Originally Posted by intercsaki View Post
What was the solution, if I can ask? (Educational purposes here)
Like Schickl said the Proxy needs it's Security Byte, which can be 1, 2, 3 and 4.

For phConnector:
0x0001 Unencrypted to the Server
0x0002 Unencrypted to the Client

0x0003 Encrypted to the Server
0x0004 Encrypted to the Client
Vinator is offline  
Old 02/24/2013, 18:22   #6
 
elite*gold: 0
Join Date: Feb 2013
Posts: 144
Received Thanks: 36
Wish I could help dude
[GM]Obvlision is offline  
Reply


Similar Threads Similar Threads
[Release] Simple Packet Writer
11/17/2012 - CO2 PServer Guides & Releases - 16 Replies
Hey everyone. This was a request by a few friends of mine to make a simple, managed packet writer for C#. You can use it to create packets of all different styles. Using it is easy as well. I'll give you all a few examples of what it can do and how to use it in a minute. First, here's the download for the source code. You may also choose to download it in the form of a dll (which is available through my mediafire account). Source Download: A Simple Packet Writer - Pastebin.com ...
Simple Packet based Shaiyabot Beta
05/19/2010 - Shaiya Hacks, Bots, Cheats & Exploits - 0 Replies
removed
Simple packet bot/app/tool?
01/28/2009 - Silkroad Online - 0 Replies
I have minimal-basic programming experience, what i am wanting to do is set up a char (preferably clientless) that searched the stall network (weapons 9 degrees) for items suitable to rondo (eg if 85 + Blue and price < 5.6m then buy) How would i go about doing this? I presume i would need to do something with edx33/sr33? Is that even plausible or possible? Or is there another way to do this?



All times are GMT +1. The time now is 17:52.


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