Ahmed Samy
3db8f54aa9
Introduce 2 new functions to g_things
...
- g_things.findItemTypesByName
- g_things.findItemTypesByString
2013-08-29 17:53:21 +00:00
Ahmed Samy
9234030c1b
Zone colors: add more tile flags to be checked for
2013-08-27 15:49:48 +00:00
Ahmed Samy
520baa28ea
Move "getNPC" that was introduced in commit
...
00729bbc2e
from Spawn to CreatureType
I didn't have a closer look at how his code was structured, what he
basically did
is that he set all creatures in a spawn as NPC's even if it's a monster
which is
so erroneous.
Highlights:
- Add branch prediction macros
- Minor code style fixes & some others
Hopefully the branch prediction thing will speed up OTB since it's
awfully slow.
2013-08-27 03:40:18 +02:00
KnopersPL
1f914351bb
Update protocolcodes.cpp
...
Fix for server messages on 850
2013-08-25 12:24:18 +02:00
KnopersPL
eb68504dc1
Update protocolgameparse.cpp
...
Fix the slow animation move effect, some opcodes error and logging in as GM
2013-08-25 12:20:54 +02:00
Ahmed Samy
32647f11bf
Introduce 2 new functions to Map
...
- g_map.colorizeThing
- g_map.removeThingColor
2013-08-24 00:09:56 +02:00
Ahmed Samy
644d4daeea
More cleanups
2013-08-23 02:12:36 +02:00
Ahmed Samy
b27352c321
Merge branch 'master' of https://github.com/BrunoDCC/otclient
...
* 'master' of https://github.com/BrunoDCC/otclient :
Add full npc read (it not cause bug)
Fixed a npcs save Fixed a spawns and npcs load
2013-08-23 02:03:40 +02:00
BrunoDCC
a6be9ae525
Add full npc read (it not cause bug)
2013-08-22 21:00:48 -03:00
Ahmed Samy
5df3ec8cf2
More cleanups
...
Also, bind map descriptions auxiliar functions
2013-08-23 01:55:15 +02:00
BrunoDCC
00729bbc2e
Fixed a npcs save
...
Fixed a spawns and npcs load
2013-08-22 20:54:09 -03:00
Ahmed Samy
3b2d8a2b5e
Fix build
2013-08-22 23:20:44 +02:00
Ahmed Samy
d5298c1011
Cleanups
2013-08-22 21:15:17 +02:00
Allan Ference
aaad8ab8a0
Fix spawn loading and saving, thanks to @BrunoDCC
2013-08-20 12:14:52 +02:00
Allan Ference
efbd9ab693
Attempt to fix spawn loader
2013-08-19 18:57:25 +02:00
Allan Ference
092209c0bb
Attempt to fix houses and spawns save
2013-08-19 10:38:22 +02:00
Allan Ference
05f7f6a4cf
Introduce Item::getName()
2013-08-18 18:29:20 +02:00
Joao Pasqualini Costa
96bb28e806
Fix Mount frame issue
...
This will fix mount for all protocols
2013-08-17 22:19:24 -03:00
Allan Ference
e7137c2535
Rework NPCs loader with g_resources (Untested)
2013-08-17 23:36:44 +02:00
Allan Ference
5eabf6f518
Optional and configurable zone colors
2013-08-17 23:06:58 +02:00
Allan Ference
5849136526
Introduce g_things.findItemTypeByName
2013-08-17 15:09:10 +02:00
Allan Ference
0451fd6b58
OTBM saver: don't escape version check for waypoints
2013-08-15 11:20:22 +02:00
Allan Ference
9cf878335a
Minor changes
...
Mainly code style
2013-08-14 18:58:53 +02:00
Allan Ference
1ea2b380ca
Disregard progressbar
2013-08-09 17:35:56 +02:00
BrunoDCC
4d498ed0d8
Fix OTBM save
...
Remove if(version > 1) { (it causes bug)
2013-08-07 20:04:21 -03:00
Allan Ference
9aa667da26
MapEditor: more changes for ease of use
2013-08-04 14:21:12 +02:00
Allan Ference
e6db43ac3a
MapEditor specific: Use colors for tile states
2013-08-04 14:19:10 +02:00
Mark Samman
4a04a18835
Fix login with 9.83-10.10
...
This only adds protocol compatibility, the features aren't actually
implemented yet
2013-07-28 07:05:46 +02:00
Mark Samman
261642190b
Fix compiling on OS X
2013-07-28 04:30:52 +02:00
BeniS
95abf2a1d2
Fix a bug with autowalking & add prompt param for tryLogout.
...
(We don't want to be prompted when pressing Ctrl + Q or Ctrl + L).
2013-07-07 05:36:56 +12:00
Sam
987c6d6c91
Mount display issue
...
fixes #275
Not really needed but enables some cool stuff
2013-07-02 23:16:11 +02:00
Sam
b81590f297
Fixed Alt + F4 keycombo on Windows
2013-06-29 16:53:15 +02:00
BeniS
e062562888
Added sublime text 2 project file.
...
* Changed the order of the dofiles params.
2013-05-12 21:16:43 +12:00
BeniS
18d23653c4
Added some control params to dofiles lua method.
...
* File name contains string.
* Recursive file checking for deep searches.
2013-05-12 17:00:52 +12:00
Sam
cc12db0d1f
Reverted getTopMultiUseThing() change
2013-04-09 23:54:10 +02:00
Joao Pasqualini Costa
57bb6ff974
Fix #315 by @pacmanis
...
Credits go to @pacmanis
2013-04-09 18:02:43 -03:00
Eduardo Bart
b43a196eac
Minor fixes and add auto resize for images
2013-03-15 21:59:22 -03:00
Joao Pasqualini Costa
6ef3508362
Properly Fix #301
2013-03-14 20:57:02 -03:00
Eduardo Bart
a71e07f063
Restore walk optimization
2013-03-14 00:16:57 -03:00
Eduardo Bart
4bdd1e79fd
Fix compile error for win32
2013-03-13 21:18:17 -03:00
Eduardo Bart
e9e4dcd71b
Improve walk when lagging
2013-03-13 20:55:20 -03:00
Eduardo Bart
0891e2b30a
Add C++ traceback to errors
2013-03-12 01:36:36 -03:00
Eduardo Bart
24664714bd
Fix rare but serious bug in Connection
...
* Implement output pooling for writing data in connection,
this should fix rare cases where sending would fail
2013-03-12 00:18:47 -03:00
Eduardo Bart
64fc4570c9
Try to fix compilation for gcc 4.6 [3]
2013-03-06 15:47:38 -03:00
Eduardo Bart
392acc0b43
Try to fix compilation for gcc 4.6 [2]
2013-03-06 15:40:47 -03:00
Eduardo Bart
69f72b9c86
Try to fix compilation for gcc 4.6
2013-03-06 13:05:46 -03:00
Eduardo Bart
489688e9fb
Merge branch 'sql'
2013-03-06 13:00:21 -03:00
Eduardo Bart
61be2103ed
Fix linkage
2013-03-06 12:54:27 -03:00
BeniS
a7b27ef8dd
Forgot to add MySQLResult lua binding
2013-03-05 20:33:27 +13:00
Eduardo Bart
44bf4dcb6e
Fix ubuntu compile errors
2013-03-05 02:54:08 -03:00