|
You last visited: Today at 16:27
Advertisement
2 clusters different Spec_Item
Discussion on 2 clusters different Spec_Item within the Flyff Private Server forum part of the Flyff category.
03/20/2014, 13:28
|
#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.
|
|
|
03/20/2014, 14:19
|
#2
|
elite*gold: 18
Join Date: Sep 2009
Posts: 20,174
Received Thanks: 14,475
|
Tell the neuz on wich cluster the user is.
|
|
|
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
|
|
|
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::OnJoin( CAr & ar ) { #ifdef __NEW_SECURITY CString nick = pMover->GetName(); #ifdef __LOW_HIGH_SYSTEM if( g_eLocal.GetState( EVE_HIGH_RATE ) ) { g_WndMng.PutString( "[DSystem] Welcome, " + nick + ", have a good time! on High Rate", NULL, prj.GetTextColor(TID_ADMIN_ANNOUNCE), CHATSTY_SYSTEM ); } else if ( g_eLocal.GetState( EVE_LOW_RATE ) ) { g_WndMng.PutString( "[DSystem] Welcome, " + nick + ", have a good time! on Low Rate", NULL, prj.GetTextColor(TID_ADMIN_ANNOUNCE), CHATSTY_SYSTEM ); } else { g_WndMng.PutString( "[DSystem] Welcome, " + nick + ", have a good time!", NULL, prj.GetTextColor(TID_ADMIN_ANNOUNCE), CHATSTY_SYSTEM ); } #else g_WndMng.PutString( "[DSystem] Welcome, " + nick + ", have a good time!", NULL, prj.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.
|
|
|
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).
|
|
|
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
|
|
|
03/20/2014, 21:55
|
#7
|
elite*gold: 0
Join Date: Jan 2014
Posts: 773
Received Thanks: 374
|
Quote:
Originally Posted by raventh1984
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.
|
|
|
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.
|
|
|
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.
|
|
|
 |
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.
|
|