LordHepipud
aa84ee4362
Fix 7.70 RSA / XTEA encryption
...
RSA / XTEA encryption was implemented with Client 7.70
~~~~Lord Hepipud~~~~
11 years ago
Henrique Santiago
1e17919a26
Use of createTable on containers
11 years ago
Ahmed Samy
df3546b073
lua: now we have a function to static allocate an array
...
lua_newtable() definition:
#define lua_newtable(L) lua_createtable(L, 0, 0)
This simply allocates space for 0 fields, meaning, if we push any
values into this array, it will re-allocate the array, which is bad.
This function statically allocates an array, so it's ready to have
X fields into it.
Performance tests:
lua_newtable
1428161
1426992
1413513
lua_createtable
2004544
1974117
1957533
These tests were done on an AMD 8350fx CPU, single thread used.
narr: This is for fields that just have an index, e.g. arr[0] etc.
nrec: For fields which needs like arr.a, arr.b etc.
This is how many times each of the functions can run per second, as
you can see about 1.7x the calls to lua_newtable.
All credits goes to @dalkon, he was too lazy to do it by himself, and
asked me to do it for him.
11 years ago
Ahmed Samy
24e26e190b
Also unbind g_minimap.updateTile
11 years ago
Ahmed Samy
ad7cda534d
Fix minimap tile update for item removal
11 years ago
Sam
863bece70b
VC12 fixes by @dalkon
11 years ago
Ahmed Samy
22f97aa00b
More binds to lua
11 years ago
Ahmed Samy
e32607b05c
Tiny fixes
11 years ago
Ahmed Samy
1790eee1c6
Add selection to tile
11 years ago
Ahmed Samy
ec2518525a
Add more tile flags to be checked for
11 years ago
Ahmed Samy
eb4fb4ff41
Animations are now optional
...
The default behaviour is still there though.
11 years ago
Ahmed Samy
4f997a3826
Only request tile cache to be updated once for both x & y
11 years ago
Ahmed Samy
c54015a60d
Fixup movePixels a little bit
...
Thanks to @dalkon for dis.
11 years ago
Ahmed Samy
57c432d3ea
Increase maximum move offset to be 64 instead of 32
11 years ago
Ahmed Samy
bd8c883e13
Take out debug message
11 years ago
Ahmed Samy
b5c3b37b3c
Tiny fix for movePixels
11 years ago
Ahmed Samy
ece6507df2
Bind g_minimap.updateTile to lua
...
This is needed to update tile removals from minimap widget.
11 years ago
Ahmed Samy
04515ffbb8
Fix map move pixels function
...
Thanks to @dalkon for this.
11 years ago
Ahmed Samy
ed24a0735a
Bind {un,}lockVisibleFloor to lua
11 years ago
Ahmed Samy
2498129ff3
mapio: don't add saved with line in description
11 years ago
Ahmed Samy
066638e7c0
mapio: don't add description twice
11 years ago
Ahmed Samy
95610de5f3
bind set{Width,Height} of g_map to lua
11 years ago
Ahmed Samy
9154c0a678
mapio: fix load on new maps
11 years ago
Ahmed Samy
772ec208c0
don't throw error on fail
11 years ago
Eduardo Bart
7914832be9
Update readme
11 years ago
Sam
99500c9c91
Protocol 8.40-.42 fixes, closes #272
11 years ago
Ahmed Samy
b9b9a32b83
Spawns: add function to find a spawn to place a creature on
11 years ago
Sam
f615b80fbc
Navigation for large tab amounts, closes #211
11 years ago
Henrique Santiago
319f32cdaa
Merge pull request #387 from conde2/master
...
Fix compilation under MSVC
11 years ago
conde2
ba091c9f5b
Indentation
11 years ago
conde2
3288711d16
Mistake
11 years ago
conde2
8b0509a5c3
Try to fix compilation
11 years ago
conde2
d7612e9304
Little mistake
11 years ago
conde2
4dcb30110f
Use of clamp
11 years ago
conde2
7ff73d1064
Fix indentation
11 years ago
conde2
ca2fe9cf45
Fix compilation under MSVC
...
Use template for std::min and std::max
11 years ago
Sam
b61f509755
Checkboxes fix
11 years ago
Sam
ec012cb137
Fix 7.6 protocol issue / Typo
11 years ago
Sam
69ae324676
Tiny setPVPMode fix
11 years ago
Sam
4d656f8bd1
New pvp modes to combat controls
11 years ago
Sam
c98439ae65
onOutfitChange fix
11 years ago
Sam
4f9f04206d
Added enter / escape button to minimap flag window
11 years ago
Sam
fc54a6e418
Full modal dialog functionality
11 years ago
Ahmed Samy
25d3019d1a
force use of template version of std::min/max
11 years ago
Ahmed Samy
1711d8bdaf
Revert "replace all std::min/std::max with just min/max"
...
This reverts commit 28d967ccce
.
11 years ago
Ahmed Samy
28d967ccce
replace all std::min/std::max with just min/max
...
This errors out in MSVC since the inclusion of winsock2.h, CL uses the
macro not the template version.
11 years ago
Ahmed Samy
f02d5e7975
Merge https://github.com/BrunoDCC/otclient
...
# By BrunoDCC
# Via BrunoDCC
* https://github.com/BrunoDCC/otclient :
Fix houses and monsters
11 years ago
BrunoDCC
4bfe9b640e
Fix houses and monsters
11 years ago
Eduardo Bart
ab1cc8c890
Update download links
11 years ago
Eduardo Bart
d657a0482a
Add download links to README
11 years ago