Commit Graph

1054 Commits

Author SHA1 Message Date
Eduardo Bart 09c937998f Dont use boost locale anymore 2013-02-22 18:49:36 -03:00
Eduardo Bart 5b573afdfc Change network errors message 2013-02-22 16:53:49 -03:00
Eduardo Bart 9a54bfcc90 Minimap, hotkeys and lot of other changes
* Begin working on a new layout system for UIMinimap and later UIMap,
this new layout system allows to add widgets to the minimap
* Add option to disable motd
* Rework hotkey binding
* Lots of fixes in hotkeys manager
* Add fullmap view using Ctrl+Shift+M
* Prevent some crashs in ThingType draw
* Add function to load minimap from PNG files
* Fixes in minimap saving
* Fixes in Tile::isClickable
* Add UIMapAnchorLayout, new layout for maps
* Fix freezes in win32 when pressing alt key
2013-02-21 17:03:05 -03:00
Henrique Santiago f8b078ea91 Little fixes 2013-02-20 21:50:45 -03:00
Henrique bb304f9f4e Fixes to npc trade, begin native directx support 2013-02-20 15:41:28 -03:00
BeniS cb3f06358c Missed existing onInventoryChange hook 2013-02-21 04:34:06 +13:00
BeniS 3b91c4d509 Minor quantity fix from previous commit 2013-02-21 00:28:45 +13:00
BeniS f4c7d98bd5 Fixes to trade npc module:
* Will now update player goods on inventory change
* Sell all no longer shows inventory items when ignore is checked
* Sell all tooltip now updates properly
* Will tell you the sell all total
2013-02-21 00:19:30 +13:00
BeniS 88c59afb8c Added 'sell all' tooltip to show items you can sell
* Now 'sell all' button with enable/disable
* Fixed display issue with 'sell all' button
* Also changed spinbox button click
2013-02-20 23:08:03 +13:00
BeniS b61094c053 Minor fix to scroll bar 2013-02-20 15:03:45 +13:00
BeniS 3b9acab7a1 Fixed Market laoding and 'search all' issue. 2013-02-20 14:44:06 +13:00
Henrique Santiago 6d456994f4 Fix scrollbar 2013-02-19 21:34:50 -03:00
BeniS e87e669c87 Few market UI fixes 2013-02-19 23:19:43 +13:00
Henrique Santiago 59a5b8115a Fix locale send, spelllist reload, few changes 2013-02-18 22:18:10 -03:00
Eduardo Bart 67fc77d507 Add sell all button to NPC trade 2013-02-15 16:38:57 -02:00
Eduardo Bart 28cdd6aa53 Fix minor walk delay 2013-02-15 16:38:29 -02:00
Henrique Santiago 4f423432fa Missing change for hotkeys 2013-02-14 18:29:35 -02:00
Eduardo Bart 62f38d678d Fix for chat commands #s #w #y
* Some progressbar changes
2013-02-14 16:34:55 -02:00
Henrique Santiago 07dd78002b Save console messages #263, change settings names 2013-02-14 15:30:45 -02:00
Henrique Santiago 5fc1ac8051 Save gamemap height #207. UISplitter needs a rework. 2013-02-14 13:54:51 -02:00
BeniS adc01ab9e3 Proper fix for autowalk lag issue 2013-02-13 18:05:08 +13:00
BeniS 725a16e38e Fix a lag issue with auto walking
* Auto walking on unwalkable objects was still being processed
  by the findPath algorithm. Ed, if this algorithm shouldn't be causing
  lag spikes for the client, perhaps I should find the cause in findPath.
  For now this will fix the issue however.
2013-02-13 15:06:22 +13:00
BeniS 0b29a4b466 Fixed market selling 'amounts' 2013-02-13 05:30:00 +13:00
BeniS cb42481edd Market fix, and a few other things:
* Added 'button' param to g_mouse.bindPress
* Added 'lower' param to table.contains
* UIComboBox:onOptionChange should signalcall?
* Changed the experience bar color
* Market buy/sell 'amount' window will now show the cost
  of the amount you are selecting
