Client Patch Warning
Changelog
-v1.0 > v1.1 Post #12: updated to allow seperate required and suggested patches. Fixed bug that would potentially leave players invulnerable/frozen (Thanks for the report Erica).
-v1.1 > v1.2 Post #13: fixed small bug that would sometimes send gump on invalid clients. Fixed bug that always made the player mortal and unfrozen (was an annoyance for staff who keep immortal).
-v1.2 > v1.3 Post #45 XxSP1DERxX's Complete Revamp: Consolidated the gumps into 1 gump. Consolidated the gump display. Optimized the version checks. Fixed the null Client Version bug. Fixed an exploit to defeat the gump. Fixed a timer bug keeping the timer alive indefinately. Fixed a timer bug making the gumps keep reappearing. 'bad client version' is now written to the console. Fixed a bug with freezing/blessing not being taken off. Removed the Try/Catch and added a Mobile check (jic?). Fixed the spacing on the buttons to be standard for all gump variants. Edited the messages that are sent to the client. Suggested patching no longer blesses/freezes you.
-v1.3 > v1.45 Post #55: Removed the Blessing/CantWalk crap due to bugs. Added Enforce Client Verification so that you can enforce Required clients to go through the client verification as a normal RunUO server would.
v1.45 > v1.5 Post #63: Fixed the problem with EnforceClientVerification. It will now work without any other file modifications.
v1.5 > v1.6 Post #69: Updated to allow a certain amount of seconds for invulnerability protection. Default protection is 15 seconds.
Description
Dynamic Client Patch Warning gump. No distro files included.
Features
-Automatically detects shard name/inserts where neccesary
-Pops up overtop of other gumps on player login (if player's client is not up-to-date)
-Seperate required and suggested patch versions can be enabled.
-Built-in Help Menu.
-Website button.
-Yet more sexy gump art by yours truly!
-Tons of updates and options by XxSP1DERxX!
-Optional invulnerability protection for players, time-based (you can set how long you want). Default 15 seconds.
Patch Suggested Preview*
Patch Required Preview*
Help Gump Preview*
Installation
Extract the attached file to your custom scripts directory. In the file "ClientPatchWarning.cs", locate the following code:
Set the parts in red to what is desired. Enjoy!
Future Plans
-Auto-detect new client patch versions (I have no idea how I can do this, if anyone has any idea please tell me!)
-Simple organized logging with an in-game viewer.
Thank you for using this script, I hope you enjoy it! You can e-mail suggestions/requests to [email protected], post them here, or contact XxSP1DERxX.
*Preview Images are bad quality. Images are not up-to-date.
Client Patch Warning v1.6
Originally created by Joeku AKA Demortris
Completely revamped by XxSP1DERxX
Originally created by Joeku AKA Demortris
Completely revamped by XxSP1DERxX
Changelog
-v1.0 > v1.1 Post #12: updated to allow seperate required and suggested patches. Fixed bug that would potentially leave players invulnerable/frozen (Thanks for the report Erica).
-v1.1 > v1.2 Post #13: fixed small bug that would sometimes send gump on invalid clients. Fixed bug that always made the player mortal and unfrozen (was an annoyance for staff who keep immortal).
-v1.2 > v1.3 Post #45 XxSP1DERxX's Complete Revamp: Consolidated the gumps into 1 gump. Consolidated the gump display. Optimized the version checks. Fixed the null Client Version bug. Fixed an exploit to defeat the gump. Fixed a timer bug keeping the timer alive indefinately. Fixed a timer bug making the gumps keep reappearing. 'bad client version' is now written to the console. Fixed a bug with freezing/blessing not being taken off. Removed the Try/Catch and added a Mobile check (jic?). Fixed the spacing on the buttons to be standard for all gump variants. Edited the messages that are sent to the client. Suggested patching no longer blesses/freezes you.
-v1.3 > v1.45 Post #55: Removed the Blessing/CantWalk crap due to bugs. Added Enforce Client Verification so that you can enforce Required clients to go through the client verification as a normal RunUO server would.
v1.45 > v1.5 Post #63: Fixed the problem with EnforceClientVerification. It will now work without any other file modifications.
v1.5 > v1.6 Post #69: Updated to allow a certain amount of seconds for invulnerability protection. Default protection is 15 seconds.
Description
Dynamic Client Patch Warning gump. No distro files included.
Features
-Automatically detects shard name/inserts where neccesary
-Pops up overtop of other gumps on player login (if player's client is not up-to-date)
-Seperate required and suggested patch versions can be enabled.
-Built-in Help Menu.
-Website button.
-Yet more sexy gump art by yours truly!
-Tons of updates and options by XxSP1DERxX!
-Optional invulnerability protection for players, time-based (you can set how long you want). Default 15 seconds.
Patch Suggested Preview*
Patch Required Preview*
Help Gump Preview*
Installation
Extract the attached file to your custom scripts directory. In the file "ClientPatchWarning.cs", locate the following code:
Code:
public class ClientPatchWarning
{
//Settings
public static bool EnforceClientVerification = [COLOR="Red"]false[/COLOR];
public static ClientVersion Required = new ClientVersion( "[COLOR="red"]5.0.1a[/COLOR]" );
public static ClientVersion Suggested = new ClientVersion( "[COLOR="red"]5.0.1j[/COLOR]" );
public static string WebsiteURL = "[COLOR="red"]http://www.runuo.com/forums[/COLOR]";
public static TimeSpan Delay = TimeSpan.FromSeconds( [COLOR="red"]1.0[/COLOR] );
public static TimeSpan KickDelay = TimeSpan.FromSeconds( [COLOR="red"]30.0[/COLOR] );
public static int InvulProtection = [COLOR="Red"]15[/COLOR]; //seconds of invulnerability protection
Future Plans
-Auto-detect new client patch versions (I have no idea how I can do this, if anyone has any idea please tell me!)
-Simple organized logging with an in-game viewer.
Thank you for using this script, I hope you enjoy it! You can e-mail suggestions/requests to [email protected], post them here, or contact XxSP1DERxX.
*Preview Images are bad quality. Images are not up-to-date.