EQemu Login Server
So, whats the story behind the random login server Kimmy? I like the EQEmuAuthCrypto.dll sneak attack! A pleasant surprise.
|
I was gonna do it a long time ago but it got quiet and I lost the motivation to do it. Just got around to it, I don't see much harm in it, there's already an unfettered login out anyway.
|
It is much appreciated because I've been developing against that "unfettered" login server in assembly for the past couple months. You've been on quite the coding spree lately so it seams.
|
KLS, were you going to create a makefile for linux or are you leaving that for us linux folks to do?
|
Pretty much leaving it as it, I haven't actually gone through and compiled anything but the auth part in linux. Which is actually where I'm most concerned about supporting all the distros and setups with a binary.
|
Ok, then I'll see if I can toss one together. Tho I'll have to find a 32bit system to compile on since all of my servers are 64bit and cross compiling is a pain at best (tho it shouldn't be...).
|
KLS,
Why did you release our changelog with the project? Did you add anything to the project or is it essentially the same version from our private repository? |
Cause I copied everything in the directory and forgot to take it out?
There are some changes, mostly cleaning up stuff and using the c mysql lib cause I didn't feel like imposing another dependency.. |
I meant "didn't" not "did" because obviously there is no change log. Thanks for the clarification on what was released.
|
I was just wondering if anyone else is getting this error.
Code:
[error] Load of Security Library 'eqemuAuthCrypto' failed: |
Hi,
i ve tested this with debian x86 and got this error Quote:
I dont expect a fix, this is just to inform you |
There may be other libraries you need to have on your server operating system.
|
http://www.cryptopp.com/ it's only dependency other than standard stuff, I'll look at making it more standalone. Releasing binaries for linux is annoying =*
|
looking at the eqemulogin.ini file i filled it out as best i can understand
Code:
Port=5998 DatabaseServerName= the ip of the mysql db server? and DatabaseCatalogName= the database name containing the sql that was provided in login_util? please correct if i'm wrong. I copied the compiled binary to login_uitl, created a new database (login), sourced all the sql into that new db. using the above .ini, i'm getting this: Code:
EQEmuLoginServer v1.0 ALPHA by The Oustanding Developers at PEQ! |
Works fine here.
EQEmuAuthCrypto.dll must be in the same place where your exe is. |
it is. i made a copy of the login_util folder, and put it in my server folder. copied the compiled EQEmuLoginServer.exe to the login_util folder, edited the .ini file, created the db, sourced the sql's and ran.
even tried modifying my PATH variable to include .\ and ran the login server. still getting error # 126. |
nosfentora,
I still have the exact same issue as you, no resolve as of yet. If you compile in debug mode error 126 goes away but still have issues, It would be nice if anyone has this going if they could post some info maybe? |
I have the following files in my login directory
Quote:
I think you miss a dependency of the dll. after a bit of googling i found this => http://www.codeguru.com/forum/showthread.php?t=150019 Hope this helps! |
I ran dependancy walker on eqemuloginserver.exe
it came up with two missing dll's wer.dll and ieshims.dll i found wer.dll online, and now it's missing nvcrypt.dll i found nvcrypt.dll and now it's missing bcrypt.dll..... |
I dont know whats wrong! I've test the login server with Windows XP Prof and Windows Server 2003 Enterprise. Works without any errors!
Sorry, i am out of ideas. |
me too! just out of curiosity, would you mind doing a filesearch for ncrypt.dll, bcrypt.dll and wer.dll on your machine? (or any one of the three)
|
Are you using windows7?
|
Nope, xp pro 32 sp3, and server 2003 sp2
|
Hm http://projecteqemu.googlecode.com/f...oginServer.zip is the binary version I built the other day.
|
Hmm... now that one worked, but the one i built was giving the errors i posted earlier.
it compiled fine, with no errors but about ~290 warnings. |
Probably something to do with compile time options or the compiler then.
|
I don't know if this makes a difference, but i added the loginserver project to the main server project and built that way. i didn't even think of that till now. i'll try to open and compile it separately and see what happens.
|
The one you provided is 1.38mb, the one i just compiled (separate of the eqemuserver) is 360k
Visual Studio 2008 |
Quote:
|
Quote:
|
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! |
All times are GMT -4. The time now is 01:57 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.