2013-02-13 05:14:16 +13:00
Henrique Santiago 8f9055f48b Fixed mouse bug, allow locales list 2013-02-10 03:24:51 -02:00
Henrique Santiago dfb0150a7d Fix signalCall, healthinfo tooltips 2013-02-10 01:17:20 -02:00
Henrique Santiago 11cb287a21 Changes to UIProgressBar, simplified healthinfo module 2013-02-09 19:57:37 -02:00
Henrique Santiago 6f37361df0 Merge pull request #268 from ricardoianelli/master
Added experience bar to healthinfo
2013-02-09 11:36:39 -08:00
Ricardo Ianelli 9c0c19b5b2 Exp bar on healthinfo module 2013-02-10 03:31:12 -02:00
Ricardo Ianelli 71c2ec5293 One more fix 2013-02-10 02:59:55 -02:00
Ricardo Ianelli 72d63673ca Identation Fixes 2013-02-10 02:54:20 -02:00
Ricardo Ianelli cbeab6f9b0 Moving start messages to lua
Moved start log messages to lua, to make easier to enable/disable those
messages.
2013-02-10 02:28:47 -02:00
Henrique Santiago 25841e9c77 Merge pull request #267 from ricardoianelli/master
Rework on init/exit log messages.
2013-02-08 21:03:08 -08:00
Eduardo Bart ea0d5f3d81 Fix compile error for OpenGL ES 2013-02-07 03:56:21 -02:00
Eduardo Bart 7ece0ed8c7 Buttons for client options 2013-02-06 17:35:59 -02:00
Henrique Santiago d4fb6127fc Add blink effect 2013-02-05 19:08:32 -02:00
Eduardo Bart 717832b791 Other minor fixes 2013-02-04 19:40:12 -02:00
Eduardo Bart 4c51009ed9 Minor fixes
* Fix focusing opened channel on login
* Add missing options to rule violation window
* Send rule violations messages in default channel
* Enable show private messages in console by default
* Fix battle issues with invisible creatures
* Allow to use hotkeys while trading
2013-02-04 17:38:36 -02:00
Henrique Santiago db73bbdea2 Pt translations, uicombobox, options 2013-02-01 14:31:24 -02:00
BeniS 6cd71ea02e Closes #236 2013-02-02 03:38:17 +13:00
BeniS 7f5dda5c8f Re-add destroying for unloading, other clean up:
* Cleaned some module terminate code
* Fixed "reload all" issues
2013-02-01 17:32:15 +13:00
BeniS 35e5dd8af8 Topmenu fix
* Will no longer duplicate topmenu buttons (no need to destroy in the module now)
* Menu items will no longer change position when reloaded.
2013-02-01 14:47:15 +13:00
BeniS b34cc18f98 Fix #259 2013-02-01 14:31:09 +13:00
BeniS 469df27d9b Implement #261 2013-02-01 14:21:20 +13:00
BeniS e7012031eb Fix auto walking bug 2013-02-01 12:46:44 +13:00
Henrique Santiago 4c3c945bab Fix tooltip, minimap 2013-01-31 19:43:42 -02:00
Henrique Santiago e370ffdb0f More changes to minimap 2013-01-31 18:34:27 -02:00
Eduardo Bart 36a60419ec Fix some issues when reloading entergame 2013-01-31 14:19:41 -02:00
Henrique Santiago 546007f1df UIImageView, fixes to minimap 2013-01-31 14:20:04 -02:00
BeniS 859cb31f5d Fix #257 2013-02-01 01:30:36 +13:00
BeniS de353e3b72 Should resolve #256 (please test, works for me) 2013-02-01 00:07:28 +13:00
BeniS 9e208fa792 Fix 255 also another cooldown bug:
* If you use the cooldown during the ping delay time it wouldn't init
  the cooldown again.
