Register for your free account! | Forgot your password?

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

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

Advertisement



[ZSZC] Packets of Skills/misc

Discussion on [ZSZC] Packets of Skills/misc within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old 07/04/2010, 17:54   #16
 
Epic_Rage's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 642
Received Thanks: 377
Quote:
Originally Posted by lolkop View Post
well searching for "autoit clientless" in elitepvpers would show up tat thread in like 3seconds so i don't realy get why you haven't been able to find it o0...
what eva, i don't realy like the way he's using to parse packets, since autoit got such nice (and extremely efficient) regexp functions, it would be sad to not use them :P.

all packets can be parsed in one line in autoit. and since you do not have to take care of the type of the stuff you've just parsed its even more easy.

Edit:
to get idea of how the silkroad security and packet system works you gotta check drews
I'll TRY to figure this out lol, cos i really dont want to have to ask you to make me a working function for me, because then ill feel like an *** for asking for resources :P

Anywho, 4am now so i need to sleep! ~_~
Epic_Rage is offline  
Old 07/04/2010, 18:49   #17
Chat Killer In Duty


 
PortalDark's Avatar
 
elite*gold: 5
Join Date: May 2008
Posts: 16,309
Received Thanks: 6,470
Quote:
Originally Posted by lolkop View Post
well searching for "autoit clientless" in elitepvpers would show up tat thread in like 3seconds so i don't realy get why you haven't been able to find it o0...
what eva, i don't realy like the way he's using to parse packets, since autoit got such nice (and extremely efficient) regexp functions, it would be sad to not use them :P.

all packets can be parsed in one line in autoit. and since you do not have to take care of the type of the stuff you've just parsed its even more easy.

Edit:
to get idea of how the silkroad security and packet system works you gotta check drews
is this from projecthax?
PortalDark is offline  
Old 07/04/2010, 20:59   #18
 
lolkop's Avatar
 
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
nope it's been posted @ 0x33 like 2 years ago by drew, when he started to work with packets =)

some weeks before he started developing his sr33 packet framework.
lolkop is offline  
Old 07/04/2010, 21:19   #19
 
GoneUp's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 201
Received Thanks: 73
btw:

All Skill Packets are so:
(7074) /op
0104 /mode
4D000000 /pk2id dword
00 /end
GoneUp is offline  
Old 07/05/2010, 05:50   #20
 
Epic_Rage's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 642
Received Thanks: 377
Quote:
Originally Posted by cheater94x View Post
btw:

All Skill Packets are so:
(7074) /op
0104 /mode
4D000000 /pk2id dword
00 /end
I have no idea what mode, pk2id dword and end is sooo, that aint gonna help me much

Finally woke up, time to work on this connecting n' sending :-d
Epic_Rage is offline  
Old 07/05/2010, 12:30   #21
 
GoneUp's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 201
Received Thanks: 73
Quote:
Originally Posted by Epic_Rage View Post
I have no idea what mode, pk2id dword and end is sooo, that aint gonna help me much

Finally woke up, time to work on this connecting n' sending :-d
4D000000 = 0000004D = 77
Just look after these id in the Skill Data File in the Media. The Mode is always the same for skill attacks. There are Modes for Buffs, etc.. too.
GoneUp is offline  
Old 07/05/2010, 13:01   #22
 
Epic_Rage's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 642
Received Thanks: 377
Quote:
Originally Posted by cheater94x View Post
4D000000 = 0000004D = 77
Just look after these id in the Skill Data File in the Media. The Mode is always the same for skill attacks. There are Modes for Buffs, etc.. too.
Ahh i see now..

Im currently trying to work out how to send the packet to my client, this is what i have so far, and it aint working:

Code:
$Hex = "0B00F07008310104E8270000010B83F001"
$IP = "127.0.0.1" 
TCPStartUp()
$socket = TCPConnect( $IP, 15778) 
If $socket = -1 Then MsgBox (0,"TCP","Can't make a connection")
TCPSend($socket,$Hex)
It doesn't dc me when i run it, but then again, it doesn't do anything ingame either (it should use the 'yes' emote)

What should i be using instead?
Epic_Rage is offline  
Old 07/05/2010, 13:43   #23
 
rsalumpit's Avatar
 
elite*gold: 0
Join Date: Apr 2007
Posts: 237
Received Thanks: 26
I'm also interested in making my own bot i hope i can catch up..
Yeah maybe start with some simple things first.
rsalumpit is offline  
Old 07/05/2010, 14:42   #24
 
Epic_Rage's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 642
Received Thanks: 377
I might try sending packets via C# since i can't find any premade functions for sending packets that are working for me lol

Here is an example i found, which apparently works:

Code:
Socket winsock = new Socket(AddressFamily.InterNetwork,SocketType.Stream,ProtocollType.Tcp);

winsock.Connect("127.0.0.1",15778);

