12.11.2014, 00:52
(
Last edited by rymax99; 24/11/2014 at 06:43 AM.
)
I'll go ahead and point out that this is BASED off of a script that was hosted by the 'CODE5' community, though there were never any contractual obligations or licenses associated with it. Morally it's a similar story, this was coded by 2 close friends of mine which happen to be Wolf/Snipa and Mean. Along the way other coders did code some things but in all, most of their code was badly done and therefore all of it had to be pretty much redone or removed.
This script has NOT been released, the ones released are all pretty much exactly the same as Total War version 256 which had a LOT of terrible half done ideas, including 'Navy Seals' which made absolutely no sense, badly done features and just had a lot of crap in it that was unnecessary for an enjoyable TDM experience.
For the people that are inevitably going to say "this mode is same as TW" - then go ahead and download both modes, and see how long it takes you to get a PLAYABLE and DECENT server up with the old version. Hell, record it and send it to me, amuse me. For anyone that'd like to personally attack me, please contact me, I'm sure we can work something out.
While the code used in this script isn't perfect, the logic and code is far better than the original script and it's better than 99% of the TDM servers in SA-MP at the moment which are pretty much all based on the originals and re-releases of TW 256 and RWW. There's still lots of room for scripters to improve upon.
Script features:
To run this script you'll need the following:
Plugins:
Includes:
Apart from the ones mentioned below, you'll also need the includes provided by plugins mentioned above(MySQL, sscanf, streamer)
Scriptfiles(read the instructions above!): http://rymax99.com/pubfiles/tdm/scriptfiles.zip
MySQL database: http://rymax99.com/pubfiles/tdm/tdm.sql
Example configuration: http://rymax99.com/pubfiles/tdm/exampleconfig.cfg.txt
Credits:
Credits to ******, Whitetiger, StrickenKid, Zeex, and Incognito for developing the plugins/includes mentioned above that are utilized in this script.
Credits to Wolf, Mean and myself for primary mode development. Credits to decondelite for creating the system to load vehicles, spawns, etcetera from files.
If you have questions, go ahead and ask them. Support isn't guaranteed. I may update this as time goes on, so if you want updates, go ahead and ask. If you want an entirely new feature set, the code is there for a reason. I would appreciate it if you kept my credit line in, if you don't, that's fine, but don't solicit me for support.
I'll note that I have quite a few other things that could be closely tied with the script such as a CP, bash scripts for server status, log rotation, development, etc., PHP scripts, etc. I may or may not release them.
If anyone with common sense wishes to start up a community/server using this script, you're more than welcome to recruit me for general assistance given you have some sense, and aren't wanting to waste my time. I have tons of server level experience in Linux, running SA-MP servers, web servers, etc. Serious inquires only.
This script has NOT been released, the ones released are all pretty much exactly the same as Total War version 256 which had a LOT of terrible half done ideas, including 'Navy Seals' which made absolutely no sense, badly done features and just had a lot of crap in it that was unnecessary for an enjoyable TDM experience.
For the people that are inevitably going to say "this mode is same as TW" - then go ahead and download both modes, and see how long it takes you to get a PLAYABLE and DECENT server up with the old version. Hell, record it and send it to me, amuse me. For anyone that'd like to personally attack me, please contact me, I'm sure we can work something out.
While the code used in this script isn't perfect, the logic and code is far better than the original script and it's better than 99% of the TDM servers in SA-MP at the moment which are pretty much all based on the originals and re-releases of TW 256 and RWW. There's still lots of room for scripters to improve upon.
Script features:
- MySQL script
- 8 teams
- Random spawns for each team
- Decent anti cheat with some half updated functions, again, not perfect, but better than most TDM servers
- Perfect English in pretty much everything, no capitalization syndrome, proper use of terms, etc.
- Decent looking code in most of the script
- Anti base-rape with heavy vehicles that works very well
- Kill sprees, capture sprees with rewards
- Great administration system
- Fail-safes within the admin system - level 5 admins can't set themselves/others to higher levels than whatever their level is, only level 6+ admins can kick, ban, tban, jail, or mute other admins, etc.
- Consistency - for example, if one anti hack ban says 'player x was banned for x hacks', all anti hack messages are like that. You get the idea. This applies to pretty much every aspect of the script.
- Decent logging/printing to server logs of questionable acts, when a player logs in, changes their password, etc. This is good in the event you believe there may be a login vulnerability, a player gets 'hacked', etc.
- Clean
- Join/leave box
- Over 20 zones and ability to easily add zones
- Use of the streamer plugin to stream in zone icons for zones you're near
- Script protection that allows you to protect compiled versions of the script from unauthorized use. Features checking of the weburl, IP(as it requires the server to bind to an IP), and port. By default it's disabled. You can search for 'PROTECTED' to get an idea of how it works, how to enable/change it, etc.
- Ability to easily edit spawns, moneyspots, zones, etcetera from the scriptfiles.
- Moneyspot system with anti abuse measures(if you're AFK, etc.)
- Rustler bombs that are accurate(utilizes MapAndreas)
- Systems that balances out heavy vehicles
- Random spawns for each team
- Server-sided money
- Full donor system(3 ranks)
- Anti chat/command spam that works well
- In the current script, the scripts max health/armor is 99, anything above that and the player is banned for hacking. All functions to my knowledge are adjusted with this in mind and AFAIK there aren't any major false positives.
- Not all of the anticheats have been totally tested, there will be some false positives.
- My recommendation would be that unless you thoroughly know MySQL that you don't mess with the MySQL. If you try and change up the SQL without knowing what you're doing, I can guarantee you're gonna find yourself in a situation with either lots of warnings or errors.
- There is an 'undercover admin' system - you can either remove it, improve it, or leave it as is. I'd recommend the 3rd option as during the running of your server you may need it for some reason, but I'll mention that it wasn't kept in mind much so there's some things that are left out of it. As it is, it poses no security threats to your script as the command(irbeundercover!) is commented out.
- For security reasons, you should use a strong RCON password especially as with the RCON password, you're able to set yourself as an admin via /setadmin. If you never plan on developing the script, I'd remove the feature to set yourself via /setadmin as the only real reason to keep that is if you're testing features by yourself, one example would be testing anti cheat.
- I'm aware that the player reconnect function doesn't work all the time, if you have an idea for better implementation, let me know.
- This script makes use of includes added in 0.3z R2-2, so please make sure your default SA-MP includes are at least up to that version. If not, you'll get errors upon compilation.
- I am not responsible for any damages incurred for the use of this script - I'm simply providing it for use.
- You may NOT redistribute this script.
- Mirrors are NOT welcome..
- You MAY use this script.
- To make yourself an administrator, login to RCON and then use the 'setadmin' command to set yourself to level 6(max server level).
- Download the scriptfiles.zip(http://rymax99.com/pubfiles/tdm/scriptfiles.zip) archive, unzip it, and extract the contents to the 'scriptfiles' directory in your SA-MP server folder root.
- For maximum accuracy of the GeoIP features in the mode, check the release thread of the GeoIP include by Whitetiger(https://sampforum.blast.hk/showthread.php?tid=296171).
- Download the includes in the downloads section and put them in the includes folder in your Pawno directory
- Import MySQL database provided in the download section and edit the MySQL details in the script accordingly
To run this script you'll need the following:
Plugins:
- MySQL plugin developed by StrickenKid(https://sampforum.blast.hk/showthread.php?tid=122983(links in the original post are dead, use Blacklite's mirror: http://forum.sa-mp.com/showpost.php?...&postcount=945))
- Streamer plugin developed by Incognito(https://sampforum.blast.hk/showthread.php?tid=102865)
- Whirlpool plugin by ******(https://sampforum.blast.hk/showthread.php?tid=65290)
- sscanf plugin by ******(https://sampforum.blast.hk/showthread.php?tid=120356)
Includes:
Apart from the ones mentioned below, you'll also need the includes provided by plugins mentioned above(MySQL, sscanf, streamer)
- GeoIP include by Whitetiger: https://sampforum.blast.hk/showthread.php?tid=296171
- AntiCleo include: http://rymax99.com/pubfiles/tdm/AntiCleo.inc
- YSI library by ******: https://sampforum.blast.hk/showthread.php?tid=321092
- ZMD by Zeex: https://sampforum.blast.hk/showthread.php?tid=91354
- Foreach by ******: https://sampforum.blast.hk/showthread.php?tid=92679
Scriptfiles(read the instructions above!): http://rymax99.com/pubfiles/tdm/scriptfiles.zip
MySQL database: http://rymax99.com/pubfiles/tdm/tdm.sql
Example configuration: http://rymax99.com/pubfiles/tdm/exampleconfig.cfg.txt
Credits:
Credits to ******, Whitetiger, StrickenKid, Zeex, and Incognito for developing the plugins/includes mentioned above that are utilized in this script.
Credits to Wolf, Mean and myself for primary mode development. Credits to decondelite for creating the system to load vehicles, spawns, etcetera from files.
If you have questions, go ahead and ask them. Support isn't guaranteed. I may update this as time goes on, so if you want updates, go ahead and ask. If you want an entirely new feature set, the code is there for a reason. I would appreciate it if you kept my credit line in, if you don't, that's fine, but don't solicit me for support.
I'll note that I have quite a few other things that could be closely tied with the script such as a CP, bash scripts for server status, log rotation, development, etc., PHP scripts, etc. I may or may not release them.
If anyone with common sense wishes to start up a community/server using this script, you're more than welcome to recruit me for general assistance given you have some sense, and aren't wanting to waste my time. I have tons of server level experience in Linux, running SA-MP servers, web servers, etc. Serious inquires only.