2 Servers on Computer?

Joined
Dec 22, 2006
Messages
3
Reaction score
0
2 Servers on Computer?
Can please help. How can i make 2 Servers on 1PC with extra DB and Auth.
i think i must the db rename : kal_db2 or kal_auth2
but then must man the AuthSvr and DbSvr encrypt or?
Plz tell me how can i make it easy :D

Thanks
 
Just do what you did to make the first server. There you have it , 2 servers on 1 computer.

how would you do that since you cant run 2 mainserver at the same and they would use the same database

Edit: unlss you modify all the files but thats a lot of work and dunno if its possible

and It would just take to much cpu/ram
 
Upvote 0
Dope I did it before, I ran a test server while running a normal server on the same computer. It does take up more cpu/ram.
 
Upvote 0
hahaha yeah you are right :P

ah well I dont need 2 servers on 1 computer so never looked at it ;)

off-topic : didnt you start a server emu project a while ago ? if yes how is it going ?
 
Upvote 0
Nice really hopes it gets finished

On-Topic : just copy your whole server file to another place change the ODBC in your authconfig.txt and dbconfig.txt change the serverport in your mainconfig.txt

and make the 2 new databases in mssql the name you used in your ODBC in the txt files make a new ODBC connection in windows

start those 3 servers as another user account with windowsXP and change the connection port in your config.pk clientside

then It should work I hope you understand it

last note : Didnt test it so I could be wrong did this all from out of my head
anybody please correct me if im wrong :P
 
Upvote 0
think you might need to change some ports from dbsvr and authsvr not 100% sure and also put sometihng like this in mainconfig.txt

AuthPort = #
DBPort = #

(# = number of port)
 
Upvote 0
1. I make a new DB: solid_db ..... ok ready
2. I make new ODBC: solid_db ..... ok ready
3. I make new port for Main and Hackshield ...... ok ready
4. i have a question: Can i change the port of Database Server?
5. i start Hackshield, Database Server and the last one MainSvr ...... Error!: cant get Item ID in MainSvr
6. i think i must change the db port but how?
:scratch:
PS: i dont need AuthSvr i will all Login information take over for the second server. i think thats then correct
 
Upvote 0
Ok i have it .....
My MainConfig
Code:
Title = "SoliDs ServeR"

NumberOfThreads = 2
ServerId = 2
Port=30142
AgeLimit = 15
System = "0 5 6 9 10 11 12 "
Event = "0 1 2 4 5 6"
Country = 0
DBPort = 30001
;MailServer = "127.0.0.1"
;MailFrom = "KAL_MAIN18"
;MailTo = "[email protected], [email protected]"



;=======================================
;System
;0 ------- closed beta test
;1 ------- don't send an alive packet (only for a test server)
;2 ------- pay system
;3 ------- netmarble authsocket activate
;4 ------- party system
;5 ------- quest system
;=======================================
;Event
;=======================================

;Seed = 9052
;=======================================
;System
;0 ------- pk system
;1 ------- cosmo server (local test server)
;2 ------- pay system
;3 ------- netmarble authsocket activate
;4 ------- reserved ( not used )
;5 ------- reserved ( not used )
;6 ------- friend
;7 ------- billing system
;8 ------- test server
;9 ------- guild war system
;10 ------ mail
;11 ------ gamble
;12 ------- guild war system 2 (SiegeGun)
;13 ------- HACKSHIELD
;=======================================
;Event
;0 ------- double exp.
;1 ------- dice event
;2 -------
 
Upvote 0
Back