2 clusters different Spec_Item

03/20/2014 13:28 raventh1984#1
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 Sedrika#2
Tell the neuz on wich cluster the user is.
03/20/2014 14:36 Tarosx3#3
Offtop: Hey mr. Neuz my player is on high cluster xD <lol>
Sorry I had to xD
03/20/2014 15:01 raventh1984#4
@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.
03/20/2014 19:48 alfredico#5
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 raventh1984#6
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 Drabur#7
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.
03/20/2014 22:19 alfredico#8
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 raventh1984#9
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.