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

SourcePets v1.185 (Updated: 2015-03-15)


Post New Thread Reply   
 
Thread Tools Display Modes
Marcus101RR
Veteran Member
Join Date: Aug 2009
Location: Tampa, FL
Old 03-15-2015 , 15:40   Re: SourcePets v1.185 (Updated: 2015-03-15)
Reply With Quote #21

Any confirmation on Left 4 Dead functioning?
__________________
Marcus101RR is offline
Send a message via AIM to Marcus101RR Send a message via Skype™ to Marcus101RR
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 03-15-2015 , 15:44   Re: SourcePets v1.185 (Updated: 2015-03-15)
Reply With Quote #22

I guess there's only one way to find out

You may need to change models of pets in config though since L4D2 does not includs half life 2 base content from what i recall...
__________________
...

Last edited by Oshizu; 03-15-2015 at 15:44.
Oshizu is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 03-16-2015 , 15:28   Re: SourcePets v1.185 (Updated: 2015-03-15)
Reply With Quote #23

This has to go in my "top 3 most epic plugins of all time" list...maybe number one. Cheers.

UPDATE: Would be cool if other people could see your pets name and mood?

Last edited by MaloModo; 03-16-2015 at 16:26.
MaloModo is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 03-16-2015 , 17:31   Re: SourcePets v1.185 (Updated: 2015-03-15)
Reply With Quote #24

Quote:
Originally Posted by MaloModo View Post
This has to go in my "top 3 most epic plugins of all time" list...maybe number one. Cheers.

UPDATE: Would be cool if other people could see your pets name and mood?
It should be possible to do... I might work on it somewhere around this week but more than likely on the weekend
__________________
...
Oshizu is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 03-16-2015 , 21:08   Re: SourcePets v1.185 (Updated: 2015-03-15)
Reply With Quote #25

Quote:
Originally Posted by Oshizu View Post
It should be possible to do... I might work on it somewhere around this week but more than likely on the weekend
Just one more thing noticed when added to a FF2 server. I believe ff2 is "messing" with the !pets menu somehow. If you unload/reload the plugin the menu will return but after a few rounds the command no longer "works". I believe the menu is there but you can't see it? Does this make sense?
MaloModo is offline
Despirator
Senior Member
Join Date: Jun 2011
Location: Kazakhstan ->Shymkent
Old 03-17-2015 , 06:31   Re: SourcePets v1.185 (Updated: 2015-03-15)
Reply With Quote #26

PHP Code:
        if(StrEqual(flags"0"))
        {
            
petInfo[i][ADMFLAG] = 0;
        }
        else if(
StrEqual(flags"a"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_RESERVATION;
        }
        else if(
StrEqual(flags"b"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_GENERIC;
        }
        else if(
StrEqual(flags"c"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_KICK;
        }
        else if(
StrEqual(flags"d"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_BAN;
        }
        else if(
StrEqual(flags"e"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_UNBAN;
        }
        else if(
StrEqual(flags"f"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_SLAY;
        }
        else if(
StrEqual(flags"g"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_CHANGEMAP;
        }
        else if(
StrEqual(flags"h"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_CONVARS;
        }
        else if(
StrEqual(flags"i"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_CONFIG;
        }
        else if(
StrEqual(flags"j"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_CHAT;
        }
        else if(
StrEqual(flags"k"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_VOTE;
        }
        else if(
StrEqual(flags"l"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_PASSWORD;
        }
        else if(
StrEqual(flags"m"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_RCON;
        }
        else if(
StrEqual(flags"n"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_CHEATS;
        }
        else if(
StrEqual(flags"o"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_CUSTOM1;
        }
        else if(
StrEqual(flags"p"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_CUSTOM2;
        }
        else if(
StrEqual(flags"q"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_CUSTOM3;
        }
        else if(
StrEqual(flags"r"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_CUSTOM4;
        }
        else if(
StrEqual(flags"s"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_CUSTOM5;
        }
        else if(
StrEqual(flags"t"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_CUSTOM6;
        }
        else if(
StrEqual(flags"z"))
        {
            
petInfo[i][ADMFLAG] = ADMFLAG_ROOT;
        } 
String comparison for every flag? OMG... use ReadFlagString(flags);
Despirator is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 03-17-2015 , 15:10   Re: SourcePets v1.185 (Updated: 2015-03-15)
Reply With Quote #27

Quote:
Originally Posted by Despirator View Post
PHP Code:
... 
String comparison for every flag? OMG... use ReadFlagString(flags);
Thanks
Didn't know this function existed but now that i know it's going to be kinda handy
__________________
...
Oshizu is offline
dave_with_beer_bottle
Senior Member
Join Date: Jul 2009
Old 03-18-2015 , 00:31   Re: SourcePets v1.185 (Updated: 2015-03-15)
Reply With Quote #28

Quote:
Originally Posted by Oshizu View Post
snip
One of the best free plugins
Oshizu do me a favor and add "donate" button to your signature so i can send you little something for this awesome plugin

Last edited by dave_with_beer_bottle; 03-18-2015 at 00:31.
dave_with_beer_bottle is offline
Sigara
Member
Join Date: Apr 2014
Old 03-18-2015 , 03:24   Re: SourcePets v1.185 (Updated: 2015-03-15)
Reply With Quote #29

This breaks when on my ClassicGuzzi version deathrun server for some reason.
__________________
Sigara is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 03-18-2015 , 08:43   Re: SourcePets v1.185 (Updated: 2015-03-15)
Reply With Quote #30

Quote:
Originally Posted by dave_with_beer_bottle View Post
Oshizu do me a favor and add "donate" button to your signature so i can send you little something for this awesome plugin
Awesome!
I could give you my paypal email maybe instead if your sure about that,
Since i'm not sure how does the donate thing on paypal works...

Quote:
Originally Posted by Sigara View Post
This breaks when on my ClassicGuzzi version deathrun server for some reason.
Thanks, i'il investigate that issue when i'il have some time...
__________________
...

Last edited by Oshizu; 03-18-2015 at 09:28.
Oshizu 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 13:38.


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