Raised This Month: $51 Target: $400
 12% 

UltimateSurf v0.1.0 beta (25th September 2013) - tonykaram1993


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands       
tonykaram1993
Senior Member
Join Date: Mar 2013
Location: This World
Old 09-18-2013 , 10:54   UltimateSurf v0.1.0 beta (25th September 2013) - tonykaram1993
Reply With Quote #1


UltimateSurf
by tonykaram1993


Description
Top

This is a plugin that aims into adding a more controllable and suitable environment for surfers. It is supposed to have the most important and useful plugins grouped into one. For a more general idea of what this plugin does, check out the Plugins Included below.

NOTE: I am aware that there is another plugin out there that does this. But I do think that the one I made has more features and better coded.

NOTE2: This plugin is still in beta. You have been warned.


Plugins Included
Top

Code:
	PLUGIN_NAME			PLUGIN_AUTHOR

	Respawn with delay		tonykaram1993
	Spawn protection with timer	tonykaram1993
	Weapons respawn with delay	ConnorMcLeod
	Remove dropped weapons		ConnorMcLeod
	Unlimited bp ammo		New-Era
	Semiclip			coderiz
	Strip on player spawn		tonykaram1993
	Buy zone damage blocker		ConnorMcLeod
	I aim good			XxAvalanchexX
	Player trail			jim_yang
	Speedometer			AcidoX

Commands:
Top

Client Commands:

NOTE: all chat commands are applicable through 'say' and 'say_team'

Code:
COMMAND	COMMAND_DESCRIPTION

/respawn     - Revives dead players that were not revived automatically
/speed        - Enables or disables speed and velocity display for each player
/version       - Prints the name and version of the plugin
Admin Commands:

Format:
Code:
[ ]          : optional
< >          : obligatory
|            : or
#            : number
@T           : Terrorists
@CT          : Counter-Terrorists
@ALL         : All
@SPEC        : Spectators

COMMAND        COMMAND_DESCRIPTION
    COMMAND_EXAMPLES

amx_reloadcvars                                                - Reload all cvars
    amx_reloadcvars                                            - Reloads all cvars and changes take place immediately

CVARs
Top

NOTE: after changing the cvar, you will need to execute 'amx_reloadcvars' in the console for changes to take place, or wait for a new round.

Code:
// UltimateSurf Configuration File
// ---------------------------------

// Author: "tonykaram1993"
// Version: "0.0.1b"
// Plugin: "UltimateSurf"

// Note: 0:Disable | 1:Enable

// Enable or disable automatic respawning
// Values: 0 | 1
// Default: 1
us_respawn "1"

// Set the delay to automatic respawn
// Note: us_respawn must be 1 for this to take effect
// Default: 3.0
us_respawn_delay "3.0"

// Enable or disable spawn protection
// Values: 0 | 1
// Default: 1
us_sp "1"

// Set the time for spawn protection
// Note: us_sp must be 1 for this to take effect
// Default: 3.0
us_sp_time "3.0"

// Enable or disable spawn protection glow
// Values: 0 | 1
// Default: 1
us_sp_glow "1"

// Enable or disable weapons respawning
// Values: 0 | 1
// Default: 1
us_respawnweapons "1"

// Set the delay to automatic weapon respawn
// Note: us_respawnweapons must be 1 for this to take effect
// Default: 3.0
us_respawnweapons_delay "3.0"

// Enable or disable to delete weapons after they are dropped
// Values: 0 | 1
// Default: 1
us_deleteweapons "1"

// Set the delay to delete dropped weapons
// Note: us_deleteweapons must be 1 for this to take effect
// Default: 3.0
us_deleteweapons_delay "0.0"

// Enable or disable ammo refill
// Values: 0 | 1
// Default: 1
us_ammorefill "1"

// Enable or disable semiclip (teammate go right through each others)
// Values: 0 | 1
// Default: 1
us_semiclip "1"

// Enable or disable semiclip transparancy
// Values: 0 | 1
// Default: 1
us_semiclip_transparency "1"

// Enable or disable accurate bullets while in the air
// Values: 0 | 1
// Default: 1
us_aim "1"

// Enable or disable colored trail behind player while flying
// Values: 0 | 1
// Default: 1
us_trail "1"

// Set the prefix for ingame messages
// Default: [US]
us_prefix "[US]"

// Set the time of the advertisement message (or disable it)
// Default: 10
// Note: type 0 to disable it
us_advertisement "10"



// Other essentiel cvars
sv_airaccelerate "100"		// This is a must in all surf servers
mp_freezetime "0"		// This is recommended but not obligated
mp_buytime "99"			// This is recommended but not obligated

