JOB Server help.

XonGeaR

Dedicated Member
Dedicated Member
Sep 20, 2004
85
0
52
JOB Server Logingate prob.

ok i got server running etc.
when i login i get this wierd problem.

In my logingate i see this when i get to char select
--> connect 192.168.1.2 (second comp router ip)
then when i gets in game i see this in logingate
--> discconect 192.168.1.2
I have tested to use 127.0.0.1 and have the server and client on same machine but still gained
the error.
The error it self makes dose so when i make so ppl should be able to coonect to me it wont let them.
they can only login then they get the message : loading char data info please wait.
and its there the message "disconnect" <ip> for outsiders comes.
But it dosent show up there for me untill i enter game.
And i have followd Demonic's installation instruction's to 100%. Also dubble checkt DB and settings without finding
anything wierd or wrong typed.
 
Last edited:

Kaori

LOMCN MiR3 Queen!
VIP
Jun 3, 2004
3,584
38
285
Canada
it should be...
In DBSrv i added my NET IP to !serverinfo (127.0.0.1,MY NET IP:7200)
TBL_PUBIPS = 127.0.0.1 on 1 of the entry
TBL_SELECTGATEIP = NET IP
 
Upvote 0

Kaori

LOMCN MiR3 Queen!
VIP
Jun 3, 2004
3,584
38
285
Canada
the purpose of TBL_PUBIPS is a security thing...
whatever IP you have there... meaning.. only that IP can use the login server
login gate, dbserver, game server they connect login server.

and of course they should be 127.0.0.1 if it's on the same computer.

so that's all you need.. 127.0.0.1... not net or not 192.168...
 
Upvote 0

XonGeaR

Dedicated Member
Dedicated Member
Sep 20, 2004
85
0
52
Thx Kaori it worked :D . got one more favour to ask you. when u login to game you get a welcome message.. where to i change the message?
 
Upvote 0

Demonic

LOMCN VIP
VIP
Dec 1, 2003
1,806
2
185
Why on earth all the complicated running around the houses??

Let pretend for one second we have two pc' sitting at home connect for the NET via a router.

Now first stage is to make sure 100% you got it set up so that you can connect to the server local, login, select char and play. Once happy that this is the case and you wish to now play on the net (allow people to connect and play this is the step of what you need to change:

1. In SQL Manger go to Database ACCOUNT, Inside there is a section called TBL_PUBIPS

Open this and the last one LoginSerer - change this to your NET IP

2. Now open up in same Database TBL_SELECTGATEIPS - change that IP to read your NET IP..

3. In DBSvr folder there is a file called !serverinfo.txt now edit this as follows:

<LOCALIP>,<NETIP>:7200

Let me explain what is going on here...

Step one change the login gate to your Net ip - so when people connect to you - it knows what IP to listen on ref connecting people. At this point people should get the login box in game.
Step two is the select char gate - again changed to Net IP - so people can then progress to selecting a char.
Step Three is the RUNGATE - so when they press the "go into game" button - it knows what IP to talk on to chat to rungate which in turn chats to the server..


A Final point about 127.0.0.1 - this is LOCAL Only to that machine - selecting 127.0.0.1 as the login server is going to get you how far if your trying to connect from a different machine???? You can select Some of the IP to be local (top 3) but the various gates if your connecting from a different machine on the LAN or NET requires it to be real IP, only way 127.0.0.1 will work if your playing on the same machine as the server is running...
 
Upvote 0

iamdeath

Dedicated Member
Dedicated Member
Apr 30, 2003
126
0
113
XonGeaR said:
this is what i done now:
in !setup i changed all ips to 127.0.0.1
changed ip to 127.0.0.1 in !runaddr
changed ip to 127.0.0.1 for SelChrGate & RunGate01

In DBSrv i added my NET IP to !serverinfo (your comp IP,MY NET IP:7200)
Also added my net ip in the config menu in DBSrv.
In the TBL_PUBIPS & TBL_SELECTGATEIPS i have my NET IP added.

Then when i start up server this error gets up in Login Server:
Unavailble LoginGate has tried connection

your comp ip in db srv
 
Upvote 0

XonGeaR

Dedicated Member
Dedicated Member
Sep 20, 2004
85
0
52
i got it worked now changed all 127.0.0.1 to LAN ip (192.168.1.1) and ppl can now connect.
 
Upvote 0