summaryrefslogtreecommitdiff
path: root/src/net
AgeCommit message (Collapse)AuthorFilesLines
2011-04-29Made the client load the skills.xml again.Yohann Ferreira2-2/+2
This, instead of the protocol specific filenames that are mana-skills.xml and ea-skills.xml. This is backward compatible as the old skills.xml file was once used before the 0.0.29.1 release which is the last alive from the 0.0.x serie. The skills.xml will have to added to world data to make this working, though. (Done in another patch.)
2011-04-27Fixing crash when selecting a character that has a Dark Talisman equippedStefan Dombrowski2-1/+4
This resolves http://bugs.manasource.org/view.php?id=330 Reviewed-by: Bertram
2011-04-14Add missing auth failure reasonsBen Longbons1-0/+9
2011-04-12Limit the number of pick-up packets to avoid kick from the serverStefan Dombrowski1-0/+5
Reviewd-by: Thorbjorn
2011-04-11Removing annoying NPC trade messages from chatStefan Dombrowski2-15/+15
The thanks messages got removed, because they are useless and when selling many items they completely trashed the chat. The pick-up information for money now respects the configuration. Reviewed-by: thorbjorn
2011-02-17Specific messages for each pickup failure reason.Ben Longbons1-3/+4
Reviewed-by: Jaxad0127
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.
2011-01-02Fixed possible crash when receiving player IPThorbjørn Lindeijer1-3/+6
Could happen sometimes for GMs when the message is received either before the player instance is created or after it was destroyed. Also changed to a dynamic_cast, putting a little less trust in the server. Reviewed-by: Freeyorp
2010-10-17Removed unnecessary condition in net::readCoordinates.Yohann Ferreira1-6/+2
It is used only by tmwa handlers. Trivial fix.
2010-10-17Fixing missing translation of direction for tA-serverStefan Dombrowski1-0/+7
Reviewed-by: Bertram
2010-10-13Adding theme colors for party tabsStefan Dombrowski1-1/+1
Following Rotonen's advise to "make anything and everything you can think of recolorable", a theme can now define colors for PARTY_CHAT_TAB and PARTY_SOCIAL_TAB. This was badly needed, because the requirements for a color of a chat tab and of a player name are quite different. TODO: When guild support gets enabled, then have a look at the colors for guilds. Reviewed-by: 4144
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-10-11Implementing show IP for game mastersStefan Dombrowski3-2/+12
As an upcoming feature the TMW-Athena server sends IP addresses or IP hashes to game masters. The current client freezes if it receives such a packet, therefor the game masters need to use a new client before the server can use it. Normal players are not affected, because they do not get this packet. Showing the IP is optional and can be enable with the chat command "/showip 1". The IP is then shown behind the players name. Reviewed-by: Bertram
2010-10-08Remove the following systemStefan Dombrowski1-21/+0
Removed due to unresolved social issues. In master it had been already removed by Kage in commit 89f192b9039f9c000515f0a12f4bb9fb55c4691c.
2010-10-07Disable guilds netcode.Andrei Karas1-0/+2
Reviewed-by: Jaxad0127
2010-09-29Fixing segfault when switching serverStefan Dombrowski1-0/+3
Reviewed-by: Thorbjorn
2010-09-15Avoid log message for unhandled SMSG_BEING_SPAWNStefan Dombrowski1-0/+8
This log message shows up in mana.log: "Unhandled packet: 7c". Later, the client will have to actually take care of it, though. Reviewed-by: Bertram, jaxad0127.
2010-09-11Fixing misspelling in Setup_Video and removing empty lines from logStefan Dombrowski3-4/+4
Reviewed-by: Jaxad0127
2010-09-11Making sure the inventory window shows the correct number of used slotsStefan Dombrowski1-2/+10
The SlotsBar is updated, if InventoryWindow::slotsChanged() is called. This did not happen when an item disappeared from the inventory, because of using it. Then the item quantity was just set to 0, but the SlotBar was not notified. Reviewed-by: Jaxad0127
2010-09-08Adding missing updates for buttons in InventoryWindowStefan Dombrowski2-0/+12
Reviewed-by: Thorbjorn
2010-09-08Adding missing update for attributes in StatusWindowStefan Dombrowski1-0/+4
Reviewed-by: Thorbjorn
2010-09-05Fixing ghost characters in charselectdialogStefan Dombrowski1-0/+3
How to reproduce the bug: Switch the login to an account with fewer characters. Then those character slots are not empty, but show characters from the previous account. Reviewed-by: thorbjorn
2010-09-05Fixing segmentation fault if server is given on command lineStefan Dombrowski2-2/+12
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-08-28Fixing omitted items in equipment windowStefan Dombrowski1-2/+1
Bug description: If a player has equipable items only, then the equipment backend gets not initialized. As a consequence the equipment window remains empty. This is particularly a problem for new characters. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-27Changing findBeingByName so that it searches case insensitiveStefan Dombrowski1-1/+1
Adding error message when trying to create a party with to long name. Removing non-existing files from C::B project. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
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-08-24Giving functionality to invite in socialwindow and allow enter key in textdialogStefan Dombrowski1-5/+11
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-23Fixing segmentation fault in partyhandlerStefan Dombrowski1-1/+1
Segmentation fault happens if a player leaves your party while he is out of sight. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-13Add code to change gameservers to manaserv netcodeJared Adams2-6/+21
Reviewed-by: Freeyorp
2010-08-04Changed the stats.xml to attributes.xml according to the server commit.Yohann Ferreira3-7/+12
Also, fixed a compilation warning about passing a NULL value to a boolean parameter. The built-ins are kept for now. Reviewed-by: Jaxad0127.
2010-08-03Fix enet version checkJared Adams2-0/+8
Tested-by: BaseBallBoy
2010-08-01Fix chat spoofing. Remove colors from nicks in public chat.Andrei Karas1-10/+29
Signed-off-by: Chuck Miller <shadowmil@gmail.com>
2010-07-11Made the different hard-coded paths and files be now taken from theYohann Ferreira2-2/+6
data/paths.xml configuration file. Also added default gui theme path in branding and default wallpaper path and file searched respectively in the branding and paths.xml files. Hard-coded values are still used as fallbacks. Resolves: Manasource Mantis #148. Reviewed-by: jaxad0127.
2010-06-24Fix a logic error in tmwAthena's PartyHandlerJared Adams1-1/+1
Pre-approved-by: Freeyorp
2010-06-13Handle char-server login errors betterJared Adams1-6/+4
Also fix a small compilation error sometimes reported. Reviewed-by: Chuck Miller
2010-06-06Softcode the stat for character creation for manaservJared Adams4-18/+27
Reviewed-by: Thorbjørn Lindeijer
2010-06-03Cleanup some logging statementsJared Adams1-2/+2
Reviewed-by: Thorbjørn Lindeijer
2010-05-22Fix handling of tmwAthena registration disabled bitJared Adams2-7/+7
2010-05-21Merge protocol from manaserv about thing types.Yohann Ferreira2-8/+15
Reviewed-by: Jaxad0127 (A few days ago...)
2010-05-04Clear NPC dialogs when the player diesJared Adams6-0/+24
Reviewed-by: Freeyorp
2010-05-03synchronised protocol.h between manaserv, mana and manamobileMaximilian Philipps3-29/+79
2010-04-25Make ManaServ player stats softcodedJared Adams4-37/+268
A new stats.xml file is parsed for player stats for ManaServ. The old hardcoded stats remain as backup. Reviewed-by: Bertram
2010-04-19Fix two skill failed constantsJared Adams1-2/+2
See tmwAthena's skill.c lines 7628 and 7633. Reviewed-by: Chuck Miller
2010-04-17Changed eAthena protocol name to TmwAthena and changed the config files ↵Bertram48-283/+286
accordingly. This makes room for the actual eAthena protocol future inclusion.
2010-04-16Remove an unneeded monster job offset in eAthena netcodeJared Adams1-6/+0
2010-04-16Fix canceling game connectionJared Adams5-10/+38
Reviewed-by: Bertram
2010-04-16Add race support for eAthenaJared Adams2-3/+3
The job/class field is used to select the race. If the given race isn't defined, it falls back on the first race (so servers can use jobs/classes without races). Also rename job to subtype for Being and subclasses, and begin support for changing monster and NPC subtypes on the fly (particle effects still need to be reset when they change). Reviewed-by: Bertram
2010-04-12Completely ignore eAthena job 45Jared Adams1-0/+8
These are warps. Reviewed-by: Bertram
2010-04-12Add support for map-server switching under eAthenaJared Adams11-17/+83
Also do some cleanup that's been needed for a while. Reviewed-by: Bertram
2010-04-11Fix one crash when switching serversJared Adams1-3/+3
Reviewed-by: Freeyorp