Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 16:27

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

Advertisement



2 clusters different Spec_Item

Discussion on 2 clusters different Spec_Item 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
2 clusters different Spec_Item

Hi elitepvpers,

I am wondering about something
I have successfully added 2 clusters that are loading different files

for example
Cluster 1 Low Rate is loading Spec_Item_Low.txt
Cluster 2 High Rate is loading Spec_Item_high.txt

Now when i launch the neuz and i go to 1st cluster
My stats are increased with 150

2nd cluster stats are increased with 550

So as you can see that is working
The part that aint working is the view of the item

When i view the item that is giving the bonusses
Its saying All Stats+150 on both clusters.
So it seems the neuz is only showing the Spec_Item_Low.txt for both clusters. How can i do it so that the neuz is also seeing the text for different clusters.
raventh1984 is offline  
Old 03/20/2014, 14:19   #2



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,174
Received Thanks: 14,475
Tell the neuz on wich cluster the user is.
Sedrika is offline  
Old 03/20/2014, 14:36   #3
 
elite*gold: 0
Join Date: Jan 2014
Posts: 63
Received Thanks: 7
Offtop: Hey mr. Neuz my player is on high cluster xD <lol>
Sorry I had to xD
Tarosx3 is offline  
Old 03/20/2014, 15:01   #4
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
@sedrika
I have an welcom message to test if the neuz is seeing on witch cluster it is

PHP Code:
void CDPClient::OnJoinCAr ar )
{
#ifdef __NEW_SECURITY
        
CString nick pMover->GetName();
#ifdef __LOW_HIGH_SYSTEM
        
if( g_eLocal.GetStateEVE_HIGH_RATE ) ) {
            
g_WndMng.PutString"[DSystem] Welcome, " nick ", have a good time! on High Rate"NULLprj.GetTextColor(TID_ADMIN_ANNOUNCE), CHATSTY_SYSTEM );
        } else if ( 
g_eLocal.GetStateEVE_LOW_RATE ) ) {
            
g_WndMng.PutString"[DSystem] Welcome, " nick ", have a good time! on Low Rate"NULLprj.GetTextColor(TID_ADMIN_ANNOUNCE), CHATSTY_SYSTEM );
        } else {
            
g_WndMng.PutString"[DSystem] Welcome, " nick ", have a good time!"NULLprj.GetTextColor(TID_ADMIN_ANNOUNCE), CHATSTY_SYSTEM );
        }
#else
        
g_WndMng.PutString"[DSystem] Welcome, " nick ", have a good time!"NULLprj.GetTextColor(TID_ADMIN_ANNOUNCE), CHATSTY_SYSTEM );
#endif
#endif

So on both clusters its showing the correct welcome message.

I also have edited Project.cpp inside the _Common folder

@Tarosx3
If you dont have anything useful to say then dont say anything.
raventh1984 is offline  
Old 03/20/2014, 19:48   #5
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 230
Once the cluster is selected, select which is the one player joined. For example high cluster = 0 and low cluster = 1. But I don't know what you really did at all.
I don't know if there will be problems if you logout and change cluster, you have to test that and see if it works (probably you will need to unload the specitem and load again on every cluster selection to avoid problems).
alfredico is offline  
Old 03/20/2014, 20:33   #6
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
So basically i need to change the way Project.cpp is loading up the file?
Cause its now loading only Spec_Item.

I changed it to this

if( g_eLocal.GetState( EVE_LOW_RATE ) ) {
scanner.GetToken();
LoadPropItem( "Spec_Item_Low.txt" , &m_aPropItem );
} else {
scanner.GetToken();
LoadPropItem( "Spec_Item_High.txt" , &m_aPropItem );
}

But still its loading the Low no matter what channel i select.

Its based on the coding parts of Velmore's scripts
raventh1984 is offline  
Old 03/20/2014, 21:55   #7
 
elite*gold: 0
Join Date: Jan 2014
Posts: 773
Received Thanks: 374
Quote:
Originally Posted by raventh1984 View Post
So basically i need to change the way Project.cpp is loading up the file?
Cause its now loading only Spec_Item.

I changed it to this

if( g_eLocal.GetState( EVE_LOW_RATE ) ) {
scanner.GetToken();
LoadPropItem( "Spec_Item_Low.txt" , &m_aPropItem );
} else {
scanner.GetToken();
LoadPropItem( "Spec_Item_High.txt" , &m_aPropItem );
}

But still its loading the Low no matter what channel i select.

Its based on the coding parts of Velmore's scripts
This will not run. The Client load spec_item before login.
Drabur is offline  
Old 03/20/2014, 22:19   #8
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 230
As I said before, you have to load spec_item on server selection, not when loading the client. You will need to create a variable to know which cluster is selected, and then load the correct spec_item.
The EVE_ I would only use for worldserver part.
alfredico is offline  
Old 03/22/2014, 22:36   #9
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
yes i am aware of that Flycraft i only need to figure out how to let the neuz read 2 different spec_items so that the Description of the stats or showing properly for each cluster.
raventh1984 is offline  
Reply


Similar Threads Similar Threads
V19 Spec_Item
03/14/2014 - Flyff Private Server - 8 Replies
Hallo Leute, ich bin's mal wieder... Ich würde gerne die neusten PArameter der Spec_Item zu meinem Server hinzufügen... Ich adde alle Parameter in die ProjectCmn.cpp/.h.. Jedoch bekomme ich last_read fehler... Schaue ich mir die Funktion an, muss dwID <= 0 sein damit dieser Fehler kommt... Meine Frage ist nun, muss ich sonst noch was hinzufügen? :x Was mache ich falsch?
Problem mit der Spec_Item xD
02/19/2013 - Flyff Private Server - 20 Replies
Wenn ich mein DatabaseServer starte, crasht er. Hab herausgefunden, das es an der Spec_Item.txt lag, genauer an dem neuen Eintrag des Schmuck Sets: Download .txt (Weil es übersichtlicher ist) Ich selber finde überhaupt keine Fehler .__. Bitte um Hilfe. MfG
Flyffnitak v17 ( 2 Clusters )
09/24/2011 - Flyff PServer Advertising - 4 Replies
Flyffnitak is a 24/7 Dedicated Server ( No wipe out since 2009 ) Date Released Enthusiast Cluster ( October 2009 ) Novice Cluster (August 2011 ) Website Flyffnitak Rates:



All times are GMT +1. The time now is 16:29.


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.