Commit Graph

457 Commits

Author SHA1 Message Date
Salja
c33f62d424 Merge branch 'master' of git@github.com:ElunaLuaEngine/Eluna.git into dev 2014-12-21 07:40:02 +01:00
Foereaper
a7a8885c0f Missing indent from previous commit
Derp
2014-12-21 07:21:33 +01:00
Salja
a79d456872 Merge branch 'master' into dev 2014-12-21 07:00:03 +01:00
Foereaper
20eeccf815 Added requested movement method
Todo: Implement TC equivalent

Part of #80
2014-12-21 06:08:46 +01:00
Foereaper
d6b65cdf4c Added Item method documentation 2014-12-21 02:13:33 +01:00
Foereaper
6d0c50977f Added Guild method documentation
Todo: Move a couple methods to player methods
2014-12-21 01:24:43 +01:00
Patman64
b281fe052e Merge branch 'dev' of github.com:ElunaLuaEngine/Eluna into dev 2014-12-20 18:08:48 -05:00
Rochet2
cbd35438a3 Fix messing up optional args and a warning 2014-12-20 18:24:55 +02:00
Rochet2
dcd0a0e89c Fix linux build and warnings 2014-12-20 18:24:54 +02:00
Rochet2
78d18e8fee Fix previous commits to be more efficient overall and have better logic. Also try fix clang error. 2014-12-20 18:24:53 +02:00
Rochet2
631e220b31 Eluna changes
* Attempt fix VS 2010 pow error
* Tweak the doc parser a little to work with variable arugments ... and show
enum names and similar.
* Change push and check to work with more types like size and time (fix osx)
* Add errors to using not implemented operations on eluna objects
* Change some SQL comments to work with documentation better
* Add functions to create uint64 and int64 values (may need rename)
* Change doc generation documentation a little to make it clearer how proto is used
2014-12-20 18:24:53 +02:00
Rochet2
809a0ac2bc Fixes #130 2014-12-20 18:15:59 +02:00
Rochet2
517685f65d Fix messing up optional args and a warning 2014-12-19 17:48:15 +02:00
Rochet2
5e27ac24aa Fix linux build and warnings 2014-12-19 15:16:02 +02:00
Rochet2
88dcea9cb7 Fix previous commits to be more efficient overall and have better logic. Also try fix clang error. 2014-12-19 14:19:00 +02:00
Rochet2
2c694bb4d4 Eluna changes
* Attempt fix VS 2010 pow error
* Tweak the doc parser a little to work with variable arugments ... and show
enum names and similar.
* Change push and check to work with more types like size and time (fix osx)
* Add errors to using not implemented operations on eluna objects
* Change some SQL comments to work with documentation better
* Add functions to create uint64 and int64 values (may need rename)
* Change doc generation documentation a little to make it clearer how proto is used
2014-12-19 13:02:44 +02:00
Patman64
ed8edf065c Fix bug in previous commit that caused temporary bindings to die early.
Instead of decrementing all their counters every time an event occurs,
only the counters of the bindings being executed will be decremented.

`_LuaTemporariesDied` is a small optimization to prevent unnecessary calls
to `UpdateTemporaryBindings`. It will only be called when a temporary
binding has run out of shots and needs to be cleaned up.
2014-12-19 00:46:50 -05:00
Patman64
7364facff6 Merge branch 'master' of github.com:ElunaLuaEngine/Eluna 2014-12-18 22:12:06 -05:00
Patman64
8c40dd1692 Allow temporary event handlers for all events.
This allows you to register a handler to only fire N times.

Dynamic event handler binding/unbinding is now possible.

