EventScripts Forums
Mattie's EventScripts and Source Forums
Mattie recommends...
Premier Sponsor:Platinum Sponsor:
 
Script Categories
addon (49) admin (269) admins (14) advert (15) adverts (19) afk (15) alerts (12) ammo (23) anti (15) auth (16) automatic (11) awp (23) ban (18) ba_jail (17) bhop (19) block (18) bomb (40) bonus (23) bot (24) bot-management (19) bots (17) bunnyhop (11) Buy (21) cash (65) chat (57) cheat (11) clan (16) classes (22) color (21) colors (18) command (20) commands (18) config (22) connect (42) CS:S (16) css (2513) Damage (36) database (11) dead (15) death (19) deathmatch (70) deathrun (12) disconnect (18) Dissolve (11) dm (20) dod:s (11) dods (389) easy (18) effects (120) English (15) entity (21) es_tools (12) Eventscript (12) flashbang (25) français (99) french (36) fun (288) funny (16) Gabeee (11) gameplay (174) give (16) gravity (11) grenade (25) grenades (29) gun (14) GunGame (26) GunGame5 (11) guns (17) Hack (15) headshot (32) health (55) hegrenade (13) hl2dm (332) HP (13) info (48) information (16) IP (11) jail (26) jailbreak (11) join (23) jump (12) kick (22) kill (44) kills (22) knife (57) leveling (36) management (14) mani (14) map (25) map-management (27) maps (15) match (17) menu (106) message (20) messaging (52) mod (109) model (14) models (32) money (42) motd (13) music (29) mute (17) nades (18) name (13) noblock (35) player (40) player-management (31) player-tracking (28) popup (56) props (23) protection (27) punishment (49) python (63) quake (18) radio (21) random (36) rank (35) rates (16) rcon (13) realism (21) respawn (61) restrict (36) round (20) rpg (24) rules (41) say (11) scout (19) Script (20) script-helper (25) scriptpack (33) sdk (151) server (44) server-tools (42) shop (12) silly (31) simple (27) skins (25) slay (13) soccer (11) sound (45) sounds (92) spanish (11) spawn (63) speed (25) statistics (13) stats (48) status (11) STEAMID (24) Superhero (13) surf (31) Team (25) team-balance (14) teleport (12) text (14) TF2 (143) time (17) timer (14) tools (15) tracers (17) triggers (11) uedi (18) uses_auth (18) utility (11) vip (12) vote (36) voting (22) war (20) wcs (24) wcs:Python (32) weapon (77) weapons (114) web (14) welcome (12) zm (24) zombie (90) zombiemod (51) zombies (11)
Script Authors
*XYZ*SaYnt (12) .:MiB:. (11) .eMko* (6) 101satoon101 (10) 3R10N (24) 4u571n91 (5) 7355608 (9) Absolute (8) Ace Rimmer (40) adminc (5) Adz (8) AgathaKnuppelkuh (8) aidden (8) ajax (5) ak_47 (6) Al3c Tr3v3lyan (6) allstareng (5) ashbash1987 (9) ATAMAH (7) aznone (5) B00M (5) BackRaw (41) BFH_RedBull (8) bigfabi (7) Bioko (7) Blade (10) bladesback (13) bobdole (11) bodzsar1 (8) bonbon (36) Brainsucker (30) cagemonkey (8) carbon-14 (10) CaskioUTF (5) cbirou (15) ChaCaLz2psy4 (5) CharlesT (5) Chrisber (5) chrismrulz (9) Chun (6) cladiron (10) clipz934 (8) Colster (21) Cookieman8 (7) craziest (10) DanielB (19) Darkness123 (8) Dave (9) dbozan99 (7) deathx9 (5) Deathyy (16) dhack (16) Di[M]aN (12) DoCky (27) Don (15) dordtcore (8) DragonFreddo (8) Drassil (5) Einlanzers (42) EmbouT (10) emilplov (7) Errant (10) Eun (6) Fantole (9) Franc1sco (10) freddukes (18) Frequency (6) Fulmine (5) GAMEREN2 (8) german9114 (13) GODJonez (38) GoodfellaDeal (5) Hansi (6) HitThePipe (7) HOLLDIDAY (9) Icetouch (6) ichthys (25) infamous1 (9) Jeff91 (45) JoeyT2006 (30) Juba_PornBorn (12) jxl180 (10) KDBFame (6) L'In20Cible (7) Largo Usagi (10) Lobe (11) loKkdoKk (7) lolo-le-haricot (7) LosNir (5) Lumpi@Work (9) M4rc3L-XCN (7) macshot (6) Matth (6) Mattie (20) MBchrono (15) McFly (20) Medda (5) Memphis-84 (10) Messiah93 (12) Mickyy (5) micmacx (6) Mitchell (5) Mordavolt (7) MrScriptaz (5) mryoung (6) Nicolous (26) ojii (31) Omega_K2 (9) Owned|Myself (8) P3N (7) pand3mic (5) parsimba (5) Pascal257 (9) PatPeter (7) PDrop (10) Phaedrus (18) PhantOm Fury (7) phoenix131 (9) pinkyyy -.- (5) pitbull0993 (7) randomknifer (9) Ratzee (6) ReaCtioN2oo9 (6) Rennnyyy (17) revolutionfighters (6) RideGuy (12) Rio (9) Roeliekt (6) runamagic (13) sandking220 (6) Sarcasm_Poisoning (10) saRs| Johnny-5 (13) Schubaal (10) sea212 (5) sega74rus (7) sgt.angel (6) sicilia (5) sicman_adrian (22) skillz92 (7) sn4k3 (18) Snake12 (7) snake38 (10) sonicsight (7) spoonman184 (8) stabby (22) stas (22) Strontium Dog (30) SumGuy14 (25) SuperDave (45) surfteam (5) TaCo (5) TanaToS (17) Tealk (6) teowow (16) TheCheeTaH (20) TheDonFather (5) theresthatguy (6) Tiny Tod (7) Totyahun (9) uedi (38) Undead (25) usernamesaretaken (15) Warren (13) westham (6) WhiteAvenger (7) Wonder (14) X-Mania (5) XE_ManUp (13) xfalcon61 (5) zSweetXz (5) [Cs]Lord_Inferno2 (11) [NATO]Hunter (28) ||Wolf|| (10)
Search

Post new topic This topic is locked, you cannot edit posts or make further replies.
Go to page 1, 2, 3, 4, 5 ... 35  Next
Author Message
User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2005-12-19, 7:08 am 
   Post subject: Ace Rates v3.9.999: *Updated April 03 2007*

Script to check for high or low rates.

Has option to force reconnect, kick or just change the rates of offending raters. Shows messages to all and writes to log every round.

Any player can type "rates" in player chat and he (only the player who typed "rates") will get a list of all players rates and values.

Sends message to player to inform him why he is being kicked or being forced to reconnect, this message will show in his console if he checks it.

The action (kicking or forcing reconnect) will then happen in 5 seconds.


All fully customisable

Requirements:

Event Scripts v1.0 or higher
No longer requires Mani Admin

INSTALLATION:

Download the .rar file
    Extract the folders exactly as they are in the rar file.
    ../addons/eventscripts/ace_rates/es_ace_rates.txt
    Edit the configuration options in the file es_ace_rates.txt to your liking
    Add the line es_load ace_rates your autoexec.cfg
    Restart Server
    Have control of raters


Here are the editable parameters

Code:
block load
{
  es_setinfo ace_rates 3.8.696
  es_makepublic ace_rates
  //
  // SET YOUR MIN RATES HERE
  es_xsetinfo ace_min_rate 7500
  es_xsetinfo ace_min_cmdrate 30
  es_xsetinfo ace_min_updaterate 20
  //
  // SET YOUR MAX RATES HERE (Actually minus 1)
  es_xsetinfo ace_max_rate 25000
  es_xsetinfo ace_max_cmdrate 100
  es_xsetinfo ace_max_updaterate 100
  //
  //
  // CHANGE TO 1 IF YOU WANT TO FORCE RATERS TO RECONNECT
  es_xsetinfo ace_rate_reconnect 1
  //
   // CHANGE TO 1 IF YOU WANT TO SIMPLY AUTO KICK RATERS
  es_xsetinfo ace_rate_kick 0
  //
  // 0 = NO LOGGING OF RATES, 1 = WRITES RATES TO LOG
  es_xsetinfo ace_rate_log 1
  //
   //
  // 0 = NO ANNOUNCING OF RATE ADJUSTMENT, 1 = ANNOUNCES RATE ADJUSTMENT TO PLAYER CHAT
  es_xsetinfo ace_rate_announce 0
}



This script now replaces all older version and I fully recommend everyone using the older version to update now. You must also be using Event Scripts Version 1.0.0.000 or higher.

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


Last edited by Ace Rimmer on 2007-04-03, 3:33 pm, edited 61 times in total.




User avatar
Regular
Profile

Posts: 181
Location:
Isle of Man (GB)
 
New postPosted: 2005-12-19, 7:25 am 

Good stuff Ace.

Yeah being polite to "raters" is pointless, they either ignore you, or come out with "what are rates" or something.

I my even remove the MSG telling them, so i don't have to converse with them about why there "rates" have been changed.

_________________
{GBK} þδlצmδrþћ
A Great~British~Killer
www.gbkclan.com
www.auction-your-items.com
212.187.208.73:27015


User avatar
Regular
Profile

Posts: 181
Location:
Isle of Man (GB)
 
New postPosted: 2005-12-19, 8:07 am 

Just stick it on, and it works a treat.

As i siad i was thinking of removing the msgs anyways, but just to let you know they don't appear when it changes your rates.

also in your server.cfg it states

Quote:
// Set to your min amounts
// Also these are the amount that will be set
// if the players are above them


It doesnt seem to do this, which I think is a good thing.


cheers.

_________________
{GBK} þδlצmδrþћ
A Great~British~Killer
www.gbkclan.com
www.auction-your-items.com
212.187.208.73:27015


User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2005-12-19, 8:37 am 

polymorph wrote:
Just stick it on, and it works a treat.

As i siad i was thinking of removing the msgs anyways, but just to let you know they don't appear when it changes your rates.

also in your server.cfg it states

Quote:
// Set to your min amounts
// Also these are the amount that will be set
// if the players are above them


It doesnt seem to do this, which I think is a good thing.


cheers.


Hi mate,
The stuff you quoted preceded by "//" are comments they do nothing to the script except tell you what to do if you are editing the server.cfg

I think you may have got an early version though, suggest re-dowloading and overwriting. The final version should read:

Code:
// Set to your min amounts
// Also these are the amount that will be set
// if the players are below them


As to the message, for simplistic sake I have set the message only to appear if the main "rate" settings are altered. I suppose it should be triggered by the other rate settings as well but like yourself I don't see the point in tons of messages.

If you want no messages just comment out the line like this:
Code:
// if (server_var(ace_rate_rate) lessthan server_var(ace_min_rate)) then es_msg #lightgreen Ace Rates - server_var(ace_rate_playername) - Rates raised to server minimum

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


User avatar
Regular
Profile

Posts: 181
Location:
Isle of Man (GB)
 
New postPosted: 2005-12-19, 8:56 am 

Ah I see....Thanks for the prompt replay as usual m8.

I knew it would be something simple that i am just to blind to see :)

Just thought I'd post up in case.



cheers

_________________
{GBK} þδlצmδrþћ
A Great~British~Killer
www.gbkclan.com
www.auction-your-items.com
212.187.208.73:27015


User avatar
Helper
Profile

Posts: 280
 
New postPosted: 2005-12-19, 9:16 am 

Nice one, just what I wanted. I'm commenting out the message. If they have them below those very generous levels then they know they are rate hacking and as was said above I've no interest in wasting my time conversing with people trying to hack in that way.

_________________
CS:S Profile, Medals, Stats and an Epic Battle: Final Battle Ground

Image


User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2005-12-19, 9:19 am 

Yes those levels are generous to a degree.

I did a bit of research and found the lowest acceptable rates that most people consider OK.

I actually use those rates msyelf although tbh I can't really tell any difference from the defaults.

Of course anyone can edit these.

Now do you think I should add cl_interp etc?

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


User avatar
Regular
Profile

Posts: 181
Location:
Isle of Man (GB)
 
New postPosted: 2005-12-19, 9:30 am 

I think interp and interpolate would be a fine addition.

I use csp1.1 which locks them, but if you can do it this script you may as well, as just like rates people use interp and interpolate to try and gain a unfair advantage.

Also, may try to do this myself anyways, but how about max rates settings?, ao if people are above, they are lowered to the max setting.

max: rate 25000 cmdrate 101 updaterate 101?



cheers

_________________
{GBK} þδlצmδrþћ
A Great~British~Killer
www.gbkclan.com
www.auction-your-items.com
212.187.208.73:27015


User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2005-12-19, 9:32 am 

polymorph wrote:
I think interp and interpolate would be a fine addition.

I use csp1.1 which locks them, but if you can do it this script you may as well, as just like rates people use interp and interpolate to try and gain a unfair advantage.

Also, may try to do this myself anyways, but how about max rates settings?, ao if people are above, they are lowered to the max setting.

max: rate 25000 cmdrate 101 updaterate 101?



cheers


OK mate I'll add both these shortyl. I just don't want the script to get too bloated. I'll post back later when it's done.

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


User avatar
Helper
Profile

Posts: 280
 
New postPosted: 2005-12-19, 9:43 am 

just thought of a little idea for it. Repeat the code to check the rates in player_activate file a second time but instead of changing them to the variables, set it to boot the person, if you know what i mean. So if someone is rate hacking and has their server.cfg set to read only, the server will be unable to change their rates and so will boot them. Something like this:

Code:
if (server_var(ace_rate_rate) lessthan server_var(ace_min_rate)) then es_cexec event_var(userid) rate server_var(ace_min_rate)
if (server_var(ace_rate_cmdrate) lessthan server_var(ace_min_cmdrate)) then es_cexec event_var(userid) cl_cmdrate server_var(ace_min_cmdrate)
if (server_var(ace_rate_updaterate) lessthan server_var(ace_min_updaterate)) then es_cexec event_var(userid) cl_updaterate server_var(ace_min_updaterate)


if (server_var(ace_rate_rate) lessthan server_var(ace_min_rate)) then  ma_kick event_var(userid)
if (server_var(ace_rate_cmdrate) lessthan server_var(ace_min_cmdrate)) then ma_kick event_var(userid)
if (server_var(ace_rate_updaterate) lessthan server_var(ace_min_updaterate)) then ma_kick event_var(userid)

_________________
CS:S Profile, Medals, Stats and an Epic Battle: Final Battle Ground

Image


User avatar
Regular
Profile

Posts: 181
Location:
Isle of Man (GB)
 
New postPosted: 2005-12-19, 9:49 am 

Skitz wrote:
just thought of a little idea for it. Repeat the code to check the rates in player_activate file a second time but instead of changing them to the variables, set it to boot the person, if you know what i mean. So if someone is rate hacking and has their server.cfg set to read only, the server will be unable to change their rates and so will boot them. Something like this:

Code:
if (server_var(ace_rate_rate) lessthan server_var(ace_min_rate)) then es_cexec event_var(userid) rate server_var(ace_min_rate)
if (server_var(ace_rate_cmdrate) lessthan server_var(ace_min_cmdrate)) then es_cexec event_var(userid) cl_cmdrate server_var(ace_min_cmdrate)
if (server_var(ace_rate_updaterate) lessthan server_var(ace_min_updaterate)) then es_cexec event_var(userid) cl_updaterate server_var(ace_min_updaterate)