2013-01-31 20:31:21 +13:00
Eduardo Bart 89c012e81f Improvements in minimap drawing 2013-01-31 03:38:06 -02:00
Eduardo Bart abcc95634e Redirect violations msgs to default channel 2013-01-31 01:11:36 -02:00
Henrique Santiago 8a2d2cd5ac Fixes to minimap 2013-01-31 01:09:56 -02:00
Henrique Santiago 17d09f41be Rework UIMinimap 2013-01-30 23:44:57 -02:00
Henrique Santiago ca9c33ff54 Fix getColor, add/get position 2013-01-30 19:08:53 -02:00
Eduardo Bart da050a5630 Fix trade/use bug from previous commit 2013-01-30 18:57:37 -02:00
Eduardo Bart 5bf03c50d6 Rework hotkeys manager, fix many issues on it 2013-01-30 18:28:54 -02:00
BeniS 377c013dfe Cooldown particles! lol
* Changed some ui details in cooldown module.
2013-01-30 12:00:13 +13:00
Henrique Santiago 60986eb80f Minimap fix and remove option 2013-01-29 18:36:27 -02:00
Eduardo Bart 8d6ccb8d83 Fixes to compile with clang 2013-01-29 14:35:20 -02:00
Eduardo Bart 4751941e4f Improve encrypt/decrypt algorithms 2013-01-29 11:51:15 -02:00
BeniS f492d291eb More fixes to spell cooldown module:
* Fixed duration issues.
* Fixed referencing after destroyed issue.
* Using callbacks for progress rect now.
2013-01-30 02:01:52 +13:00
BeniS ec30567d6b Some fixes to spells/cooldowns.
* Fixed 'progress' bug for spells in the cooldown module.
* Fixed a bug with GameForceFirstAutoWalkStep feature.
* Moved the spells ID to its SpellInfo row.
* Lower cased table functions (consistant).
2013-01-29 19:26:32 +13:00
Eduardo Bart b7eef97239 Add flexibility in login packets
* It's now possible to add custom data in the login packet
* Add utility funciton to generate RSA keys
* Make the protocol able to use RSA keys with 2048 bits or more
2013-01-28 20:52:03 -02:00
Eduardo Bart 6c7a163197 Add missing file 2013-01-28 19:20:01 -02:00
Eduardo Bart d6e8e92a45 Some fixes in hotkeys and other improvements
* Save last logged character and world instead of character name
* Make focused label always visible in character list and hotkeys
* Other fixes in hotkeys
2013-01-28 16:33:35 -02:00
BeniS 197a379933 Some minor things.
Just got back today, awesome progress ed :)
2013-01-29 00:02:44 +13:00
Eduardo Bart 773837da98 Minor changes in file type handling 2013-01-27 23:23:53 -02:00
Eduardo Bart 4536c68f00 Fix #249 2013-01-27 18:26:48 -02:00
Henrique Santiago 2bd86d0695 Fix minimap zoom, blue name 2013-01-27 14:53:16 -02:00
Eduardo Bart e81dd31ae3 New lightweight minimap format, finish #15 2013-01-27 14:06:47 -02:00
Henrique Santiago cf0ecf418d Pt translations, small fix in console tabbar 2013-01-27 09:22:48 -02:00
Eduardo Bart 9aca1644e6 Implement rule violations, closes #218 2013-01-27 07:54:50 -02:00
Eduardo Bart 6c59124cb2 Reimplement smartwalk without events 2013-01-26 21:18:07 -02:00
Eduardo Bart 7c06a00f82 Improve logout speed via Ctrl+G 2013-01-26 20:52:37 -02:00
Eduardo Bart 9f69c71b6d Minimap navigation with Alt hotkeys 2013-01-26 20:20:26 -02:00
Eduardo Bart 4351f3c63f More improvements in walk 2013-01-26 20:12:00 -02:00
Eduardo Bart 4b1db2bcd6 Fix #235 and other changes 2013-01-26 18:40:03 -02:00
Eduardo Bart 2fd3c643c4 Rework smart walk, fix #247 2013-01-26 18:10:30 -02:00
Eduardo Bart 4f8f02acad Rework auto focus behavior, closes #222 2013-01-26 17:06:25 -02:00
Eduardo Bart 7e01306fc6 Improvements to popupmenus, fix #245 and #246 2013-01-26 16:05:34 -02:00
Eduardo Bart 4d0d62e364 Fix #244 2013-01-26 14:39:11 -02:00
Eduardo Bart 07959ddc04 Fix a vulnerability in password encryption
* There was an error in the encryption used to save passwords,
  now it's really harder to decrypt the password from the config file
