Register for your free account! | Forgot your password?

You last visited: Today at 11:12

  • Please register to post and access all features, it's quick, easy and FREE!


Buff pet range/despawning

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2017
Posts: 81
Received Thanks: 16
Buff pet range/despawning

Hey everyone,

I have an issue on my server where whenever we teleport from the siege spawn location to the arena our buff pets are despawning. And also if you get too much speed you can outrun your buff pet (even with its speed increased).

I tried a few times to increase the range of buffpets but I still have the same problem.

Anyone have any tips on how to fix this by either increasing the range of the pets or disable the despawning. I tried looking for it myself but I haven't really been able to find something that makes me confident about a fix.



FlyffDeveloper is offline  
Old 01/14/2018, 06:29   #2
 
elite*gold: 0
Join Date: Aug 2017
Posts: 81
Received Thanks: 16
Quote:
Originally Posted by Hekmatyar View Post
I wouldn't be posting here if I was able to fix it after trying out various things myself. I disabled most of the obvious places where a pet is despawned after a range or location check but it still seems to happen.


FlyffDeveloper is offline  
Old 01/14/2018, 16:17   #3

 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,157
Received Thanks: 14,369
Set a flag if you're teleporting and a pet is spawned.
Respawn pet if flag is true after teleporting.

And while spawning set the pets speed to player speed if you want.
Sedrika is offline  
Thanks
2 Users
Old 01/16/2018, 11:06   #4
 
elite*gold: 0
Join Date: Aug 2017
Posts: 81
Received Thanks: 16
For those who also might be interested in a similar fix (or have suggestions for better improvements).

I have fixed the problem by adding this in the JoinWar() for the Siege code.

Code:
	
bool reActivatePet = false;
CItemElem* pPetItem;

if( ((CMover*)pUser)->HasActivatedEatPet())
{
	reActivatePet = true;
	pPetItem = ((CMover*)pUser)->GetVisPetItem();
}
	
((CMover*)pUser)->REPLACE( g_uIdofMulti, WI_WORLD_GUILDWAR, v3Pos[nMap], REPLACE_NORMAL, nDefaultLayer );

pUser->m_vtInfo.SetOther( NULL );
	
if(reActivatePet)
	((CMover*)pUser)->ActivateEatPet(pPetItem);


FlyffDeveloper is offline  
Old 01/16/2018, 18:01   #5
 
elite*gold: 0
Join Date: Jun 2015
Posts: 65
Received Thanks: 153
Quote:
Originally Posted by FlyffDeveloper View Post
For those who also might be interested in a similar fix (or have suggestions for better improvements).

I have fixed the problem by adding this in the JoinWar() for the Siege code.

Code:
	
bool reActivatePet = false;
CItemElem* pPetItem;

if( ((CMover*)pUser)->HasActivatedEatPet())
{
	reActivatePet = true;
	pPetItem = ((CMover*)pUser)->GetVisPetItem();
}
	
((CMover*)pUser)->REPLACE( g_uIdofMulti, WI_WORLD_GUILDWAR, v3Pos[nMap], REPLACE_NORMAL, nDefaultLayer );

pUser->m_vtInfo.SetOther( NULL );
	
if(reActivatePet)
	((CMover*)pUser)->ActivateEatPet(pPetItem);
How to implement a possible server crash 101
ディオニュソス is offline  
Thanks
1 User
Old 01/16/2018, 18:50   #6
 
elite*gold: 0
Join Date: Aug 2017
Posts: 81
Received Thanks: 16
Quote:
Originally Posted by ディオニュソス View Post
How to implement a possible server crash 101

What do you suggest could cause that? I'm still new so always willing to learn how to code flyff better.
FlyffDeveloper is offline  
Old 01/16/2018, 19:28   #7
 
elite*gold: 0
Join Date: Jun 2015
Posts: 65
Received Thanks: 153
Quote:
Originally Posted by FlyffDeveloper View Post
What do you suggest could cause that? I'm still new so always willing to learn how to code flyff better.
Idk, there are plenty of possibilities, I'd probably call Replace on the loot pet mover. That works as long as it doesn't switch worlds.
You'd have to adjust CMover::Replace though in order to disable the deactivation of the pet when an actual player is being teleported.
Up to you, according to your name you're a flyff developer so I'm sure you can figure that one out on your own.


ディオニュソス is offline  
Reply



« Flyff web seite register tut | Player Disconnect »

Similar Threads
Range Hack[Veränderbare Range!]
08/31/2010 - S4 League Hacks, Bots, Cheats & Exploits - 21 Replies
So ich möchte Heute mal mein range hack realasen,bei dem könnt ihr die Range individuel einstelen. Das ist das erste mal das ich sowas selber mache ohne fremde hilfe,daher kritik erwünscht (auch wen es nur schlechte ist xD) ...
[Request] PS Range + Range Adresse
06/03/2010 - S4 League - 0 Replies
Hi , ich suche jemanden der mir die richtige und funktionierende PS Range + Range Adresse geben kann. Bitte nicht die aus den public CT's diese gehen bei mir nicht! Danke
[REQUEST] AutoIt select range/Grap Range For SRO!
02/11/2010 - SRO Ask the Experts - 0 Replies
Can someone change this loader from private server loader to SRO loader?? :o
{Mabinogi} T> Infinite fb Range for 100%Range
01/08/2010 - Trading - 0 Replies
Hey..Trading infinite fireball range for 100%Range (Bow) IGN: Hollowclouds/Alexina Contact me: [email protected] Will except method or file...No keyloggers...not the ones from to mabinogi forum.
PET FOOD HACK , PET BAR AND PET SKILL
08/11/2009 - Grand Chase Philippines - 6 Replies
DONT KNOW IF I'M THE FIRST ONE TO POST THIS KIND OF HACK BUT I GIVE MY CREDIT TO THE FIRST ONE WHO POSTED IT. PET FOOD 1. go to your equip you can see your pet satisfaction there first scan the value of your pet satisfaction scan:(pet...



All times are GMT +2. The time now is 11:12.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.