Commit Graph

1984 Commits

Author SHA1 Message Date
Eduardo Bart 59fc3d5f77 Rename 'addons' folder to 'mods' to avoid
Use onRun event to play startup music
2012-07-16 20:07:42 -03:00
Eduardo Bart bc81c9c8bf Packages system with .otpkg files
When otclient initializes it tries to find all .otpkg files inside the
current search paths (./ ./modules ./addons) and then add them
to the front of current search paths. This way .otpkg can contains
many modules/addons and modifications in a single file that otclient
can recognize.

otpkg files can be compressed files supported by PhysFS, which
are ZIP (.zip) and LZMA (.7z).
2012-07-16 16:35:14 -03:00
BeniS 09425eba31 Fixed crash issue with outfit window with protocols <= 860 2012-07-17 02:39:08 +12:00
BeniS f73b3bbece Fix for Issue #41 2012-07-17 00:21:34 +12:00
BeniS 92e3c2cbd6 Fixes to mounting, outfit randomizing, and added creature getSpeed to the lua binding. 2012-07-16 11:08:27 +12:00
Eduardo Bart f47a947bf3 Fixes for last commits 2012-07-15 11:29:05 -03:00
Eduardo Bart 7a08fed689 Optimize overall memory usage
* Fixes in otbm loader
* Rework BinaryTree
2012-07-15 10:30:39 -03:00
BeniS 03ca792dbd * Missed in last commit. 2012-07-15 23:58:51 +12:00
BeniS 81e6cf210e Merge remote-tracking branch 'origin/master' 2012-07-15 23:50:36 +12:00
BeniS 5520501673 Implemented the mount interface, Fixed some interface stuff, Some cosmetics, and Updated the outfits window
* Added new arrow buttons.
* Fixed the vertical separator.
* Added new game_playermount module to handle player mounting.
* Moved the battle icons to /images.
* Outfit window accommodates for mounts, loads addons more efficiently and keeps addons set on update, added new Outfit.randomize function that allows you to randomize your outfit colors, and set up a new layout.
2012-07-15 23:49:28 +12:00
niczkx 3db6217b7c trolol 2012-07-15 20:54:44 +03:00
Eduardo Bart 1b0c527ad6 Fix Thing::getTopThing 2012-07-15 03:17:31 -03:00
Eduardo Bart 98c4240446 Changes for the mapeditor 2012-07-15 03:17:31 -03:00
niczkx 7ffb760368 trolo 2012-07-15 21:12:03 +03:00
Eduardo Bart ec5106e7ce Fix skin texture caching 2012-07-14 18:30:00 -03:00
Eduardo Bart 36e5a5a92f Remove if spaces 2012-07-14 14:29:42 -03:00
Eduardo Bart 70115e391d Merge fallen changes 2012-07-14 14:22:18 -03:00
niczkx 5e0f18ab5b missing files 2012-07-14 16:34:24 -07:00
niczkx 992cbf9d1d mapeditor changes 2012-07-14 16:20:38 -07:00
BeniS 694a69e1bf Changed/Fixed Text Windows, Text Message, Hotkeys Manager, Game Interface and Quest Log
* Renamed game_textbooks to game_textwindow.
* Fixed text window from opening multiple times, and is destroyed correctly.
* Added new game_playerdeath module (moved death message and window here).
* Hotkey window will hide on game end.
* Logout/Exit/Stackable Items/Questlog/Hotkeys windows will now close on game end.
2012-07-14 22:59:32 +12:00
Eduardo Bart e3298d561c Rework application class and framework
Make otclient's framework flexible enough to run console apps like
servers, so this mean is possible to build otclient versions without
graphical interface and use it's framework to code servers
2012-07-13 22:23:11 -03:00
Eduardo Bart 099716fe03 Merge pull request #38 from BeniS/master 2012-07-13 14:09:37 -07:00
BeniS 810816b4a3 Changes/Fixes to Character List, Hotkey Manager, Exit Window and Text Message.
*Fixed typo in character list string.
* Hotkey text edit will now focus when you select a list item.
* Fix to the exit window layout.
* Added a death window for player deaths.
2012-07-13 20:24:52 +12:00
BeniS 3ebb997c37 Fixed/Changed Minimap and Game Interface Window Issue.
* Changed minimap navigation to hold right click.
* Added MAX_FLOOR_UP and MAX_FLOOR_DOWN for floor changing in the minimap.
* Fixed issues with exit window, logout window and count window to stop multiple instances of the window.
2012-07-13 18:31:05 +12:00
Eduardo Bart 29ab28065b Fix alt tab issue on win32 2012-07-13 00:56:56 -03:00
Eduardo Bart 9bfd2617e9 Fix some lua errors 2012-07-12 22:26:08 -03:00
Eduardo Bart e8abf56b28 Change inventory items order
Update miniwindow buttons image
2012-07-12 22:04:16 -03:00
Eduardo Bart ebc88b8354 Tweak modules interface
Minimize miniwindows space usage
Implement easier minimap navigation
Redesign inventory, minimap and healthinfo layout
2012-07-12 20:40:55 -03:00
Eduardo Bart c0c2411854 Improve minimap 2012-07-12 16:16:23 -03:00
Eduardo Bart 1f6cd33109 Merge pull request #38 from BeniS/otclient 2012-07-12 14:34:39 -03:00
BeniS 935ca87d16 Few minor fixes from previous commit. 2012-07-13 05:29:44 +12:00
BeniS 8850528091 Updated Top Menu, Health Info, Combat Controls, Console (Channels), Game Toggle Buttons, Minimap Layout, Game Interface Prompts, and Creature Draw Info.
* Added new left and right game button panels.
* Relocated main game toggle buttons to the right side of the screen to make it easier to toggle miniwindows.
* Added table.empty(t) function to table lib.
* Renamed module game_healthbar to game_healthinfo.
* Combat controls now save per character (e.g. Fight mode, chase mode, safe fight mode)
* Last channels open now save per character.
* Fixed typo in containers.lua.
* Added logout prompting window message when you logout via the logout button.
* Added exit promting window message when you attempt to exit the client.
* Repositioned some minimap buttons.
* Fixed so when creatures health percent is < 1 it will not draw the creature information.

