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

Mani Admin Plugin for MetaMod: Source


Post New Thread Reply   
 
Thread Tools Display Modes
jarrodatt
Member
Join Date: May 2004
Old 03-08-2006 , 10:59  
Reply With Quote #221

Sorry, I couldnt get version l to work with ratetweak.

I took off plugins 1 at a time but i only had 3 mani, rate, stats.
anyway when i took off just the rate and put stats baqck on server worked fine.

win ded
mm latest
mani latest
eventscripts latest
jarrodatt is offline
sslice
Senior Member
Join Date: Feb 2005
Location: Texas, USA
Old 03-08-2006 , 17:03  
Reply With Quote #222

Yeah, I wouldn't recommend anyone to run ratetweak as it doesn't work properly, and I have yet to continue it.

Edit: Nevermind, I've continued it, lol. Go try the latest alphas.
__________________
sslice is offline
neiltoe
Member
Join Date: Dec 2005
Location: New Mexico USA
Old 03-11-2006 , 13:19   Just in case anyone needed to know....
Reply With Quote #223

http://www.mani-admin-plugin.com/for...=141908#141908

There is a potential bug in mani's meta version betaL Just wanted to let everyone know. unlimited grenades and warmuptimer both give a message sv_cheats 1 then sv_cheats 0 per player its very spamming lol.
neiltoe is offline
Send a message via AIM to neiltoe
Mani
Veteran Member
Join Date: Dec 2004
Location: UK
Old 03-14-2006 , 12:04   Re: Just in case anyone needed to know....
Reply With Quote #224

Quote:
Originally Posted by neiltoe
http://www.mani-admin-plugin.com/forums/viewtopic.php?p=141908#141908

There is a potential bug in mani's meta version betaL Just wanted to let everyone know. unlimited grenades and warmuptimer both give a message sv_cheats 1 then sv_cheats 0 per player its very spamming lol.
It's not really a bug, just a side effect of the latest Valve update spamming changes to the sv_cheats cvar. In order to give unlimited grenades the plugin turns on sv_cheats, gives the player the grenade using 'give hegrenade' then turns them off again. A player cannot issue a cvar that is only allowed when cheats are enabled during this time.

I have an alternative way of doing this that I will use in the Beta M version.

Mani
__________________
Installation files, documentation and help can be found at: -

www.mani-admin-plugin.com
Mani is offline
sniper_strike
Senior Member
Join Date: Jan 2005
Old 03-15-2006 , 19:13   Re: Just in case anyone needed to know....
Reply With Quote #225

Quote:
Originally Posted by Mani
Quote:
Originally Posted by neiltoe
http://www.mani-admin-plugin.com/forums/viewtopic.php?p=141908#141908

There is a potential bug in mani's meta version betaL Just wanted to let everyone know. unlimited grenades and warmuptimer both give a message sv_cheats 1 then sv_cheats 0 per player its very spamming lol.
It's not really a bug, just a side effect of the latest Valve update spamming changes to the sv_cheats cvar. In order to give unlimited grenades the plugin turns on sv_cheats, gives the player the grenade using 'give hegrenade' then turns them off again. A player cannot issue a cvar that is only allowed when cheats are enabled during this time.

I have an alternative way of doing this that I will use in the Beta M version.

Mani
you sould because turning on sv_cheats for the smallest amount of time is bad
__________________

66.150.188.42:27015
sniper_strike is offline
sslice
Senior Member
Join Date: Feb 2005
Location: Texas, USA
Old 03-15-2006 , 20:08  
Reply With Quote #226

You going to remove the FCVAR_CHEAT flag, use it, then throw it back on?
__________________
sslice is offline
Mani
Veteran Member
Join Date: Dec 2004
Location: UK
Old 03-16-2006 , 11:53  
Reply With Quote #227

Quote:
Originally Posted by sslice
You going to remove the FCVAR_CHEAT flag, use it, then throw it back on?
Nope, just going to use the GiveNamedItem function.

Mani
__________________
Installation files, documentation and help can be found at: -

