Raised This Month: $51 Target: $400
 12% 

Disconnect Reason


Post New Thread Reply   
 
Thread Tools Display Modes
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 09-03-2011 , 19:23   Re: Disconnect Reason
Reply With Quote #31

sry, for offtopic but orpheu sig scan is horrible for me, the tut's are not cleary for me, no good samples/explane. so i stop working with orpheu.

nice work bugsy

Quote:
Originally Posted by dark_style View Post
I have an idea for you. What about to add the reason when mp_autokick is set to 1 and the player get kicked by it?
is this not the "drop" message?
__________________

Working on:
nothing
schmurgel1983 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 09-03-2011 , 20:14   Re: Disconnect Reason
Reply With Quote #32

Quote:
Originally Posted by schmurgel1983 View Post
sry, for offtopic but orpheu sig scan is horrible for me, the tut's are not cleary for me, no good samples/explane. so i stop working with orpheu.
I am working on a program that will create signatures, the user only needs to paste info from IDA. I think many others, including myself, are hesitant to use orpheu since signature making is intimidating.
__________________

Last edited by Bugsy; 09-03-2011 at 20:33.
Bugsy is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 09-04-2011 , 12:10   Re: Disconnect Reason
Reply With Quote #33

I am thinking about changing the plugin functionality a bit:

1) Notify of all types of disconnect reason, not only allowing timed out or dropped. Should I keep a cvar to allow users to select only particular types or only do all?

2) Get rid of console notify option. I haven't played CS in a long while but I believe all users get a console message when a user disconnects, the only advantage to the console notify of the plugin is it is formatted nicely.

Comments anyone?
__________________
Bugsy is offline
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 09-04-2011 , 12:11   Re: Disconnect Reason
Reply With Quote #34

Quote:
Originally Posted by Bugsy View Post
I am working on a program that will create signatures, the user only needs to paste info from IDA. I think many others, including myself, are hesitant to use orpheu since signature making is intimidating.
sounds good.
__________________

Working on:
nothing
schmurgel1983 is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 09-04-2011 , 13:51   Re: Disconnect Reason
Reply With Quote #35

Quote:
Originally Posted by Bugsy View Post
I am thinking about changing the plugin functionality a bit:

1) Notify of all types of disconnect reason, not only allowing timed out or dropped. Should I keep a cvar to allow users to select only particular types or only do all?

2) Get rid of console notify option. I haven't played CS in a long while but I believe all users get a console message when a user disconnects, the only advantage to the console notify of the plugin is it is formatted nicely.

Comments anyone?
For #1, a cvar would make it more customizable, but I don't know why somebody would only want certain types of disconnects are displayed.

For #2, If this plugin blocks the other notification in console by CS itself, then I say keep the console notify of this. If not, I don't see a point of having 2 different notifications for why somebody dropped out.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 09-08-2011 , 23:57   Re: Disconnect Reason
Reply With Quote #36

New release posted, see change log for changes.

Edit: Posted minor revision v0.4a, no functional changes just cleaned up the code a little.
__________________

Last edited by Bugsy; 09-09-2011 at 22:36.
Bugsy is offline
Stressful
Senior Member
Join Date: Feb 2011
Old 09-10-2011 , 07:13   Re: Disconnect Reason
Reply With Quote #37

Hey , I have this error in console , How do I fix it ?
Code:
	Parsing functions started.
		Parsing file "SV_DropClient" started
				Argument type "int" validated
				Argument type "int" validated
				Argument type "char *" validated
				Searching for signature "[0x55][0x8b][*][0x81][*](...)" ... NOT FOUND
		Parsing file "SV_DropClient" ended
	Parsing function
__________________
Stressful is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-10-2011 , 07:26   Re: Disconnect Reason
Reply With Quote #38

Edit orpheu/functions/SV_DropClient file and replace the signature with :

Code:
[0x55,0x8B,"*",0x81,"*","*","*","*","*",0x8B,0x4D,"*",0x53,0x56,0x8D,0x45,"*",0x57,0x50,0x51,0x8D,0x95]
@Bugsy: you don't need to have such length. Once the signature is unique, meaning one reference, like explained in the tutorial, it's enough. This sig should work on the hlbeta too.
__________________
Arkshine is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 09-10-2011 , 07:32   Re: Disconnect Reason
Reply With Quote #39

I thought more bytes would result in it being more unique, which I didn't realize could prevent it from working (Is this detail covered in the tut?). I will update though.
__________________
Bugsy is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-10-2011 , 07:41   Re: Disconnect Reason
Reply With Quote #40

Yes, technically, but you have to be aware people use the hlbeta too, too much bytes and you might need to have 2 different signatures because some part could use different opcodes. But, like said in the tuto, once you see one reference it's unique, you don't need to add extra bytes because you would have more chance the sig won't match at the end.
__________________
Arkshine is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode