Commit Graph

856 Commits

Author SHA1 Message Date
Samuel eae002ea71 Spell List module
Spell List similar to Flash client

http://i.imgur.com/Tyxs2.png
2012-10-07 03:24:06 +02:00
Samuel f0e9cf070e Important fix to uiscrollarea
I messed up the code and forgot to commit this.
->Check if function is set before calling it here.
2012-10-06 13:02:46 +00:00
Eduardo Bart 5756f20026 Fix orange text bug for protocol >861 2012-10-05 19:18:16 -03:00
Eduardo Bart fa8b77f0c8 Fix issue #109 2012-10-05 16:14:05 -03:00
Eduardo Bart 526885f70d Fix issue #14 2012-10-05 15:17:10 -03:00
Samuel 6c2539bbd4 Added support for curly braces in NPC chat
-Added overlay to the default consoleBuffer for highlighting
-Char 127 now is used as spacer (Width 1)
-Supports default font "verdana-11px-antialised"

http://i.imgur.com/8drWH.png
2012-10-05 17:50:54 +02:00
Eduardo Bart 394f7a7821 Fix issue #104 2012-10-04 19:50:18 -03:00
Eduardo Bart 8119428d41 Fix issue #90 2012-10-04 19:35:02 -03:00
Eduardo Bart d1812ae695 Fix hotkeys error when selecting items from map 2012-10-04 16:08:12 -03:00
TheSumm faa6a51ac4 Update modules/game_textwindow/textwindow.lua
Scrolling over empty lines fixed.
2012-10-03 19:03:56 +03:00
TheSumm d75841e085 Update modules/game_textwindow/textwindow.lua
Improved behavior
- Up / Down will move the whole screen 1 line up / down
- If scrollbar is at the end and Up / Down is pressed it will move the cursor in the right direction
- You can't change the line by using Left / Right key (to remove bugs with scrollbar)

