|
You last visited: Today at 18:41
Advertisement
Disabling pk thru proxy
Discussion on Disabling pk thru proxy within the SRO Coding Corner forum part of the Silkroad Online category.
09/04/2015, 08:53
|
#1
|
elite*gold: 166
Join Date: Apr 2009
Posts: 2,341
Received Thanks: 2,661
|
Disabling pk thru proxy
Heya,
I couldn't analyze it deeply due to lack of time but I got how pking system works.
So I got the idea that reading the 0xB045 for the last selected target would help. If the unique_id of last selected target was a player it would block the next 0x7074s until the target is changed. But 0x7074 is used for pretty much everything (pick up, attack, trace etc) so obv it did not work. Then i filtered the 0x7074 and i thought reading the skillID and checking if it was a dmg spell. But there are too many spell types and I believe that there is a better way to do this.
Im open to any kind of suggestion 
This is not a function im seeing around so it might be helpful to people as well. Lets dev it.
|
|
|
09/04/2015, 09:12
|
#2
|
elite*gold: 0
Join Date: Nov 2007
Posts: 959
Received Thanks: 602
|
imo,you should check if attacker & target are both wearing capes or not first,as it might cause problems if you don't do it...I could help you once I get home,as I'm at work and not gonna be home until sunday or so,but I've got this done somewhere,sooo add me on skype and I'll msg you once I'm at home,if you won't find a solution until then,I'll help you out ^_^
|
|
|
09/04/2015, 13:03
|
#3
|
elite*gold: 60
Join Date: Feb 2012
Posts: 3,942
Received Thanks: 6,474
|
You could dc user upon status change. this will dc user when his name turns from white to purple / red
|
|
|
09/04/2015, 15:09
|
#4
|
elite*gold: 166
Join Date: Apr 2009
Posts: 2,341
Received Thanks: 2,661
|
Quote:
Originally Posted by vorosmihaly
imo,you should check if attacker & target are both wearing capes or not first,as it might cause problems if you don't do it...I could help you once I get home,as I'm at work and not gonna be home until sunday or so,but I've got this done somewhere,sooo add me on skype and I'll msg you once I'm at home,if you won't find a solution until then,I'll help you out ^_^
|
That's already OK. Addition to that, user can be at guild war, fortress war, ctf, battle arena or something else.
And he can be casting a buff too, like str/int on Cleric. That should also be filtered.
Quote:
Originally Posted by LastThief*
You could dc user upon status change. this will dc user when his name turns from white to purple / red
|
That will **** up the user, will be harsh (i was just trying to send a humanly mesaage to user when he tries to PK) but i guess it's the only possible solution.
I never thought about that. Probably a packet is sent upon color change. Let me check
Edit: and also user will be able to attack atleast once
|
|
|
09/08/2015, 01:44
|
#5
|
elite*gold: 0
Join Date: Feb 2009
Posts: 46
Received Thanks: 5
|
as i know 0x7074 structure :-
01 :flag
04 :flag
55 23 00 00 : Skill ID
01 :attack or buff flag
80 02 0D 00 : Target ID
or for buff
01 :flag
04 :flag
55 23 00 00 : Skill ID
00 :attack or buff flag
so u can make the proxy save all players id in a list and every time the client sent the 0x7074 let the proxy check the target ID and search the list for a same ID if he found it proxy will just do nothing , if not it will bass it to the gateway . if that idea helps i can give u another idea for passing the buffs skills packets.
|
|
|
09/08/2015, 14:47
|
#6
|
elite*gold: 166
Join Date: Apr 2009
Posts: 2,341
Received Thanks: 2,661
|
Quote:
Originally Posted by theking200051
as i know 0x7074 structure :-
01 :flag
04 :flag
55 23 00 00 : Skill ID
01 :attack or buff flag
80 02 0D 00 : Target ID
or for buff
01 :flag
04 :flag
55 23 00 00 : Skill ID
00 :attack or buff flag
so u can make the proxy save all players id in a list and every time the client sent the 0x7074 let the proxy check the target ID and search the list for a same ID if he found it proxy will just do nothing , if not it will bass it to the gateway . if that idea helps i can give u another idea for passing the buffs skills packets.
|
Yeah, correct
But there are so many possibilities that someone might use an attack skill against someone without pking. Few examples:
Guild war
Fortress War
Battle Arena
I would still like to develop this idea. If we can pass all the checks that would work better than the status update packet (0x30BF).
Hit me on skype/pm. I'll be in town in 3 days.
|
|
|
09/08/2015, 15:13
|
#7
|
dotCom
elite*gold: 9842
Join Date: Mar 2009
Posts: 16,871
Received Thanks: 4,686
|
Then why not checking after 0x7074 playerID => TargetID if playerID && TargetID
is in Guild => Guild war ?
is in Guild => Fortress war time => right section ?
is in Battle Arena section ?
|
|
|
 |
Similar Threads
|
Disabling GameGuard
09/10/2010 - General Coding - 3 Replies
Is there any way to disable the GameGuard?( Cabal EU)
by disabling im meaning modifying some of its files so that it wont work "properly" as it should.
Or a bypass.
I've tried unpacking the exe and the gameguard but im not an expert so... :/
any help would be appreciated
|
[HELP]Disabling Pk.
12/17/2009 - EO PServer Hosting - 14 Replies
Hey everyone i was wondering how can i disable pking in certain maps? For example i got Old market and i would like to disable pking in there...or even make it like new market so when players compose when they click evolve they don't have to summon their eudemon it would do it automatically like in cronus...so if anyone knows please let me know. Thanks.
|
[help] disabling a hack
07/22/2008 - Dekaron - 6 Replies
How do you disable that hack when you click it moves you to middle of the map
(256:256) I can't kill monsters like this and it always moves me to the middle of the map >_>
What do I delete from my USA Folder?
|
Disabling almost all graphics
12/03/2007 - Conquer Online 2 - 5 Replies
Anyone know of anyway to disable almost all the graphics so that all you see is the terrain? I know about deleting everything inside of 3deffet.ini; but this not enough. Where would one go about trying to strip down CO to it's basic form so much that you can't even see anybody or npcs and all animations? I'm trying to get CO to use as little as possible cpu usage. I don't need to see anything but the terrain for what I'm trying to do. Any feedback is greatly appreciated.
|
Disabling GameGuard
10/18/2006 - General Coding - 19 Replies
I know there was a way to disable game/nprotect but i forgot which way it was. so if any of u know and wana tell me let me kno rite here
|
All times are GMT +1. The time now is 18:41.
|
|