For backwards compatibility, if the number of shots is missing, the event
handler will never be removed from the event.
2014-12-18 22:09:34 -05:00
Rochet2
53ef010c3d Fix shady comment 2014-12-18 19:22:14 +02:00
Rochet2
130735de43 Fix DurabilityRepairAll default value 2014-12-18 19:19:34 +02:00
Rochet2
f819245308 Eluna Fix Print functions 2014-12-16 01:54:12 +02:00
Rochet2
662babc806 Eluna Fix checking of objects with varying types 2014-12-16 01:21:42 +02:00
Rochet2
cb7f9d5145 Eluna add int64 datatype, rename functions for osx, enhance object checking code 2014-12-15 23:29:49 +02:00
Rochet2
7671054425 Eluna fix TC errors from previous commits, fix merge and fix a crash on osx 2014-12-15 23:25:09 +02:00
Rochet2
525e108b83 Implement log print functions 2014-12-15 23:25:08 +02:00
Rochet2
e683f48fbb Expose time diff functions 2014-12-15 23:25:08 +02:00
Rochet2
24f4415eb9 Update definition for cmangos & mangos changes TEAM_NEUTRAL => TEAM_INDEX_NEUTRAL
Temporary branch for mangoszero & cmangos changes until new changes are complete.
2014-12-15 23:17:26 +02:00
Rochet2
a068a33bed Fix GetTargetDest
Deleting function cache. It is causing problems with few functions and there is not much use for it, especially with our current setup.
2014-12-15 16:58:06 +02:00
Patman64
3ff4c5f26e Allow multiple callbacks for the same entry/event combo.
The callbacks will be called in reverse-order of registration.
2014-12-15 02:16:37 -05:00
Patman64
967a8045eb Fix calling Eluna functions from coroutines.
Fixes #126.
2014-12-15 00:33:46 -05:00
Patman64
3f08b37fd0 Make ReactorAI the default AI on mangos and allow overriding.
All AI event handlers (except OnReset) can now override the default AI
behavior on both mangos and Trinity by returning true.

For default behavior, return false or nothing.

Fixes #124.
2014-12-14 23:24:41 -05:00
Rochet2
28788e0efe Eluna fix aura update for (c)mangos tbc and classic 2014-12-01 21:31:34 +02:00
Rochet2
7f496959f5 Eluna fix (c)mangos build for mthread changes 2014-12-01 19:56:44 +02:00
Rochet2
19f3dc297a Eluna fix visual updates for aura methods for (c)mangos 2014-12-01 17:34:14 +02:00
Rochet2
6268216a64 Eluna implement changes from new_mthread to master ~ Does not add multithread support 2014-11-30 01:37:45 +02:00
Rochet2
a7f4954fbe Eluna implement functions from #121, implement hidden file ignoring closes #122, enhance documentation in places, change requiring some now only allowing unique filenames 2014-11-22 17:16:41 +02:00
Rochet2
93982a16c1 Correct error messages to be clearer 2014-11-10 14:17:52 +02:00
Rochet2
02316cd182 Revert changes to extension from 2343f1b2d6 2014-11-09 23:03:57 +02:00
Rochet2
2343f1b2d6 Eluna fix require path to lua script folder structure. Implement .ext.lua and comment them in the ext files that exist. 2014-11-09 17:16:47 +02:00
Rochet2
d7920b4bb7 Fix loading debug messages to avoid confusion 2014-10-23 14:54:57 +03:00
Rochet2
0d7318c109 Eluna fix TC cata+ 2014-10-20 13:00:17 +03:00
Foereaper
6afc38a743 Moved include due to changes done to Mangos.
Do mind, this might need to change slightly for the cmangos sources!
2014-10-19 01:31:01 +02:00
Rochet2
817c5c96e1 Fix TC copy step and tweak mangos' 2014-10-11 12:20:51 +03:00
Foereaper
69177843b6 Fixed RegisterPacketEvent typo 2014-10-07 15:33:49 +02:00
Rochet2
1a4eac6c3b Eluna fix warning
V690 The 'WorldObjectInRangeCheck' class implements a copy constructor, but lacks the the '=' operator. It is dangerous to use such a class. elunautility.h 103
2014-10-03 17:20:04 +03:00
Rochet2
95b103d285 Eluna fix TC build 2014-10-02 21:50:35 +03:00
Rochet2
644200fa50 Merge branch 'master' of https://github.com/elunaluaengine/eluna 2014-09-29 16:37:21 +03:00
Rochet2
5f2a079dc1 Some CMake configuring for mangos 2014-09-29 16:27:56 +03:00
Rochet2
9814d8571a Update MERGING.md 2014-09-24 20:11:00 +03:00