Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 23:14

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

Advertisement



New AddDefinedText

Discussion on New AddDefinedText within the Flyff Private Server forum part of the Flyff category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
New AddDefinedText

Hi elitepvpers,

I am working on Sedrika's Webshop and i am in the process of changing the CDPSrvr::OnBuyingInfo

the pUser->AddDefinedText is atm

pUser->AddDefinedText( TID_EVE_REAPITEM, "\"%s\"", itemElem.GetName() );

So i changed it to

pUser->AddDefinedText( TID_EVE_GIFT, "\"%s\"","\"%s\"", itemElem.GetName(), pUser->GetName() );

TID_EVE_GIFT is added to definetext.h textclient.inc and textclient.txt.txt

The line in textclient.txt.txt = Your recieved %s from %s!

Now when i use the gift option to send the item to an other player. That player is only seeing (Your recieved from %s)

What do i need to change so that both the item and the character name is beeing displayed.

With kind regards.


EDIT:
Solved i needed to change it to "\"%s\" \"%s\""
raventh1984 is offline  
Old 11/30/2014, 15:38   #2
 
Terrat's Avatar
 
elite*gold: 130
Join Date: Apr 2012
Posts: 1,173
Received Thanks: 670
Bit of source would help
Terrat is offline  
Old 11/30/2014, 15:57   #3
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 227
pUser->AddDefinedText( TID_EVE_GIFT, itemElem.GetName(), pUser->GetName() );

The variables to edit are already on text.
alfredico is offline  
Closed Thread




All times are GMT +2. The time now is 23:14.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.