[GameMode] [TDM] Sector 7 TDM [MySQL]
#1

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:
  • 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
Script warnings/notes:
  • 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.
Disclaimer:
  • 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.
Instructions:
  • 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
Download:
To run this script you'll need the following:
Plugins:Recommended but not required: Crashdetect plugin by 0x5A656578(https://sampforum.blast.hk/showthread.php?tid=262796)

Includes:
Apart from the ones mentioned below, you'll also need the includes provided by plugins mentioned above(MySQL, sscanf, streamer) Script: https://github.com/Rymax99/Rymax99-T...master/tdm.pwn
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.
Reply


Messages In This Thread
[TDM] Sector 7 TDM [MySQL] - by rymax99 - 12.11.2014, 00:52
Re: [TDM] Sector 7 TDM [MySQL] - by DankMayne - 12.11.2014, 00:59
Re: [TDM] Sector 7 TDM [MySQL] - by Pravin - 12.11.2014, 01:01
Re: [TDM] Sector 7 TDM [MySQL] - by DavidBilla - 12.11.2014, 01:31
Re: [TDM] Sector 7 TDM [MySQL] - by cmg4life - 12.11.2014, 04:58
Re: [TDM] Sector 7 TDM [MySQL] - by rymax99 - 12.11.2014, 05:00
Re: [TDM] Sector 7 TDM [MySQL] - by TRTDM - 12.11.2014, 13:25
Re: [TDM] Sector 7 TDM [MySQL] - by Raza2013 - 12.11.2014, 13:44
Re: [TDM] Sector 7 TDM [MySQL] - by rymax99 - 12.11.2014, 15:33
Re: [TDM] Sector 7 TDM [MySQL] - by TRTDM - 12.11.2014, 15:51
Re: [TDM] Sector 7 TDM [MySQL] - by iSteve - 12.11.2014, 18:37
Re: [TDM] Sector 7 TDM [MySQL] - by rymax99 - 12.11.2014, 19:10
Re: [TDM] Sector 7 TDM [MySQL] - by iDevious - 15.11.2014, 21:04
Re: [TDM] Sector 7 TDM [MySQL] - by Angel01 - 16.11.2014, 09:53
AW: Re: [TDM] Sector 7 TDM [MySQL] - by Mellnik - 16.11.2014, 10:32
Re: [TDM] Sector 7 TDM [MySQL] - by rymax99 - 23.11.2014, 04:29
Re: [TDM] Sector 7 TDM [MySQL] - by sam1929 - 23.11.2014, 15:42
Re: [TDM] Sector 7 TDM [MySQL] - by rymax99 - 23.11.2014, 18:21
Re: [TDM] Sector 7 TDM [MySQL] - by sam1929 - 24.11.2014, 05:11
Re: [TDM] Sector 7 TDM [MySQL] - by sam1929 - 24.11.2014, 06:08
Re: [TDM] Sector 7 TDM [MySQL] - by rymax99 - 24.11.2014, 06:27
Re: [TDM] Sector 7 TDM [MySQL] - by sam1929 - 24.11.2014, 06:36
Re: [TDM] Sector 7 TDM [MySQL] - by rymax99 - 24.11.2014, 06:40
Re: [TDM] Sector 7 TDM [MySQL] - by sam1929 - 24.11.2014, 07:23
Re: [TDM] Sector 7 TDM [MySQL] - by N.K.Stallone - 25.11.2014, 15:23
Re: [TDM] Sector 7 TDM [MySQL] - by Yazuri - 25.11.2014, 17:01
Re: [TDM] Sector 7 TDM [MySQL] - by rymax99 - 25.11.2014, 20:04
Re: [TDM] Sector 7 TDM [MySQL] - by Abagail - 25.11.2014, 22:15
Re: [TDM] Sector 7 TDM [MySQL] - by Outlaw308 - 25.11.2014, 22:49
Re: [TDM] Sector 7 TDM [MySQL] - by Arastair - 09.01.2015, 07:31
Re: [TDM] Sector 7 TDM [MySQL] - by jlsrios - 26.07.2015, 00:53
Re: [TDM] Sector 7 TDM [MySQL] - by Viki - 16.08.2015, 17:15
Re: [TDM] Sector 7 TDM [MySQL] - by PGaming - 09.03.2017, 14:56
Re: [TDM] Sector 7 TDM [MySQL] - by HailPutin - 17.08.2018, 11:30
Re: [TDM] Sector 7 TDM [MySQL] - by ZigGamerx - 07.09.2018, 05:21

Forum Jump:


Users browsing this thread: 1 Guest(s)