Register for your free account! | Forgot your password?

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

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

Advertisement



[Question]Limiting packets in a certain place

Discussion on [Question]Limiting packets in a certain place 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]Limiting packets in a certain place

As i said i want to prevent some packets from a certain region
for example:
i wanna prevent players using return scroll from a region .. i knew that is using a packet filter ( as i understood ) but i don't have a source for a packet filter or even know how it works.

thanks in advance
Kardil is offline  
Old 09/28/2015, 04:08   #2
 
elite*gold: 0
Join Date: Feb 2008
Posts: 961
Received Thanks: 648
There are multiple sources for packet filters lying around in the forum. You need to take a good look at them.
The concept is pretty straight forward: you'll monitor the player's movements through packets and save the regionID in a variable, then you need to find and parse the packet that is concerned with using inventory items and get to know the return scroll type. Intercept that packet and put a conditional IF statement as the following pseudo code:

if packet opcode == inventory using item
{
if parsed type == return scroll usage
{
if this client's regionID == prohibited regionID
//do whatever you want, either ignore the packet or send an error msg
}
}
magicanoo is offline  
Thanks
1 User
Old 09/28/2015, 06:28   #3
 
elite*gold: 0
Join Date: Sep 2015
Posts: 150
Received Thanks: 6
Quote:
Originally Posted by magicanoo View Post
There are multiple sources for packet filters lying around in the forum. You need to take a good look at them.
The concept is pretty straight forward: you'll monitor the player's movements through packets and save the regionID in a variable, then you need to find and parse the packet that is concerned with using inventory items and get to know the return scroll type. Intercept that packet and put a conditional IF statement as the following pseudo code:

if packet opcode == inventory using item
{
if parsed type == return scroll usage
{
if this client's regionID == prohibited regionID
//do whatever you want, either ignore the packet or send an error msg
}
}
thanks that's so useful .. but if you don't mind lead me with a link or something to a good & trusted filter as i searched for it but no thing.
Kardil is offline  
Old 09/28/2015, 06:57   #4
 
elite*gold: 0
Join Date: Feb 2008
Posts: 961
Received Thanks: 648
Check the releases section. I never used any of the released ones, so I can't really tell.
magicanoo is offline  
Old 09/28/2015, 12:15   #5


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,649
Quote:
Originally Posted by Kardil View Post
thanks that's so useful .. but if you don't mind lead me with a link or something to a good & trusted filter as i searched for it but no thing.
None of them are good!
​Exo is offline  
Old 09/28/2015, 12:53   #6
dotCom
 
Devsome's Avatar
 
elite*gold: 12400
The Black Market: 104/0/0
Join Date: Mar 2009
Posts: 15,881
Received Thanks: 4,386
Quote:
Originally Posted by ​Exo View Post
None of them are good!
The newest Superman is good
Devsome is offline  
Old 09/28/2015, 13:11   #7

 
AceSpace's Avatar
 
elite*gold: 71
Join Date: Mar 2011
Posts: 1,594
Received Thanks: 1,099
You'll have to go through a lot of shiz to get a one working well, If u want to ignore the packets if X packet was sent, just use "continue;"
AceSpace is offline  
Old 09/28/2015, 14:14   #8


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,649
Quote:
Originally Posted by Devsome View Post
The newest Superman is good

It's not open src so he won't be able to do whatever he likes tho.
​Exo is offline  
Old 09/29/2015, 03:26   #9
 
elite*gold: 0
Join Date: Sep 2015
Posts: 150
Received Thanks: 6
Quote:
Originally Posted by Skipper* View Post
You'll have to go through a lot of shiz to get a one working well, If u want to ignore the packets if X packet was sent, just use "continue;"
I don't wanna use one of them , i just wanna know the way it works and i gonna make my own .. i've a knowledge in c# but not for sro .. anyway, so you mean that continue; will prevent the packet i select that's right?
Quote:
Originally Posted by ​Exo View Post
It's not open src so he won't be able to do whatever he likes tho.
Yes it's not .. but i've just decompiled it so easily o.O i don't know if nobody could but i just did
Kardil is offline  
Old 09/29/2015, 09:50   #10
dotCom
 
Devsome's Avatar
 
elite*gold: 12400
The Black Market: 104/0/0
Join Date: Mar 2009
Posts: 15,881
Received Thanks: 4,386
Quote:
Originally Posted by Kardil View Post
I don't wanna use one of them , i just wanna know the way it works and i gonna make my own .. i've a knowledge in c# but not for sro .. anyway, so you mean that continue; will prevent the packet i select that's right?


Yes it's not .. but i've just decompiled it so easily o.O i don't know if nobody could but i just did
I released a old source, but okay.
Then do it on your own
Devsome is offline  
Reply


Similar Threads Similar Threads
[Question] about Packets .
06/18/2012 - CO2 Private Server - 8 Replies
what i know about conquer packets is . the last 8 byts are seal . and the first two bytes for Length and the next two byts for header but this packet is confusing me !!! can anybody help ? 04 DA A9 25 BA 7E F7 28 75 D1 80 ED 1A 77 16 BC 4A 98 35 72 15 6B 38 56 A1 04 81 8B 92 2F 7C 98 C6 26 1C A0 54 DB D5 17 B1 D4 2A 38 99 4F D9 8A 14 E3 FA B7 7B E0 8F 72 58 93 EF 1C 7E F8 C5 4A 48 DA C5 3E 41 11 04 2E B3 75 9C B5 00 C8 33 96 89 ED 24 38 3E 9A 61 B8 05 1D A8 C8 D6 69 AA AD EC F4 88 04...
Question(I believe this is the right place)
07/22/2009 - Dekaron Private Server - 0 Replies
Well I am on a Private server now and have basically all the hacks I need, but I was just wondering is the Skill hack in pservers just as hush hush as the retail? If not could anyone help me out. PM if need be.
[Question]Packets
05/14/2009 - CO2 Private Server - 3 Replies
is their a way to find specfic packets?
packets tut (question^^)
04/14/2009 - Kal Online - 21 Replies
hey guy im "hacking" realy long kalonline. But Just with Uce and i learned all from tuts from this forum. But since i started "hacking" everybody said that u can hack much better with packets. But i dont know how xD. I searched long in this forum for tuts but didnt find one that explained everything. Would be nice if someone make one. greez Nightmare
Question Regarding Packets
06/12/2006 - Conquer Online 2 - 4 Replies
I recall a while ago that someone was talking about a packet that could be sent that would cause everyone in the area to disconnect. Was there anything done to continue work on this? The search criteria is too obscure to find it if it does exist. Ok, what I'm basically asking is if there is a download or discussion link to the packet in question. Please note, I do not want this for malicious purposes. I am not a mine pker, I am not a proper hacker, and I hate scammers to the core. I want...



All times are GMT +2. The time now is 10:47.


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.