Eduardo Bart
3db0ae06a7
Add swedish language
2012-07-30 20:52:31 -03:00
niczkx
4c369bc823
fix compiling on gcc 4.6 (too early to use 4.7.1...)
2012-07-30 18:52:30 -06:00
Mark Samman
39db801f93
Fixed 9.6 otb loading
2012-07-30 18:38:23 +02:00
Eduardo Bart
03b8241bbc
Rename stdext::shared_object_ptr to compile in gcc 4.6
2012-07-30 12:08:21 -03:00
Eduardo Bart
8e437e27c7
Fix walk interval calculation
2012-07-30 11:03:58 -03:00
Eduardo Bart
59b6abfa09
Implement message modes for 9.6
...
Fix possible crash when closing otclient
Fix private messages
Fix messages in 9.6
2012-07-30 09:33:52 -03:00
Eduardo Bart
52f81c53f9
More fixes for 9.6
...
And add ping bindings :D
2012-07-30 07:59:08 -03:00
Eduardo Bart
05436e135a
Fix some bugs
2012-07-30 05:51:03 -03:00
Eduardo Bart
68ebcb559f
Fixes for compiling with clang
2012-07-29 09:04:47 -03:00
Eduardo Bart
73769c62e4
Just some refactoring
2012-07-29 07:32:54 -03:00
Eduardo Bart
29a4d467af
Optimize map tile storage
...
Tiles are stored in blocks of 32x32 now, improving tile allocation and access speed
2012-07-29 03:23:27 -03:00
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
2012-07-29 00:34:40 -03:00
Eduardo Bart
3ca6494343
Remove unused func
2012-07-28 20:45:16 -03:00
Eduardo Bart
17dd08d983
More compatibility with OS X in CMake
...
Optimize Tile
2012-07-28 16:04:40 -03:00
Eduardo Bart
d85dd3e20f
Normalize source code
...
Add .gitattributes
Remove trailing whitespaces
2012-07-28 02:07:57 -03:00
niczkx
a240429cb8
Fix possible gcc optimizations to binary reading
2012-07-28 02:54:25 -06:00
niczkx
26e20da938
Fixes to creatures
2012-07-28 02:06:16 -06:00
Eduardo Bart
a88e9f9e0f
Avoid crashs of invalid item ids in otb files
2012-07-27 18:25:41 -03:00
Eduardo Bart
564463fa01
Minimize talk messages spam on screen
2012-07-26 19:56:46 -03:00
Eduardo Bart
5f1e58c138
Fix sending os type, bind some functions
2012-07-26 13:41:13 -03:00
Eduardo Bart
f5c97c8e8b
Remove protocol config from cmake
2012-07-26 12:58:35 -03:00
Eduardo Bart
9ad9d88e10
Fix npc trade and npc chat
2012-07-26 12:42:15 -03:00
Eduardo Bart
619305cc6d
Fix creatures with item outfits
2012-07-26 10:48:35 -03:00
Eduardo Bart
0eb7c166c0
Fix console blue messages
2012-07-26 09:19:30 -03:00
Eduardo Bart
657640c270
Mounts
...
Show creature mounts
Fix outfit window
Fix some 9.6 protocol issues
2012-07-26 09:19:30 -03:00
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
2012-07-26 06:12:20 -03:00
Eduardo Bart
98c279c10b
Fix a stackpos bug in 9.6
2012-07-26 03:19:22 -03:00
Eduardo Bart
c795eb91ab
More multiprotocol support
2012-07-26 03:10:28 -03:00
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).
2012-07-24 03:11:53 +12:00
Eduardo Bart
253a22db3d
Bind Creature::getDirection
2012-07-22 19:29:21 -03:00
niczkx
3461761739
comment out & remove untested stuff
2012-07-20 21:18:03 +02:00
niczkx
8a49d09b75
stop using pairs instead of index loops, please, it's so much slower
2012-07-20 20:56:08 +02:00
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.
2012-07-21 06:20:06 +12:00
Eduardo Bart
49f4c1c94b
Fix market tradeAs/showAs reading
2012-07-20 03:32:17 -03:00
Eduardo Bart
a11d6e501e
More refactoring and some changes
...
* Move protocol safeSend() to send()
* Bind some new functions
* Refactor lots of enums
2012-07-20 02:52:57 -03:00
Eduardo Bart
a6d53532d2
Rename ThingType classes
2012-07-19 22:25:55 -03:00
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.
2012-07-20 06:54:24 +12:00
niczkx
9dc88de6b0
missed something in last commit
2012-07-19 17:28:40 +02:00
niczkx
f74b013da2
ignore this
2012-07-19 15:55:10 +02:00
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
2012-07-19 06:15:23 -03:00
Eduardo Bart
e2921c6407
Optimize map view zoomout performance
2012-07-19 03:36:04 -03:00
niczkx
aef3a5b8db
more work on xml stuff (prolly done for today)
2012-07-18 16:36:46 +02:00
niczkx
5015ced156
update houses/monsters/items xml readers
2012-07-18 13:46:58 +02:00
Eduardo Bart
b0e6b3b8fb
Update item OTBM attributes reader
...
* Fix some lua errors generated by playMusic
* Fix possible crash when starting otcliet without dat loaded
2012-07-18 05:34:17 -03:00
Eduardo Bart
cf9f57736f
More multiprotocol progress
2012-07-18 03:04:57 -03:00
niczkx
c8d1d5ecf2
rewrite xml stuff #2 - will be testing the monsters xml code soon
2012-07-18 02:58:28 -03:00
Eduardo Bart
cb1848d48d
Fix error in start/stop music
2012-07-17 22:22:21 -03:00
Eduardo Bart
eb24d6776e
Multi-protocol
...
Lots of chagnes to add multi protocol flexibility, not really
completed yet, still have to rework text messages opcodes and other stuff,
so this still a working in progress feature
* Rework dat reader, the dat reader can now
* dinamically detect dat version
* Split game into gamelib and game_interface
* Lots of other minor changes
2012-07-17 20:53:19 -03:00
BeniS
6fc11d2fa9
Forgot to make private functions local.
2012-07-18 11:31:32 +12:00
niczkx
28825a3298
lalala
2012-07-18 00:03:46 +02:00