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

[CS:S] Be Medic


Post New Thread Reply   
 
Thread Tools Display Modes
namine
SourceMod Donor
Join Date: Jul 2010
Old 07-05-2011 , 20:01   Re: [CS:S] Be Medic
Reply With Quote #21

Could you make a cvar to restrict to one team? I rather have just the T's or CT's have this but not both.
__________________
namine is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 07-05-2011 , 20:07   Re: [CS:S] Be Medic
Reply With Quote #22

Quote:
Originally Posted by namine View Post
Could you make a cvar to restrict to one team? I rather have just the T's or CT's have this but not both.
Sure, this is easy to do. I'll work on it in the upcoming hours (I'm a bit lazy right now).

EDIT : I'll also add verbose related to it...

RE-EDIT : Updated to 1.3.0. You can now restrict a team from buying medic training.

RE-RE-EDIT : Added brazilian-portuguese missing line due to 1.3.0.

RE-RE-RE-EDIT : Updated to 1.3.1. Fixed team restricted from buying medic being able to call medic.

RE-RE-RE-RE-EDIT : Updated to 1.3.2. Added CVar to allow medics to heal other team.

RE-RE-RE-RE-RE-EDIT : Added "bemedic_team" CVar russian translation. Thanks to Leonardo.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 07-06-2011 at 15:14.
RedSword is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 07-07-2011 , 13:20   Re: [CS:S] Be Medic - 1.3.2@06-07-2011
Reply With Quote #23

Corrected some translation code (1.3.3). Thanks to Bacardi.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 07-08-2011 , 08:11   Re: [CS:S] Be Medic (Updated 06-07-2011 v1.3.2)
Reply With Quote #24

any chance that you could make some of this?

a command to give players medic
something like bemedic_givemedic <steamid | #userid>

and also an option to disable so players can buy medic and use the !bemedic command this would be awesome since we are running our own knifeking plugin, then we would be able to do so it's only the knifeking who can be a medic.

else really nice plugin!
DoPe^ is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 07-22-2011 , 20:17   Re: [CS:S] Be Medic (Updated 06-07-2011 v1.3.2)
Reply With Quote #25

Re-uploaded translation's phrases. The only changes concern the german translation, as it was completely redone by "Dr. Greg House"; so thanks to him.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 09-18-2011 , 17:26   Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
Reply With Quote #26

Added lithuanian translation. Thanks to hleV.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 09-22-2011 , 18:34   Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
Reply With Quote #27

Items preventing approval:

DONTRECORD is not placed on version cvar
Say and SayTeam hooks for commands

If you fix the above items this plugin would be approved.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 09-22-2011 , 18:43   Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
Reply With Quote #28

Quote:
Originally Posted by Antithasys View Post
Items preventing approval:

DONTRECORD is not placed on version cvar
Say and SayTeam hooks for commands

If you fix the above items this plugin would be approved.
Won't DONTRECORD make my plugin untrackable via game-monitor ? Also a lot of approved plugins doesn't use that flag...

And why is :

Code:
AddCommandListener(SayRedirect, "say");
AddCommandListener(SayRedirect, "say_team");
incorrect ?

I'm pretty sure from what I've read from experienced users in the past (don't remember exact source, sorry) that it's better to use "AddCommandListener" rather than using "RegConsoleCmd"...

Thanks for reviewing my plugin for approval,

Red

EDIT : Also I'm pretty sure that none of what you said is in this; updating it would be nice.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 09-22-2011 at 18:46.
RedSword is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 09-22-2011 , 18:48   Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
Reply With Quote #29

Quote:
Originally Posted by RedSword View Post
Won't DONTRECORD make my plugin untrackable via game-monitor ? Also a lot of approved plugins doesn't use that flag...

And why is :

Code:
AddCommandListener(SayRedirect, "say");
AddCommandListener(SayRedirect, "say_team");
incorrect ?

I'm pretty sure from what I've read from experienced users in the past (don't remember exact source, sorry) that it's better to use "AddCommandListener" rather than using "RegConsoleCmd"...

Thanks for reviewing my plugin for approval,

Red
DONTRECORD prevents it from being written to the .cfg file. Without it, it will read the value from the config file. This only really happens when paired with AutoExecConfig(); Since you do exec a config file, and don't have dont record, it will always show the version number in the config, not the plugin.

You should not hook say and sayteam when the purpose is a command. This is incorrect and would cause IsChatTrigger() to fail because your command is not properly registered. Use RegConsoleCmd() on sm_medic and sm_bemedic. This will automatically create the chat triggers !medic and !bemedic.

Edit:

Its really impossible to put everything in that post. We try to cover the big items. The issue here is coding style to minimize errors and maximize the API for you and others. There isn't a hard and fast pass/fail for plugin approval based on rules. It requires code review, and everyone has different styles.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?

Last edited by Antithasys; 09-22-2011 at 18:54.
Antithasys is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 09-22-2011 , 18:52   Re: [CS:S] Be Medic (Updated 07-07-2011 v1.3.3)
Reply With Quote #30

Thanks, I shall update this in the future.

EDIT :

Quote:
Originally Posted by psychonic View Post

Quote:
I have a linux TF2, CSS, or DODS server. Why isn't it listed?

There is currently a bug with the query system on the linux server version of these games. This bug prevents some server variables from being queried properly.

This also affects other tracking sites such as Game-Monitor and GameTracker. Install one of these two SourceMod plugins to resolve the issue:

ConVar List or RulesFix (arguably better, but requires the SteamTools extension)
Source: http://hlxce.com/serverlist-faq
So I have to make my plugin partially-trackable to get this approved... ? I guess I'll have to wait to see that bug corrected ... :/

Tracking my plugin is the best way to get recognition and throwing that by the window...

RE-EDIT : Apparently that thread was about NOTIFY (mistake from the thread starter) and the bug has been corrected since. I'll update in the future. (Thanks to asherkin @ irc for his answers)
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 09-22-2011 at 19:56.
RedSword 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 04:33.


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