www.mani-admin-plugin.com
Mani is offline
Mani
Veteran Member
Join Date: Dec 2004
Location: UK
Old 03-16-2006 , 12:00   Re: Just in case anyone needed to know....
Reply With Quote #228

Quote:
Originally Posted by sniper_strike
Quote:
Originally Posted by Mani
Quote:
Originally Posted by neiltoe
http://www.mani-admin-plugin.com/forums/viewtopic.php?p=141908#141908

There is a potential bug in mani's meta version betaL Just wanted to let everyone know. unlimited grenades and warmuptimer both give a message sv_cheats 1 then sv_cheats 0 per player its very spamming lol.
It's not really a bug, just a side effect of the latest Valve update spamming changes to the sv_cheats cvar. In order to give unlimited grenades the plugin turns on sv_cheats, gives the player the grenade using 'give hegrenade' then turns them off again. A player cannot issue a cvar that is only allowed when cheats are enabled during this time.

I have an alternative way of doing this that I will use in the Beta M version.

Mani
you sould because turning on sv_cheats for the smallest amount of time is bad
Have you been looking through the SDK source code to come up with this conclusion ? It is all done server side with no delays for any exploits to happen. The client is not even aware of it except for the chat message being sent out to it.

Mani
__________________
Installation files, documentation and help can be found at: -

www.mani-admin-plugin.com
Mani is offline
Mani
Veteran Member
Join Date: Dec 2004
Location: UK
Old 03-19-2006 , 11:15  
Reply With Quote #229

Release V1.2 Beta M, 19th March 2006

Fixes
Fixed Dod external stats typo in flag capture/block
Fixed Dod internal mani_ranks.txt file so it corresponds to the mani_ranks_readme.txt file
Fixed Dod logging to use garand and not garande
Fixed Escape style 'Top10' not showing names
Fixed Online time display not working properly if online time is greater than a day
Fixed LAN style stats when mani_stats_by_steam 0
Fixed body hit groups translations for hitboxme command
Fixed sv_cheats 1/0 appearing in chat when using ma_give and unlimited grenade mode
Fixed SQL error when retrieving clients on MySQL 5.0.12 or greater
Fixed ma_client iflags showing all admin flags instead of immunity flags
Fixed ma_unban not working on steam ids
Lots of other little fixes that I cannot remember.

New Additions
Added an AFK Manager (new immunity flag called afk)
Translation system has been re-written so that it can use parameters in any sequence.
Database schema has been upgraded to support server groups (plugin will auto upgrade your database when first run)
Commands run from HLSW will now get text responses back from the plugin.
Added team bonuses for CSS internal stats
Added death multiplier for internal stats
Top command now shows full names and allows page scrolling via More/Back options
New commands @session <player name> and @statsme <player name> to show other players statistics who are playing on the server at the time.
Warmup round now support respawn in knife only mode. We tried running respawn for knife mode and unlimited grenades but it lags the server very badly.
Added a new mode for most destructive information based on kills/damage.
Updated default weapon weightings to be in line with hlstatsx defaults.
Added new mode for decay stats where a players points can be fully restored or not.
Re-coded ping kicker to be more efficient.
Updated CSS code to switch players from teams. Players now do not die when this happens and they keep their weapons.
ma_swapteam #ALL will swap an entire side without restarting the game.
Added the mod Empires to the gametypes.txt file

New Config cvars for V1.2 Beta M
Code:
// *****************************************************************************
// Module : Stats
//
// Desc : The stats module is a very simple ranking system based on 3 methods of
//        calculation (defined in mani_stats_calculate).
// *****************************************************************************


// When a player reconnects the stats module can restore a players
// points back to the full amount if decay has set in
// 0 = Do not restore full points, 1 = restore to full points
mani_stats_decay_restore_points_on_connect 0

// When a player reconnects the stats module can restore a players
// points back to the full amount if decay has set in
// 0 = Do not restore full points, 1 = restore to full points
mani_stats_decay_restore_points_on_connect 0

// Multiplier for victim points lost. If you want victims
// to lose say half points for dying set this to "0.5" etc
mani_stats_points_death_multiplier "1.0"

