Toggle shoutbox Lastest Announcements
![]() |
Multi-Emu Compatible Logonserver
#1
Posted 25 September 2009 - 09:48 AM
#2
Posted 25 September 2009 - 09:55 AM
#3
Posted 25 September 2009 - 12:07 PM
#4
Posted 16 October 2009 - 06:12 AM
#5
Posted 16 October 2009 - 08:48 AM
#6
Posted 18 October 2009 - 08:06 AM
#8
Posted 16 March 2010 - 10:51 AM
Terrorblade, on 18 October 2009 - 07:32 PM, said:
Yeah, but you will need to rewrite logonserver,
Another way to do that is using diferent IPs with each logonserver.

#9
Posted 17 March 2010 - 06:24 PM
#10
Posted 26 May 2010 - 12:47 AM
An easier way would be to have a different port & listensocket & socket class in the loginserver for each emulator type
ListenSocket<LogonCommServerSocket> * sl_arcemu = new ListenSocket<LogonCommServerSocket>(shost.c_str(), sport); //this is the arcemu socket ListenSocket<MangosLogonCommServerSocket> * sl_manghoes = new ListenSocket<MangosLogonCommServerSocket>(shost.c_str(), mangos_world_listen_port); ListenSocket<AspireLogonCommServerSocket> * sl_ahspyre = new ListenSocket<AspireLogonCommServerSocket>(shost.c_str(), aspire_world_listen_port);
This would require you to write the socket class for each world server type but these could mostly be copied from the emu's login servers and you can use arcemu's existing LogonCommServerSocket class as a template.
#12
Posted 26 June 2010 - 11:37 PM
#13
Posted 27 June 2010 - 12:56 AM
#14
Posted 16 July 2010 - 09:43 AM
Then all you have to do is rename a few of the account table fields so it works in both arcemu and mangos (for example "login" would need changed to "user" iirc), and boom, it works.