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.
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
}
}
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.
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
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
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
[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...