// Weapon weighting for CSS Stats
// Making a weight 2.0 will double the points given/taken
// Making a weight 0.5 will halve the points given/taken
mani_stats_css_weapon_ak47 "1.0"
mani_stats_css_weapon_m4a1 "1.0"
mani_stats_css_weapon_mp5navy "1.2"
mani_stats_css_weapon_awp "1.0"
mani_stats_css_weapon_usp "1.4"
mani_stats_css_weapon_deagle "1.2"
mani_stats_css_weapon_aug "1.0"
mani_stats_css_weapon_hegrenade "1.8" 
mani_stats_css_weapon_xm1014 "1.1"
mani_stats_css_weapon_knife "2.0"
mani_stats_css_weapon_g3sg1 "0.8"
mani_stats_css_weapon_sg550 "0.8"
mani_stats_css_weapon_galil "1.1"
mani_stats_css_weapon_m3 "1.2"
mani_stats_css_weapon_scout "1.1"
mani_stats_css_weapon_sg552 "1.0"
mani_stats_css_weapon_famas "1.0"
mani_stats_css_weapon_glock "1.4"
mani_stats_css_weapon_tmp "1.5"
mani_stats_css_weapon_ump45 "1.2"
mani_stats_css_weapon_p90 "1.2"
mani_stats_css_weapon_m249 "1.2"
mani_stats_css_weapon_elite "1.4"
mani_stats_css_weapon_mac10 "1.5"
mani_stats_css_weapon_fiveseven "1.5"
mani_stats_css_weapon_p228 "1.5"
mani_stats_css_weapon_flashbang "5.0
mani_stats_css_weapon_smokegrenade "5.0"

// Bonus Points for CSS Players
mani_stats_css_bomb_planted_bonus "10"
mani_stats_css_bomb_defused_bonus "10"
mani_stats_css_hostage_rescued_bonus "5"
mani_stats_css_hostage_killed_bonus "-15"
mani_stats_css_vip_escape_bonus "4"
mani_stats_css_vip_killed_bonus "10"

// Bonus Points for CSS Teams
mani_stats_css_ct_eliminated_team_bonus "2"
mani_stats_css_t_eliminated_team_bonus "2"
mani_stats_css_ct_vip_escaped_team_bonus "10"
mani_stats_css_t_vip_assassinated_team_bonus "6"
mani_stats_css_t_target_bombed_team_bonus "5"
mani_stats_css_ct_all_hostages_rescued_team_bonus "10"
mani_stats_css_ct_bomb_defused_team_bonus "5"
mani_stats_css_ct_hostage_killed_team_bonus "1"
mani_stats_css_ct_hostage_rescued_team_bonus "1"
mani_stats_css_t_bomb_planted_team_bonus "2"

// Weapon weighting for DODS Stats
// Making a weight 2.0 will double the points given/taken
// Making a weight 0.5 will halve the points given/taken
mani_stats_dods_weapon_amerknife "3.0"
mani_stats_dods_weapon_spade "3.0"
mani_stats_dods_weapon_colt "1.6"
mani_stats_dods_weapon_p38 "1.5"
mani_stats_dods_weapon_c96 "1.5"
mani_stats_dods_weapon_garand "1.3"
mani_stats_dods_weapon_m1carbine "1.2"
mani_stats_dods_weapon_k98 "1.3"
mani_stats_dods_weapon_spring "1.5"
mani_stats_dods_weapon_k98_scoped "1.5"
mani_stats_dods_weapon_thompson "1.25"
mani_stats_dods_weapon_mp40 "1.25"
mani_stats_dods_weapon_mp44 "1.35"
mani_stats_dods_weapon_bar "1.2"
mani_stats_dods_weapon_30cal "1.25"
mani_stats_dods_weapon_mg42 "1.2"
mani_stats_dods_weapon_bazooka "2.25"
mani_stats_dods_weapon_pschreck "2.25"
mani_stats_dods_weapon_frag_us "1.0"
mani_stats_dods_weapon_frag_ger "1.0"
mani_stats_dods_weapon_smoke_us "5.0"
mani_stats_dods_weapon_smoke_ger "5.0"
mani_stats_dods_weapon_riflegren_us "1.3"
mani_stats_dods_weapon_riflegren_ger "1.3"
mani_stats_dods_weapon_punch "3.0"