Customizable Defines
Top

NOTE: these are the defines that you can customize to your liking. After editing them, you will need to recompile the plugin for it to take effect (you need to edit these in the source file a.k.a. '.sma')

Code:
/*
	Below is the section where normal people can safely edit
	its values.
	Please if you don't know how to code, refrain from editing
	anything outside the safety zone.
	
	Experienced coders are free to edit what they want, but I
	will not reply to any private messages nor emails about hel-
	ping you with it.
	
	SAFETY ZONE STARTS HERE
*/

/*
	Set this to your maximum number of players your server can
	hold.
*/
#define MAX_PLAYERS		32

/*
	This is where you can specify what is the delay between two thinks
	of the player trail task. Also you can specify the life of the beam
	in seconds.
*/
#define TRAIL_FREQUENCY		Float:0.1
#define BEAM_LIFE		1

/*
	This is where you stop. Editing anything below this point
	might lead to some serious errors, and you will not get any
	support if you do.
	
	SAFETY ZONE ENDS HERE
*/

Installation Instructions
Top

Note: it is recommended to use the latest version of this plugin, using an older version is not supported.
  • First you need to download a copy of the following files: 'UltimateSurf.amxx', 'UltimateSurf.cfg' & 'UltimateSurf.txt'
  • To get those files simply click on them. As for the 'UltimateSurf.amxx', just click on 'Get Plugin' below.
  • Navigate to and open 'addons/amxmodx/configs/plugins.ini' on your server.
  • Write at the very bottom of the file: 'UltimateSurf.amxx' (whitout quotes).
  • Place the 'UltimateSurf.cfg' file inside the 'addons/amxmodx/configs' folder.
  • Place the 'UltimateSurf.txt' file inside the 'addons/amxmodx/data/lang' folder.
  • Restart or change the map on your server in order to load the plugin.


Known Bugs:
Top

None found yet


Notes
Top
  • If you like this plugin and the layout, rate this thread 5 stars for a piece of .
  • To report an issue with the plugin or even suggest an improvement, do so in the comments .
  • Questions that can be answered by reading this post will be ignored.
  • To view the full change log of the plugin, please go here .
  • To submit a translation please do so here.
  • For a list of servers using this plugin, please go on game-monitor or gametracker.
  • If you would like to talk to me in private, send me an e-mail to the following e-mail address [email protected].
  • If you want to view the source code, view it under these conditions in any text editor :
    Code:
        Notepad++ Allied Modders Edition v6.2
        Style Configuration:    Default
        Font:                   Consolas
        Font size:              10
        Indent Tab:             8 spaces


Credits
Top

None at the moment


To-Do:
Top
  • Multilingual (DONE)
    Multilingual is done, ready and working. It did not take me a lot of time since there are just a handful of messages to convert, so I figured better do it now before a lot of messages will need to be convrerted.


Download
Top

Code also available on Github:
Attached Files
File Type: cfg UltimateSurf.cfg (2.2 KB, 439 views)
File Type: sma Get Plugin or Get Source (UltimateSurf.sma - 1202 views - 26.2 KB)
File Type: txt UltimateSurf.txt (1.2 KB, 482 views)
__________________
My Plugins:
UltimatePlugin
UltimateSurf
UltimateAdmin
Code:
rcon version | rcon amxx version | rcon meta version
rcon amxx plugins | rcon meta list | rcon status
I AM INACTIVE ON THIS FORUM - For direct contact: [email protected]

Last edited by tonykaram1993; 09-24-2014 at 10:01. Reason: update .txt file that contains es translation
tonykaram1993 is offline
tonykaram1993
Senior Member
Join Date: Mar 2013
Location: This World
Old 09-18-2013 , 10:55   Re: UltimateSurf v0.0.1 beta (18th September 2013) - tonykaram1993
Reply With Quote #2


Change Log
Top

Code:
+ something added/new
- something removed
* important note
x bug fix or improvement

vA.B.C
A: 0 -> beta | 1 -> public
B: new functionality added
C: minor bug fix or improvement
UltimateSurf
Code:
  • v0.0.1b: * plugin written
  • v0.0.2b: x fixed stupid mistake of caching pcvars before there were even initiated + added condition to display trail if player is going faster than 500.0 u/s
  • v0.1.0b: + added pragma semicolon 1 + added config execution as I have forgot about that :P + plugin will only run on surf maps from now (maps starting with surf_) + added version checker (to see if the plugin installed is outdated) + added multi language support x minor code optimisations x added check if user connected in a task as it was forgotten + added info at the end of the sma file


Beta
Top

