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

[L4D2] Charger Power - Objects Glow (1.7) [27-Jul-2023]


Post New Thread Reply   
 
Thread Tools Display Modes
Accelerator
Senior Member
Join Date: Dec 2010
Location: Russia
Old 12-06-2016 , 05:38   Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
Reply With Quote #21

Quote:
Originally Posted by cravenge View Post
Is that what my version is doing? If so, I might check again.
Without SDKHooks_SetTransmit you can not set to glow the backlight, to whom it will be visible. You do glow visible to all players on the server.
And also wrong to change the properties m_CollisionGroup and m_nSolidType at the object. This can cause problems. Need create additional objects that will be lit, as was done in the original.

Last edited by Accelerator; 12-06-2016 at 05:44.
Accelerator is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 12-06-2016 , 06:33   Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
Reply With Quote #22

Quote:
Originally Posted by Accelerator74 View Post
Without SDKHooks_SetTransmit you can not set to glow the backlight, to whom it will be visible. You do glow visible to all players on the server.
And also wrong to change the properties m_CollisionGroup and m_nSolidType at the object. This can cause problems. Need create additional objects that will be lit, as was done in the original.
Bzzzzt, incorrect.

The original plugin made by Silvers creates an entity at another entity's location with the same model just for adding glow which isn't good as Charger Power plugin covers the collision and during collision, said plugin will have difficulty of teleporting the "double" entity which causes the lag you're experiencing, aside from the memory leaks coming from that plugin.

Also, it is necessary to change the charged entity's "m_CollisionGroup" and "m_nSolidType" properties to prevent said entity from being not chargeable, thus rendering the plugin's functions useless.

Edit: Okay, try this.
Attached Files
File Type: sp Get Plugin or Get Source (super_charge_glow-l4d2.sp - 671 views - 13.1 KB)

Last edited by cravenge; 12-06-2016 at 06:52.
cravenge is offline
Accelerator
Senior Member
Join Date: Dec 2010
Location: Russia
Old 12-06-2016 , 06:45   Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
Reply With Quote #23

The backlog caused by the fact that the function did not have time to execute (on the event player_death). By passing this plugin there are other plugins that also something that is carried out in this tick. I have solved this problem function RequestFrame. Now there is no backlog.

If you return the function SDKHooks_SetTransmit, then the object will not visible to the players who are not the Charger, if follow your glow installation method on objects

Last edited by Accelerator; 12-06-2016 at 06:49.
Accelerator is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 12-06-2016 , 06:53   Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
Reply With Quote #24

Quote:
Originally Posted by Accelerator74 View Post
The backlog caused by the fact that the function did not have time to execute (on the event player_death). By passing this plugin there are other plugins that also something that is carried out in this tick. I have solved this problem function RequestFrame. Now there is no backlog.

If you return the function SDKHooks_SetTransmit, then the object will not visible to the players who are not the Charger, if follow your glow installation method on objects
Okay, now I added the charger, the tank, and the survivors to see those entities.
cravenge is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-06-2016 , 13:15   Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
Reply With Quote #25

Isn't the objected parented and so moves with the original entity?
__________________
Silvers is offline
BlackSabbarh
Senior Member
Join Date: Sep 2018
Old 04-28-2019 , 18:42   Re: [L4D2] Charger Power - Objects Glow (1.2) [05-May-2018]
Reply With Quote #26

Is the plugin l4d2_charger_power.smx loaded but does this error come out ???? any version that is working well?

