Raised This Month: $ Target: $400
 0% 

[TF2] Pets


Post New Thread Reply   
 
Thread Tools Display Modes
Mitchell
~lick~
Join Date: Mar 2010
Old 01-21-2014 , 16:08   Re: [TF2] Pets
Reply With Quote #81

if only we were able to path find with map's navigation.
Mitchell is offline
arthurdead
Senior Member
Join Date: Jul 2013
Old 01-21-2014 , 16:11   Re: [TF2] Pets
Reply With Quote #82

Quote:
Originally Posted by Mitchell View Post
if only we were able to path find with map's navigation.
This
And This

Last edited by arthurdead; 01-21-2014 at 16:22.
arthurdead is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 01-21-2014 , 16:57   Re: [TF2] Pets
Reply With Quote #83

Quote:
Originally Posted by arthurdead View Post
Seems cool, ive looked at it before but didnt see the example @ the second post, maybe if i can come up with some kind of path finding we can replicate NPC's. I.E. make your pet attack others. (sorta like the skeleton, but able to tell it who to attack.
Mitchell is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 03-13-2014 , 22:24   Re: [TF2] Pets
Reply With Quote #84

Ok so has there been any headway made with figuring out why pets will start randomly spawning themselves onto players who haven't given themselves a pet?

I'm not sure what causes it, whether it's the lack of a check during an event such as round start, but it's annoying and I can't use the plugin until it's fixed >_>
404UserNotFound is offline
RavenShadow
Junior Member
Join Date: Jan 2013
Old 07-19-2014 , 00:04   Re: [TF2] Pets
Reply With Quote #85

Ummm Hai there. I'm not sure if this was fixed already, but when i took a look at the plugin since i wanted to add it to my server.
I think adding this fixed the random spawn glitch at least from what i seen
PHP Code:
public OnClientDisconnect(client)
{
    if(
petType[client] != 0)
    {
        
KillPet(clienttrue);
    }

Though I spotted 2 weird things when I tried to test it more by giving everyone(about 12 people or more) pets
I got a array error that lagged the server a bit.when it was a high amount of people with pets.
It didnt give me that trouble with 8 people though.
The only other glitch I found was one pet was not slayed when i killed off all the pets for some reason.

Last edited by RavenShadow; 07-19-2014 at 00:06. Reason: my grammar sucks
RavenShadow is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 07-19-2014 , 00:13   Re: [TF2] Pets
Reply With Quote #86

Quote:
Originally Posted by arthurdead View Post
[...]sm_givepet <petindex> - Gives Yourself A Pet
sm_killpet - Slay Your Pet[...]
This is so you, arthur.
__________________
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.
Dr. Greg House is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 07-19-2014 , 05:27   Re: [TF2] Pets
Reply With Quote #87

Quote:
Originally Posted by RavenShadow View Post
Ummm Hai there. I'm not sure if this was fixed already, but when i took a look at the plugin since i wanted to add it to my server.
I think adding this fixed the random spawn glitch at least from what i seen
PHP Code:
public OnClientDisconnect(client)
{
    if(
petType[client] != 0)
    {
        
KillPet(clienttrue);
    }

Though I spotted 2 weird things when I tried to test it more by giving everyone(about 12 people or more) pets
I got a array error that lagged the server a bit.when it was a high amount of people with pets.
It didnt give me that trouble with 8 people though.
The only other glitch I found was one pet was not slayed when i killed off all the pets for some reason.
Yeah this plugin is still buggy. It's a shame too because the donators on my server were part of me testing revisions of this for arthur a while ago and they keep asking me when the pets are coming back.

I've got two days off starting today when I get home from work in about an hour so I may take a look through this plugin again and see if I can't figure out why in the fuck pets keep spawning randomly.

Sometimes it seems like after a server restart/mapchange, the first person to connect has the first pet spawned on them. Even after putting in ADMFLAG checks to only spawn a pet on a donator (to see if it would stop spawning pets on just anyone) it would still spawn on non-donators.
404UserNotFound is offline
arthurdead
Senior Member
Join Date: Jul 2013
Old 07-19-2014 , 17:08   Re: [TF2] Pets
Reply With Quote #88

try this not tested
Attached Files
File Type: sp Get Plugin or Get Source (petsremake.sp - 131 views - 19.7 KB)
File Type: inc petsremake.inc (2.1 KB, 97 views)
arthurdead is offline
robotortoise
Senior Member
Join Date: Nov 2013
Old 07-21-2014 , 02:22   Re: [TF2] Pets
Reply With Quote #89

So...this plugin looks interesting.

Could someone upload an example video?

And how would you "make" pets, anyways? A cfg file?

Or just...recompiling the plugin?
__________________
-Robotortoise [Palutena's Bro]

If you ever need help with Wii/Gamecube/DS sounds/music/ect., I'm your man!

Contact me via Steam

I don't bite.


How to loop and compress .wav files

Me and my friends' server
robotortoise is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 07-21-2014 , 06:37   Re: [TF2] Pets
Reply With Quote #90

Recompiling.
404UserNotFound 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 21:33.


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