This is where you can download the latest beta release of the plugin where new features/options might not fully work but it is posted for you guys to test and see if you can spot any bugs that needs fixing before releasing the plugin as fully working. Please download the beta below.

NOTE: please note that installing and using the below beta version of the plugin is optional and only should be done if you understand that this version will most probably contain bugs. I highly advise you to use the beta version on a test server only and not on your normal server.

There is no stable version yet, so beta is in the first post above.
__________________
My Plugins:
UltimatePlugin
UltimateSurf
UltimateAdmin
Code:
rcon version | rcon amxx version | rcon meta version
rcon amxx plugins | rcon meta list | rcon status
I AM INACTIVE ON THIS FORUM - For direct contact: [email protected]

Last edited by tonykaram1993; 09-25-2013 at 15:46. Reason: update to 0.1.0b
tonykaram1993 is offline
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 09-18-2013 , 11:17   Re: UltimateSurf v0.0.1 beta (18th September 2013) - tonykaram1993
Reply With Quote #3

good job!
sami_spt is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 09-18-2013 , 12:29   Re: UltimateSurf v0.0.1 beta (18th September 2013) - tonykaram1993
Reply With Quote #4

From description, looks good plugin for install in surf server, will make life easier to who wants surf server
__________________
Jhob94 is offline
tonykaram1993
Senior Member
Join Date: Mar 2013
Location: This World
Old 09-18-2013 , 13:18   Re: UltimateSurf v0.0.1 beta (18th September 2013) - tonykaram1993
Reply With Quote #5

I am gonna kill myself. I uploaded the wrong code, I terribly apologize for the inconvenience. Will fix it asap.
__________________
My Plugins:
UltimatePlugin
UltimateSurf
UltimateAdmin
Code:
rcon version | rcon amxx version | rcon meta version
rcon amxx plugins | rcon meta list | rcon status
I AM INACTIVE ON THIS FORUM - For direct contact: [email protected]
tonykaram1993 is offline
tonykaram1993
Senior Member
Join Date: Mar 2013
Location: This World
Old 09-18-2013 , 13:20   Re: UltimateSurf v0.0.2 beta (18th September 2013) - tonykaram1993
Reply With Quote #6

Plugin Updated to version 0.0.2 (beta)

Change Log
__________________
My Plugins:
UltimatePlugin
UltimateSurf
UltimateAdmin
Code:
rcon version | rcon amxx version | rcon meta version
rcon amxx plugins | rcon meta list | rcon status
I AM INACTIVE ON THIS FORUM - For direct contact: [email protected]

Last edited by tonykaram1993; 09-18-2013 at 13:21.
tonykaram1993 is offline
Baws
Veteran Member
Join Date: Oct 2012
Old 09-18-2013 , 22:55   Re: UltimateSurf v0.0.2 beta (18th September 2013) - tonykaram1993
Reply With Quote #7

***Removed***

Sorry i advertised
__________________
Like my clean plugins and work?

Last edited by Baws; 09-19-2013 at 16:53.
Baws is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 09-19-2013 , 05:20   Re: UltimateSurf v0.0.2 beta (18th September 2013) - tonykaram1993
Reply With Quote #8

Quote:
Originally Posted by baws View Post
you should add something like this in your plugin/mod: https://forums.alliedmods.net/showthread.php?t=225613
Publicity of your own plugin

Quote:
Originally Posted by baws View Post
Check out my server in my signature and see what i mean.
Publicity of your own server


You really should read rules...

[ EDIT ]
Making it more easy to you:
Quote:
Originally Posted by ALLIEDMODDERS RULES
Do not advertise (including hosting services, game servers and gaming communities).
(But you should read all the rules)
(And dont take it as "bad thing", iam just trying to help you )
__________________

Last edited by Jhob94; 09-19-2013 at 05:30.
Jhob94 is offline
Baws
Veteran Member
Join Date: Oct 2012
Old 09-19-2013 , 16:53   Re: UltimateSurf v0.0.2 beta (18th September 2013) - tonykaram1993
Reply With Quote #9

Im sorry! Thanks man!
__________________
Like my clean plugins and work?
Baws is offline
vikassharma
BANNED
Join Date: Dec 2011
Location: INDIA
Old 09-20-2013 , 07:20   Re: UltimateSurf v0.0.1 beta (18th September 2013) - tonykaram1993
Reply With Quote #10

If you dont mind, can you please tell me why you are advertising your plugin in other servers ? by /version and automatically ads of plugins up_advertisement ? because it's such a useless and no one gonna like it :\

And you should add auto bunny hop too.
vikassharma is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:10.


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