if (server_var(ace_rate_rate) lessthan server_var(ace_min_rate)) then  ma_kick event_var(userid)
if (server_var(ace_rate_cmdrate) lessthan server_var(ace_min_cmdrate)) then ma_kick event_var(userid)
if (server_var(ace_rate_updaterate) lessthan server_var(ace_min_updaterate)) then ma_kick event_var(userid)



Interesting idea, would it work in the same cfg?

If not you could have it in the player_spawn,cfg, so if it cannot change on player_activate it can then kick on player_spawn?

_________________
{GBK} þδlצmδrþћ
A Great~British~Killer
www.gbkclan.com
www.auction-your-items.com
212.187.208.73:27015


User avatar
Helper
Profile

Posts: 280
 
New postPosted: 2005-12-19, 10:11 am 

Because it runs in order it should all be able to go in the one file, but its possible lag or something may screw it up i guess. Could set their rates in player_connect and then if they aren't right by player_activate it means they are read only and it could boot them then.

_________________
CS:S Profile, Medals, Stats and an Epic Battle: Final Battle Ground

Image


User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2005-12-19, 12:59 pm 

Intersting but not necessary at all. Sorry.

Firstly, if you have your rates set in your local machine autoexec.cfg or config.cfg and it is write protected (or indeed if it isn't write protected), the script will still change the rates when you join the server. I know because that's exactly how I have mine set.

Yes, their rates will be back to their hacked low levels next time they restart the game BUT I don't want to interfere with someone's config files permanently, only when they are on my server.

I also don't think they should be kicked. If you want that kind of functionality then use Unknown's Rates script pack.

Finally, as you all know the whole point of my scripts is simple, small and no bloat.

I already considered it bloat to add the same code in player spawn. Checking on connect and then on player spawn is enough for me. If they try to change their rates back player spawn will catch them.

I will be adding the interp values and max rate values though, just got a bit of other stuff to do first.

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2005-12-19, 1:49 pm 

OK guys here is the update done:

Min AND Max rates can now be set in server.cfg

Interp & Interpolate now set in server.cfg

The rates checker is now a separate config file which means you can "call" it whenever you want. It also means that when es 1.5 is released it will be MEGA FAST due to es_mexec which will be a very simple addition to this script.

All the stuff is labelled and commented clearly so feel free to tinker.

Cheers.

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2005-12-19, 2:09 pm 

UPDATE UPDATE:

Sorry guys, I accidentally left in es_map_start.cfg which will cause your server to crash on map change.

Please delete this file es_map_change.cfg from the Ace_Rates folder.

I have updated the main .rar file above.

This mistake was made because I was rushing to release this script before clan practice which starts in 5 minutes.

Apologies once again.

:)

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


User avatar
Regular
Profile

Posts: 181
Location:
Isle of Man (GB)
 
New postPosted: 2005-12-19, 4:14 pm 

Gd job on the aditions Ace.

I didnt have a es_map_change.cfg the version i had.

been running on our server allevening no probs.


Cheers

_________________
{GBK} þδlצmδrþћ
A Great~British~Killer
www.gbkclan.com
www.auction-your-items.com
212.187.208.73:27015


User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2005-12-19, 5:54 pm 

polymorph wrote:
Gd job on the aditions Ace.

I didnt have a es_map_change.cfg the version i had.

been running on our server allevening no probs.


Cheers


Make sure you have the latest anyway.

Now there is just one thing left and that is to decide whether to remove the BOTs being checked or not. Gets a little annoying.

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


User avatar
Helper
Profile

Posts: 280
 
New postPosted: 2005-12-19, 7:59 pm 

nice one, wasn't sure about the read only thing, its handy that its not an issue :) I think I'll probably run it without the player_spawn and max rates and put in a comand for admins to force the clients to run the script on command instead :) Nice work

_________________
CS:S Profile, Medals, Stats and an Epic Battle: Final Battle Ground

Image


Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 618 posts ]  Go to page 1, 2, 3, 4, 5 ... 35  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group