The one I compiled is probably debug mode.
|
I re-compiled debug and got a file 1.39mb, and it worked just like yours.
@leslamarch haven't tried it yet. will post back in a min |
I added release dll to svn.
|
Ok, using the 'debug' version, i changed my eqemuconfig.xml to read
Code:
<loginserver> fired up my eq server and apparently it connected Code:
[Debug] [WORLD__LS] Connecting to login server... can't log in to server select as i believe the tables in the database are all empty and don't contain any valid info yet. seems like a step in the right direction at least! |
also this login server uses sha encryption and not md5 so when you make your account do it that way.
|
Beh, don't know where it went, but i had just posted asking about how to add a ls to the db.
i'm assuming that everything is done by hand through sql? what's the formula for the pass? straight sha1(pass) or sha1(loginpass), etc? |
Re-compiled release, and used the release .dll, and back to the same error #126
the debug .exe seems to work with either .dll |
Quote:
Code:
insert into tblLoginServerAccounts (AccountName, AccountPassword, AccountEmail, LastLoginDate, LastIPAddress) values('Admin', sha('password'), 'admin@somewhere.com', now(), '127.0.0.1'); |
The project was set to unicode in release instead of multibyte which was causing issues with the const char* to LPRSTR conversion.
AccountPassword for server reg isn't hashed in the DB, also need to make sure there's a tblworldserverregistration entry that matches up with the tblserveradminregistration entry. |
Quote:
thanks leslamarch! |
Ok, unless i'm completely stupid and missed something critical... here's what i've done so far:
1 ) Pulled sources rev 800. 2 ) compiled 'release' 3 ) copied the new 'EQEmuLoginServer.exe' and release 'EQEmuAuthCrypto.dll' to a separate folder containing 'libmysql.dll','login_opcodes.conf,' and 'eqemulogin.ini'. 4 ) started 'EQEmuLoginServer.exe' and it seems to be ok: Code:
EQEmuLoginServer 6 ) in 'tblloginserveraccounts' i created an account entry using Code:
insert into tblLoginServerAccounts Code:
insert into tblserveradminregistration (Accountname,AccountPassword,FirstName,LastName,Email,RegistrationDate,RegistrationIPAddr) Code:
insert into tblworldserverregistration 9 ) In my eqemu db, in 'account' i added an entry with the lsaccount_id=1, and status=250 where lsaccount_id=1=LoginServerID from 'tblloginserveraccounts' 10 ) I modified my 'eqemu_config.xml' to read Code:
<loginserver> Code:
[Debug] [WORLD__LS] Connecting to login server... Code:
Received server Opcode: 1001, Size: 12 12 ) edit and save my eqhost.txt: Code:
[LoginServer] Yea! :D or so i thought.... I select my server and click Play.... :) ...... :confused: ....... :mad: This error pops up Code:
'Error 1017: Cannot login to the EverQuest server. Any ideas? |
well the login server is working fine for you now :). Sounds like there may be a conflict in the eqemu account table? have you tried this with a clean DB install ?
|
"clean" as in i had installed fresh (rev781, on 7/17), but re-sourced my characters back in (i think the account table was part of the characters backup i did).
i did change my account table to use the local login LoginServerID, instead of the one created through eqemulator... i'll try fresh again, without sourcing my characters and see what happens. |
Ok, fired up everything (using the debug ver of login server) and shortly after clicking 'login' the following error popped up:
Code:
Microsoft Visual C++ Debug Library created a char, and logged in ok. /q'd out and got the same error again - was brought back to the server select screen with an empty server list. rebuilt the login server 'release' and fired up everything again.... it seems i was 'hasty' in trying to log in and needed to give the server a minute or two to settle down/initialize everything as i can login now. yea!!! |
Beh - back to error 1017 if i run the login server, world, zone, chat and mail servers on a separate computer, on the same lan and try and connect via lan ip's only, as well as external ip's w/ port forwarding.
btw - i have all the ports forwarded for both tcp and udp data, should some only be tcp and other udp? |
All times are GMT -4. The time now is 07:46 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.