[SM] Exception reported: [SCG] Plugin Requires Super Charge!
[SM] Blaming: super_charge_glow-l4d2.smx
[SM] Call stack trace:
[SM] [0] SetFailState
[SM] [1] Line 74, /home/forums/content/files/2/6/5/1/0/4/159061.attach::OnAllPluginsLoaded
L 04/28/2019 - 18:17:05: Error log file session closed.
L 04/28/2019 - 18:24:08: SourceMod error session started
Info (map "c9m1_alleys") (file "errors_20190428.log")
[SM] Exception reported: Failed to find handle 'l4d2_charger_power_objects'. Missing required plugin 'Charger Power'.
[SM] Blaming: l4d2_charger_power_glow.smx
[SM] Call stack trace:
[SM] [0] SetFailState
L 04/28/2019 - 18:24:08: [SM] [1] Line 90, /home/forums/content/files/1/0/0/6/9/8/159054.attach::OnAllPluginsLoaded
L 04/28/2019 - 18:24:19: Error log file session closed.
BlackSabbarh is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 04-28-2019 , 18:50   Re: [L4D2] Charger Power - Objects Glow (1.2) [05-May-2018]
Reply With Quote #27

Quote:
Originally Posted by Silvers View Post
  • Supports the plugin.
  • Obeys the Charger Power plugin cvar: l4d2_charger_power_objects.
Try to install the Charger Power plugin.
__________________

Last edited by Marttt; 04-28-2019 at 18:51.
Marttt is offline
psisan
Junior Member
Join Date: Sep 2020
Old 10-04-2020 , 15:59   Re: [L4D2] Charger Power - Objects Glow (1.4) [10-May-2020]
Reply With Quote #28

Hi
Is there possible to support for the Charger Power plugin ?
I can't compile the version 1.2 sp in main post.
SourceMod version 1.10
Thank you as always

Code:
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// l4d2_charger_power.sp
// 
// l4d2_charger_power.sp(44) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
// 
// 
// l4d2_charger_power.sp(45) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
// 
// 
// l4d2_charger_power.sp(46) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
// 
// 
// l4d2_charger_power.sp(47) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
// 
// 
// l4d2_charger_power.sp(48) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
// 
// 
// l4d2_charger_power.sp(49) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
// 
// 
// l4d2_charger_power.sp(50) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
// 
// 
// l4d2_charger_power.sp(51) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
// 
// 
// l4d2_charger_power.sp(140) : error 076: syntax error in the expression, or invalid function call
// l4d2_charger_power.sp(148) : error 021: symbol already defined: "RemoveEntity"
// l4d2_charger_power.sp(150) : error 010: invalid function or declaration
// l4d2_charger_power.sp(165) : warning 219: local variable "h_Timer" shadows a variable at a preceding level
// l4d2_charger_power.sp(167) : warning 219: local variable "i_Ent" shadows a variable at a preceding level
// l4d2_charger_power.sp(207) : warning 219: local variable "h_Timer" shadows a variable at a preceding level
// l4d2_charger_power.sp(220) : warning 219: local variable "h_Timer" shadows a variable at a preceding level
// l4d2_charger_power.sp(249) : warning 219: local variable "i_Ent" shadows a variable at a preceding level
// l4d2_charger_power.sp(271) : warning 219: local variable "h_Timer" shadows a variable at a preceding level
// l4d2_charger_power.sp(273) : warning 219: local variable "i_Ent" shadows a variable at a preceding level
// l4d2_charger_power.sp(296) : warning 219: local variable "i_Ent" shadows a variable at a preceding level
// l4d2_charger_power.sp(148) : warning 203: symbol is never used: "i_Ent"
// l4d2_charger_power.sp(148) : warning 203: symbol is never used: "h_Timer"
// 
// 3 Errors.
//
// Compilation Time: 0.09 sec
// --

Last edited by psisan; 10-04-2020 at 16:18. Reason: add the SourceMod version that i use
psisan is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-04-2020 , 19:08   Re: [L4D2] Charger Power - Objects Glow (1.4) [10-May-2020]
Reply With Quote #29

Quote:
Originally Posted by psisan View Post
-
Done: https://forums.alliedmods.net/showpo...2&postcount=76
__________________
Silvers is offline
psisan
Junior Member
Join Date: Sep 2020
Old 10-05-2020 , 06:46   Re: [L4D2] Charger Power - Objects Glow (1.4) [10-May-2020]
Reply With Quote #30

Perfect! no error!
I appreciate you taking the time to fix it.
psisan 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 22:30.


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