AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Team Balancer 1.7b6 for CS 1.6 (Ptahhotep) (https://forums.alliedmods.net/showthread.php?t=586)

XAD 03-28-2004 08:56

Team Balancer 1.7b6 for CS 1.6 (Ptahhotep)
 
1 Attachment(s)
Ptahhotep's Team Balancer (PTB) Version 1.7 BETA for CS 1.6.
([email protected])

PTB converted for AMX Mod, updated to work with CS 1.6 and AMXmodX 0.16.
This version is using the same config file as "PTB 1.7 BETA (CS 1.6)" for AMX Mod.
A package of the source code, compiled plugin, and configuration file is attached to this post.

XAD 03-28-2004 08:58

Installation:
Quote:

- Download the "zip" file.
- Unpack the files in a temporary folder.
- Stop the game server (unless you really know what you are doing).
- Move "ptb.cfg" to the AMXmodX config folder
(normally "addons/amxx/configs/").
- Change the configuration, "ptb.cfg" file, to your needs.
- Move source file "team_balancer.sma" to the AMX scripting folder.
- Move plugin "team_balancer.amx" to the AMX plugin folder.
- Open AMX plugin configuration file "plugins.ini".
- Add the line "team_balancer.amx".
- Close the plugin configuration file.
- Start the game server (or at least perform a map change).
Q&A:
Quote:

None yet.
Comments:

/X

SniperBeamer 03-28-2004 10:35

Quote:

- If you didn't write the plugin: put the name of the author to the topic and to the post.
Quote:

- Don't hardcode paths like amxx/custom; use the get_customdir native instead

XAD 03-28-2004 10:48

Quote:

Originally Posted by SniperBeamer
Quote:

- If you didn't write the plugin: put the name of the author to the topic and to the post.
Quote:

- Don't hardcode paths like amxx/custom; use the get_customdir native instead

Well I did... it was coded by "Ptahhotep's"...
Converted to AMXmod by OLO, updated to CS 1.6 (as you can see from the link in second post) and small adaption to AMXmodX by me...

Don't think OLO did too many changes to the original code and OLO never published it as his, ie being the author... so as far as I know this is Ptahhotep's... But I will make clearify it...

For the second part: I will look into making a new version including both get_customdir and JGHG's team switch, but as a lot of people had problem with previous PTB published (which you guys approved!??) I wanted to publish this one as it works and has been working for quite a long time for AMXmod.

/X

knocker 03-28-2004 10:51

xad did you change anything except amxmodx.inc? if not i will use my own version. but if there are new features i will install yours ...

XAD 03-28-2004 10:54

Quote:

Originally Posted by knocker
he wrote the previous version on amx ...


xad did you change anything except amxmodx.inc? if not i will use my own version. but if there are new features i will install yours ...

Not yet, only config file location and str_to_num... (check my previous edited post)...

/X

knocker 03-28-2004 11:03

lol, first you answered faster than me and again you were faster than my edit ...


ok, i made the strtonum things too (else no compilation ;)) ... so i think theres no difference between our versions :D


but i am glad you published your version since i will not do any plugin ported by me again.

Pomme 03-28-2004 16:07

Quote:

Originally Posted by XAD
I wanted to publish this one as it works and has been working for quite a long time for AMXmod.

And has been not switching people for quite a long time too on AMX... this urgently needs to be fixed in a reliable way.

One other thing i'd like to see added from the Djeyl forum thread is the modification which allowed admin to be immune to switch and autojoin, this allowed to easily have admins in both team to supervise things.

XAD 03-28-2004 16:42

Quote:

Originally Posted by Pomme
And has been not switching people for quite a long time too on AMX... this urgently needs to be fixed in a reliable way.

What do you mean it "has been not switching people"??? If you say it doesn't switch players then you have configured your system wrong!! If you say it sometimes doesn't then write it and not that it doesn't work!!! :evil:

Also "urgently" is a relative word. On my list this is not on the top of the "urgently" list as no one reported it on our servers (so it probably happens very rarely), but I suppose this depend on configuration and how often your players are switching team manually!

The only reason for this bug, what I have found, is that the problem occurs when people already switched team once in round or has joined in the round and are therefore not allowed to switch again due to hlds limit.

A way to fix it could be with JGHG proposal using the new AMXmodX feature but it need to be tested quite a lot before release to make sure the player skin and all that is switched correctly. You are more than welcome to add it but I won't release it until I know it works as good as possible (based on hlds and AMXmodX limitations).

/X

rootdown 03-28-2004 16:52

Quote:

Originally Posted by XAD
A way to fix it could be with JGHG proposal using the new AMXmodX feature but it need to be tested quite a lot before release to make sure the player skin and all that is switched correctly. You are more than welcome to add it but I won't release it until I know it works as good as possible (based on hlds and AMXmodX limitations).

/X

it would be sweet if JGHG's solution could be implemented into this plugin


All times are GMT -4. The time now is 20:21.

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