[GameMode] [GameMode] ClanBattle v1.0 *Coded by Scarface*
#1

/*
=======================
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
Reply
#2

hmm, seems to be crashing ma server
Reply
#3

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
Reply
#4

81.206.92.83:7777 just a normal server without scripts or something. If i load it the server crashes.
Reply
#5

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
Reply
#6

I PERSONALLY tested this and it works fine.

the 2 players I had in while I was testing loved it...
Great work, Scarface
Reply
#7

nice getclan function
Reply
#8

Its disabled in v1.0 it will be complete for v1.1.
Reply
#9

it works, right?
Reply
#10

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
Reply
#11

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
Reply
#12

things happen :P
Reply
#13

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
Reply
#14

Good script!
But what is it: Auto-Clan-Detection ?
Reply
#15

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
Reply
#16

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.....
Reply
#17

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
Reply
#18

oh yea
Reply
#19

keeps crashing, i have the clanconfig.txt in the scriptfiles folder, what's wrong?
Reply
#20

are you using the AutoClan Function? As that version of my GetClan is broken.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)