Raised This Month: $ Target: $400
 0% 

[HELP] Difference between client_disconnect and client_disconnected?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 08-09-2018 , 07:26   Re: [HELP] Difference between client_disconnect and client_disconnected?
Reply With Quote #8

Quote:
Originally Posted by Arkshine View Post
The forward doesn't have the same header. It can tell you whether the game dropped you, and the disconnected message as well. Originally I think client_drop() was introduced but at the end after discussions, it was more appropriate/convenient to replace _disconnect() with another forward with those params.
I don't see why it was worth breaking all compatibility between 1.8.2 and 1.8.3 for such a reason. Why not just add a native like get_drop_reason() or the ability to use read_argv() or similar function on that forward? I can't imagine anyone actually caring about the reason for the drop other than to print it out for amusement. I'm still gonna do the necessary actions because of that player leaving, data storage for example.
I mean compatibility is important, especially when there are two extremely different versions used wide and all these issues and possible bugs are left to the plugin authors which all have varying coding skill/experience.
I just don't get it. But I guess it's too late to change now.
__________________

Last edited by Black Rose; 08-09-2018 at 07:30.
Black Rose is offline
 



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 12:19.


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