public class Client
        {
            BinaryReader br;
            MemoryStream ms;
            byte[] buffer = new byte[8192];

            public void Start(int port)
            {
                try
                {
                    Socket ws_receive = new Socket("127.0.0.1", 15778);

                    sw_receive.BeginRead(buffer, 0, buffer.Length, new AsyncCallback(OnReceive), null);
                }
                catch (Exception e)
                {
                    Console.WriteLine("Error: {0}", e);
                    Console.ReadLine();
                }
            }


public void OnReceive(IAsyncResult ar)
            {
                try
                {
                    sw_receive.Read(buffer);
                    
                    ms = new MemoryStream(buffer);
                    br = new BinaryReader(ms);

                    Packet.size = br.ReadUInt16();
                    Packet.OpCode = br.ReadUInt16();

                    Packet.data = new byte[datasize];
                    Array.Copy(buffer, 6, Packet.data, 0, Packet.size);

                    Packet.Parse(Packet.OpCode,Packet.size);
                    
                    sw_reiceve.EndRead(ar);
                    sw_receive.BeginRead(buffer, 0, buffer.Length, new AsyncCallback(OnReceive), null); 
                }
                catch (Exception e)
                {
                }
            }
        }
Although it looks hella confusing
Epic_Rage is offline  
Old 07/05/2010, 15:05   #25
 
GoneUp's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 201
Received Thanks: 73
Just look at ProjextHax after xBot. Very nice and clear example for an sro bot.
GoneUp is offline  
Old 07/05/2010, 15:22   #26
 
Epic_Rage's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 642
Received Thanks: 377
Quote:
Originally Posted by cheater94x View Post
Just look at ProjextHax after xBot. Very nice and clear example for an sro bot.
Found it()

I'll have a look at it in about 30mins, gotta go get something to eat. Thanks for the tip, definately sounds like something i am in need of
Epic_Rage is offline  
Old 07/05/2010, 15:26   #27
 
elite*gold: 0
Join Date: Jan 2009
Posts: 130
Received Thanks: 102
Quote:
Originally Posted by Epic_Rage View Post
Found it()

I'll have a look at it in about 30mins, gotta go get something to eat. Thanks for the tip, definately sounds like something i am in need of
I started an open source clientless project. There are multiple inject functions that are used for different things. It's written in C++ with Qt.

WeeMan1337 is offline  
Old 07/05/2010, 20:34   #28
 
lesderid's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
1. Learn about HEX. (bytes, words, dwords, qwords, ...)

2. Learn about TCP/IP. (packets, sockets, IPs/hostnames, ...)

3.1. Learn a (high level) programming language:
3.2. A lot of possible choices, for example: C#, VB.Net, AutoIt, Python, Java, ...

4. Learn about the libraries/frameworks your program is going to use. (the java lib for java, .Net for C#/VB.Net, ...)

5. Learn how to setup networking in your programming language.

6. Gather all the extra information. (packet parsing, GUIs, ...)

7. Start writing your application.

8. USE GOOGLE (or any other preferred search engine), it's REALLY helpful.

9.1. Use forums and helpdesks:
9.2. Again, use google to find the right forum.
9.3. For questions that need to be answered quickly, I highly recommend asking them at .

10. Don't be shy to ask questions, everyone does it.
lesderid is offline  
Thanks
3 Users
Old 07/06/2010, 03:03   #29
 
Epic_Rage's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 642
Received Thanks: 377
Quote:
Originally Posted by lesderid View Post
1. Learn about HEX. (bytes, words, dwords, qwords, ...)

2. Learn about TCP/IP. (packets, sockets, IPs/hostnames, ...)

3.1. Learn a (high level) programming language:
3.2. A lot of possible choices, for example: C#, VB.Net, AutoIt, Python, Java, ...

4. Learn about the libraries/frameworks your program is going to use. (the java lib for java, .Net for C#/VB.Net, ...)

5. Learn how to setup networking in your programming language.

6. Gather all the extra information. (packet parsing, GUIs, ...)

7. Start writing your application.

8. USE GOOGLE (or any other preferred search engine), it's REALLY helpful.

9.1. Use forums and helpdesks:
9.2. Again, use google to find the right forum.
9.3. For questions that need to be answered quickly, I highly recommend asking them at .

10. Don't be shy to ask questions, everyone does it.
Thats exactly what i need to learn lol, thanks
I just hope that i don't quit before-hand because for the last 3 days ive stayed up till 4am each day trying to send just 1 packet to sro and have it make my character do an emotion
Epic_Rage is offline  
Old 07/06/2010, 04:43   #30
 
Epic_Rage's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 642
Received Thanks: 377
Apologies for the double post but i just wanted to say: I finally got packet sending working through autoit!! Yay me!! Time to work on that packet-based autopot
Epic_Rage is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Zszc db bot Bow skills bug
08/12/2010 - SRO Private Server - 0 Replies
Hey, I upped my skills to 102 and now the bot shows this skills only at numbers no more with name.... i can tuse them in the bot anymore. version:1.1 would be nice if you can help me ;)
[ZSZC] DB-BOT dont load skills etc.
07/01/2010 - SRO Private Server - 7 Replies
Hey, Like 3 days I can't use dbot 0.8. Before anything works great and then I full skilled me the Bot doesn't accept "get coordinates", don't load skills and autopotion doesn't work. I have win7 64 Bit, but anything works great before 3 days. Anyone have solution?
Problem with DB Bot ZSZC Skills
06/11/2010 - SRO Private Server - 3 Replies
hello i have 68lv char. Glavier. i have all max skills to 66lv from heuksal when i add some skills to attack, uses only the first two. no more than two :/



All times are GMT +2. The time now is 05:39.


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.