Raised This Month: $32 Target: $400
 8% 

[L4D2] Medic


Post New Thread Reply   
 
Thread Tools Display Modes
BlackSabbarh
Senior Member
Join Date: Sep 2018
Old 05-15-2019 , 01:48   Re: [L4D2] Medic
Reply With Quote #11

log with these errors

15/2019 - 00:06:59: SourceMod error session started
L 05/15/2019 - 00:06:59: Info (map "c11m5_runway") (file "errors_20190515.log")
L 05/15/2019 - 00:06:59: Error log file session closed.
L 05/15/2019 - 00:47:53: SourceMod error session started
L 05/15/2019 - 00:47:53: Info (map "c12m2_traintunnel") (file "errors_20190515.log")
L 05/15/2019 - 00:47:53: [SM] Exception reported: Entity -1 (-1) is invalid
L 05/15/2019 - 00:47:53: [SM] Blaming: medic.smx
L 05/15/2019 - 00:47:53: [SM] Call stack trace:
L 05/15/2019 - 00:47:53: [SM] [0] GetEntPropString
L 05/15/2019 - 00:47:53: [SM] [1] Line 750, C:Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ include\entity.inc::GetEntityClassname
L 05/15/2019 - 00:47:53: [SM] [2] Line 307, Medic.sp::hMedicChangeTeam
L 05/15/2019 - 00:486: Error log file session closed.
L 05/15/2019 - 00:50:43: SourceMod error session started
L 05/15/2019 - 00:50:43: Info (map "c12m3_bridge") (file "errors_20190515.log")
L 05/15/2019 - 00:50:43: [SM] Exception reported: NULL not allowed
L 05/15/2019 - 00:50:43: [SM] Blaming: medic.smx
L 05/15/2019 - 00:50:43: [SM] Call stack trace:
L 05/15/2019 - 00:50:43: [SM] [0] RemovePlayerItem
L 05/15/2019 - 00:50:43: [SM] [1] Line 284, Medic.sp::hMedicChangeTeam
L 05/15/2019 - 00:56:19: [SM] Exception reported: Entity -1 (-1) is invalid
L 05/15/2019 - 00:56:19: [SM] Blaming: medic.smx
L 05/15/2019 - 00:56:19: [SM] Call stack trace:
L 05/15/2019 - 00:56:19: [SM] [0] GetEntPropString
L 05/15/2019 - 00:56:19: [SM] [1] Line 750, C:\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ include\entity.inc::GetEntityClassname
L 05/15/2019 - 00:56:19: [SM] [2] Line 126, Medic.sp::AdmSetMedic
L 05/15/2019 - 00:563: [SM] Exception reported: Entity -1 (-1) is invalid
L 05/15/2019 - 00:563: [SM] Blaming: medic.smx
L 05/15/2019 - 00:563: [SM] Call stack trace:
L 05/15/2019 - 00:563: [SM] [0] GetEntPropString
L 05/15/2019 - 00:563: [SM] [1] Line 750, C:\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ include\entity.inc::GetEntityClassname
L 05/15/2019 - 00:563: [SM] [2] Line 126, Medic.sp::AdmSetMedic
L 05/15/2019 - 00:56:52: [SM] Exception reported: Entity -1 (-1) is invalid
L 05/15/2019 - 00:56:52: [SM] Blaming: medic.smx
L 05/15/2019 - 00:56:52: [SM] Call stack trace:
L 05/15/2019 - 00:56:52: [SM] [0] GetEntPropString
L 05/15/2019 - 01:03:17: Error log file session closed.

Last edited by BlackSabbarh; 05-15-2019 at 01:49.
BlackSabbarh is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 05-15-2019 , 02:43   Re: [L4D2] Medic
Reply With Quote #12

Updated
BHaType is offline
Send a message via AIM to BHaType
BlackSabbarh
Senior Member
Join Date: Sep 2018
Old 05-16-2019 , 03:06   Re: [L4D2] Medic
Reply With Quote #13

