Commit Graph

717 Commits

Author SHA1 Message Date
Samuel eb979ef7cd Modal Dialogs / Support for 9.70
OTC now supports showing and answering modal dialogs.

addDialog(modaldialog, dialogId, cid, callback)

TODO:
-find out what the "popup" value does.. (Maybe someone knows)
2012-11-27 14:48:48 +01:00
Eduardo Bart d4370e7c5d Fix issue #127 2012-10-24 18:51:57 -02:00
Eduardo Bart c7890e7a49 Fix issue #124 2012-10-23 18:16:14 -02:00
Eduardo Bart 5f72488eba Fix issue #121 2012-10-23 17:09:39 -02:00
Samuel 3990ee76e7 Minimap Icons
Now server can call:
doPlayerAddMapMark(cid, pos, icon, description)
and it will be parsed.

TODO:
Adding map icons by rightclick on minimap menu.
Removing icons.

Needs to be tested when switching between different versions.
2012-10-11 17:36:00 +02:00
otfallen f26b359ae5 The smallest change of 2012 2012-10-08 01:04:14 +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
otfallen ced5c035b9 optimize otb/xml a bit.
m_itemTypes was being resized too much than expected so is allocin
new itemtype each time it was not being found (which is fake).

otb loader is slow, not sure if it's because of the binary reader
or just the file format is stupid
2012-10-05 20:31:05 +00:00
Eduardo Bart 526885f70d Fix issue #14 2012-10-05 15:17:10 -03:00
Eduardo Bart 58d3a2ec72 Fix issue #99 2012-10-04 19:58:22 -03:00
Eduardo Bart 7b38e44382 Fix issue #105 2012-10-04 19:44:48 -03:00
Eduardo Bart 68f9af376f Fix issue #103 2012-10-04 19:18:48 -03:00
Eduardo Bart 393f8c7a9b Fix glitch in battle when creatures walk 2012-10-04 18:42:10 -03:00
Eduardo Bart 31efe0a82d Fix crash when closing otclient in debug mode 2012-10-03 12:49:57 -03:00
otfallen 3902490d6b Minor changes 2012-09-24 13:59:23 +00:00
otfallen 4d6057ffbe Yet another set of fixes 2012-09-24 12:11:01 +00:00
otfallen 7f6b204ded tiny perf fix 2012-09-23 01:19:12 +00:00
Eduardo Bart 8f9d7593d6 Merge map branch 2012-09-20 18:45:43 -03:00
otfallen fe3a751ffa Fixes to creatures 2012-09-20 23:23:10 +00:00
otfallen baceba74b9 Minor changes 2012-09-19 07:13:45 +00:00
otfallen 4d0725e876 Fix creature outfit
typeex wasn't being treated right; the outfit category was supposed
to be an itemid and the aux id should be set to the item id of the
outfit.

Signed-off-by: otfallen <f.fallen45@gmail.com>
2012-09-18 09:14:55 +00:00
otfallen 1156059af1 Bind missing C++ functions into lua
Signed-off-by: otfallen <f.fallen45@gmail.com>
2012-09-18 05:23:31 +00:00
otfallen 68d2347ee5 Fix creatures not being cleared at exit (caused a segfault).
Signed-off-by: otfallen <f.fallen45@gmail.com>
2012-09-17 02:29:54 +00:00
otfallen a40594752d Fix segfault on exit cause by creatures not being cleared. 2012-09-17 02:15:46 +00:00
otfallen bfa0844de1 TiXmlElement can already Set integer attribs. 2012-09-15 05:05:45 +00:00
otfallen b7721f6856 Tiny fix to UICreature 2012-09-15 05:00:56 +00:00
otfallen eb7a11158a XML saving and minor fixes + code refactoring.
Signed-off-by: otfallen <f.fallen45@gmail.com>
2012-09-14 21:39:10 +00:00
otfallen d429e385bb Remove old useless functions. 2012-09-02 19:31:50 +00: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
Eduardo Bart 79102f2275 Add extended opcode patch for tfs under tools/ 2012-08-29 16:29:18 -03:00
Eduardo Bart 91237e82d5 Fix issue #82 2012-08-29 12:43:50 -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 0c5479b031 Spinbox changes 2012-08-27 18:56:05 -03:00
niczkx e5df872600 Move load creatures functions from map and bind them to singleton class g_creatures 2012-08-26 18:44:46 +00: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
Eduardo Bart 2525940e49 Fix chamaleon offset 2012-08-24 20:06:45 -03:00
Henrique Santiago beb04d8d8e Fix container bug, miniwindow pos, creature skulls outsite map bound 2012-08-24 19:59:46 -03:00
Henrique Santiago f97fa65d37 Many UI fixes. 2012-08-24 05:18:15 -03:00
Henrique Santiago 0c18e4ff28 Add some extra inventory slots, fixed ext protocol bug 2012-08-23 20:29:05 -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 64d607b59e Fix issue #77 and improve findPath 2012-08-21 23:10:56 -03:00
Eduardo Bart 3d7e80ea7a Improve creature attack click 2012-08-21 21:27:57 -03:00
Eduardo Bart c185e709b3 Fix regressions 2012-08-21 00:36:14 -03:00
Eduardo Bart 66760656e9 Fix rare stackpos bug caused by chameleon rune 2012-08-20 22:02:55 -03:00
Henrique Santiago b39623d437 UIGameMap allow clicking in black 2012-08-20 22:03:30 -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