Known Issues:
* If you move a container widget into the map rect if you move an item onto itself it will allow this to execute still dropping the item on the ground.
* The server is calling to open channels after onGameStart is executed causing it to focus the last tab opened. Fix: Don't save channels to the settings that are opened by the server.
2012-07-13 04:45:22 +12:00
Kamil 8f492f7e06 Fixed bug with adding Vip from console or map, who is already on viplist. 2012-07-12 13:21:51 +02:00
Henrique 9523b5cde5 Changes to last commit. Maybe add FW_LUA, FW_SOUND, etc definitions further 2012-07-12 00:55:18 -03:00
Henrique 962e9c7d16 Allow logger usage on console applications 2012-07-12 00:21:26 -03:00
Kamil de873448b5 Updated. 2012-07-11 05:43:33 -03:00
Kamil 4aeb9edfae Reopen last channels on login. 2012-07-11 05:43:33 -03:00
Eduardo Bart 7666466349 Merge pull request #33 from kilouco/master
Soul Points
2012-07-10 21:08:32 -07:00
kilouco 104785818b Now Soul Points are shown in the bottom of the HealthBar widget. 2012-07-11 00:47:53 -03:00
Eduardo Bart d2bdab42b5 Merge pull request #32 from kilouco/master
Shift-Tab
2012-07-10 19:27:05 -07:00
kilouco aaf3351e87 Fixed so Shift-Tab functionality works properly. 2012-07-10 23:18:33 -03:00
Eduardo Bart d39ca7de10 Restore periodicalEvent function
* and typo fixes
2012-07-10 14:36:18 -03:00
Eduardo Bart 351115d9d9 Fix login error message 2012-07-10 09:32:13 -03:00
Eduardo Bart f044cf2a83 Merge pull request #30 from BeniS/otclient 2012-07-10 08:23:33 -03:00
BeniS 54e061f2f7 Minor fix in the hotkeys from previous commit. 2012-07-11 00:27:29 +12:00
BeniS 82233dc655 Changes/Fixes to Channels/Hotkeys/Inventory Slots.
- Fixed issue with opening multiple instances of the same message channels (will focus the channel if already exists).
- Added tooltip to the 'Clear message window' button.
- Added keyboard Up/Down press for hotkeys.
- Added inventory slots/images.
- Started on adding soul
2012-07-11 00:15:31 +12:00
Eduardo Bart 77648a2ffa Fix compilation using static libs on linux 2012-07-09 20:28:48 -03:00
Eduardo Bart e7691b873b Add error code to onError protocol event 2012-07-09 19:45:34 -03:00
Eduardo Bart 59f75d996e Fix crash when logging without specifing a port or host 2012-07-09 15:06:58 -03:00
Eduardo Bart 2c5fdc88d1 restore music at startup 2012-07-09 14:53:05 -03:00