Commit Graph

1143 Commits

Author SHA1 Message Date
BenDol 0c77179c46 Should check the menu category before creating a separator. 2014-07-13 22:57:45 +12:00
BenDol 935b9e4cd6 Forgot removeMenuHook function. 2014-07-13 22:39:56 +12:00
BenDol 0f362f80e3 Added easy menu hooking, fixed terminal default size/pos & more:
* Added autowalk style option to Minimap style.
* Added onCreate for setting up variables before styling is applied etc.
2014-07-13 22:27:09 +12:00
BenDol 0b5654f870 Style fixes and added dontSignal to UIRadioGroup. 2014-07-13 07:38:44 +12:00
Sam 4ec5048730 Remove test statement 2014-07-12 18:47:35 +02:00
Sam 6b8e810466 Merge branch 'master' of https://github.com/edubart/otclient 2014-07-12 18:44:15 +02:00
Sam 9b3e0a324c Color adjustments and fixes 2014-07-12 18:44:02 +02:00
BenDol f7531383f3 Fix an issue with the spinbox buttons. 2014-07-13 03:57:38 +12:00
BenDol 7724b8059d Forgot this from previous commit. 2014-07-13 02:10:30 +12:00
BenDol 2ada93db9c Should use the set minimum for these! 2014-07-13 02:08:33 +12:00
BenDol d070711409 When reaching max or min scroll allow other scroll areas to scroll. 2014-07-13 02:06:36 +12:00
BenDol 5909634837 Avoid ending mouse scroll chain when scroll bar is 'off'.
Also added mouse-scroll style to UISpinBox.
2014-07-13 01:46:47 +12:00
BenDol 9f7aafac0b Fix a crash issue when attempting to draw invalid item.
This can happen when using UIItem as interfaces etc.
2014-07-11 16:19:30 +12:00
BenDol 12b3bd4ee0 Fix table.equals 2014-07-09 17:00:10 +12:00
BenDol 9e30c39035 Pointless storing a reference to super. 2014-07-09 05:51:17 +12:00
BenDol 3dbcb1daee Added basic table.equals, dontSignal param to combobox calls & spell methods. 2014-07-09 04:07:02 +12:00
Sam a9d4fd5e1e Scrollmenu for Comboboxes, fixes #480 2014-07-03 18:15:38 +02:00
djayk1 9f8293a5a0 Update game.lua 2014-06-23 11:35:52 -03:00
BenDol ce9e443c60 Remove redundant classes & added some Position methods. 2014-06-10 01:44:03 +12:00
BenDol 99b1ddf44c Must change UIMap class checks to UIGameMap. 2014-06-07 05:05:57 +12:00
BenDol c083d02bef Some fixes for class names and queue (added base class). 2014-06-07 04:10:14 +12:00
BenDol 00253e46b3 Added Queue class for event queuing (see CandyBot for examples of this). 2014-06-04 02:17:49 +12:00
BenDol d2b7de3801 Will stick to basic isInRange check function. 2014-06-02 11:43:29 +12:00
BenDol adcf258551 Forgot to add this. 2014-06-02 10:05:26 +12:00
BenDol 2df51622ba Some improvements to some things. 2014-06-02 10:04:56 +12:00
BenDol a7d7667491 Added gamelib for Position functions. 2014-06-01 18:11:52 +12:00
Sam f23e70ff08 Fix battlelist square bug / Cleanup 2014-05-29 03:17:48 +02:00
Sam b96be291bb Fix use-with issue #508 2014-05-10 17:10:07 +02:00
BenDol 06855dd1de Added subType for Player:getItem/getItems. 2014-04-20 07:45:10 +12:00
BenDol 45b41b88bd Merge branch 'master' of https://github.com/edubart/otclient 2014-04-06 15:29:23 +12:00
BenDol 1baad726ae Just use g_configs.unload(config) to unload config files.
Avoids concurrent modification errors.
2014-04-06 15:29:02 +12:00
Nail 41b2f9b911 Per-pixel transparency. 2014-04-04 12:58:12 -03:00
BenDol 1074b6b787 Provide the option to suppress lua call in setText 2014-04-03 05:20:35 +13:00
BenDol d45fbcb10f Fixed terminal size bug 2014-04-02 20:50:36 +13:00
BenDol 3ce37dacbd Removed onUnload from corelib and added more lua bindings for resources. 2014-04-02 05:20:18 +13:00
BenDol 5204e3ac03 Proper termination and initialization of the ConfigManager. 2014-04-02 00:30:17 +13:00
BenDol 4b24c78f0f Fix to the makesingleton function. 2014-04-01 17:22:00 +13:00
BenDol 994f49b3c1 Better implementation for forming the singleton wrapper. 2014-04-01 17:08:07 +13:00
BenDol 79ee0e34ea Keep g_settings as a 'static' variable rather than a direct object. 2014-04-01 16:51:38 +13:00
BenDol b295053662 Finished stable implementation (as far as tested), still requires more testing. 2014-04-01 16:27:33 +13:00
BenDol 61059e66ec Started implementing ability to load custom config files (currently unstable).
Feel free to help out with this if you like :)
2014-04-01 05:43:31 +13:00
Sam 4f79a30689 Remove print from purse code 2014-03-13 00:13:39 +01:00
Sam a58a3e90c8 Implement purse slot (closes #208), add version 10.37 (could not find protocol changes) 2014-03-12 15:46:35 +01:00
Sam 8d8f32b081 Partial 10.36 support, also fix #499 2014-03-12 06:39:20 +01:00
conde2 0fbba70003 Fix protocol erros and try to fix walk delay
Not implemented CreaturesType, just fixed the protocol error reported in
#493, also try to fix #499 and #461
2014-03-11 17:18:50 -03:00
conde2 d080432e14 Support for newer versions and light draw fix
Avoid drawing light under covered tiles.
2014-02-24 15:33:29 -03:00
Sam 8bd1293be7 Tiny topmenu fix 2014-02-22 02:21:09 +01:00
Eduardo Bart 64437e4e1a Fix #476 2014-02-11 18:16:50 -02:00
Sam d30ff220f6 Fix market anchoring, closes #464 2014-02-06 14:04:22 +01:00
Sam a2684cce7c Update gamelib 2014-01-20 22:27:20 +01:00
Jacek Wielemborek e6c9e78935 Get rid of trailing whitespace.
Commit generated by command:

find -type f ! -path '*.git*' ! -path '*.png' ! -path '*.ico' ! -path \
    '*.ogg' | xargs -I '{}' sed -i '{}' -e 's/\t*$//g' -e 's/ *$//g'
2014-01-18 15:09:26 +01:00
Eduardo Bart 1588bc4cae Merge pull request #436 from diath/patch-tabs
Make tab navigation more intuitive
2014-01-15 05:48:07 -08:00
Kamil Chojnowski b718ae0423 Update tabs navigation to take offscreen tabs into account 2014-01-15 04:56:42 +01:00
Kamil Chojnowski e6a1fabdd3 Update hotkeys behavior 2014-01-15 02:54:50 +01:00
Kamil Chojnowski 291960d159 Make tab navigation more intuitive 2014-01-15 02:32:02 +01:00
Sam 20b68c6a42 Vip functionality, closes #83 2014-01-14 23:15:01 +01:00
Eduardo Bart 117833addc Update to version 0.6.5 2014-01-06 19:02:45 -02:00
Sam 6db2458c1d Adding 10.31 to version list 2014-01-01 15:47:51 +01:00
Sam 17c4d59b15 Enabling versions 7.8 to 8.0 2013-12-26 23:20:34 +01:00
Sam da959aca28 Support for protocol 7.7/7.72 / Tiny fix 2013-12-26 21:31:55 +01:00
Sam 91c182d93d Tiny typo fix :) 2013-12-26 19:39:40 +01:00
Ron d0288e23d8 Update outfit.lua
Fixed outfits for 7.6
2013-12-24 14:07:52 -04:30
Sam 9d8cf33acc Fix 7.60 login protocol 2013-12-23 23:45:49 +01:00
Sam 99500c9c91 Protocol 8.40-.42 fixes, closes #272 2013-12-04 16:02:51 +01:00
Sam f615b80fbc Navigation for large tab amounts, closes #211 2013-12-03 20:25:56 +01:00
Sam 69ae324676 Tiny setPVPMode fix 2013-11-19 00:55:42 +01:00
Sam 4d656f8bd1 New pvp modes to combat controls 2013-11-19 00:50:00 +01:00
Sam 4f9f04206d Added enter / escape button to minimap flag window 2013-11-18 20:57:50 +01:00
Sam fc54a6e418 Full modal dialog functionality 2013-11-18 18:58:15 +01:00
Eduardo Bart dd829395e3 Merge pull request #376 from dalkon/master
Item phases & Fix party "bug" & Additions
2013-11-12 15:56:54 -08:00
dalkon 5b8ff29fa3 Fix party "bug" & Additions 2013-11-13 00:48:41 +01:00
Sam 5db37857bf Fix game zoom issue 2013-11-12 23:35:19 +01:00
Sam d6105a98d1 Fixed issue with deathwindow 2013-11-12 15:21:10 +01:00
Eduardo Bart d32f71c2b9 Partial support for protocol 1020 and minimize lag
I am able to login in global Tibia however there are game protocol errors
* there is a new opcode 167, which I dont know what it is
* there are changes in opcode 147 which handles text messages that I don't know too

