Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 18:58

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

Advertisement



Teleport system for Premium User only

Discussion on Teleport system for Premium User only within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Teleport system for Premium User only

Hi elitepvpers,

i am trying to make the teleport system for users that has an premium status.

For testing purposes i did not create the premium system yet.
Instead i am using IK3_ARMOREFFECTCHANGE

so

CWndTeleporter::OnInitialUpdate(void)

if(g_pPlayer->HasBuffByIk3(IK3_ARMOREFFECTCHANGE)
{
Destroy();
}

it simply means when the player has the buff IK3_ARMOREFFECTCHANGE
it wont open CWndTeleporter.

However when i have the buff active it still opens up the Teleporter.

I also tried it for testing with SM_MODE SM_MAX_HP

So
if(g_pPlayer->IsSMMode(SM_MAX_HP))
Destroy();

Also that one isn't working.
raventh1984 is offline  
Old 10/18/2016, 11:32   #2
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 230
BOOL CWndTeleporter::Process()
{
if (g_pPlayer->HasBuffByIk3(IK3_ARMOREFFECTCHANGE))
Destroy();

return TRUE;
}
alfredico is offline  
Thanks
1 User
Old 10/18/2016, 11:43   #3
 
elite*gold: 0
Join Date: Mar 2008
Posts: 333
Received Thanks: 284
if(g_pPlayer->IsSMMode(SM_MAX_HP))
Destroy();

Did you to activate Bull Hamstern?
Nortix is offline  
Old 10/18/2016, 12:04   #4
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Thanks but it isnt working

Even with SM_MODE it isnt working.

If i do this
CWndTeleporter::OnInitialUpdate(void)

if(g_pPlayer->GetWorld()->GetID() == 1)
Destroy();

Then its working like it should be.

Yes Nortix i activated the Bull
raventh1984 is offline  
Old 10/18/2016, 12:07   #5
 
elite*gold: 0
Join Date: Mar 2008
Posts: 333
Received Thanks: 284
Just tested it, works finde with the code above.
Nortix is offline  
Old 10/18/2016, 12:25   #6
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Hmm that is strange at my side it aint working.
So it could be that my scroll is different then yours.

II_CHR_FOO_COO_BULLHAMS IDS_PROPITEM_TXT_004472 1 999 IK1_EFFECT IK2_KEEP IK3_SCROLL

Could it be because its IK2_KEEP instead of IK2_BUFF2?
raventh1984 is offline  
Old 10/18/2016, 12:32   #7
 
elite*gold: 0
Join Date: Mar 2008
Posts: 333
Received Thanks: 284
II_CHR_FOO_COO_BULLHAMS IDS_PROPITEM_TXT_004472 1 99 IK1_CHARGED IK2_FOOD IK3_COOKING


Try other SM modes and have a look if its working with other items. You'll find them in _ADDSMMODE()
Nortix is offline  
Old 10/18/2016, 12:36   #8
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Quote:
Originally Posted by Nortix View Post
II_CHR_FOO_COO_BULLHAMS IDS_PROPITEM_TXT_004472 1 99 IK1_CHARGED IK2_FOOD IK3_COOKING


Try other SM modes and have a look if its working with other items. You'll find them in _ADDSMMODE()

Ok used SM_BANK15
When its on the teleport aint working.

So thanks i know now where to look and how to script it.

First things first need to have some sleep .

Thanks again.
raventh1984 is offline  
Reply


Similar Threads Similar Threads
(Welcome To Black-Sro//Cap100~PVE//New Teleport//System Coin's&Jop System//More!)
08/13/2013 - SRO PServer Advertising - 47 Replies
--------Removed------- Make Another Title Name



All times are GMT +1. The time now is 19:00.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.