Register for your free account! | Forgot your password?

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

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

Advertisement



[QUESTION]Selecting mob & Using skill packets

Discussion on [QUESTION]Selecting mob & Using skill packets within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2015
Posts: 150
Received Thanks: 6
[QUESTION]Selecting mob & Using skill packets

i have an issue with these packets they aren't working i don't know if i did something wrong and here they are

Selecting mob ( sure of mob id )

Code:
Packet p = new Packet(0x7045);
            p.WriteUInt16(1963);
            Agent.Send(p);
Using skill ( iam sure of skill id )

Code:
 Packet p2 = new Packet(0x7074);
            p2.WriteUInt8(0x01);
            p2.WriteUInt8(0x04);
            p2.WriteUInt32(11219);
            p2.WriteUInt8(0x01);
            p2.WriteUInt16(1963);
            Agent.Send(p2);
thanks in advance
Kardil is offline  
Old 09/20/2015, 02:00   #2


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,649
Actually selecting a mob uses the UniqueID not the RefID. = You need to parse the spawn packets to get them.

Objects' UniqueID is dynamic, there's no way you can fetch it without parsing dem packets.

It's not so hard tho.
​Exo is offline  
Thanks
1 User
Old 09/20/2015, 02:50   #3
 
elite*gold: 0
Join Date: Sep 2015
Posts: 150
Received Thanks: 6
i used the packet for a certain unique id of 1 mob and worked

like
Code:
 Packet p = new Packet(0x7045);
            p.WriteUInt32(33130300);
            Agent.Send(p);
but i don't know how to get the unique id for any mob arround me
i mean i can't parse the spawn , i found the spawnparsing code but i don't know how to use it.

#EDIT
I noticed that parsing spawn going through using 3015 .. but mob must be appear/spawn , not already existing one .. i wanna make it parsing the mob while it's already spawned
Kardil is offline  
Old 09/20/2015, 13:20   #4


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,649
Quote:
Originally Posted by Kardil View Post
i used the packet for a certain unique id of 1 mob and worked

like
Code:
 Packet p = new Packet(0x7045);
            p.WriteUInt32(33130300);
            Agent.Send(p);
but i don't know how to get the unique id for any mob arround me
i mean i can't parse the spawn , i found the spawnparsing code but i don't know how to use it.

#EDIT
I noticed that parsing spawn going through using 3015 .. but mob must be appear/spawn , not already existing one .. i wanna make it parsing the mob while it's already spawned
I am not sure about this but: when the mobs are moving the server sends some packet and it probably contains the uID.
​Exo is offline  
Old 09/20/2015, 17:23   #5

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,654
Here's the deal:
If mob just "appears" near you, you get singlespawn.
If you enter an area full of mobs that already "spawned", you get them buy groupspawn.
(should be like this, or vice-versa since it's been a long time i dont remember)

SingleSpawn = 0x3015
SingleDeSpawn = 0x3016
GroupSpawnCount = 0x3017
GroupSpawnEnd = 0x3018
GroupSpawnStart = 0x3019
sarkoplata is offline  
Old 09/21/2015, 07:55   #6
 
elite*gold: 0
Join Date: Feb 2008
Posts: 961
Received Thanks: 648
I got an advice for you. Parsing groupspawn is an extreme pain in the ***, so I would recommend getting an already-parsed class. Check ZBot's source code, it might help you.
magicanoo is offline  
Reply


Similar Threads Similar Threads
Selecting a Target [Packets]
11/29/2014 - Aura Kingdom - 9 Replies
Hey, I made a raidframe for Sky Tower.. but I'm having difficulties to select a player (I click on a player in my raidframe -> send("select player by ID") ). The Packet (op code 00c6) gets send but nothing happens. I found two packets. One is a recv packet and the other one a send packet. When i click on a character, I get a recv packet. But i can not send a recv packet, can I ? The send packet doesn't seem to work(nothing happens on send). The packet is "c6 00 c3 44 ff ff" where the...
[Question]selecting darkside get error -_-
09/07/2012 - Shaiya Private Server - 7 Replies
Alright clean and simple. when i select Alliance there it has no issue what so ever. but trick is i choose the union of fury side that gives a load character error yet in the logs says all clean and its been fine since but all of a sudden it stops working -__- would love the help might be in search but i am very tired since being up for 2weeks fixing model files for over 1k sets new fresh so yeah. go go insomnia woot.
[Question]about some Packets
07/15/2012 - CO2 Private Server - 8 Replies
Greetings , i was trying to sniff some packets with COMon.5613 for the lastest client but i have notice some "werid" problems according to my limit experience . 1-the spawn packet .... have two kinds of spawnpackets which both look diff the first length was 232+name +clan name + 2 ?? while the other "two" were 228+name+clan name +2 .....which is the correct one ? !! Edit :Ooh i also had some other "werid" problem with this ...... when i tried the first packet ..... and checked...
[Idea] Sending Skill packets.
11/27/2009 - Mabinogi - 8 Replies
Now, we all know how packet editors work. So to get to my point, how would we send a packet saying "I used this skill give me my points" I spent about 3 hours on it, it uses the skill directly and doesn't say "I did it gimmie points!" it says "I used the skill, gimmie points." So, anyone think this is possible?



All times are GMT +2. The time now is 16:14.


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.