Raised This Month: $214 Target: $400
 53% 

Hardcore v1.1 Beta


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
IRANeverMore
Junior Member
Join Date: Apr 2013
Old 07-07-2013 , 13:47   Hardcore v1.1 Beta
Reply With Quote #1

Description

This plugin simply make the game more breathtaking !

When the plugin is enabled all players get health regeneration by the time (1 Health/0.3 sec)
Also,
When a player loose Health, he also loose a little of his move speed (Speed will return when they regen their hp)


Installation

enter amx_hardcore 1 in console to Enable and amx_hardcore 0 to disable the plugin

Changelog

v1.0 - Initial release
v1.1 - Fixed all bugs

Attached Files
File Type: sma Get Plugin or Get Source (Hardcore.sma - 100 views - 3.7 KB)

Last edited by IRANeverMore; 07-07-2013 at 15:46.
IRANeverMore is offline
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 07-07-2013 , 14:21   Re: Hardcore v1.0 Beta
Reply With Quote #2

PHP Code:
for(new i=0;i<=32;i++) 
noob.


Poorly coded, irredundant plugin.

Last edited by guipatinador; 07-07-2013 at 14:22.
guipatinador is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 07-07-2013 , 14:26   Re: Hardcore v1.0 Beta
Reply With Quote #3

You should use PCVars instead of CVars, also you should made a looping task instead of making a new task each time the old task is done.

Code:
for(new i=0;i<=32;i++)
You should use get_players instead

Code:
is_user_connected(i) && is_user_alive(i)
You only need to check if he's alive.

Code:
set_user_maxspeed(i,290.0)
Speed will be overwritten at weapon change, you should also change it on CurWeapon Event.
__________________
Kia is offline
tonykaram1993
Senior Member
Join Date: Mar 2013
Location: This World
Old 07-07-2013 , 14:27   Re: Hardcore v1.0 Beta
Reply With Quote #4

This plugin has so many mistake, and will never be approved in my opinion. You should have learned a little bit more before releasing plugins.

Post in Scripting Help to get some help about perfecting this plugin.
__________________
My Plugins:
UltimatePlugin
UltimateSurf
UltimateAdmin
Code:
rcon version | rcon amxx version | rcon meta version
rcon amxx plugins | rcon meta list | rcon status
tonykaram1993 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-07-2013 , 15:18   Re: Hardcore v1.0 Beta
Reply With Quote #5

No, no and no. Please don't release again something until you know really what you're doing.

Unapproved.
__________________
Working on : CS Weapon Mod (72%) , MonsterAI (PAUSED),

Arkshine is offline
IRANeverMore
Junior Member
Join Date: Apr 2013
Old 07-07-2013 , 15:42   Re: Hardcore v1.0 Beta
Reply With Quote #6

I updated the plugin

Now I'm using PCVars instead of CVars
Using get_players instead of searching for players in loop
unnecessary is_user_connected's removed
now there is just 2 looping tasks instead of creating a new task after the old task is done
and now I'm hooking the CurWeapon event to fix the speed bug when users shoots or change their weapon
Finished and thanks to all guys for their reports
P.S: DOT NOT PUNISH ME DEAR PLUGIN APPROVER :d I'm just a C++ coder and not a pawn coder and this was my first amxmodx plugin that i have created in 1 hour
IRANeverMore is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-07-2013 , 15:52   Re: Hardcore v1.1 Beta
Reply With Quote #7

I don't "punish" you. But please understand if you release something here, you are supposed to know how to code.
If you want to learn, go to scripting section, and ask people their thoughts on your plugin.
Right now, plugin is very poorly coded, it's clear you are beginner in pawn, without speaking you're releasing something redundant and which has been released in more complete plugin. You did not even search before.
That's why, take your time to learn before releasing something.
__________________
Working on : CS Weapon Mod (72%) , MonsterAI (PAUSED),


Last edited by Arkshine; 07-07-2013 at 15:53.
Arkshine is offline
1ka
Senior Member
Join Date: Jun 2012
Old 07-08-2013 , 09:25   Re: Hardcore v1.1 Beta
Reply With Quote #8

I am sure that you play dota 2

health regeneration
move speed
Speed regen hp

__________________
Sorry for my bad english.

Last edited by 1ka; 07-08-2013 at 09:27.
1ka is offline
IRANeverMore
Junior Member
Join Date: Apr 2013
Old 07-08-2013 , 13:18   Re: Hardcore v1.1 Beta
Reply With Quote #9

Quote:
Originally Posted by 1ka View Post
I am sure that you play dota 2

health regeneration
move speed
Speed regen hp

Of course that i play
Steam Username : IRANeverMore
IRANeverMore is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Portugal
Old 07-09-2013 , 20:19   Re: Hardcore v1.0 Beta
Reply With Quote #10

Quote:
Originally Posted by IRANeverMore View Post
I updated the plugin

Now I'm using PCVars instead of CVars
Ok that is good, but isnt a big matter using normal cvar....

Quote:
Originally Posted by IRANeverMore View Post
Using get_players instead of searching for players in loop
unnecessary is_user_connected's removed
This proved that if plugin has quality to be approved, that you not author

Quote:
Originally Posted by IRANeverMore View Post
P.S: DOT NOT PUNISH ME DEAR PLUGIN APPROVER :d I'm just a C++ coder and not a pawn coder and this was my first amxmodx plugin that i have created in 1 hour
Is your first plugin (1hour to this is to much), why you realeased it? That can make people that is starting at PAWN (as you) get confused and make mistakes reading your code...

Btw about the code you should make lot of optimizations, like use ham for set speeds, make speeds controled by cvars, etc etc
__________________
Jhob94 is offline
Reply


Thread Tools
Display Modes

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 06:27.


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