summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-10-13Updating F1-helpStefan Dombrowski11-237/+135
Based on Bertram's start some more updates to the F1-help. The team page was removed, because the last update was done in March 2006 and no one volunteered to write a new one. TODO: Improvements can be done during the beta test. A team list can be added if someone wants to do it. This resolves http://bugs.manasource.org/view.php?id=210
2010-10-12Little setup tweaksStefan Dombrowski2-4/+4
* Shortening option names that got cropped in video setup * Moving options to the left hand side in player setup, because they looked like they belong to the "when ignoring" part. Reviewed-by: Bertram
2010-10-11Implementing show IP for game mastersStefan Dombrowski10-7/+85
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-10Adding Okdialog if registration is disabledStefan Dombrowski1-6/+11
Reviewed-by: Jaxad0127
2010-10-10Fixing unusable config.xmlStefan Dombrowski1-12/+4
If config variable screenshotDirectory has national symbols in it, the client could not read cofig.xml, and always used default settings. In order to get ready for a client release, now the config.xml does not save the screenshot folder. The --screenshot-dir commandline option is working as before, the value is just not permanent anymore. This makes actually sense, since the options for update folder and config folder are not permanent either. This resolves http://bugs.manasource.org/view.php?id=112 Reviewed-by: Jaxad0127
2010-10-08Remove the following systemStefan Dombrowski6-65/+0
Removed due to unresolved social issues. In master it had been already removed by Kage in commit 89f192b9039f9c000515f0a12f4bb9fb55c4691c.
2010-10-08Removing non-existing preprocessor definitions from C::B projectStefan Dombrowski1-2/+1
Clean up for upcoming release. Furthermore switching debugger symbols on. Trivial fix.
2010-10-08Fixing pick-upStefan Dombrowski1-2/+2
If the player wanted to pick up an item one tile up, then he moved to that tile before he picked it up. The same fix is already used in Game::handleInput() for KEY_PICKUP. TODO: Understand why the position is wrong. As a reminder I made a mantis ticket: http://bugs.manasource.org/view.php?id=249
2010-10-07Disable guilds netcode.Andrei Karas1-0/+2
Reviewed-by: Jaxad0127
2010-10-06Fixing movement with the mouseStefan Dombrowski1-4/+2
When a player clicked on a tile in order to go to it, then he went to the wrong tile. Trivial fix.
2010-10-05Send the server changed player direction if it changes during attackStefan Dombrowski1-4/+7
Reviewed-by: Jaxad0127
2010-10-05Fixing segmentation fault in social windowStefan Dombrowski1-2/+2
How to reproduce the bug: * Press button Leave in social window. * In the confirm dialog press No. * Then switching character makes the client crash. Trivial fix.
2010-10-03Fixing segmentation fault and updating the cursor type after mouse pressStefan Dombrowski2-0/+18
Until now the being was only set after a mouse move. If the mouse was pressed after the being was out of sight or dead, then a segmentation fault happened. Furthermore, pressing the mouse now updates the cursor type and sets the being popup invisible. Reviewed-by: Thorbjorn
2010-10-02Avoiding the creation of a party or guild without a nameStefan Dombrowski1-10/+12
If no name is given, then the player obviously didn't want to create it. Now the empty input is handled just the same way as in the invite dialog. Trivial fix.
2010-10-01Fix possible invisible chat.Andrei Karas1-5/+2
Reviewed-by: Thorbjorn
2010-09-30Setting alpha for items in ItemShortcutContainerStefan Dombrowski1-0/+1
Reviewed-by: Thorbjorn
2010-09-29Improve chat speed.Andrei Karas3-193/+128
Parse chat lines in BrowserBox once after changes. Reviewed-by: Thorbjorn
2010-09-29Fixing segfault when switching serverStefan Dombrowski1-0/+3
Reviewed-by: Thorbjorn
2010-09-28Removing click-countStefan Dombrowski4-59/+4
Click-count is not double-click, because it does neither check if the clicks happen on the same object nor if the clicks happen in rapid succession. * In the server dialog it can happen that you can get connected by just selecting a server. * In the social window it can happen that you open a chat by just clicking once on a name. * In the inventory window you better only select useable items if you want to use them, because they might get used by just selecting them. * And in case you actually want to use double-click, it often does not work, because click-count is already larger than 2. This reverts the commits: 8b4d9f9b5eaf175baf0c4209c312133bb457742c b1aef06ac85b1ed7db7725e50b2dbfcdfd1a0925 4c27bfbf6ca84546e5b914b7909df14dd2966081 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-13Avoid loading non-existing music and minimapsStefan Dombrowski3-8/+9
Reviewed-by: Thorbjorn
2010-09-12Fixing command line argument for serverStefan Dombrowski1-1/+1
The short option for the server -s did not work. Reviewed-by: Thorbjorn
2010-09-12Deactivating OpenGL by default on WindowsStefan Dombrowski2-3/+13
For Linux OpenGL was already deactivated. For OSX it is still by default switched on. Reviewed-by: Jaxad0127
2010-09-11Fixing misspelling in Setup_Video and removing empty lines from logStefan Dombrowski6-9/+9
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-09Fixing sound effectsStefan Dombrowski1-2/+1
The sound effects did not get played, because the path was wrong. Reviewed-by: Turmfalke
2010-09-08Adding missing updates for buttons in InventoryWindowStefan Dombrowski4-2/+26
Reviewed-by: Thorbjorn
2010-09-08Adding missing update for attributes in StatusWindowStefan Dombrowski3-4/+15
Reviewed-by: Thorbjorn
2010-09-07Fixing logic that decides if ServerDialog shows upStefan Dombrowski1-13/+13
2010-09-07Fixing reconnection after lost connectionStefan Dombrowski1-4/+4
An orderly disconnect of the map-server does work fine. Then in Game::logic() an OkDialog is created, which triggers an event that set the state to STATE_CHOOSE_SERVER. Upon an unexpected disconnect the same OkDialog is created, but the player does not see it. That is because the state gets changed to STATE_ERROR, which creates another OkDialog. It changes the state to STATE_CHOOSE_SERVER as well, but the ServerDialog does not take any input. Reviewed-by: Jaxad0127
2010-09-05Unloading mNamedItemInfosStefan Dombrowski1-0/+1
How to reproduce the bug: Switch login, then for every item there is this warning in the log file: "ItemDB: Duplicate name of item found". 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 Dombrowski3-7/+19
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-09-04Fix crash with missing skill iconJared Adams1-2/+8
Reviewed-by: Bertram
2010-09-02Avoiding empty lines in historyStefan Dombrowski1-1/+2
2010-09-02Fixing escape key in charselectdialogStefan Dombrowski1-14/+6
* In charselectdialog the requestFocus is now called later, because before it had no effect, since it was called before the characters were present. Having no char with focus has the side effect that the escape key gets ignored. * Removing the code for variable width of CharacterDisplay, because with recent changes it is executed before the characters are present, therefore it had no effect.
2010-08-31Fixing auto complete and chat historyStefan Dombrowski2-14/+8
Reviewed-by: Jaxad0127
2010-08-30Fixing segmentation fault and making invite to guild in pop-up conditionalStefan Dombrowski2-1/+3
How to reproduce the segmentation fault: Open the emote pop-up. Then press the escape key and switch the character. The emote pop-up is still open and clicking on it makes the game crash. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-29Move handling of autocomplete and input history into TextFieldJared Adams11-221/+318
Reviewed-by: Freeyorp
2010-08-29Changing order in which windows are createdStefan Dombrowski1-2/+2
The mini status window is higher than its visible area. Creating it first makes sure that it does not overlap other windows. For example put the equipment window right below the mini status window. After a restart you cannot use the close button nor drag it, because you are actually clicking on the mini status window. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
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 Dombrowski4-6/+6
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-25Adding autoComplete for inviteStefan Dombrowski7-11/+48
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-24Giving functionality to invite in socialwindow and allow enter key in textdialogStefan Dombrowski3-8/+13
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-22Fixing segmentation fault when tab gets removedStefan Dombrowski1-17/+3
How to reproduce the bug: Leave a party, while the party tab in the chat window is not selected. Then click with the mouse on the chat window. Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-08-21Fixing segmentation fault and improving gui for partyStefan Dombrowski3-4/+4
* Segmentation fault happened if a player left a party while other party members are offline. * While creating a party the key input is not anymore reused for game play. * The vertical scrollbar is only shown when needed. * The default height was raised, because before much of the functionality was hidden. Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-08-20Show info popups for all playersStefan Dombrowski1-11/+14
Until now popups were only shown for players who are member of a party. This resolves http://bugs.manasource.org/view.php?id=197 Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-19Fixing some bugs in NPC-shop guiStefan Dombrowski3-0/+26
* Price and total money is now shown from the beginning in sell dialog. * Item popup is set invisible when mouse has moved away from items. * Item popup gets deleted when shop closes. Signed-off-by: Jared Adams <jaxad0127@gmail.com>