// *****************************************************************************
// Module : Most Destructive
//
// Desc : This small module for CSS only shows the player that caused
//        the most damage with their kills at the end of a round
// *****************************************************************************

// 0 = By Kills then damage, 1 = by damage alone
mani_stats_most_destructive_mode 0


// *****************************************************************************
// Module : Warmup Timer
//
// Desc : Warmup timers are used at the start of a map. A timer can be setup 
//        that will restart the map after a set amount of time. For something 
//        like CSS this means late joiners can still start on the pistol round 
//        and not miss out. For CSS there is a specific cvar to allow only 
//        knives to be used during this period.
// *****************************************************************************

// For CSS only, allow players to respawn when dying in the warmup knife round
// only
mani_warmup_timer_knives_respawn 1

// *****************************************************************************
// Module : AFK Manager
//
// Desc : This module can control how to manage players who are AFK. It works
//        by tracking keyboard and mouse movements rather than in game player
//        positions. The manager can be configured to work using the number
//        of rounds that a player is AFK for or by a set number of seconds
//        a player can be AFK. 
// *****************************************************************************

// Cvar to turn on/off the AFK Manager 0 = off, 1 = on
mani_afk_kicker 0

// 0 = Kick to spectator first, then off the server, 1 = Kick straight off the
// server
mani_afk_kicker_mode 0

// 0 = disabled, > 0 = number of rounds before a player is kicked off server or 
// to spectator
mani_afk_kicker_alive_rounds 0

// 0 = disabled, > 0 = number of rounds before being kicked off server
mani_afk_kicker_spectator_rounds 0

// 0 = disabled, > 0 = number of seconds before a player is kicked off server or 
// to spectator
mani_afk_kicker_alive_timer 0

// 0 = disabled, > 0 = number of seconds before being kicked off server
mani_afk_kicker_spectator_timer 0

Language translation changes
If you have a non-english language translation, it will no longer function due to the new translation code.

Normally parameter translations have symbols like %s %i %f etc in them, these have been replaced with %1p %2p etc
The new english.cfg file has a section explaining the new system: -
Code:
// This is the English translation file for the plugin
// If you wish to make your own translation file
// here are some things you should know.
//
// You must make a copy of this file and call
// it whatever your language is i.e
//
// french.cfg
// german.cfg
//
// Format:-
//
// translation_id;format parameters;translation string
//
// The first number is the translation id, you 
// must use the same numbers that are supplied 
// in the english.cfg file. Do not use your own
// numbers.
//
// The second parameter is for reference only so you have
// a rough idea of what the parameter types are.
//
// Typical format parameters are (C programmers will know these)
// %s (string)
// %i (integer)
// %f (float)
//
//
// The 3rd parameter is the translation string itself.
//
// Embedded in the translation string are %1p %2p etc
// These are the place holders for the dymamic parameters
// that can be used in a string and relate to the 2nd
// format parameters. You can have these parameters in 
// any order that you like, you can even repeat the same
// parameter more than once.
//
//
// 01234;%s%s%s;Round the %1p %2p the %3p rascals ran
//
// The plugin will output from this translation string using the code
// Translate(01234,"ragged","rocks","rugged");
//
// 'Round the ragged rocks the rugged rascals ran'
// %1p = ragged, %2p = rocks, %3p = rugged
//
// If I change the translation format to be: -
//
// 01234;%s%s%s;Round the %2p the %3p %1p rascals ran
//
// The output will change to be: -
// 'Round the rocks the rugged ragged rascals ran'
//
// If I change the translation format to be: -
//
// 01234;%s%s%s;Round the %2p the %2p crumbled and smashed
//
// The output will be: -
// 'Round the rocks the rocks crumbled and smashed'
//
// As you can see this allows the possibility of changing the word
// order which is vital to translating to some languages.
//
// A real world example is the following change to one of the victim
// stats translations
//
// The following is an example based on the following translation
//
// 01111;%s%s%c%c%i%i%s%s%.2f%.1f%s;KILLED %1p%2p %3p%4p %5p Dmg, %6p %7p %8p @ %9pm (%10pft)%11p
//
// In the standard english.cfg file this will output something like
//
// 'Killed Mani (HS) >> 126 Dmg, 2 Hits ak47 @ 8m (24.5ft) Head: 2'
//
//
// %1p = Player name,
// %2p = (HS) string,
// %3p & %4p = '>>'
// %5p = Damage player caused
// %6p = Player shots that hit
// %7p = 'Hits or Hit'
// %8p = Weapon name that caused the kill
// %9p = Kill distance in metres
// %10p = Kill distance in feet
// %11p = Concatenated hit group string
//
// Now I can re-arrange the information or just simply
// remove some of it if I want.
//
// 'You killed (HS) player Mani in 2 Hits with 126 damage using an AK47. Hitboxes :- Head : 2'
//             %2p          %1p   %6p %7p      %5p                 %8p                 %11p
//
// The translation string for this would be: -
// 01111;%s%s%c%c%i%i%s%s%.2f%.1f%s;You killed %2p player %1p in %6p %7p with %5p damage using an %8p. Hitboxes :- %11p

