While everything is technically working for me , anytime someone connects to the server I get a debugging error from EQEmuLoginServer.exe , however hitting ignore will allow me to connect.
|
Well solved my problem with a combination of compiling the exe to release instead of debug and using realse dll at same time.
|
I'm getting the same error in regards to the crypto lib not loading:
----------------------------- chatserver EQEmuLoginServer libcryptopp.la libEMuShareMem.so ms plugins tblServerListType.sql cleanipc EQEmuLoginServerDBInstall.sql libcryptopp.so libEQEmuAuthCrypto.so patch_6.2.conf quests tblWorldServerRegistration.sql commands.pl eqlaunch libcryptopp.so.7 log.ini patch_Anniversary.conf spells_en.txt templates crashlog eqtime.cfg libcrypto++.so login_opcodes.conf patch_Live.conf spells_us.txt world database libcrypt.a libcrypto.so.0.9.8 logs patch_SoF.conf start worldui eqemu_config.xml libcrypto++.a libcrypto++.so.7 mailserver patch_Titanium.conf stop worldui.pl eqemu_config.xml.full libcrypto++.la libcrypto++.so.7.0.0 Maps persist_world tblLoginServerAccounts.sql zone eqemulogin.ini libcryptopp.a libcrypt.so mime.types plugin.pl tblServerAdminRegistration.sql eqemu@linuxeq:~/server$ nm libcrypt* | grep _ZN8CryptoPP20AllocatorWithCleanupIhLb0EE8allocate EjPKv 00000000 W _ZN8CryptoPP20AllocatorWithCleanupIhLb0EE8allocate EjPKv U _ZN8CryptoPP20AllocatorWithCleanupIhLb0EE8allocate EjPKv U _ZN8CryptoPP20AllocatorWithCleanupIhLb0EE8allocate EjPKv nm: libcrypto++.la: File format not recognized 00000000 W _ZN8CryptoPP20AllocatorWithCleanupIhLb0EE8allocate EjPKv U _ZN8CryptoPP20AllocatorWithCleanupIhLb0EE8allocate EjPKv U _ZN8CryptoPP20AllocatorWithCleanupIhLb0EE8allocate EjPKv nm: libcryptopp.la: File format not recognized nm: libcryptopp.so: no symbols nm: libcryptopp.so.7: no symbols nm: libcrypto++.so: no symbols nm: libcrypto.so.0.9.8: no symbols nm: libcrypto++.so.7: no symbols nm: libcrypto++.so.7.0.0: no symbols nm: libcrypt.so: no symbols eqemu@linuxeq:~/server$ ./EQEmuLoginServer EQEmuLoginServer Using Port: 5998 Dumping Inbound packets. Dumping Outbound packets. Tracing ON. Database Server: 192.168.1.23 Database Catalog: peq [Error] Load of Security Library 'libEQEmuAuthCrypto.so' failed: libEQEmuAuthCrypto.so: undefined symbol: _ZN8CryptoPP20AllocatorWithCleanupIhLb0EE8allocate EjPKv Security Module Load Failed. [Debug] Starting Log: logs/eqemu_debug_18551.log ---------------------- So, I went a little nuts and copied the libraries to the same directory the executable gets run from, the ld path is exported... but the library is still refusing to load due to error. is there anyway to get the source code for libEQEmuAuthCrypto.so, in order to continue trying to fix this headache? as far as I can tell, the rest is working, I can get to a client login before the program segfaults (go figure- no libEQEmuAuthCrypto loaded, no functions actually available for , boom), and of course it faults at line 157 in clientlist.cpp char *CryptoBuffer = EQCrypto.DecryptUsernamePassword((const char*)app->pBuffer, app->Size(), 5); any help would be greatly appreciated, and as always, thanks for the work on this project so far! |
Sadly, the encryption and Linux don't mix. ATM, the only way to get it to work under Linux consistently is to use WINE. There is no native solution that works on every distro currently. :(
|
Well, then here's a dumb question-
After login, what's responsible for maintaining the connection? ie, is there any reason I'd actually have to run the login server on a linux box if it's actually a low bandwidth/connection count service? if it's not responsible for anything more than just login brokering, then I don't see a reason to keep it on the same box. Also- that error I posted occurs on ubuntu 8.10 server as well as fedora core 11, and I'm not entirely sure what the others were running, but no go eh? What about the question of getting the source? I'd be more than happy to try to get it working. |
So one of the somewhat recent changes is the inclusion of EQCryptoAPI.h in clientlist.cpp, however, it isn't included in the source. Is it still under development and not ready for release, or is there some other reason it isn't there?
|
Code:
#ifndef EQEMUCAPI__H |
Awesome, thanks KLS, compiles fine now.
|
Here is an Account Creation web front end tool I wrote for the SVN Loginserver. It can be added to a server webpage to allow users to create accounts, it then emails the server admin the new account information.
It consists of 2 files eqreg.php and insert.php Note: Make sure to change the mysql server info and email address in insert.php before using. eqreg.php Code:
<!-- EQEMu SVN Loginserver PHP Account Registration Page - By: Cubber --> insert.php Code:
<!-- EQEMu SVN Loginserver PHP Account Registration Page - By: Cubber --> I also added captcha to the version I use on my website, I use an opensource captcha called securimage, you can find it here http://www.phpcaptcha.org/ It works rather well and is easily incorporated into the page. I did not put it into the posted code because I figured I would leave it very simple so that folks could customize it as they see fit. Enjoy! |
Wow, thanks for sharing that, I might have to give it a try! It probably wouldn't hurt to have something like that on the SVN for people to use and update as needed :) Would have to see what the other devs think of putting something like that on the SVN though.
|
Your welcome :cool:
I don't mind at all if it gets added to SVN |
Updates to Account Creation Tool
Version 1.1
Fixes: - Added password confirmation box to eqreg.php and the logic to support it to insert.php - The script now emails the user as well as the admin so the user gets a confirmation. ** Make sure you change the Bcc: address to your email address. ** - Updated error handling so all errors have a link to direct the user back to the main eqreg.php page to try again. The code: eqreg.php Code:
Code:
<!-- EQEMu SVN Loginserver PHP Account Registration Page - By: Cubber --> |
Here is a password reset tool I whipped up today for use with the SVN Login Server.
Same deal as the account creation tool, I stripped it down so it could be customized easily. Make sure to change the mysql info as well as the admin@somewhere.com to your email address. **Note: admin email is lower in the code.** This script will email a confirmation to the user as well as Bcc the server admin once you change the Bcc: address. Once you verify it is working you may want to remove the $header from the mail line if you don't want users passwords mailed to you when they change them. pwreset.php Code:
<!-- EQEmulator SVN Login Server Account Password Reset Utility - By: Cubber --> insert.php Code:
<!-- EQEmulator SVN Login Server Account Password Reset Utility - By: Cubber --> |
Here is a modified version that was requested by Akkadius in PM.
It allows a user to input their current Public EQEmulator LS account for servers that support both login methods, so that the two servers can be synced and users can use both to login to their account. Note this is optional and if the space is left empty it will just assign the next available ID in the DB. This probably can be improved on more, I just don't have the time right now, got a baby on the way in the next week or so... eqreq.php Code:
<!-- EQEMu SVN Loginserver PHP Account Registration Page - By: Cubber --> Code:
|
I started a googlecode page for my SVN Login Server PHP Utilities here:
https://code.google.com/p/eqemuphpls...ource/checkout Note in the registration folder there is an eqreg.php and an eqreg_optional.php. Same with the insert files. The optional versions are for those that want to use the dual login server version, otherwise if you don't use the public LS just use the regular version. If you do decide to use the optional version make sure to remove the _optional from both the eqreg_optional.php and insert_optional.php and rename them to just eqreg.php and insert.php, since the code within calls for those filenames. |
All times are GMT -4. The time now is 09:54 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.