clientside item_proto question/problem

10/18/2010 09:58 RumorUS#1
Is it possible to make some kind of item proto selector based on which server a player logs in to? I need this because I will host 2 servers on 1 root, each with very different item_proto.


Example:

1 root host

server 1: elitepvpers1
server 2: elitepvpers2

on server1 (elitepvpers1) select client item_proto 1 when logging in.
on server2 (elitepvpers2) select client tiem_proto 2 when logging in.

ty:pimp:
10/18/2010 09:59 RivathaX#2
You must Configure our CONFIGS and Duplicate your databases vom Player
You need
Databases Player
And Databases Player1
Then the Second Root you must Configure that he connect to first Roots Databases

Best Regards,
.RiisK#
10/18/2010 10:07 RumorUS#3
Quote:
Originally Posted by .RiisK# View Post
You must Configure our CONFIGS and Duplicate your databases vom Player
You need
Databases Player
And Databases Player1
Then the Second Root you must Configure that he connect to first Roots Databases

Best Regards,
.RiisK#
thankyou but what about on the client side? I need the player1 to match the client item_proto1 .. how would I synchronize the client with server then?
10/18/2010 10:09 RivathaX#4
You edit only our serverinfo.py
And make there your Second Server then start it and it's okay
So you can join to your Server1 and 2


Best Regards,
.RiisK#
10/18/2010 10:27 RumorUS#5
Quote:
Originally Posted by .RiisK# View Post
You edit only our serverinfo.py
And make there your Second Server then start it and it's okay
So you can join to your Server1 and 2


Best Regards,
.RiisK#
ok let's say this is my serverinfo.py:


and this is my first item_proto in clientside (elitepvpers1):



and here is my second clientside item_proto (elitepvpers2):



As you see, I have elitepvpers1 server sword with HP and demi-human bonus. On elitepvpers2 server sword I have normal sword bonus. Where in the serverinfo.py do I tell my client to select another item_proto from the locale?





Do I do it this way? :

client
/pack/locale_elitepvpers1.epk
/pack/locale_elitepvpers1.eix
/pack/locale_elitepvpers2.epk
/pack/loacle_elitepvpers2.eix

serverinfo.py
PHP Code:
if (locale.IsEUROPE() and app.GetLocalePath() == "locale/elitepvpers1"): 
PHP Code:
if (locale.IsEUROPE() and app.GetLocalePath() == "locale/elitepvpers2"): 
locale.cfg
10002 1252 elitepvpers1

then tell users if they want to play on server 2 to edit their locale.cfg to:
10002 1252 elitepvpers2



is there a way that I can make it so it loads a new locale when they select or login to the second server? So a restart of client is unnecessary?