Raised This Month: $106 Target: $400
 26% 

SourceMod Development Roundup (1.7.2 - 2015/11/03)


Post New Thread Reply   
 
Thread Tools Display Modes
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 11-04-2015 , 17:30   Re: SourceMod Development Roundup (1.7.2 - 03/11/15)
Reply With Quote #11

(depending on interest and commit frequency)
__________________
Chdata is offline
Wliu
Veteran Member
Join Date: Apr 2013
Location: N/A
Old 11-04-2015 , 20:27   Re: SourceMod Development Roundup (1.7.2 - 03/11/15)
Reply With Quote #12

I love this. Now I don't have to sift through the commit messages anymore .
__________________
~Wliu
Wliu is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 11-04-2015 , 22:22   Re: SourceMod Development Roundup (1.7.2 - 03/11/15)
Reply With Quote #13

There's some exciting stuff in 1.8 that I wasn't aware about. I guess I'll have to switch to it!
__________________
Dr. McKay is offline
Starbish
AlliedModders Donor
Join Date: Oct 2011
Location: Republic of Korea
Old 11-05-2015 , 03:39   Re: SourceMod Development Roundup (1.7.2 - 03/11/15)
Reply With Quote #14

Quote:
Populate MaxClients before OnPluginStart is called.
will this be able to be used globally?

like

int g_iUserVariable[MaxClients+1];
__________________
Starbish is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-05-2015 , 03:55   Re: SourceMod Development Roundup (1.7.2 - 03/11/15)
Reply With Quote #15

Quote:
Originally Posted by Starbish View Post
will this be able to be used globally?

like

int g_iUserVariable[MaxClients+1];
No, it's not a constant. static array sizes have to be defined at compile time.
__________________
asherkin is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 11-05-2015 , 04:23   Re: SourceMod Development Roundup (1.7.2 - 03/11/15)
Reply With Quote #16

It does, however, mean that we can now safely use the MaxClients variable within OnPluginStart().
__________________
ddhoward is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 11-05-2015 , 06:40   Re: SourceMod Development Roundup (1.7.2 - 03/11/15)
Reply With Quote #17

Quote:
Originally Posted by ddhoward View Post
It does, however, mean that we can now safely use the MaxClients variable within OnPluginStart().
We always could have used it. It was just 0 at the time, unless you late-load a plugin.
Potato Uno is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 11-05-2015 , 16:21   Re: SourceMod Development Roundup (1.7.2 - 03/11/15)
Reply With Quote #18

Quote:
Originally Posted by ddhoward View Post
It does, however, mean that we can now safely use the MaxClients variable within OnPluginStart().
__________________
ddhoward is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 11-05-2015 , 18:26   Re: SourceMod Development Roundup (1.7.2 - 03/11/15)
Reply With Quote #19

I still don't know what "safety" means in that context. I used it in OnPluginStart and never was bitten in the ass by it. What did I miss?
Potato Uno is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-06-2015 , 10:24   Re: SourceMod Development Roundup (1.7.2 - 03/11/15)
Reply With Quote #20

Asherkin merged a fix into 1.8-git5779 this morning that fixes GetMapDisplayName not working properly on CSGO Windows.
__________________
Am I back? Well, we'll see.
Powerlord 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 01:14.


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