Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [SSGM 4.0 Plugin] Bandwidth Detector
[SSGM 4.0 Plugin] Bandwidth Detector [message #470983] Mon, 09 July 2012 02:18 Go to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
The bug with the improper detection of the client´s bandwith still exists in Renegade. Bandwidth is still not detected at all. It relies on what you set it in the WOL options or via SBBO.
You can set the minimal bandwidth per client which should force everyone to have such bandwidth budget out. Although you have to assume no one has a worse connection than that set.

There are times when clients bandwidth would drop below the amount set to very low numbers such as 28000 or even as low as 1500. This happens if the connection cannot handle the higher bandwidth.

In 4.0, you can set the client's minimum bandwidth in your server.ini settings labeled "MinimumBandwidthPerClient=128000". However, there are times where the above issue occurs and their bandwidth doesn't reset. This plugin is a port over of the Bandwidth Detection feature in the early SSGM. It checks the bandwidth of all players ingame every minute to see if it is below a set amount. If it is, it will reset it.


Quote:


### Created by Xpert from Atomix
### irc.ax-games.net
### www.ax-games.net


### CREDITS
Thanks to Stealtheye for explaining to me the bug with improper bandwidth detection in Renegade.


### DESCRIPTION ###
This plugin is a port over of the Bandwidth Detection feature in the early SSGM. It checks
the bandwidth of all players ingame every minute to see if it is below a set amount.
A message will also output to the SSGM Log prefixed with _ALERT for server regulators to read.



### CHANGELOG ###

V1 - Release
V2 - Fixed a crash issue

### Installation ###

Place this in the ssgm.ini plugins list of course. Below is what should be in your SSGM.ini for the BW_Detector settings.


[BW_Detector]

; BWDefault=
;
; The lowest a players bandwidth can be set to. 28800 is the lowest setting Renegade has, but players can set it even lower
; with a console command. Even though 28800 is a normal setting in Renegade, this should be set at 56000 or higher as
; 28800 will cause the player to lag.

BWDefault=128000


; BWMessage=
;
; Message to send the player letting them know their bandwidth is being reset.
; You can leave this blank if you want since there's a setting within the code itself.

BWMessage=Your bandwidth was detected dropping below the allowed amount. It has been reset.



http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder

[Updated on: Mon, 09 July 2012 03:07]

Report message to a moderator

Re: [SSGM 4.0 Plugin] Bandwidth Detector [message #470984 is a reply to message #470983] Mon, 09 July 2012 02:58 Go to previous message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
Updated with v2. Fixed a crash issue.

http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder

[Updated on: Mon, 09 July 2012 03:07]

Report message to a moderator

Previous Topic: [SSGM 4.0 Plugin] Character Refund Kebab Edition
Next Topic: [SSGM 4.0 Plugin] AFK_Detector
Goto Forum:
  


Current Time: Tue Dec 03 12:07:58 MST 2024

Total time taken to generate the page: 0.00877 seconds