otfallen
baceba74b9
Minor changes
12 years ago
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>
12 years ago
otfallen
1156059af1
Bind missing C++ functions into lua
...
Signed-off-by: otfallen <f.fallen45@gmail.com>
12 years ago
otfallen
68d2347ee5
Fix creatures not being cleared at exit (caused a segfault).
...
Signed-off-by: otfallen <f.fallen45@gmail.com>
12 years ago
otfallen
a40594752d
Fix segfault on exit cause by creatures not being cleared.
12 years ago
otfallen
bfa0844de1
TiXmlElement can already Set integer attribs.
12 years ago
otfallen
b7721f6856
Tiny fix to UICreature
12 years ago
otfallen
eb7a11158a
XML saving and minor fixes + code refactoring.
...
Signed-off-by: otfallen <f.fallen45@gmail.com>
12 years ago
otfallen
d429e385bb
Remove old useless functions.
12 years ago
Henrique Santiago
23097980a3
Fix scrollbar slider move, outfit exact size, charlist focus
12 years ago
Henrique Santiago
18a0d7ab94
Fixes to horizontal scrollarea, improve charlist flexibility
12 years ago
Henrique Santiago
c517f7b745
Add/get table functions implemented on ext charlist
12 years ago
Eduardo Bart
d98f6f7673
New version 0.5.3
12 years ago
Eduardo Bart
79102f2275
Add extended opcode patch for tfs under tools/
12 years ago
Eduardo Bart
91237e82d5
Fix issue #82
12 years ago
Eduardo Bart
9bd983ab51
Fix silly for 963 and improve walk
12 years ago
Eduardo Bart
97e1c9d5a9
Support for protocol 963
12 years ago
Henrique Santiago
0c5479b031
Spinbox changes
12 years ago
niczkx
e5df872600
Move load creatures functions from map and bind them to singleton class g_creatures
12 years ago
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
12 years ago
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.
12 years ago
Eduardo Bart
143121b77d
Fix getDisplayHeight
12 years ago
Eduardo Bart
2525940e49
Fix chamaleon offset
12 years ago
Henrique Santiago
beb04d8d8e
Fix container bug, miniwindow pos, creature skulls outsite map bound
12 years ago
Henrique Santiago
f97fa65d37
Many UI fixes.
12 years ago
Henrique Santiago
0c18e4ff28
Add some extra inventory slots, fixed ext protocol bug
12 years ago
Eduardo Bart
e25bd7fe54
Fix OpenGL ES compilation
12 years ago
Eduardo Bart
949cfd5d31
update version
12 years ago
Henrique Santiago
a306027cec
Fixed skins path
12 years ago
Eduardo Bart
bdbce01c97
Add uid param to stats module
12 years ago
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.
12 years ago
Henrique Santiago
05fcf740b4
Stats module
12 years ago
Eduardo Bart
64d607b59e
Fix issue #77 and improve findPath
12 years ago
Eduardo Bart
3d7e80ea7a
Improve creature attack click
12 years ago
Eduardo Bart
ea4dd2f8e6
Support for compressed textures
12 years ago
Henrique Santiago
2142ee765d
Fix issue #21 , but miniwindows can be a lot smarter
12 years ago
Eduardo Bart
c185e709b3
Fix regressions
12 years ago
Eduardo Bart
66760656e9
Fix rare stackpos bug caused by chameleon rune
12 years ago
Henrique Santiago
b39623d437
UIGameMap allow clicking in black
12 years ago
Eduardo Bart
ddd3f84ad7
Many fixes in win32 platform
12 years ago
Henrique Santiago
d1d8b79edc
Fix issue #73
12 years ago
Henrique Santiago
ac8d6891ca
Polish interface, pt translations
12 years ago
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).
12 years ago
Eduardo Bart
f4cc942c85
Fix some graphics issues with old drivers
12 years ago
Eduardo Bart
b349ff2620
Implement reverse otb items table
12 years ago
niczkx
0af783b5cf
Fix OTBM saving
12 years ago
Eduardo Bart
1c69379b8d
Fix compilation with OpenGL ES 2.0
12 years ago
niczkx
6d039ade67
revert last change (better fix)
12 years ago
niczkx
a9fad4751f
Fix segfault on exit
12 years ago
niczkx
1ed95b6120
More work on OTBM/OTB/XML
12 years ago
BeniS
8cd8829048
Some more on new skills/stats.
...
* Fixed updating issue.
* Fixed refreshing issue.
12 years ago
Eduardo Bart
fdffa365b9
Oops
12 years ago
Eduardo Bart
ad0ed2b1a9
Bind spell functions
12 years ago
BeniS
367955615e
Minor fix for recent skill changes.
12 years ago
BeniS
4ce9c921c1
Previous commit and this commit should finish #58
12 years ago
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.
12 years ago
Eduardo Bart
73acc68e50
Fix compilation for ubuntu
12 years ago
Eduardo Bart
31da6dc611
Force usage of boost 1.50.0
12 years ago
Eduardo Bart
5e3882f87a
Add libgit2 library, new mingw32 libraries will be uploaded soon
12 years ago
Eduardo Bart
356368ddae
Restore minimap saving
12 years ago
Henrique Santiago
ab7400c51d
Progress on issues #60 , #24 , #21
12 years ago
Eduardo Bart
0bb991e14e
Fix auto chase override
12 years ago
Eduardo Bart
403ed3c10f
Implement C++ connect()
12 years ago
Eduardo Bart
fdea7f3d66
Basic changes to support multiple charsets in the future
12 years ago
Eduardo Bart
affe641a1f
Add remove function to stdext storages
12 years ago
Henrique Santiago
4d2bd54f6b
Fixed #12 #28 #51 issues
12 years ago
Eduardo Bart
a91b7ed6be
Adjustments in attack/follow algorithm
12 years ago
Eduardo Bart
3c26555255
Fix stackpos bug again
12 years ago
Henrique Santiago
e244e1975d
Format name as a feature, do not connect if dont have dat/spr
12 years ago
Henrique Santiago
4e8afab335
Fix rsa change, messagebox and remove lua variable from c++
12 years ago
Eduardo Bart
150059a561
Improve image clip rects calculation
12 years ago
Henrique Santiago
7fb2f6deb5
Add getIp function, remove unused sql function
12 years ago
Henrique Santiago
8753f82fd0
Change cursor on textedit, remove possibility to close EnterGame window
12 years ago
Eduardo Bart
24b60bec2e
support for protocol 961
12 years ago
Eduardo Bart
608b8f8b44
Fix a warning in clang
12 years ago
Henrique Santiago
47f0d7f3a6
Fix to creature name formatting and scrollarea maximum option
12 years ago
Eduardo Bart
10c564f90e
Fix regression in walk paralyze
12 years ago
Henrique Santiago
b5cb4e2c93
Fix battle filter, fix walk issue, try logout when force exit
12 years ago
Henrique Santiago
56817a8678
Changes to battle windows, removed duplicated translations
12 years ago
Henrique Santiago
16a3dd2b7e
Remove ; and little fix to MiniWindow
12 years ago
niczkx
85b52fbdfd
More work on OTBM saving (now it can save binary map w/o spawns and houses) w00t, the 1000th commit
12 years ago
Eduardo Bart
dfff05e6e2
Update otclient version
12 years ago
Henrique Santiago
93fdd2e326
Fix messagebox width, use boost in stdext net
12 years ago
Henrique Santiago
466d8e8820
Use custom upchar and lochar by default due to accents in font files.
12 years ago
Henrique Santiago
4919bdf1bc
Bind net functions
12 years ago
Henrique Santiago
0e67bd97a5
Moved some talk code to lua
12 years ago
niczkx
6feaeff8cc
Fix NPC/Monster rendering for OTBM
12 years ago
Henrique Santiago
a2db210012
Create stdext net, changes to outfit and exit windows.
12 years ago
Eduardo Bart
54f4e2b801
Fix console error
12 years ago
Eduardo Bart
5232501ecf
Optimize dynamic storage
12 years ago
Henrique Santiago
dcde317904
Fix dragable and npcto/from and remove margintop from entergame.
12 years ago
BeniS
bd61a89675
Some fixes with layouts, NPC trade window, and market.
12 years ago
Henrique Santiago
e6bd3907e1
Background label hide function, Skins fix and combobox hide, messagebox changes, show entergame when reload
12 years ago
Henrique Santiago
0f980ec18b
Internal change to entergame, fix image-offset-y mistake, change the way default font is set in skins.
12 years ago
Henrique Santiago
e78edad4c6
Widget text upper case option, change gimp plugin mode to executable
12 years ago
Henrique Santiago
18c882f1a0
Allow list bindings
12 years ago
niczkx
5abf8622e5
rewrite some parts of otbm saving and uncomment it for testing later
12 years ago
Eduardo Bart
a01534e6a2
Add missing thread header
12 years ago
Eduardo Bart
176e97c3ce
More compile fixes now for ubuntu... grr
12 years ago
Eduardo Bart
521adc308b
Fix broken compilation in mingw32
12 years ago
Henrique Santiago
156ab9b879
More SHA encoding functions and add missing copyright
12 years ago
Henrique Santiago
fb7ab21e71
Move RSA class to Crypt
12 years ago
Eduardo Bart
fa15c25951
Implement support for coroutines in C++
12 years ago
Eduardo Bart
6a68569319
Minor changes
12 years ago
Henrique Santiago
4e0642c814
Removed GMP and added OpenSSL. Rsa class might be moved to Crypto later.
12 years ago
Eduardo Bart
fa27210d7f
Remove lockWalks from game
12 years ago
Henrique Santiago
d939ade06d
Fix compile issue and miniwindows index
12 years ago
niczkx
092876d0e1
more fixes to compiling with gcc 4.6
12 years ago
Eduardo Bart
7d62763c92
Fix compile issue in gcc 4.6
12 years ago
Eduardo Bart
c218f915ba
Fix possible link issue in OS X
12 years ago
Henrique
4954d5fecb
Some mysql stuff
12 years ago
Eduardo Bart
9e917ece88
Fix glitch caused by grounds with speed 1
12 years ago
Eduardo Bart
ec1d5aa260
Minor changes
...
Update hovered widget when moving widget
Remove lockWalk from g_game.follow()
12 years ago
Eduardo Bart
325b711181
Fix some issues in battle
12 years ago
Eduardo Bart
f397e6319c
Reimplement battle using new events, no more scheduleEvents
12 years ago
Eduardo Bart
06388c5673
Fix compability with some servers fly systems
12 years ago
Eduardo Bart
ea2fa55a25
Fix protocol 860 stackpos regression
12 years ago
Eduardo Bart
11387eb08f
Fix floor change stackpos bug?
12 years ago
Eduardo Bart
a64ebc7e7b
Stop walk animation after changing floors
12 years ago
Eduardo Bart
b9dfc7784c
Fixed push of creatures in 9.6
12 years ago
Eduardo Bart
f103f3ee62
Minor fix in packed_vector
12 years ago
Henrique
7116f6dea1
More sql stuff
12 years ago
Eduardo Bart
ee4f155b92
Minor fix in std::packed_any
12 years ago
Eduardo Bart
57785d2001
More walk changes and creature events
...
Improve walking, no more random cancelWalks
Add 3 new creatures events onAppear/onDisappear/onWalk
Add algorithm that calculates walk ping
Fix paralyze animation while walking
12 years ago
Henrique
8a5195430a
Add SQL extension, still in early stage
12 years ago
Eduardo Bart
c9eaa73df5
Improve clicking on walking creatures
12 years ago
Eduardo Bart
daea7cab65
Check walk collisions in client side
12 years ago
Eduardo Bart
773d58da01
Optimize lua object pushing
12 years ago
Henrique
3b345cf868
Add setXteaKey function
12 years ago
BeniS
cadf07974a
Fix to market module reloading, Changed the walk lock period when colliding with a block path object.
12 years ago
Eduardo Bart
103daa63e3
Fix compile issues with clang
12 years ago
Henrique
4f0e00fdfa
Change to RSA decrypt function
12 years ago
Eduardo Bart
3bac3dcbb4
Rework stdext classes
...
Implement new classes:
* stdext::any => ligher replacement for boost::any
* stdext::packed_any => like any but optimized to use less memory
* stdext::shared_object => ligher replacement for std::shared_ptr
* stdext::shared_object_ptr => replacement for boost::intrusive_ptr
* stdext::fast_storage => for storing dynamic data
* stdext::packed_storage => same but with less memory
* stdext::packed_vector => std::vector with less memory
Compiling should be a little faster now because global boost including
is not needed anymore
12 years ago
Eduardo Bart
1dc7dc0cfc
Fix tile skipping in 9.6
12 years ago
Henrique
3c1a5f24e8
Fix to protocolgame
12 years ago
Eduardo Bart
614d1544c0
Fix market reload and a crash when exiting
12 years ago
Eduardo Bart
bca1af8f11
Add warning when trying to use invalid LuaObject class
12 years ago
Eduardo Bart
f4641333f4
Fix a rare drag/drop issue
12 years ago
Eduardo Bart
90312965bc
Avoid spr loading freeze when logging
12 years ago
Eduardo Bart
49a8c750f9
Fix opened channels saving
12 years ago
Eduardo Bart
fbb3c9933a
Fix audio stopping on buffer underruns
12 years ago
Eduardo Bart
c879ed8642
Prevent a protocol warning caused by a server side bug
12 years ago
Eduardo Bart
a1fb373b1b
Revert protocol bug added in lasts commit
12 years ago
Eduardo Bart
3db0ae06a7
Add swedish language
12 years ago
niczkx
e316c0b5cd
Merge both getString functions in binarytree
12 years ago
Henrique
12e6602925
Bind connection and fix protocol recv without xtea
12 years ago
Henrique
c969f5209f
Some changes to server compatibility
12 years ago
niczkx
4c369bc823
fix compiling on gcc 4.6 (too early to use 4.7.1...)
12 years ago
Mark Samman
39db801f93
Fixed 9.6 otb loading
12 years ago
Eduardo Bart
03b8241bbc
Rename stdext::shared_object_ptr to compile in gcc 4.6
12 years ago
Eduardo Bart
8e437e27c7
Fix walk interval calculation
12 years ago
Eduardo Bart
59b6abfa09
Implement message modes for 9.6
...
Fix possible crash when closing otclient
Fix private messages
Fix messages in 9.6
12 years ago
Eduardo Bart
52f81c53f9
More fixes for 9.6
...
And add ping bindings :D
12 years ago
Eduardo Bart
05436e135a
Fix some bugs
12 years ago
Eduardo Bart
1e2d20d289
Fix typos
12 years ago
Eduardo Bart
487dafb8c0
Fix compile issue in mingw32
12 years ago
Eduardo Bart
e2efbcffbe
Fix crash in clang while casting enums
12 years ago
Eduardo Bart
68ebcb559f
Fixes for compiling with clang
12 years ago
Eduardo Bart
73769c62e4
Just some refactoring
12 years ago
Eduardo Bart
29a4d467af
Optimize map tile storage
...
Tiles are stored in blocks of 32x32 now, improving tile allocation and access speed
12 years ago
Eduardo Bart
e0431021b5
Huge engine change, replace all std::shared_ptrs
...
Create a new shared pointer type stdext::shared_object_ptr and stdext::shared_obj
using boost::intrusive_ptr
Advantages:
* half memory usage
* faster and lightweight
Disadvantages:
* using weak_ptr is not supported anymore
* compiling seems slower
12 years ago
Eduardo Bart
3ca6494343
Remove unused func
12 years ago
Eduardo Bart
17dd08d983
More compatibility with OS X in CMake
...
Optimize Tile
12 years ago
Eduardo Bart
497902736c
Enable widget debugging
12 years ago
Eduardo Bart
4566472662
Allow to use more than 2GB of memory on win32
12 years ago
Eduardo Bart
d85dd3e20f
Normalize source code
...
Add .gitattributes
Remove trailing whitespaces
12 years ago
niczkx
a240429cb8
Fix possible gcc optimizations to binary reading
12 years ago
niczkx
26e20da938
Fixes to creatures
12 years ago
Eduardo Bart
a88e9f9e0f
Avoid crashs of invalid item ids in otb files
12 years ago
Eduardo Bart
564463fa01
Minimize talk messages spam on screen
12 years ago
Eduardo Bart
d2b85bdba8
More modules fixes
12 years ago
Eduardo Bart
5f1e58c138
Fix sending os type, bind some functions
12 years ago
Eduardo Bart
f5c97c8e8b
Remove protocol config from cmake
12 years ago
Eduardo Bart
9ad9d88e10
Fix npc trade and npc chat
12 years ago
Eduardo Bart
0a49f58e50
Fix crash when InputMessage is too large
12 years ago
Eduardo Bart
619305cc6d
Fix creatures with item outfits
12 years ago
Eduardo Bart
0eb7c166c0
Fix console blue messages
12 years ago
Eduardo Bart
657640c270
Mounts
...
Show creature mounts
Fix outfit window
Fix some 9.6 protocol issues
12 years ago
Eduardo Bart
36c029fc69
Multiprotocol 8.1-9.6 finally working
...
Still have many minor issues, tests are needed
No recompilation needed anymore
9.60 messages is not fully implemented
12 years ago
Eduardo Bart
98c279c10b
Fix a stackpos bug in 9.6
12 years ago
Eduardo Bart
c795eb91ab
More multiprotocol support
12 years ago
Eduardo Bart
c54cd1fdf1
Use new coding style in game modules
...
Lots of refactoring and changes
Remove docs folder
12 years ago
Eduardo Bart
1c3e630237
Improve modules and sandbox system
12 years ago
Eduardo Bart
61d64c7417
Support for OTML inline sequences
12 years ago
BeniS
19dd96fd02
Market item filtering improvements and other some minor improvements
...
* Can now filter market items by vocation, level, slot type, and depot items.
* Added new bitwise lib for handling flag operations.
* Can now get/set local player vocation/premium (TODO: spell list).
12 years ago
Eduardo Bart
c9dce51458
Update otml and casts
...
Improve casts performance
OTML can now understand value escaped sequences
Use long instead of int for lua integer
12 years ago
Eduardo Bart
253a22db3d
Bind Creature::getDirection
12 years ago
niczkx
3461761739
comment out & remove untested stuff
12 years ago
niczkx
8a49d09b75
stop using pairs instead of index loops, please, it's so much slower
12 years ago
BeniS
483487ab09
More work on Market functionality and UI
...
* Now loads all market items.
* Can filter market items.
* Will load market offers on items.
* Edited some UI images.
12 years ago
Eduardo Bart
49f4c1c94b
Fix market tradeAs/showAs reading
12 years ago
Eduardo Bart
a11d6e501e
More refactoring and some changes
...
* Move protocol safeSend() to send()
* Bind some new functions
* Refactor lots of enums
12 years ago
Eduardo Bart
a6d53532d2
Rename ThingType classes
12 years ago
BeniS
6293a49f8f
More on Market (far from done), Minor Fixes, Edited Outfits Module, Some Cosmetics.
...
* Started building the market UI.
* More work on the market functionality.
* Fixes to the market protocol. (Known issue: if I use safeSend method from Market (like so: MarketProtocol.send~) is thinks it is a bot).
* Fixes to the market offer class.
* Outfit window will no longer display the mount box if you are using protocol < 870.
* Added getFeature to playermount module.
* Added isMarketable and getMarketData to the lua binding.
* Added lua casts for MarketData.
* Fixed typo in the module manager.
* Added new 'light flat panel' for more variation (can change later) will require some graphics for market.
* Added new functions to table lib.
* Fixed some styling issues from previous commits.
12 years ago
niczkx
9dc88de6b0
missed something in last commit
12 years ago
niczkx
f74b013da2
ignore this
12 years ago
Eduardo Bart
f289db3a9e
Module sandboxing system
...
Sandboxing makes module scripts run inside an isolated lua environments,
making more easier and secure to script
Move and rework TextMessage using the new sandbox system
12 years ago
Eduardo Bart
e2921c6407
Optimize map view zoomout performance
12 years ago
niczkx
aef3a5b8db
more work on xml stuff (prolly done for today)
12 years ago
niczkx
5015ced156
update houses/monsters/items xml readers
12 years ago