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

[ANY] Resize Players - 1.5.1 - 2014/11/20


Post New Thread Reply   
 
Thread Tools Display Modes
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 05-13-2014 , 03:09   Re: [ANY] Resize Players - 1.4.1 - 11/11/2013
Reply With Quote #471

The plugin does not even process negative sizes.

PHP Code:
                else if (fScale <= 0.0 || (fScale g_fBoundMin || fScale g_fBoundMax))
                {
                    
ReplyToCommand(client"%sSize must be between \x05%s\x01 and \x05%s\x01."CHAT_TAGg_szBoundMing_szBoundMax);
                    return 
Plugin_Handled;
                } 
__________________
ddhoward is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 05-13-2014 , 03:15   Re: [ANY] Resize Players - 1.4.1 - 11/11/2013
Reply With Quote #472

Quote:
Originally Posted by ddhoward View Post
The plugin does not even process negative sizes.

PHP Code:
                else if (fScale <= 0.0 || (fScale g_fBoundMin || fScale g_fBoundMax))
                {
                    
ReplyToCommand(client"%sSize must be between \x05%s\x01 and \x05%s\x01."CHAT_TAGg_szBoundMing_szBoundMax);
                    return 
Plugin_Handled;
                } 
I modified it to use the ResizePlayer function in the player_spawn event, set the value for the function to -1.0, and it crashed me.

I managed to comment out all the Bound-related shit because modifying the bounds cvar to allow negative values didn't work. I did forget to code out fScale <= 0.0 though, so maybe that's why I crashed my server?
404UserNotFound is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 05-13-2014 , 12:05   Re: [ANY] Resize Players - 1.4.1 - 11/11/2013
Reply With Quote #474

Quote:
Originally Posted by abrandnewday View Post
I modified it to use the ResizePlayer function in the player_spawn event, set the value for the function to -1.0, and it crashed me.

I managed to comment out all the Bound-related shit because modifying the bounds cvar to allow negative values didn't work. I did forget to code out fScale <= 0.0 though, so maybe that's why I crashed my server?
So you removed a check to make sure that you don't go negative, and then decided to make a big deal out of it?
__________________
Dr. McKay is offline
vodka00
Veteran Member
Join Date: Jun 2012
Location: Los Angeles
Old 05-13-2014 , 21:24   Re: [ANY] Resize Players - 1.4.1 - 11/11/2013
Reply With Quote #475

whats the possibility of making it so that resizes don't affect the player collision boxes?
__________________
cw main:

cw speedruns:
vodka00 is offline
Dynas
Junior Member
Join Date: Apr 2013
Old 05-13-2014 , 21:52   Re: [ANY] Resize Players - 1.4.1 - 11/11/2013
Reply With Quote #476

Quote:
Originally Posted by ddhoward View Post
Might sound dumb, but have you tried restarting your server?
Several times in fact. The only thing I can't check is to see if there's any databases my community uses that would possibly conflict or override the override file. Because at this point it's either the file is being overridden somehow or is just completely being ignored.
Dynas is offline
daniel9008
Junior Member
Join Date: Aug 2013
Old 06-21-2014 , 11:31   Re: [ANY] Resize Players - 1.4.1 - 11/11/2013
Reply With Quote #477

How do i change it from flag b to flag o?
daniel9008 is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 06-21-2014 , 22:29   Re: [ANY] Resize Players - 1.4.1 - 11/11/2013
Reply With Quote #478

Quote:
Originally Posted by daniel9008 View Post
How do i change it from flag b to flag o?
By using SourceMod's Overrides.

Code:
Overrides
{
	"sm_resizeme"		"o"
	"sm_resizemyhead"	"o"
}
__________________
11530 is offline
kot4404
Senior Member
Join Date: Mar 2013
Old 06-24-2014 , 11:14   Re: [ANY] Resize Players - 1.4.1 - 11/11/2013
Reply With Quote #479

I used
Quote:
Overrides
{
"sm_resizeme" ""
"sm_resizemyhead" ""
}
And I got You do not have access to this command!

Last edited by kot4404; 06-24-2014 at 11:16.
kot4404 is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 06-24-2014 , 14:36   Re: [ANY] Resize Players - 1.4.1 - 11/11/2013
Reply With Quote #480

Quote:
Originally Posted by kot4404 View Post
I used


And I got You do not have access to this command!
That's because you didn't assign the flag in the middle like he showed you "o"
Horsedick 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 10:25.


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