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

[L4D & L4D2] Prototype Grenades (1.24) [14-May-2020]


Post New Thread Reply   
 
Thread Tools Display Modes
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 05-10-2020 , 19:36   Re: [L4D & L4D2] Prototype Grenades (1.23) [10-May-2020]
Reply With Quote #101

I get this when trying to compile on SM 1.11.0.6530:
Code:
//// l4d_grenades.sp
//
// l4d_grenades.sp(838) : error 077: arrays cannot be indexed by non-integral type 'bool'
// l4d_grenades.sp(1311) : error 077: arrays cannot be indexed by non-integral type 'bool'
// l4d_grenades.sp(1645) : error 077: arrays cannot be indexed by non-integral type 'bool'
// l4d_grenades.sp(1662) : error 077: arrays cannot be indexed by non-integral type 'bool'
//
// 4 Errors.
//
// Compilation Time: 0.23 sec
// ----------------------------------------
Edit: It's apparently an issue with SM 1.11 so, for now, this can only be compiled with SM 1.10.
__________________
AFK like JFK

Last edited by Crasher_3637; 05-10-2020 at 19:42.
Crasher_3637 is offline
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Old 05-11-2020 , 03:04   Re: [L4D & L4D2] Prototype Grenades (1.23) [10-May-2020]
Reply With Quote #102

Looks like "[!g_bLeft4Dead2]" has to be changed to "[view_as<int>(!g_bLeft4Dead2)]". Thanks for the report
__________________

Last edited by Silvers; 05-11-2020 at 04:01.
Silvers is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 05-11-2020 , 03:19   Re: [L4D & L4D2] Prototype Grenades (1.23) [10-May-2020]
Reply With Quote #103

[Issue] Arrays cannot be indexed by non-integral type 'String'

Perhaps, it's good idea to append issue with your case as well.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles]

Last edited by Dragokas; 05-11-2020 at 03:20.
Dragokas is offline
hoanganh81097
Senior Member
Join Date: Apr 2016
Old 06-04-2020 , 10:27   Re: [L4D & L4D2] Prototype Grenades (1.24) [14-May-2020]
Reply With Quote #104

some chapter When threw Heal Grenade. People crash game ( no steam logon ). Do you know how to fix ?
Ex : Chapter 2 in https://steamcommunity.com/sharedfil...?id=2074812142

Last edited by hoanganh81097; 06-04-2020 at 10:28.
hoanganh81097 is offline
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Old 06-04-2020 , 10:31   Re: [L4D & L4D2] Prototype Grenades (1.24) [14-May-2020]
Reply With Quote #105

Don't see how that's possibly being caused by this plugin. Otherwise turn off the plugin on that map.
__________________
Silvers is offline
hoanganh81097
Senior Member
Join Date: Apr 2016
Old 06-04-2020 , 14:52   Re: [L4D & L4D2] Prototype Grenades (1.24) [14-May-2020]
Reply With Quote #106

Quote:
Originally Posted by Silvers View Post
Don't see how that's possibly being caused by this plugin. Otherwise turn off the plugin on that map.
I think people crash because of entity limit.
After i removed
PHP Code:
CreateBeamRing(entity, { 01500255 }, 0.1range - (range BEAM_RINGS)); 
( in EXPLOSION FX - MEDIC ). People is no longer crashing

Last edited by hoanganh81097; 06-04-2020 at 14:54.
hoanganh81097 is offline
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Old 06-04-2020 , 15:14   Re: [L4D & L4D2] Prototype Grenades (1.24) [14-May-2020]
Reply With Quote #107

Quote:
Originally Posted by hoanganh81097 View Post
I think people crash because of entity limit.
Quote:
Originally Posted by Silvers View Post
Otherwise turn off the plugin on that map.
Just like c1m3_mall with many plugins.
__________________
Silvers is offline
hoanganh81097
Senior Member
Join Date: Apr 2016
Old 06-04-2020 , 15:28   Re: [L4D & L4D2] Prototype Grenades (1.24) [14-May-2020]
Reply With Quote #108

Quote:
Originally Posted by Silvers View Post
Just like c1m3_mall with many plugins.
should i remove some plugins ? or maybe have another way to fix it
hoanganh81097 is offline
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Old 06-04-2020 , 15:45   Re: [L4D & L4D2] Prototype Grenades (1.24) [14-May-2020]
Reply With Quote #109

Quote:
Originally Posted by hoanganh81097 View Post
should i remove some plugins ? or maybe have another way to fix it
Use a Map Configs plugin, turn off this plugin or some others on that map.
__________________
Silvers is offline
hoanganh81097
Senior Member
Join Date: Apr 2016
Old 06-04-2020 , 15:47   Re: [L4D & L4D2] Prototype Grenades (1.24) [14-May-2020]
Reply With Quote #110

Quote:
Originally Posted by Silvers View Post
Use a Map Configs plugin, turn off this plugin or some others on that map.
i will try, thank for your help
hoanganh81097 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:21.


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