[GameMode] ClanBattle v1.0 *Coded by Scarface* -
[BDC]Scarface - 06.10.2006
/*
=======================
ClanBattle v1.0
Coded by Scarface
=======================
*/
ClanBattle v1.0
www.ausamp.com/Scripts/ClanBattle.zip
ClanBattle v1.0 Source
www.ausamp.com/Scripts/ClanBattleSource.zip
For Questions / Suggestions Email
scripting@ausamp.com
I have fully tested all features of this script on both Windows and Linux/Unix based servers.
Although this is no reason why you shouldn't test it as well
*********************************
CONDITIONS OF USE:
The source is released for educational and server
security purposes only. DO NOT copy or use
any of the source code without conscent or rightful
credit to the authour. Feel free to manipulate it and
improve the code, as long as full credit is given to
myself and any other contributors.
**********************************
FEATURES:
Clan Battle is a contemporary script designed to make it
easy enough to hold a clan war. Great Script, Great features.
- User Defined Teams (ClanConfig.txt)
- User Defined Weapons/Ammo (ClanConfig.txt)
- Ability to set max kills
- On-Screen Clan Score Counter
- Freezes everyone once clanwar ends
- /reset feature to reset all players and clans scores
- After clanwar statistics are saved to a file
- Clan Details
- Winning Clan
- Each Players Statistics (Kills, Deaths, Ratio)
To allow easy stats to post on forums, websites etc.
**********************************
CONFIGURATION:
--------------------
Team-1 =BDC= // TEAM CLAN NAME/TAGs
Team-2 =BDC=
Max-Clan-Kills 10 // ClanKills required to win war
Weapon1 24 // WEAPON ID
Weapon2 26
Weapon3 32
Ammo1 500 // AMMO AMMOUNT
Ammo2 500
Ammo3 500
--------------------
COMMANDS:
/reset - (Admin Only) Resets the entire Clanwar
/scores - Shows Clan Scores
BROUGHT TO YOU BY [LETHAL DEVELOPMENTS] - Scarface
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
Darkshadow - 06.10.2006
hmm, seems to be crashing ma server
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
[BDC]Scarface - 06.10.2006
I tested it on my home linux server and it worked fine. May i ask the details of your server and any other scripts you may be running?
Regards
Scarface
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
Darkshadow - 06.10.2006
81.206.92.83:7777 just a normal server without scripts or something. If i load it the server crashes.
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
[BDC]Scarface - 06.10.2006
Try downloading it again, and replacing the ClanConfig.txt. PLEASE make sure it is in the folder scriptfiles. This will be the only reason it would crash. Be sure to enter valid values into the config file.
Regards
Scarface
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
Hitman - 06.10.2006
I PERSONALLY tested this and it works fine.
the 2 players I had in while I was testing loved it...
Great work, Scarface
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
Kfgus3 - 06.10.2006
nice getclan function
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
[BDC]Scarface - 06.10.2006
Its disabled in v1.0 it will be complete for v1.1.
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
Kfgus3 - 06.10.2006
it works, right?
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
[BDC]Scarface - 06.10.2006
yes, however atm, (Its Disabled) it can crash the player in the server when another player joins. I did not have the time to spend on it. As people know i dont like releasing scripts that aren't fully tested and working. Its up to users though if they want to try it out. If they get it working, post and i will re-release it, otherwise i will just have it done for v1.1.
Regards
Scarface
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
50p - 07.10.2006
It is impossible

Do you read in humans' mind

I've been working at the same game mode and finished it on Thursday, but I'll never release it here since it is for polish people and I haven't released the source (.pwn) there.
Let me show you the time I posted it in polish forum...:
05.10.2006, 22:32
Strange isn't it
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
Kfgus3 - 07.10.2006
things happen :P
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
[BDC]Scarface - 08.10.2006
Strange. Ive probebly only started it about 2 weeks ago from now. I think my first Blog entry was on the 25th of September. It should of been out earlier but the Auto-Detect function was causing some problems.
Regards
Scarface
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
ShadowDemon - 08.10.2006
Good script!
But what is it: Auto-Clan-Detection ?
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
[BDC]Scarface - 08.10.2006
Its to automatically detect a players clan and assign them to the correct team. Hopefully if all goes well it should be in the next release.
Regards
Scarface
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
ShadowDemon - 08.10.2006
If you can make it can you make that
for example each team has 4 players....
when somebody was killed he will freeze at the spawn and unfreeze only when all the mambers of the other team will diy or all members of his team will diy (the end of the round).
And that it will count not only the kills for the round win and also the won rounds for the CW win.....
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
[BDC]Scarface - 09.10.2006
I was actually going to make this same mode you are talking about but switchable. Example in the config file Battle-Mode 1 so you could have LastClanStanding as well as basic DM Mode.
Regards
Scarface
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
froggz19 - 25.11.2006
oh yea
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
ALexX - 16.12.2006
keeps crashing, i have the clanconfig.txt in the scriptfiles folder, what's wrong?
Re: [GameMode] ClanBattle v1.0 *Coded by Scarface* -
[BDC]Scarface - 03.01.2007
are you using the AutoClan Function? As that version of my GetClan is broken.