* Other minor changes
2013-01-26 14:38:48 -02:00
Eduardo Bart 18af9a45ee Fix #166 2013-01-25 18:51:14 -02:00
Eduardo Bart 90f1244ab4 Fix #194 2013-01-25 18:28:44 -02:00
Eduardo Bart 9e4a9433ca Fix #243 2013-01-25 17:30:40 -02:00
Eduardo Bart 32c5f4285b Closes #210
* And minor adjustments
2013-01-25 17:26:51 -02:00
Henrique Santiago c982ca81a5 Rework options visual 2013-01-25 13:33:51 -02:00
Eduardo Bart a144174c41 Use push/pop mechanism for cursors 2013-01-25 11:47:51 -02:00
Eduardo Bart 3a47c4f2e1 Remake cursors, closes #219 and #237 2013-01-25 11:19:40 -02:00
Eduardo Bart 0a91fff82a Textedit improvements 2013-01-25 11:17:59 -02:00
Henrique Santiago 95f79b45dc Configure default hotkey, fix map release 2013-01-25 10:22:51 -02:00
Henrique Santiago 839495fa9b Another sort function for hotkeys 2013-01-25 09:36:57 -02:00
Henrique Santiago 42b05df717 Hotkeys order, minimap mark windw changes 2013-01-24 20:57:51 -02:00
Eduardo Bart d5b4e0929f Improvements in textedit and hotkey manager
* Set textedit's cursor position to the end of text in some situations
* Send hotkey messages to the current channel instead of default channel
* Allow to overwrite sprites using otml and pngs
2013-01-24 18:36:04 -02:00
Eduardo Bart a8fbd6cdfc Improve game map view modes 2013-01-24 17:15:07 -02:00
Eduardo Bart 5b65088426 Improve tab navigation and scrolling
* Fix with use with over creatures when you are over force use objects
* Fix textedit wrapping
2013-01-24 15:46:02 -02:00
Henrique Santiago bc55cbbbd1 Pt translations, some helper functions 2013-01-24 14:01:28 -02:00
Henrique Santiago c3eede9872 Changes to translations 2013-01-24 11:33:53 +00:00
Eduardo Bart 311bc220a8 Fix a warning 2013-01-23 16:55:10 -02:00
Eduardo Bart 992acd8873 Fix translations, there were all broken 2013-01-23 15:35:43 -02:00
BeniS c7ff744dcd Fix to spin box button fit and npc trade:
* Fit spin box buttons properly
* NPC trade you can now look at items you can sell/buy
(Waiting for ed to implement a way to set item image color before its completed)
2013-01-23 22:23:28 +13:00
BeniS a2ddb472f5 Fixed up movement controls again and fixed a typo.
* You can change direction while already moving
(There could be a better way for walking control, but this works fine for now)
2013-01-23 20:31:28 +13:00
BeniS caf86a9fc6 Fixes! Closes #235 and more:
* Hotkeys now save by server & player rather than just player
* Added double clicking to module dialog options
* Fixed a bug in the modal dialog for > pv970 (protocol changed)
* Fixed a login bug for pv970.
WARNING: Will remove all your current hotkeys.
2013-01-23 13:15:46 +13:00
Eduardo Bart 27d5506262 Some fixes in entergame and widget clipping 2013-01-22 19:48:25 -02:00
Eduardo Bart ca4caf7991 Fix text highlighting again 2013-01-22 18:29:18 -02:00
Eduardo Bart dabc7548fe Fix keyword highlighting in chat 2013-01-22 18:06:48 -02:00
BeniS 01e48fbcc8 More work towards autowalking (needs more work).
* Added tile minimap color override.
* Changed zoom in and out of minimap from inverted control.
2013-01-23 01:02:25 +13:00
BeniS 5a278ef4ec Few minor fixes.
* Fixed count window.
* Other small things.
2013-01-22 13:40:46 +13:00
Eduardo Bart befe480ec3 Fixes #232 2013-01-21 20:04:52 -02:00
Eduardo Bart 71cccac3da Many changes
* IMPORTANT: dat/spr should now be placed in /data/things/
* Rename game_tibiafiles to game_things
* Make battle list algorithm much faster
* Split UITabBar into UITabBar and UIMoveableTabBar
* Fix other minor issues
2013-01-21 19:41:03 -02:00
Eduardo Bart 0729e35b50 Minor fixes 2013-01-21 14:15:36 -02:00
Eduardo Bart ae731ddefc Rework minimap rendering 2013-01-20 21:17:56 -02:00
BeniS 8c6d5a0f5c Finalizing auto walk enhancements, closes #63, also other fixes:
* Can now auto walk up to 1000 steps!
* Re-added sexy topmenu buttons :)
* Tooltip for logout/edit will now change
* Changed xxStackpos to xxStackPos
2013-01-21 05:09:14 +13:00
Eduardo Bart c28596292f Text selection in chat
* Remove fancy stuff from background
* Improve text windows
* More improvements to textedit
2013-01-20 13:40:40 -02:00
Eduardo Bart 9907e9e5c7 Fix particles and some fun in the background LOL 2013-01-19 18:24:59 -02:00
Samuel e8d0996817 Ignoremodule lowercase | German locale file 2013-01-19 19:02:22 +01:00
Henrique Santiago 8e9d137608 Rotate, translate and scale added to ogl2 2013-01-19 02:18:29 +00:00
Eduardo Bart 36e95b2f48 Fix minor mistake in client topmenu 2013-01-18 22:24:40 -02:00
Eduardo Bart 4f6c987d77 Fix regression in market 2013-01-18 21:29:10 -02:00
Eduardo Bart 28b5fc1d5a Refactor modules, closes #223
* All modules are sandboxed now
* All images,sounds,fonts,translations and styles were moved to "data" folder
* Reorganize image files folders
* Remove unmaintained modules: client_particles, client_shaders
* Implement new automatic way to load styles and fonts
* Add hide/show offline option in VipList
* Add invite/exclude to/from private channel in players menus
* Many other minor changes
2013-01-18 20:46:36 -02:00
Eduardo Bart 20d9176d10 Fixes #172 2013-01-18 16:49:41 -02:00
Samuel 806f543302 Premium time colored red <= 7 days #205 2013-01-18 16:48:48 +01:00
Henrique Santiago ddaff8a46a Remove exit module, logout no longer at miniwindow side, always visible 2013-01-18 05:53:41 +00:00
BeniS 1500c1d2f2 Few minor fixes here and there:
* Fixed miniwindow cancelling (sorry Summ! :D)
* Fixed pathFind to check floor change tiles
* Fixed buying/selling stackable items in pv < 860
* Added force walk to the first step of auto walking for open tibia
2013-01-18 18:27:29 +13:00
Henrique Santiago 6ad7269e5a Fix skull blink 2013-01-17 18:57:03 +00:00
Eduardo Bart 7e52c4e449 Make otclient login into cipsoft servers again 2013-01-17 18:24:41 -02:00
Eduardo Bart ada2c9efe9 Fix buy/sell of stackable items on 8.6 2013-01-17 16:10:55 -02:00
BeniS b68df8336a Minor fixes to some previous commits.
* Fixed a bug with storing the protocol version.
* Fixed an issue with text windows cancelling.
* Fixed a typo in the source.
2013-01-18 03:23:01 +13:00
Eduardo Bart cf77c2baf3 Fix text edits wrapping 2013-01-17 09:34:45 -02:00
BeniS 74ebd7f903 Finalizing #198
* Also changed the 'use with crosshair' hotkey color.
2013-01-18 00:12:17 +13:00
Eduardo Bart 95593964bb Fix audio enable/disable checkbox 2013-01-17 08:50:40 -02:00
Eduardo Bart 8b14a91ed9 Fix save of MiniWindow positions, issue #163 2013-01-16 17:57:05 -02:00
Eduardo Bart 62cd3d04e1 Update sound engine with some sound fixes
* Refactor client module
2013-01-16 16:46:42 -02:00
Eduardo Bart 52ede065fc Make text windows stackable, fix #152 2013-01-16 16:27:02 -02:00
Eduardo Bart a80e758e32 Improve tabs move in console chat, looks nice now 2013-01-16 15:41:12 -02:00
Eduardo Bart 2e75380218 Reimplement text edit scrolling in C++
* And update some corelib APIs
2013-01-16 14:20:17 -02:00
Jeffrey 47d5e1d5e6 Fix for battle list sorting
All creatures were being removed and re-added, only add ones we don't
have, and then remove ones we shouldn't have.
2013-01-13 20:02:00 -06:00
BeniS 913cc801b6 Few minor fixes:
* Fix to tab margins when a tab is closed
* Changed the life bar colors of UICreatureButtons
* Added onDeath to Creatures class
2013-01-13 00:41:27 +13:00
BeniS 1b6be92cad Minor fix to previous commit and added mouse scroll option to UIScrollBar class. 2013-01-11 20:10:37 +13:00
BeniS 914b4bd5f3 Applied #189
* There was a bug in OTML saving hotkeys per player because of the way they are storing children and not a straight value. Perhaps you want to look at it ed.
Note: Your hotkeys will reset in this revision.
2013-01-11 17:03:48 +13:00
Henrique Santiago adba4b0da9 Refix items on UIItem, cancel button to hotkeys 2013-01-10 16:45:35 -02:00
BeniS 00a574fe10 Fixed #178, and some others:
* Fixed a small issue in the ignore module (also please remember to use 2 spaces for tabulation and not tabs)
* Changed the order of count window buttons
* Added new player functions.
2013-01-11 06:25:32 +13:00
Jeffrey c43a97395a Fixed a Typo
Function name was misspelled
2013-01-09 21:46:30 -06:00
Jeffrey c6ab6bc484 Ignore/Unignore options in right click menus
Added both Ignore and Unignore options in the right click menu for the
Game Window (which also added it for the Battle list), and in the right
click menu for the console (chat window).
2013-01-09 21:20:26 -06:00
Jeffrey 8de7873635 Fix spacing in NPC Trade Windows
Adjusted Text offset of the NPCItemBox for the NPC Trade Window so that
the text is no longer partially hidden behind the item.
2013-01-09 20:40:16 -06:00
Jeffrey b72c1d2921 Fix whitespace
Forgot to replace tabs with spaces
2013-01-09 20:35:05 -06:00
Jeffrey 74d3214f74 Fix Ignore Module warning
Ignore list label was destroyed when removed, giving a warning when
closing the Ignore Window.
2013-01-09 20:33:05 -06:00