summaryrefslogtreecommitdiff
path: root/src/net/manaserv/loginhandler.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-05-05Removed the shared base classes of MessageIn and MessageOutThorbjørn Lindeijer1-5/+5
There wasn't a whole lot gained by sharing a common base class, and it makes extending the manaserv Message{In,Out} classes with a debugging mode unnecessarily complicated. Reviewed-by: Yohann Ferreira
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2011-08-10Client logs in with salted password now.Stefan Beller1-2/+24
The password is salted by a random number sent by server. Reviewed by Bertram.
2011-01-27Send the correct protocol version when registering on Manaserv.Yohann Ferreira1-1/+1
2011-01-11Remove the protocol version magic number.Yohann Ferreira1-1/+1
This follows the changes made on the server. Reviewed-by: Jaxad.
2010-12-30Renamed protocol.h to manaserv_protocol.h to follow server's changes.Yohann Ferreira1-1/+1
I'll sync the two files as for the new enums in a separate commit. Trivial fix. Resolves: Mana-mantis #278.
2010-12-16Made the client handle the number of slots given by the server.Yohann Ferreira1-3/+10
I turned the CharacterEntries into a vector. As for now, it's basically working but I discovered bugs about slots handling mainly for Manaserv that were already present before that patch. Hence, there are three remaining issues: - Under ManaServ, the character's slots numbers aren't handled when loading the characters but used when sending selection or deletion attempts. For instance, if you delete the character at slot 1, you won't be able to select or delete characters at slots 2 and 3, since the server believes that the characters are now in slots 1 and 2, even thought the client still displays them at the former slots. - Also under manaserv, you won't be able to create a character at slot 1 and 3, the server will automatically add the new one to the next slot, which is not corresponding to where you clicked to the 'Create' button. I propose to make Manaserv send again the character slots numbers and store them in database since we used them in creation, selection, and deletion attempts. It would make more sense IMHO. - The last remaining issue found is that when switching between different servers, the loginData don't get cleaned up, make the characterSelect dialog look crazy when the number of slots is different between two servers. If this one is accepted, my next patch will make the logindata be cleaned up between each login attempts (as for the slot number, and maybe other sensible data) and the next ones will readd character slot handling server and client side. Reviewed-by: Jaxad0127.
2010-11-09Fix client successful unregister behaviour for manaserv.Yohann Ferreira1-1/+1
Resolves: Mana-Mantis #250. Reviewed-by: Freeyorp, thorbjorn.
2010-08-26Fixing segmentation fault when creating a new accountStefan Dombrowski1-0/+2
This resolves http://bugs.manasource.org/view.php?id=171 Reviewed-by: Bertram.
2010-05-03synchronised protocol.h between manaserv, mana and manamobileMaximilian Philipps1-4/+4
2010-04-09Add support for registration disabled for eAthenaJared Adams1-0/+5
Reviewed-by: Chuck Miller`
2010-02-22Warn when receiving an empty update hostThorbjørn Lindeijer1-4/+10
Reviewed-by: Jared Adams
2010-02-21Made tick counter and framerate limiter work during login sequenceThorbjørn Lindeijer1-18/+18
Much code was moved from main() to the new Client::exec(). This new event loop now integrates with the Game class, so that the tick counter and framerate limiter apply universally. The Client class is also responsible for some things that used to be global variables. Mantis-issue: ...
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-19Fixed a crash when trying to switch serversThorbjørn Lindeijer1-0/+2
Ownership of the charInfo global variable wasn't well defined. It was being locked, unlocked and generally modified from a lot of places, and somewhere in this mess it ended up crashing when switching servers. Now the CharHandler instances, for eAthena and manaserv respectively, own this list of characters. A new class, Net::Character wraps up the slot index in combination with the player dummy. The list is passed on to the CharSelectDialog each time it changes. Both related and unrelated cleanups were made as well. Reviewed-by: Jared Adams
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-12Standardize header orderJared Adams1-4/+4
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2010-01-10Change code styleAndrei Karas1-7/+14
2009-12-05Syncronize registration info with ManaServJared Adams1-3/+1
2009-12-04Remove password length info for manaservJared Adams1-12/+2
Also fix defaults.
2009-12-04Moved password hashing during registration to the clientPhilipp Sehmisch1-4/+2
2009-12-04Register credentials information serviceJared Adams1-0/+61
2009-12-02Centralize netcode handler instances in NetJared Adams1-2/+1
Instead of each netcode making the global variables and Net referencing them, Net now makes them and the netcodes reference them. Also remove an innappropriate ChatHandler reference from eA's AdminHandler.
2009-11-21Remove another support ifdefJared Adams1-0/+5
2009-11-03Fix switching characters under ManaServJared Adams1-1/+1
2009-11-03Simplify ManaServ netcode some moreJared Adams1-16/+51
2009-11-03Remove more _SUPPORT ifdefs and do some cleanupJared Adams1-14/+12
2009-10-24REplace instances of TMW with ManaJared Adams1-0/+359