Commit Graph

1297 Commits

Author SHA1 Message Date
Eduardo Bart d7a45311ed Fix issue #145, #29 and #39 2012-11-29 00:52:10 -02:00
Eduardo Bart 81068f820d Implement lights, thanks @Tarjei400
Now otclient have lights! This code was originally made
by @Tarjei400, I have improved it and merged into otclient
master. Many thanks for tarjei for the contribution.

Warning, this still experimental, fixes may come in the next days.
2012-11-28 23:47:36 -02:00
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 8bb115d6d4 Fix issue #134 2012-10-24 18:03:15 -02:00
Eduardo Bart c7890e7a49 Fix issue #124 2012-10-23 18:16:14 -02:00
Eduardo Bart a6424f3022 Fix issue #118 2012-10-23 17:32:04 -02:00
Eduardo Bart 5f72488eba Fix issue #121 2012-10-23 17:09:39 -02:00
Eduardo Bart 6acdb0fd64 Fix issue #132 2012-10-23 16:00:12 -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
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 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 9650179ae8 More Mac OS X progress.
Tested-by: Christopher Eklund <eklundchristopher@gmail.com>
Signed-off-by: otfallen <f.fallen45@gmail.com>
Signed-off-by: Christopher Eklund <eklundchristopher@gmail.com>
2012-09-29 23:08:10 +00:00
otfallen f0e85e21b3 Mac OS X port progress
Tested-by: Christopher Eklund <eklundchristopher@gmail.com>
Signed-off-by: otfallen <f.fallen45@gmail.com>
Signed-off-by: Christopher Eklund <eklundchristopher@gmail.com>
2012-09-29 22:57:14 +00:00
otfallen 3b7ad41740 Spare a call yeye 2012-09-29 16:48:01 +00:00
otfallen e1900bdf9a binarytree: type fix 2012-09-28 07:24:49 +00: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
Henrique Santiago c517f7b745 Add/get table functions implemented on ext charlist 2012-08-30 02:59:27 -03:00
Eduardo Bart d98f6f7673 New version 0.5.3 2012-08-29 19:09:32 -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