summaryrefslogtreecommitdiff
path: root/src/net/net.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2011-02-07Removed remaining reference to MANASERV_SUPPORT define switchPhilipp Sehmisch1-4/+1
Also added an error message should a server ever need another protocol.
2011-02-01Merge branch '0.5'Thorbjørn Lindeijer1-1/+2
Conflicts: po/de.po src/game.cpp src/resources/wallpaper.cpp
2011-01-26Prune the enet and manaserv files dependency of the 0.5 binary.Yohann Ferreira1-1/+2
Only using cmake conditions and an ifdef. This will greatly help packaging the mana 0.5 version on other distros.
2010-11-02Re-Enable the support of manaserv servers.Yohann Ferreira1-5/+0
Reviewed-by: CodyMartin.
2010-10-13Hiding Manaserv from the player on TMW-Athena only releaseStefan Dombrowski1-0/+4
With the preprocessor definition MANASERV_SUPPORT the manaserv support is avaible as before. * Removing server type from server dialog GUI. * Ignoring Manaserv entries in serverlist.xml. * In order not to lose Manaserv CustomServers from the config.xml, they get stored in mManaservServers. * The entries in mManaservServers are saved in config.xml again. But they are now behind the TMWA-Athena servers. * For custom server the GUI sets 6901 as default value for port. * If the server type is unknown, then we use TMW-Athena. This is relevant, if the client is started with command line options for server. Reviewed-by: Bertram
2010-09-05Fixing segmentation fault if server is given on command lineStefan Dombrowski1-1/+11
If server and port was given on the command line, then the server type was unknown. The command line options do work now, but only if standard ports 6901 and 9601 are used. This resolves http://bugs.manasource.org/view.php?id=177 TODO: Query the server about itself and choose the server type based on that. Reviewed-by: Jaxad0127
2010-04-17Changed eAthena protocol name to TmwAthena and changed the config files ↵Bertram1-3/+3
accordingly. This makes room for the actual eAthena protocol future inclusion.
2010-04-03Fix a crash after changing serversJared Adams1-1/+0
Reviewed-by: Chuck Miller
2010-02-21Do some more copyright header cleanupsJared Adams1-1/+1
Fix "(C) 2009-2009" to just "(C) 2009" Fix "(C) 2010 TMW" to "(C) 2010 Mana" Remove TMW compyright on (hopefully all) files added after 0.0.29.1
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
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-31Unify eAthena and manaserv support in to one build.Daniel Bradshaw1-25/+9
Finish support for server types in the server dialog. Using the new server type function, strip out ifdefs, replacing them with if blocks for later merging in smaller atomic commits. Remove any remaining references to the support defs, including in build system.
2010-01-28Added virtual destructors, some implicit casts, and a couple of type changes.Daniel Bradshaw1-1/+2
Many warnings removed. Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-01-12Standardize header orderJared Adams1-0/+1
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2010-01-10Change code styleAndrei Karas1-1/+2
2010-01-08Fix a segfault when exiting before netcode is loadedJared Adams1-3/+12
2009-12-05Add a type member to ServerInfo and code for itJared Adams1-6/+45
Some of the code is waiting for ifdef removal.
2009-12-03Remove some unneeded _SUPPORt ifdefsJared Adams1-4/+1
2009-12-02Centralize netcode handler instances in NetJared Adams1-13/+13
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-03Move ManaServ guild code into GuildHandlerJared Adams1-2/+2
Ad start eAthena's GuildHandler
2009-10-29Fix changing servers under eAthenaJared Adams1-2/+2
2009-10-24REplace instances of TMW with ManaJared Adams1-4/+4
2009-10-13Add an asynchronous download classJared Adams1-5/+5
And use it to download news, updates, and the server list.
2009-10-04Removed debugging outputThorbjørn Lindeijer1-1/+0
2009-10-03Do some more post-merge cleanupJared Adams1-2/+17
Fixes a few more bugs
2009-09-30Merge login state machines for both clientsJared Adams1-14/+33
Also do some cleanup and refactoring of related code.
2009-07-13Rename Net::SkillHandler to Net::SpecialHandlerJared Adams1-4/+4
SkillHandler::up moved to PlayerHandler::increaseSkill
2009-04-07Forgot to finish Net::getPartyHandler()Jared Adams1-2/+2
2009-04-07Make GeneralHandlers for both networksJared Adams1-4/+11
Also make Net::LogoutHandler
2009-04-06Implement TMWServ's CharHandlerJared Adams1-2/+2
Also cleanup character creation, which isn't functional at the moment.
2009-04-06Remove unneeded includesJared Adams1-17/+0
2009-04-06Add TMWServ's SkillHandlerJared Adams1-8/+8
Also namespace both Player- and TradeHandlers
2009-04-05Implement TMWServ's Admin-, Chat-, and MapHandlersJared Adams1-6/+12
2009-04-05Implement TMWServ's NpcHandlerJared Adams1-10/+6
2009-04-06Use a namespace to keep apart implementations of network handlersBjørn Lindeijer1-3/+12
Since we'll have three "InventoryHandler" classes, etc. this shows an example of how we can compile with all of them at the same time using namespaces. We'll have: Net::InventoryHandler - the interface EAthena::InventoryHandler - the eAthena implementation TmwServ::InventoryHandler - the tmwserv implementation Maybe we'll find a better way later, but for now this works. I'm not convinced yet that using namespaces is better than just using longer class names like EAthenaInventoryHandler.
2009-04-05Fixed compile warningsBjørn Lindeijer1-0/+10
Initialization order, return values, unused variables, missing enumerator.
2009-04-03Fill in TMWServ's TradeHandlerJared Adams1-0/+111
Also started temparary implementation of the Net::getXHandler() methods and started using them.