L 05/16/2019 - 00:50:15: SourceMod error session started
L 05/16/2019 - 00:50:15: Info (map "c7m1_docks") (file "errors_20190516.log")
L 05/16/2019 - 00:50:15: [SM] Exception reported: Entity index 0 is not a valid client
L 05/16/2019 - 00:50:15: [SM] Blaming: medic.smx
L 05/16/2019 - 00:50:15: [SM] Call stack trace:
L 05/16/2019 - 00:50:15: [SM] [0] GetPlayerWeaponSlot
L 05/16/2019 - 00:50:15: [SM] [1] Line 125, Medic.sp::AdmSetMedic
L 05/16/2019 - 00:50:24: [SM] Exception reported: Entity index 0 is not a valid client
L 05/16/2019 - 00:50:24: [SM] Blaming: medic.smx
L 05/16/2019 - 00:50:24: [SM] Call stack trace:
L 05/16/2019 - 00:50:24: [SM] [0] GetPlayerWeaponSlot
L 05/16/2019 - 00:50:24: [SM] [1] Line 125, Medic.sp::AdmSetMedic
L 05/16/2019 - 00:50:28: [SM] Exception reported: Entity index 0 is not a valid client
L 05/16/2019 - 00:50:28: [SM] Blaming: medic.smx
L 05/16/2019 - 00:50:28: [SM] Call stack trace:
L 05/16/2019 - 00:50:28: [SM] [0] GetPlayerWeaponSlot
L 05/16/2019 - 00:50:28: [SM] [1] Line 125, Medic.sp::AdmSetMedic
L 05/16/2019 - 00:50:46: [SM] Exception reported: Entity index 0 is not a valid client
L 05/16/2019 - 00:50:46: [SM] Blaming: medic.smx
L 05/16/2019 - 00:50:46: [SM] Call stack trace:
L 05/16/2019 - 00:50:46: [SM] [0] GetPlayerWeaponSlot
L 05/16/2019 - 00:50:46: [SM] [1] Line 125, Medic.sp::AdmSetMedic
L 05/16/2019 - 01:03:26: Error log file session closed.
L 05/16/2019 - 027:11: SourceMod error session started
BlackSabbarh is offline
Alexmy
Senior Member
Join Date: Oct 2014
Location: Russian Federation
Old 05-16-2019 , 04:19   Re: [L4D2] Medic
Reply With Quote #14

Quote:
Originally Posted by BlackSabbarh View Post
L 05/16/2019 - 00:50:15: SourceMod error session started
L 05/16/2019 - 00:50:15: Info (map "c7m1_docks") (file "errors_20190516.log")
L 05/16/2019 - 00:50:15: [SM] Exception reported: Entity index 0 is not a valid client
L 05/16/2019 - 00:50:15: [SM] Blaming: medic.smx
L 05/16/2019 - 00:50:15: [SM] Call stack trace:
L 05/16/2019 - 00:50:15: [SM] [0] GetPlayerWeaponSlot
L 05/16/2019 - 00:50:15: [SM] [1] Line 125, Medic.sp::AdmSetMedic
L 05/16/2019 - 00:50:24: [SM] Exception reported: Entity index 0 is not a valid client
L 05/16/2019 - 00:50:24: [SM] Blaming: medic.smx
L 05/16/2019 - 00:50:24: [SM] Call stack trace:
L 05/16/2019 - 00:50:24: [SM] [0] GetPlayerWeaponSlot
L 05/16/2019 - 00:50:24: [SM] [1] Line 125, Medic.sp::AdmSetMedic
L 05/16/2019 - 00:50:28: [SM] Exception reported: Entity index 0 is not a valid client
L 05/16/2019 - 00:50:28: [SM] Blaming: medic.smx
L 05/16/2019 - 00:50:28: [SM] Call stack trace:
L 05/16/2019 - 00:50:28: [SM] [0] GetPlayerWeaponSlot
L 05/16/2019 - 00:50:28: [SM] [1] Line 125, Medic.sp::AdmSetMedic
L 05/16/2019 - 00:50:46: [SM] Exception reported: Entity index 0 is not a valid client
L 05/16/2019 - 00:50:46: [SM] Blaming: medic.smx
L 05/16/2019 - 00:50:46: [SM] Call stack trace:
L 05/16/2019 - 00:50:46: [SM] [0] GetPlayerWeaponSlot
L 05/16/2019 - 00:50:46: [SM] [1] Line 125, Medic.sp::AdmSetMedic
L 05/16/2019 - 01:03:26: Error log file session closed.
L 05/16/2019 - 027:11: SourceMod error session started
Attached Files
File Type: sp Get Plugin or Get Source (Medic.sp - 72 views - 18.5 KB)
Alexmy is offline
theproperson
Member
Join Date: Feb 2017
Old 05-21-2019 , 01:00   Re: [L4D2] Medic
Reply With Quote #15

Hello, I wanted to try your plugin on my English server but after changing the message text to English I am getting these errors when I compile. I did not edit any code, only the print messages.


