BeniS
1782de7336
Game control precision edits and many other fixes:
...
* Updated the walking(mouse/keys) control to be a lot more responsive/smooth!
* Updated creature diagonal steps to animate faster (due to demand).
* Added a warning popup for boost walker option in cipsoft servers.
* Added KeyUp event controls in the g_keyboard class.
* Fixed an issue with the minimap not reconfiguring.
* Fixed a bug with creature lights drawing properly.
* Fixed refreshContainer method.
* Some layout edits.
* Some minor typo fixes.
TODO:
* Add walk event stack.
* Test new walking edits extensively.
* Finish pending state feature.
2012-12-30 06:41:14 +13:00
BeniS
034c768994
Compatibility fix to cv981 new speed law.
...
* Also a minor fix to setting client version.
2012-12-29 02:34:36 +13:00
BeniS
44e428bccb
Progress updating to cv981/pv973:
...
* Implemented the new client AND protocol version methods.
* Implemented the new speed laws added in cv980 (http://www.tibia.com/news/?subtopic=newsarchive&id=2251 ).
* Added more missing bytea to login packets (client version/type and some unknown bytes).
* Fixed the InputMessage::getDouble method.
* Cleaned up some of the const values.
* Started on the pending state features.
TODO:
* Pending game state feature.
* Ensure version compatibility hasn't been compromised.
2012-12-29 00:05:45 +13:00
BeniS
619285069c
Started updating to 9.8+ features, not yet finished (unsafe version).
...
Need to finish:
* Pending login state
* New creature speed changes
* Vip state displays
Fixed:
* Creature light
* Missing lua constants
If someone can finish this off that would be good,
I will be busy for a while :)
2012-12-27 02:56:06 +13:00
Eduardo Bart
ec8d50497b
Fix http://otland.net/f494/otclient-error-171679/
2012-12-08 16:14:10 -02:00
Eduardo Bart
7c48a98b67
Minor fixes
...
* Fix auto openning channels with id 0 (guild chats)
* Minor fix in print
* Fix use of items behind creatures with classic control
* Fix teleports of 1sqm
2012-12-08 16:08:54 -02:00
Eduardo Bart
5de031fb8b
Workaround for issue #146
2012-12-03 21:26:58 -02:00
Eduardo Bart
f5b3bfda11
Lights minor fixes
2012-12-03 21:18:39 -02:00
BeniS
dc6d2bb078
8bit color shouldn't be higher than 216, by mistake.
2012-12-03 16:47:21 +13:00
BeniS
617e6b302b
Fix for creature lights.
...
* Will now load the dat values for creature lights (ed if you know a more conventional way for this please let me know).
* No need to draw light for the outfit the creature draw will handle it.
Note: not sure if the from8bit method should limit at 256 or not, but tibia dat contains colors 216+.
2012-12-03 13:17:41 +13:00
Eduardo Bart
6d6f600c44
Fix creatures light
2012-12-01 14:04:10 -02:00
Eduardo Bart
ce6423320e
Add ambient light in graphics options
2012-11-30 14:47:53 -02:00
Eduardo Bart
5fed08b17e
Bind functions for minimum ambient light
2012-11-30 14:31:19 -02:00
Eduardo Bart
f851bb7777
Minor fixes in lights
2012-11-30 09:03:42 -02:00
Eduardo Bart
6e154f6b2c
Lights now are looking really good
...
* Draw lights beneath holes
* Improve light particle
* Light intensityvaries inversely with the square of the distance
* Local player always have a minimum light in complete darkness
* Creature names are behind lights now
2012-11-29 19:38:39 -02:00
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
BeniS
0763b266d5
Some more UI updates and fixes.
...
* Added UICreatureButton class for handling/replacing "battle buttons" (can now be used in other modules).
* Added the ability to use items on creatures via the battle window.
* Some minor cosmetics.
2012-08-26 04:05:33 +12:00
Eduardo Bart
143121b77d
Fix getDisplayHeight
2012-08-25 00:07:43 -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
Eduardo Bart
e25bd7fe54
Fix OpenGL ES compilation
2012-08-23 12:37:26 -03:00
Eduardo Bart
949cfd5d31
update version
2012-08-23 12:22:49 -03:00
Henrique Santiago
a306027cec
Fixed skins path
2012-08-23 04:17:38 -03:00
Eduardo Bart
bdbce01c97
Add uid param to stats module
2012-08-22 22:50:42 -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
Henrique Santiago
05fcf740b4
Stats module
2012-08-22 05:51:31 -03: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
ea4dd2f8e6
Support for compressed textures
2012-08-21 08:09:48 -03:00
Henrique Santiago
2142ee765d
Fix issue #21 , but miniwindows can be a lot smarter
2012-08-21 02:35:20 -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
Eduardo Bart
ddd3f84ad7
Many fixes in win32 platform
2012-08-20 18:53:38 -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
BeniS
1d20cc9e4b
Finalized the mount system and the recently new skills/stats.
...
* Added mount options to the thing menu.
* Reworked the mounting/dismounting.
* Fixed up some skill module bugs.
* Added alerts to stats like health, mana, capacity, and regeneration time (need to revise this one as it currently has no maximum).
2012-08-21 00:28:19 +12:00
Eduardo Bart
f4cc942c85
Fix some graphics issues with old drivers
2012-08-19 22:38:43 -03:00
Eduardo Bart
b349ff2620
Implement reverse otb items table
2012-08-19 18:49:24 -03:00
niczkx
0af783b5cf
Fix OTBM saving
2012-08-19 22:30:49 +00:00
Eduardo Bart
1c69379b8d
Fix compilation with OpenGL ES 2.0
2012-08-19 11:48:09 -03:00
niczkx
6d039ade67
revert last change (better fix)
2012-08-19 17:27:48 +00:00
niczkx
a9fad4751f
Fix segfault on exit
2012-08-19 17:20:20 +00:00
niczkx
1ed95b6120
More work on OTBM/OTB/XML
2012-08-19 15:41:03 +00:00
BeniS
8cd8829048
Some more on new skills/stats.
...
* Fixed updating issue.
* Fixed refreshing issue.
2012-08-19 23:03:44 +12:00
Eduardo Bart
fdffa365b9
Oops
2012-08-19 06:51:16 -03:00
Eduardo Bart
ad0ed2b1a9
Bind spell functions
2012-08-19 06:46:24 -03:00
BeniS
367955615e
Minor fix for recent skill changes.
2012-08-19 20:08:20 +12:00
BeniS
4ce9c921c1
Previous commit and this commit should finish #58
2012-08-19 13:40:04 +12:00
BeniS
d237087718
Added new stats to the skills module, fixed minor market error.
...
* Added Offline Training information.
* Added Regeneration Time information.
* Added Speed information.
* Added base stats/skills information (will show the players increase in a skill e.g. magic level 43 = 40 + 3 bonus from an item).
* Fixed the game feature constants in const.lua.
* Fixed a market error when logging out.
* Added removeTooltip function.
2012-08-19 13:19:43 +12:00
Eduardo Bart
73acc68e50
Fix compilation for ubuntu
2012-08-18 15:53:04 -03:00
Eduardo Bart
31da6dc611
Force usage of boost 1.50.0
2012-08-18 14:53:40 -03:00
Eduardo Bart
5e3882f87a
Add libgit2 library, new mingw32 libraries will be uploaded soon
2012-08-18 14:08:05 -03:00
Eduardo Bart
356368ddae
Restore minimap saving
2012-08-18 07:34:15 -03:00
Henrique Santiago
ab7400c51d
Progress on issues #60 , #24 , #21
2012-08-18 02:04:15 -03:00
Eduardo Bart
0bb991e14e
Fix auto chase override
2012-08-18 00:30:40 -03:00
Eduardo Bart
403ed3c10f
Implement C++ connect()
2012-08-17 23:08:00 -03:00
Eduardo Bart
fdea7f3d66
Basic changes to support multiple charsets in the future
2012-08-17 19:45:56 -03:00
Eduardo Bart
affe641a1f
Add remove function to stdext storages
2012-08-17 18:19:51 -03:00
Henrique Santiago
4d2bd54f6b
Fixed #12 #28 #51 issues
2012-08-17 18:37:11 -03:00
Eduardo Bart
a91b7ed6be
Adjustments in attack/follow algorithm
2012-08-17 14:43:30 -03:00
Eduardo Bart
3c26555255
Fix stackpos bug again
2012-08-14 20:14:14 -03:00
Henrique Santiago
e244e1975d
Format name as a feature, do not connect if dont have dat/spr
2012-08-14 20:58:48 -03:00
Henrique Santiago
4e8afab335
Fix rsa change, messagebox and remove lua variable from c++
2012-08-14 17:37:28 -03:00
Eduardo Bart
150059a561
Improve image clip rects calculation
2012-08-14 03:41:12 -03:00
Henrique Santiago
7fb2f6deb5
Add getIp function, remove unused sql function
2012-08-12 01:54:45 -03:00
Henrique Santiago
8753f82fd0
Change cursor on textedit, remove possibility to close EnterGame window
2012-08-10 16:32:21 -03:00
Eduardo Bart
24b60bec2e
support for protocol 961
2012-08-10 01:01:12 -03:00
Eduardo Bart
608b8f8b44
Fix a warning in clang
2012-08-10 00:48:34 -03:00
Henrique Santiago
47f0d7f3a6
Fix to creature name formatting and scrollarea maximum option
2012-08-09 21:36:52 -03:00
Eduardo Bart
10c564f90e
Fix regression in walk paralyze
2012-08-09 00:51:13 -03:00
Henrique Santiago
b5cb4e2c93
Fix battle filter, fix walk issue, try logout when force exit
2012-08-08 16:49:02 -03:00
Henrique Santiago
56817a8678
Changes to battle windows, removed duplicated translations
2012-08-08 16:17:16 -03:00
Henrique Santiago
16a3dd2b7e
Remove ; and little fix to MiniWindow
2012-08-08 11:24:59 -03:00
niczkx
85b52fbdfd
More work on OTBM saving (now it can save binary map w/o spawns and houses) w00t, the 1000th commit
2012-08-08 08:00:16 -06:00
Eduardo Bart
dfff05e6e2
Update otclient version
2012-08-08 00:19:41 -03:00
Henrique Santiago
93fdd2e326
Fix messagebox width, use boost in stdext net
2012-08-07 23:18:36 -03:00
Henrique Santiago
466d8e8820
Use custom upchar and lochar by default due to accents in font files.
2012-08-07 21:12:36 -03:00
Henrique Santiago
4919bdf1bc
Bind net functions
2012-08-07 14:05:55 -03:00
Henrique Santiago
0e67bd97a5
Moved some talk code to lua
2012-08-07 13:33:17 -03:00
niczkx
6feaeff8cc
Fix NPC/Monster rendering for OTBM
2012-08-07 03:12:44 -06:00
Henrique Santiago
a2db210012
Create stdext net, changes to outfit and exit windows.
2012-08-06 22:11:42 -03:00
Eduardo Bart
54f4e2b801
Fix console error
2012-08-06 20:54:56 -03:00
Eduardo Bart
5232501ecf
Optimize dynamic storage
2012-08-06 20:52:55 -03:00
Henrique Santiago
dcde317904
Fix dragable and npcto/from and remove margintop from entergame.
2012-08-06 20:43:25 -03:00
BeniS
bd61a89675
Some fixes with layouts, NPC trade window, and market.
2012-08-07 11:13:33 +12:00
Henrique Santiago
e6bd3907e1
Background label hide function, Skins fix and combobox hide, messagebox changes, show entergame when reload
2012-08-06 16:15:20 -03:00
Henrique Santiago
0f980ec18b
Internal change to entergame, fix image-offset-y mistake, change the way default font is set in skins.
2012-08-05 18:43:45 -03:00
Henrique Santiago
e78edad4c6
Widget text upper case option, change gimp plugin mode to executable
2012-08-05 15:26:08 -03:00
Henrique Santiago
18c882f1a0
Allow list bindings
2012-08-05 10:56:15 -03:00
niczkx
5abf8622e5
rewrite some parts of otbm saving and uncomment it for testing later
2012-08-05 05:26:27 -06:00
Eduardo Bart
a01534e6a2
Add missing thread header
2012-08-04 13:07:21 -03:00
Eduardo Bart
176e97c3ce
More compile fixes now for ubuntu... grr
2012-08-04 13:01:26 -03:00
Eduardo Bart
521adc308b
Fix broken compilation in mingw32
2012-08-04 12:36:23 -03:00
Henrique Santiago
156ab9b879
More SHA encoding functions and add missing copyright
2012-08-04 11:37:55 -03:00
Henrique Santiago
fb7ab21e71
Move RSA class to Crypt
2012-08-04 10:54:35 -03:00
Eduardo Bart
fa15c25951
Implement support for coroutines in C++
2012-08-04 01:46:04 -03:00
Eduardo Bart
6a68569319
Minor changes
2012-08-03 16:35:39 -03:00
Henrique Santiago
4e0642c814
Removed GMP and added OpenSSL. Rsa class might be moved to Crypto later.
2012-08-03 13:02:01 -03:00