Connection writing was optimized, playing "lag" should improve by 10ms,
and improve much more in systems with low fps
2013-11-10 20:10:04 -02:00
conde2 e60372fdea A little fix! 2013-11-10 03:17:49 -02:00
conde2 d2473fd424 Login support for 10.21 ~ 10.22
Please someone test more it !
Not tested in real Tibia !
2013-11-10 03:13:51 -02:00
Sam 241b54262a Updated lua consts 2013-10-20 17:15:24 +02:00
Sam 67bd00556d Re-added "Don't stretch/shrink" option
Closes #345
2013-10-09 18:17:50 +02:00
Sam 1b27a095a9 Hotkeys for Fluid Containers
Hotkeys now save subType for fluid containers instead of always trying
to use item with subType 0.
2013-10-05 18:08:49 +02:00
Sam e6977b1b43 Improvement / Fix hotkeys
- Hotkeys now check items in inventory
- Fixed USEONETARGET hotkey bug
2013-10-05 02:31:44 +02:00
Sam 5843b78e87 Support for client version 7.6
Tell me if there are parts which I should change.

- Not everything is tested yet, feel free to report bugs in 7.6
- the data send in between login opcode and account data might not be
correct, but I could not find any documents showing the right protocol
yet
- Hotkeys working
2013-10-04 04:09:54 +02:00
Joao Pasqualini Costa 926eb9f01e Fix #253
Message Mode 12
2013-08-17 22:57:38 -03:00
Joao Pasqualini Costa e15995e1eb Fix walk with WASD
This should be an alone bind, so any other control will not affect the
keys.
2013-08-17 21:56:37 -03:00
Joao Pasqualini Costa 719debfeae Fix keyboard unbind
Now this will unbind the right widget
2013-08-17 21:54:16 -03:00
BeniS 529b646316 Forgot to provide the widget for walk key bind, thanks conde2! 2013-08-13 10:22:34 +12:00
Eduardo Bart b5911cf1de Use client version instead of entergame 2013-08-03 19:26:38 -03:00
BeniS 5fbb71157d Added enable/disable chat mode (allows for alphabetical key controls), battle window anchoring fixed (thank you River) & more:
* Added better walk key binding (for other uses, like the sample given WASD).
* Made string.ends part of the string meta table rather than parameter based.
2013-07-29 10:42:18 +12:00
Mark Samman 4a04a18835 Fix login with 9.83-10.10
This only adds protocol compatibility, the features aren't actually
implemented yet
2013-07-28 07:05:46 +02:00
BeniS 95abf2a1d2 Fix a bug with autowalking & add prompt param for tryLogout.
(We don't want to be prompted when pressing Ctrl + Q or  Ctrl + L).
2013-07-07 05:36:56 +12:00
Sam c4adf2d817 Added whitelist
- Checkboxes to turn ignore/whitelist off
- Allow VIP messages
2013-07-04 18:03:21 +02:00
Sam c7c259ef80 Game Menu / Attacking fixes
- No more "Attack" / "Follow" for creatures on different floor
- No rule violation for monsters, only players now
- Alt + Click to target works through roofs -> fixes #203
- Fixed battle list issue (check position when trying to attack)
2013-07-03 14:25:18 +02:00
Sam c8185474de Implements battlelist sorting
Features:
Sort by age, name, health or distance
Sort ascending or descending
Button to toggle filters and sort options
http://i.imgur.com/cSCBwr4.png

closes 213
2013-07-02 22:43:52 +02:00
Sam be071c7103 Fix deathwindow issue 2013-07-02 22:40:19 +02:00
Sam 2f9e2c3e33 Sorting VIP list by name
@ #209
What should sorting by type do?
2013-07-01 22:59:51 +02:00
BeniS e062562888 Added sublime text 2 project file.
* Changed the order of the dofiles params.
2013-05-12 21:16:43 +12:00
Tiago T. de Araujo e4c7ca604b Fix update on unload module 2013-04-12 21:27:10 -03:00
Sam d427560b98 Countwindow Fix [YAH]
Fixed typing amount in count window. Should be hidden again.
2013-04-12 19:15:28 +02:00
Joao Pasqualini Costa 9bae1b9e25 Fix #316
It still have a bug when using string like this:

" teste {{}} teste"
2013-04-09 17:54:57 -03:00
Eduardo Bart b43a196eac Minor fixes and add auto resize for images 2013-03-15 21:59:22 -03:00
Eduardo Bart 4bdd1e79fd Fix compile error for win32 2013-03-13 21:18:17 -03:00