To make life a little easier I have made a small program that will convert a language file pre Beta M to the new format.
You can download it here

Extract the program, then use a dos shell to run it against your existing translation.

For example I would run LanguageConverter english.cfg english.new.cfg

This will convert the file english.cfg to english.new.cfg

There are also a few new translations to the file I will list the changes here: -

Code:
// **************************
// Empires Mod team names
// **************************
00922;;Northern Faction
00923;;NF
00924;;Brenodi Empire
00925;;BE
Existing translations that have been changed: -

Code:
01007;%i%i;Rank %1p-%2p by Kills\n
01008;%i%i;Rank %1p-%2p by KD Ratio\n
01009;%i%i;Rank %1p-%2p by K-D\n
01010;%i%i;Rank %1p-%2p by Points\n

01026;%c%i;  Points Gained  %1p%2p\n
01027;%c%i;  Points Lost  %1p%2p\n
Changes to database.txt
Code:
	// Names of tables within the database, no need to change these
	// unless a third party application requires it
	"db_table_client"		"client"
	"db_table_client_flag"		"client_flag"
	"db_table_client_group"		"client_group"
	"db_table_client_level"		"client_level"
	"db_table_client_server"	"client_server"
	"db_table_flag"			"flag"
	"db_table_ip"			"ip"
	"db_table_level"		"level"
	"db_table_nick"			"nick"
	"db_table_server"		"server"
	"db_table_steam"		"steam"
	"db_table_version"		"version"

	// Server group that your server belongs to
	"server_group_id"	"Default"

Download locations for patch and full installs, make sure you update gametypes.txt AND english.cfg

Core files that are different from V1.2 Beta L: -

mani_admin_plugin.dll
mani_admin_plugin_mm.dll (Source MM version)
mani_admin_plugin_i486.so
mani_admin_plugin_mm_i486.so (Source MM version)
gametypes.txt
english.cfg
flaglist.txt
mani_server.cfg


Patch version CS Source
http://www.mani-admin-plugin.com/man...urce_patch.zip

Full version CS Source
http://www.mani-admin-plugin.com/man...m_cssource.zip

Patch version HL2 Deathmatch
http://www.mani-admin-plugin.com/man...l2mp_patch.zip

Full version HL2 Deathmatch
http://www.mani-admin-plugin.com/man...ta_m_hl2mp.zip

Patch version DoD Source
http://www.mani-admin-plugin.com/man..._dod_patch.zip

Full version for DoD Source
http://www.mani-admin-plugin.com/man...beta_m_dod.zip

Documentation
See beta release thread posts for Beta specific functionality
__________________
Installation files, documentation and help can be found at: -

www.mani-admin-plugin.com
Mani is offline
Rebell
Veteran Member
Join Date: Nov 2004
Location: GERMANY
Old 03-19-2006 , 13:06  
Reply With Quote #230

... 4,2 MB for the patchfile for css now. how many traffic do you have in a month ?


and i see that you changed the points for stats ... this can confuse the players...
__________________
Rebell 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 14:09.


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