//// Medic.sp
//
// C:\Desktop\Medic.sp(1) : error 010: invalid function or declaration
// C:\Desktop\Medic.sp(127) : error 017: undefined symbol "GetPlayerWeaponSlot"
// C:\Desktop\Medic.sp(134) : error 017: undefined symbol "RemovePlayerItem"
// C:\Desktop\Medic.sp(21 : error 017: undefined symbol "GetPlayerWeaponSlot"
// C:\Desktop\Medic.sp(219) : error 017: undefined symbol "RemovePlayerItem"
// C:\Desktop\Medic.sp(286) : error 017: undefined symbol "GetPlayerWeaponSlot"
// C:\Desktop\Medic.sp(287) : error 017: undefined symbol "RemovePlayerItem"
// C:\Desktop\Medic.sp(30 : error 017: undefined symbol "GetPlayerWeaponSlot"
// C:\Desktop\Medic.sp(314) : error 017: undefined symbol "GetPlayerWeaponSlot"
// C:\Desktop\Medic.sp(324) : error 017: undefined symbol "RemovePlayerItem"
// C:\Desktop\Medic.sp(366) : error 017: undefined symbol "TE_SetupBeamRingPoint"
// C:\Desktop\Medic.sp(367) : error 017: undefined symbol "TE_SendToAll"
// C:\Desktop\Medic.sp(369) : error 017: undefined symbol "TE_SetupBeamRingPoint"
// C:\Desktop\Medic.sp(370) : error 017: undefined symbol "TE_SendToAll"
// C:\Desktop\Medic.sp(401) : error 017: undefined symbol "TE_SetupBeamRingPoint"
// C:\Desktop\Medic.sp(402) : error 017: undefined symbol "TE_SendToAll"
// C:\Desktop\Medic.sp(529) : error 017: undefined symbol "GetPlayerWeaponSlot"
// C:\Desktop\Medic.sp(620) : error 017: undefined symbol "TR_TraceRayFilterEx"
// C:\Desktop\Medic.sp(620) : warning 213: tag mismatch
// C:\Desktop\Medic.sp(623) : error 017: undefined symbol "TR_DidHit"
// C:\Desktop\Medic.sp(626) : error 017: undefined symbol "TR_GetEndPosition"
//
// 20 Errors.
//
// Compilation Time: 0.73 sec
// ----------------------------------------
Attached Files
File Type: sp Get Plugin or Get Source (Medic.sp - 76 views - 18.1 KB)
theproperson is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 05-21-2019 , 04:05   Re: [L4D2] Medic
Reply With Quote #16

Updated:
Added translations(en & ru lang, need test)

Last edited by BHaType; 05-21-2019 at 04:08.
BHaType is offline
Send a message via AIM to BHaType
Beatles
Senior Member
Join Date: Feb 2014
Old 06-30-2019 , 02:04   Re: [L4D2] Medic
Reply With Quote #17

I will report the following errors:
- when you use the "hEnable 1" command the plugin starts working, but you are not selected by a doctor until the next round.
- When you use the command "!cm" you choose a new doctor, but it is still the doctor who chose the plugin, and in the next round more than 1 is a doctor.
- The automatic selection of only admins does not work.

Last edited by Beatles; 06-30-2019 at 02:10.
Beatles is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 07-05-2019 , 20:32   Re: [L4D2] Medic
Reply With Quote #18

Updated
BHaType is offline
Send a message via AIM to BHaType
eliteroyal
AlliedModders Donor
Join Date: Dec 2016
Location: Moldova
Old 07-15-2019 , 14:21   Re: [L4D2] Medic
Reply With Quote #19

man, can you please make a version for csgo? like this plugin - https://forums.alliedmods.net/showthread.php?p=886430
__________________
PEACE FROM MOLDOVA
eliteroyal is offline
login101
Senior Member
Join Date: Sep 2017
Old 07-28-2019 , 17:40   Re: [L4D2] Medic
Reply With Quote #20

Quote:
Originally Posted by BHaType View Post
Description:
Each round, 1 of the survivors becomes a medic and he gets Magnum. A medic can't take another weapon instead of a Magnum. If a medic fires a Magnum, he creates a zone in which all survivors will receive HP. / Sorry for my English.

Cvars and Commands:
hCvarHealCount - The amount of HP a survivor from the area.
hMaxHealth - The maximum amount of HP that can issue an area
hIncapHealCount - Number of HP received from the zone for incapacitated survivors.
hIncapMaxHeal - The maximum amount of HP to incapacitated survivors.

hDurationRing - Zone life time.
hRadiusOfRing - The radius of the zone.
hRangeOfHeal - The radius of the work zone.

hEnable - Is the plugin enabled? 1 - yes, 0 - no.
hCvarIsVisible - Will the zone give health to survivors through walls.
OnlyForAdmin - Only admins have the command !bm? 1 - yes, 0 - no
hOnlyAdminCanBeMedic - Only admins can be medic? 1 - yes, 0 - no

!rmedic - If you're a medic, you can give a random survivor a medic.
!bm - If for some reason there is no medic in the team, then playing for the survivors you can become a medic by prescribing !bm.
!cm - Allows the administrator to choose a medic even if it is already selected (ADMFLAG_ROOT).
!choosemedic - Same thing !cm

Video:
https://youtu.be/buheS6MZ7Lk

The plugin is completely in Russian. Sorry I don't know English.
To compile, you need colors.inc!

Changelog:
Every chapter

Do not you think that you can make a career choice?

This plugin is funny

Warriors, snipers, etc ... I wish I had more than one job.

If you can choose a lot of jobs for each chapter, it will be fantastic


!
login101 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 01:30.


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