PDA

View Full Version : Problem: Connect from another pc in Lan


dnk
01-17-2005, 03:52 AM
I already got my server ready.
I can connect from my own pc which is also the eq server.
But when my friend connect from another pc, I got a problem.
He can connect to the server, and he can create a new charactor, but he can not enter the world. any race and class has the same problem.

here is the log in World.exe window


2974171 New client from ip: 192.168.0.2 port: 4565
Logged in: FirstLogin Account #2: kevin
Received unknown opcode: 0x02eb size:0 bytes
Read group ID for 'Waken': 0
0: 2C 30 2C 20 64 77 62 2E - 57 61 6B 65 6E 2C 30 36 | ,0, dwb.Waken,06
16: 37 61 37 39 64 34 00 | 7a79d4.
Attempting autobootup of Gfaydark (54) for Waken
Zoneserver SetZone: 127.0.0.1:8781 Gfaydark (54)
Enter world: Waken: Gfaydark (54)
Broadcasting a world time update
Zoneserver SetZone: 127.0.0.1:8781 Gfaydark (54)
Received unknown opcode: 0x0376 size:0 bytes
Client disconnected
Removing client from ip:192.168.0.2 port:4565


I have already done these:
1, add his ip and account name and password in miniloginaccounts.ini
2, Insert his account and ip in the database account table

Plz give me some help with this. thanks very much =)

RangerDown
01-17-2005, 05:01 AM
If you're going to get anybody but the same machine connecting to the server, you cannot use 127.0.0.1 as an IP address on any of your world or zone setups. Use your Network Card's IP address, which can be found in the Network Connections properties.

dnk
01-18-2005, 12:59 PM
Thanks RangerDown

This problem has been solved.

But a new one appeared, after computer-2 has connected to the server and played once. I cannot Login on computer-1 which is also the server. I got 1017...
Now the situlation is If I want to login, I must let computer-2 login first, then I can login or I will get 1017...

The World.exe log shows this Error:

Error! ID is 0!
( I forgot the line here, it may be "Are u sure this server is connected to the miniloginserver" .....)

How can I solve this one? Any suggestion will be helpful. Thanks a lot. =)

RangerDown
01-18-2005, 04:00 PM
If you're using minilogin you'll want to keep to one comp with your account, and let the partner keep to his/her comp with the other account. It validates the IP address in addition to any user/pass you send it, so if you're trying to go back and forth between the two computers using the same account you will run into problems.

Cisyouc
01-19-2005, 08:26 AM
Error! ID is 0!
( I forgot the line here, it may be "Are u sure this server is connected to the miniloginserver" .....)

Simple.
Run this query in MySQL.
UPDATE variables SET value='Minilogin' WHERE varname='logintype';

dnk
01-19-2005, 08:06 PM
Simple.
Run this query in MySQL.
UPDATE variables SET value='Minilogin' WHERE varname='logintype';

Thanks Cisyouc

I have done this when I set up the server . but the problems remains

really annoy me...

Sigh

Skyphen
01-30-2005, 08:06 AM
This error shows up when the world.exe cannot find a matching account for the ip given in the accounts table in your database. Verify that the ip that minilogin reads is the same one as the ip that world reads. If not update the accounts table minilogin_ip to have the value that minilogin reads.