Bugs:
When editing the text (adding new lines / removing line) the scrollbar doesn't update
2012-10-03 18:51:07 +03:00
TheSumm f514460589 Textwindow.lua update for scrollbars 2012-09-30 06:16:57 +03:00
TheSumm d902a13e1c Textwindow.otui update for scrollbars 2012-09-30 06:16:15 +03:00
otfallen 29ec07efb4 tiny fix to my last commit... used for testing 2012-09-15 03:53:24 +00:00
otfallen f5cbb62eff Fix characterlist being destroyed on ESC pressed closes #93
Signed-off-by: otfallen <f.fallen45@gmail.com>
2012-09-15 03:51:53 +00:00
Eduardo Bart f491bf288f Fix some issues in text window 2012-09-05 21:37:52 -03:00
Eduardo Bart c2bbff5113 Fix issue #87 2012-09-05 16:53:48 -03:00
Eduardo Bart 6f2255071c Fix issue #86 2012-09-05 16:33:36 -03:00
Eduardo Bart a8771e86ad Fix bug when closing character list 2012-09-04 00:42:22 -03:00
Eduardo Bart 4c3b284f0e Fix lua error in stats module 2012-09-03 22:55:02 -03:00
Eduardo Bart 1f61929318 Fix minor issue when logging out 2012-09-03 22:16:15 -03:00
Henrique Santiago e3cbc59cc8 Small fix to characterlist 2012-09-03 03:14:43 -03:00
Henrique Santiago c9688551f3 Fixes to scrollbar 2012-09-01 20:16:17 -03:00
Henrique Santiago 23097980a3 Fix scrollbar slider move, outfit exact size, charlist focus 2012-08-31 20:33:51 -03:00
Henrique Santiago 18a0d7ab94 Fixes to horizontal scrollarea, improve charlist flexibility 2012-08-31 01:56:10 -03:00
Henrique Santiago c517f7b745 Add/get table functions implemented on ext charlist 2012-08-30 02:59:27 -03:00
Eduardo Bart 9bd983ab51 Fix silly for 963 and improve walk 2012-08-29 12:41:04 -03:00
Eduardo Bart 97e1c9d5a9 Support for protocol 963 2012-08-29 12:09:16 -03:00
Henrique Santiago fe6f6c2d20 Spinbox changes 2012-08-29 03:11:53 -03:00
BeniS 9c497f72f9 Added styling option for UISpinBox buttons. 2012-08-29 01:40:04 +12:00
Henrique Santiago 0c5479b031 Spinbox changes 2012-08-27 18:56:05 -03:00
Henrique Santiago 5a367cfe27 Some flexibility changes 2012-08-27 04:47:20 -03:00
Henrique Santiago 9b394785bb Pt translations, flexibility changes 2012-08-26 06:11:05 -03:00
BeniS 3baf2b809d Moved UICreatureButton class to the gamelib directory, minor market fix. 2012-08-26 21:00:50 +12:00
BeniS b58f4aa465 Added new features to the options.
* Added 'enable smart walk' and 'show connection ping' options.
* Minor tidy ups.
2012-08-26 16:27:30 +12:00
Eduardo Bart 4bac36d3bc Implement new cool features
* Implement walk booster (dash) as an option in settings menu
* Dash is smarter (can pre-animate)
* Implement smart walking (walk in diagonal when holding two arrow keys)
* Implement ping meter for all protocols
* Ping meter uses uses real ping packet for 9.6 and walk for others
2012-08-25 16:11:54 -03:00
BeniS 0763b266d5 Some more UI updates and fixes.
* Added UICreatureButton class for handling/replacing "battle buttons" (can now be used in other modules).
* Added the ability to use items on creatures via the battle window.
* Some minor cosmetics.
2012-08-26 04:05:33 +12:00
BeniS f93d79649f Some minor fixes.
* Mount options will no longer display in unsupported protocols.
* Fixed a bug with opening outfit window while its already open.
* Fixed base speed stat when using unsupported protocol.
2012-08-25 17:02:07 +12:00
Eduardo Bart cdea3cdfaf Incraese walk hotkey repeat delay, issue #80 2012-08-25 00:18:43 -03:00
Eduardo Bart 533d8bbbf8 Remove battle and viplist height limits 2012-08-24 20:27:37 -03:00
Henrique Santiago beb04d8d8e Fix container bug, miniwindow pos, creature skulls outsite map bound 2012-08-24 19:59:46 -03:00
Eduardo Bart 715f560b79 Minor fixes 2012-08-24 14:16:38 -03:00
Henrique Santiago f97fa65d37 Many UI fixes. 2012-08-24 05:18:15 -03:00
Eduardo Bart 112d584b66 Allow to set default server in entergame 2012-08-23 14:45:39 -03:00
Eduardo Bart e25bd7fe54 Fix OpenGL ES compilation 2012-08-23 12:37:26 -03:00
Eduardo Bart 1a226f7983 Send reports periodically 2012-08-23 12:19:13 -03:00
Henrique Santiago a306027cec Fixed skins path 2012-08-23 04:17:38 -03:00
BeniS 621b1402c5 Fix market error when logging out, added 910 protocol support. 2012-08-23 15:02:18 +12:00
Eduardo Bart bdbce01c97 Add uid param to stats module 2012-08-22 22:50:42 -03:00
BeniS ecd1ec5c0d Some overall fixes:
* Fix to market constraints.
* Fixed bug with skill percent not rounding.
* Dereference textEdit variable properly.
* Fix to the outfit window regarding mounts.
* Added enableResize to UIMiniWindow.
* Some minor edits.
2012-08-23 02:21:02 +12:00
Eduardo Bart 9eef114779 Update report URL 2012-08-22 05:09:46 -03:00
Henrique Santiago 05fcf740b4 Stats module 2012-08-22 05:51:31 -03:00
Henrique Santiago c50e186fa7 Fix miniwindow height save 2012-08-22 00:33:44 -03:00
Eduardo Bart 64d607b59e Fix issue #77 and improve findPath 2012-08-21 23:10:56 -03:00
Henrique Santiago 868abf3ef6 Miniwindow minimize fix, resizeborder cursor fix 2012-08-21 22:08:21 -03:00
Henrique Santiago 8d89d1194a More fixes to miniwindow 2012-08-21 18:40:47 -03:00
Henrique Santiago f27f005757 Fixed issue #79 and some miniwindows bugs 2012-08-21 17:27:44 -03:00
Eduardo Bart ea4dd2f8e6 Support for compressed textures 2012-08-21 08:09:48 -03:00
BeniS 01a8e57a3c Battle modules filtering buttons no longer scroll, fixed skill modules regeneration alert. 2012-08-21 18:13:16 +12:00
Henrique Santiago 2142ee765d Fix issue #21, but miniwindows can be a lot smarter 2012-08-21 02:35:20 -03:00
Henrique Santiago b39623d437 UIGameMap allow clicking in black 2012-08-20 22:03:30 -03:00
Henrique Santiago 4caf5bfcac Fixed issue #24 2012-08-20 20:56:27 -03:00
Eduardo Bart ddd3f84ad7 Many fixes in win32 platform 2012-08-20 18:53:38 -03:00
Henrique Santiago d1d8b79edc Fix issue #73 2012-08-20 19:50:18 -03:00
Henrique Santiago ac8d6891ca Polish interface, pt translations 2012-08-20 18:58:43 -03:00
BeniS 518e123a08 Added missing talk message types, few minor fixes. 2012-08-21 01:22:47 +12:00
BeniS 4ed52059f7 Forgot to change this back in previous commit.
* Skills that hit 0 will be factored into setSkillBase function.
2012-08-21 00:44:30 +12:00
BeniS 1d20cc9e4b Finalized the mount system and the recently new skills/stats.
* Added mount options to the thing menu.
* Reworked the mounting/dismounting.
* Fixed up some skill module bugs.
* Added alerts to stats like health, mana, capacity, and regeneration time (need to revise this one as it currently has no maximum).
2012-08-21 00:28:19 +12:00
Eduardo Bart 779f298055 Warn when no graphics is detected at startup
Add script for building otclient snaphots
2012-08-19 11:32:30 -03:00
BeniS 8cd8829048 Some more on new skills/stats.
* Fixed updating issue.
* Fixed refreshing issue.
2012-08-19 23:03:44 +12:00
Eduardo Bart ad0ed2b1a9 Bind spell functions 2012-08-19 06:46:24 -03:00
Eduardo Bart fb1c495a4c Fix minor tooltip bug 2012-08-19 06:13:37 -03:00
Eduardo Bart 0e3136f424 Fix stackoverflow caused by new table.copy 2012-08-19 05:48:25 -03:00
BeniS 367955615e Minor fix for recent skill changes. 2012-08-19 20:08:20 +12:00
BeniS 4ce9c921c1 Previous commit and this commit should finish #58 2012-08-19 13:40:04 +12:00
BeniS d237087718 Added new stats to the skills module, fixed minor market error.
* Added Offline Training information.
* Added Regeneration Time information.
* Added Speed information.
* Added base stats/skills information (will show the players increase in a skill e.g. magic level 43 = 40 + 3 bonus from an item).
* Fixed the game feature constants in const.lua.
* Fixed a market error when logging out.
* Added removeTooltip function.
2012-08-19 13:19:43 +12:00
Eduardo Bart 8222e85abd Fix terminus font space width 2012-08-18 18:48:39 -03:00
Tgys 3562fc6dbe Combobox wasn't getting destroyed on terminate
This caused several of those comboboxes to appear next to eachother once reloading this module (whenever you'd do anything with the *ghost* comboboxes, it errors).
2012-08-19 01:49:13 +03:00
Eduardo Bart 5e3882f87a Add libgit2 library, new mingw32 libraries will be uploaded soon 2012-08-18 14:08:05 -03:00
Eduardo Bart ef9a4c5d04 Fix minimap desync, old issue #10 2012-08-18 07:49:16 -03:00
Eduardo Bart 356368ddae Restore minimap saving 2012-08-18 07:34:15 -03:00
BeniS 5812a511d8 Reduced inventory slots spacing and fixed the height. 2012-08-18 21:20:28 +12:00
BeniS 03d46baddf Reconfigured inventory back to normal, fixed a typo. 2012-08-18 20:50:51 +12:00
Henrique Santiago ab7400c51d Progress on issues #60, #24, #21 2012-08-18 02:04:15 -03:00
Eduardo Bart 0bb991e14e Fix auto chase override 2012-08-18 00:30:40 -03:00
Eduardo Bart fdea7f3d66 Basic changes to support multiple charsets in the future 2012-08-17 19:45:56 -03:00
Henrique Santiago 4d2bd54f6b Fixed #12 #28 #51 issues 2012-08-17 18:37:11 -03:00
Henrique Santiago 42ccff8596 Fix table copy function, combat controls now hideable 2012-08-17 02:31:23 -03:00
BeniS 4793908657 Added 944 to protocol support, minor market fix.
* Items board is now update correctly on entering market.
2012-08-16 09:25:45 +12:00
BeniS c4c29be272 Added new market buttons: Close, Refresh Offers, and Reset Market.
* New refresh offers function.
* Fixed Market.reset function.
2012-08-15 23:56:29 +12:00
BeniS 2bd1e0f6c4 Some optimization to the market.
* Market items are not cached to their categories.
* Fixed onMarketLeave issue.
* Few minor fixes.
2012-08-15 16:58:56 +12:00
Henrique Santiago e244e1975d Format name as a feature, do not connect if dont have dat/spr 2012-08-14 20:58:48 -03:00
Henrique Santiago 4e8afab335 Fix rsa change, messagebox and remove lua variable from c++ 2012-08-14 17:37:28 -03:00
Eduardo Bart d0b3c04853 Fix text cursor in win32 2012-08-14 16:27:44 -03:00
BeniS ec934cacdf Some minor market fixes.
* Fixed a display bug (need to look into this more to find full issue)
* Removed debug prints from previous commit.
* Other minor edits.
2012-08-15 04:18:58 +12:00
BeniS b93ea86260 Checked off some Market TODO's.
* Added some market offer constraints: offer creation exhaustion and now checks balance to validate sell offers.
* Fixed the depot updating issue (no longer requires updateDepotItemCount function)
* Can now silence the MarketProtocol messages.
* Few minor market fixes.
2012-08-15 03:45:26 +12:00
Henrique Santiago abb6f59568 Rework to UIMessageBox 2012-08-12 20:27:41 -03:00
Henrique Santiago 8753f82fd0 Change cursor on textedit, remove possibility to close EnterGame window 2012-08-10 16:32:21 -03:00
Eduardo Bart 24b60bec2e support for protocol 961 2012-08-10 01:01:12 -03:00
Henrique Santiago 47f0d7f3a6 Fix to creature name formatting and scrollarea maximum option 2012-08-09 21:36:52 -03:00
BeniS 96af3d3fcc Minor fix to forceExit function 2012-08-10 11:21:14 +12:00
Henrique Santiago e27423660c Do not fatal cause of missing spr/dat anymore. 2012-08-09 19:54:03 -03:00
Henrique Santiago b5cb4e2c93 Fix battle filter, fix walk issue, try logout when force exit 2012-08-08 16:49:02 -03:00
Henrique Santiago 56817a8678 Changes to battle windows, removed duplicated translations 2012-08-08 16:17:16 -03:00
Henrique Santiago 05bfd00d1f Fixed a hover bug with UIItem 2012-08-08 12:08:18 -03:00
Henrique Santiago 16a3dd2b7e Remove ; and little fix to MiniWindow 2012-08-08 11:24:59 -03:00
Henrique Santiago 93fdd2e326 Fix messagebox width, use boost in stdext net 2012-08-07 23:18:36 -03:00
Henrique Santiago 466d8e8820 Use custom upchar and lochar by default due to accents in font files. 2012-08-07 21:12:36 -03:00
Henrique Santiago 26c682c0dc Some changes to charlist 2012-08-07 17:55:05 -03:00
Henrique Santiago 0e67bd97a5 Moved some talk code to lua 2012-08-07 13:33:17 -03:00
Henrique Santiago a2db210012 Create stdext net, changes to outfit and exit windows. 2012-08-06 22:11:42 -03:00
Eduardo Bart 54f4e2b801 Fix console error 2012-08-06 20:54:56 -03:00
Henrique Santiago dcde317904 Fix dragable and npcto/from and remove margintop from entergame. 2012-08-06 20:43:25 -03:00
BeniS bd61a89675 Some fixes with layouts, NPC trade window, and market. 2012-08-07 11:13:33 +12:00
Henrique Santiago 7b1aba1fa5 Flexible entergame window, changes to logout window 2012-08-06 18:47:58 -03:00
Henrique Santiago 345e9f4926 Exit window fix, pt missing translations, remove game toggle button transparency 2012-08-06 17:19:32 -03:00
Henrique Santiago e6bd3907e1 Background label hide function, Skins fix and combobox hide, messagebox changes, show entergame when reload 2012-08-06 16:15:20 -03:00
Henrique Santiago 9cb4cb9a58 Fixes to combobox rounded 2012-08-06 11:55:47 -03:00
Henrique Santiago 217291b486 EnterGame with unique server option, ComboboxRounded 2012-08-06 11:39:27 -03:00
Henrique Santiago 0f980ec18b Internal change to entergame, fix image-offset-y mistake, change the way default font is set in skins. 2012-08-05 18:43:45 -03:00
Henrique Santiago e78edad4c6 Widget text upper case option, change gimp plugin mode to executable 2012-08-05 15:26:08 -03:00
Henrique Santiago 14085a525b Changes to Combobox 2012-08-05 12:54:31 -03:00
BeniS 26c196cdb0 Some more work on the Market.
* Added Finalizing TODO list for anyone that wants to work on some missing areas (I am busy with work so any help from the community will speed it up).
* Added market item key word searching.
* Removed the search tab in replace for overview tab that can be used for extended functionality later.
* Few minor additions.
2012-08-06 02:42:54 +12:00
Henrique Santiago fb7ab21e71 Move RSA class to Crypt 2012-08-04 10:54:35 -03:00
Henrique Santiago d939ade06d Fix compile issue and miniwindows index 2012-08-03 10:26:04 -03:00
Eduardo Bart 325b711181 Fix some issues in battle 2012-08-03 02:58:48 -03:00
Eduardo Bart f397e6319c Reimplement battle using new events, no more scheduleEvents 2012-08-03 02:05:09 -03:00
BeniS a5c3029e5b Some minor fixes for the market.
* Max sell offer amount is now setting correctly.
* Items widget is now clearing properly (tidy).
* Depot will refresh when you sell items in the sell offers.
2012-08-03 02:50:40 +12:00
Eduardo Bart 5ecb890b06 New utility command: debugPosition() 2012-08-02 11:02:36 -03:00
BeniS ac65ea5843 Fix action menu bug. 2012-08-02 22:14:29 +12:00
Eduardo Bart 76d32b5493 Fix click regression 2012-08-01 23:05:02 -03:00
Eduardo Bart c9eaa73df5 Improve clicking on walking creatures 2012-08-01 22:47:55 -03:00
BeniS cadf07974a Fix to market module reloading, Changed the walk lock period when colliding with a block path object. 2012-08-02 11:04:29 +12:00
Eduardo Bart 614d1544c0 Fix market reload and a crash when exiting 2012-07-31 11:42:26 -03:00
BeniS ce4f88b61d Missed from last commit to fix offer creation with non stackable items. 2012-07-31 22:45:41 +12:00
BeniS 82bfdc566f Fix market issue with non stackable items. 2012-07-31 21:47:24 +12:00
Eduardo Bart 6ef44d462d Update todo, fix minor error 2012-07-31 02:38:22 -03:00
Eduardo Bart 90312965bc Avoid spr loading freeze when logging 2012-07-31 01:09:55 -03:00
Eduardo Bart 49a8c750f9 Fix opened channels saving 2012-07-31 00:53:15 -03:00
Eduardo Bart 6c159333dd Fix displaying npc messages in screen center 2012-07-30 22:45:45 -03:00
Eduardo Bart 64760f0892 Update sv and pt locales 2012-07-30 22:34:55 -03:00
Eduardo Bart 2993853fe0 Fix death message 2012-07-30 21:57:31 -03:00
Eduardo Bart 1de9faa93e Update missing translations table 2012-07-30 20:52:31 -03:00
Eduardo Bart 3db0ae06a7 Add swedish language 2012-07-30 20:52:31 -03:00
Eduardo Bart 59b6abfa09 Implement message modes for 9.6
Fix possible crash when closing otclient
Fix private messages
Fix messages in 9.6
2012-07-30 09:33:52 -03:00
BeniS 1281b04a6a Some small fixes. 2012-07-31 00:33:10 +12:00
Eduardo Bart 52f81c53f9 More fixes for 9.6
And add ping bindings :D
2012-07-30 07:59:08 -03:00
Eduardo Bart 05436e135a Fix some bugs 2012-07-30 05:51:03 -03:00
BeniS 70fba12d6c Some more market fixes and ascetics 2012-07-30 20:02:02 +12:00
BeniS a914d31afb Finished accepting buy/sell market item offers, few minor fixes. 2012-07-30 02:07:55 +12:00