Kinglykrab
81e7cf5a32
[Quest API] Convert Spell Events to similar formats and exports. ( #1618 )
...
* [Quest API] Convert Spell Events to similar formats and exports.
Export spell ID, caster ID, caster level, tics remaining, and buff slot to Perl/Lua spell events.
- Export e.buff_slot, e.caster_id, e.caster_level, e.spell_id, and e.tics_remaining to `event_spell_buff_tic`, `event_spell_effect`, and `event_spell_fade` in Lua.
- Export $buff_slot, $caster_id, $caster_level, $spell_id, $tics_remaining to `EVENT_SPELL_EFFECT_BUFF_TIC_CLIENT`, `EVENT_SPELL_EFFECT_BUFF_TIC_NPC`, `EVENT_SPELL_EFFECT_CLIENT`, `EVENT_SPELL_EFFECT_NPC`, and `EVENT_SPELL_FADE` in Perl.
* Formatting.
* Remove debug variable.
2021-10-20 16:02:12 -04:00
Michael Cook (mackal)
43fade82e5
Fix ReloadQuest on Shutdown crash related to encounters
...
Basically, EntityList::RemoveAllEncounters is called before ReloadQuests
resulting in stale pointers in the lua_encounters map.
We just have to remove the entry from the map.
2021-02-24 01:03:38 -05:00
Akkadius
ee7ef97506
Revert "Spell Fizzle for < LDON expansions via lua_mod ( #1118 )"
...
This reverts commit e9d312fa8664b736d2052bac1e76797485aca21d.
2020-10-25 23:48:57 -05:00
Ali Al-Khalifa
e9d312fa86
Spell Fizzle for < LDON expansions via lua_mod ( #1118 )
...
* [expansions] Create a Lua mod hook into Client::CheckFizzle()
* Added expansions_combat.lua mod stub
* Spell Fizzle as per TAKP formula
2020-10-24 19:49:43 -05:00
KimLS
2fbd5aaccc
Rename namespace EQEmu to namespace EQ (so we don't have two similar but different namespaces anymore)
2020-05-17 18:36:06 -07:00
KimLS
b29f70ad3f
Add mod hook for CommonOutgoingHitSuccess
2017-06-12 13:01:01 -07:00
KimLS
31d8336b4b
Fix acceptmessages, added exp hooks to luamods
2017-06-10 15:12:31 -07:00
KimLS
7189994b78
Many lua things many many things
2017-05-19 22:50:08 -07:00
KimLS
0fd6815f81
Mods get their own file so i can take the big chunks of code out of lua parser
2017-04-30 00:30:23 -07:00
KimLS
6d59baffaf
Basic mod setup only supports combat hooks for now I'll add a few more before i push this
2017-04-26 22:56:18 -07:00
KimLS
3b62cf9fd5
Some work
2017-04-22 16:40:01 -07:00
Uleat
8b5dd58e96
Renamed struct EQEmu::ItemBase to EQEmu::ItemData and class ItemInst to EQEmu::ItemInstance
2016-10-16 05:10:54 -04:00
phredi
b997a040d7
Config File Update Initial Update
2016-05-20 21:03:34 -05:00
Russell Kinasz
2c6fd44811
Implemented encounter timers - no spawn required
2015-06-02 12:25:09 -07:00
KimLS
6597967acd
Changed void* to EQEmu::Any in quest interface. Been meaning to change from void* for a while to a structure that data hides instead.
2014-08-25 22:59:52 -07:00
KimLS
07a2cbe9a5
Renamed zone files
2014-08-21 23:46:01 -07:00
KimLS
a6589e283b
Some potential fixes for clang, not complete
2014-06-23 16:56:37 -07:00
KimLS
16d3825df4
Fixed translocate, dispatch event now returns values properly, embparser now stores errors (what few it has)
2013-06-26 09:26:19 -07:00
KimLS
d8a1d84a49
Regression fixes, support for new lua arguments for many events
2013-06-19 22:56:46 -07:00
KimLS
c0d37b2e04
Many fixes to regressions in perl and cleaning up the final interface
2013-06-12 15:04:26 -07:00
KimLS
56b41c882b
Redoing event item api
2013-06-07 02:26:17 -07:00
KimLS
a3738dc131
Changed EVENT_TRADE to pass iteminst instead of variable ids, perl will not have changed at all but lua now passes the iteminsts in the trade object. Also redid a bunch of the spell quest stuff
2013-06-05 16:47:49 -07:00
KimLS
6d0c0aee7d
Last work to make lua parser feature complete, time to start fixing bugs and cleaning up design and maybe adding some features here and there.
2013-06-04 23:22:03 -07:00
KimLS
1b290b577d
Fix for potential nullptr when using base lua class constructors in debug mode, also added eq.get_qglobals and removed automatic export of them (will do this for a lot of other automatic exports)
2013-06-04 16:48:32 -07:00
KimLS
49c3a81e18
More lua work, client should be completely exported barring any more bugs that crop up. Starting work on getting the rest of the general functions
2013-05-27 17:24:31 -07:00
KimLS
1e7c5bb9b7
Bug fix in event_trade export, exported augments too. Also need to fix overloads
2013-05-26 15:56:55 -07:00
KimLS
ce63503bab
Changed a bunch of lua stuff, as well as modified a bunch of generic item quest stuff
2013-05-23 12:43:21 -07:00
KimLS
69bad31019
Cleanup of some lua code, initial work on encounter_quests
2013-05-19 12:13:44 -07:00
KimLS
b10de6f4e7
More work on lua parser - gonna get all events firing correctly by end of week also put all arguments into an event table object
2013-05-16 15:35:55 -07:00
KimLS
2336aa0e4f
Changed quests/templates to quests/global. Changed default location for plugins to quests/plugins instead of quests. Added a single interpreter for lua instead of multiple ones.
2013-05-15 13:00:46 -07:00
KimLS
3cc1065873
more lua, gonna work on single interpreter soon
2013-05-14 19:05:49 -07:00
KimLS
38521e0009
Lua - basic npc quests work and i need a damned break for a bit
2013-05-13 21:56:42 -07:00
KimLS
7b23c8dc75
Working on last of Mob:: that can be implemented atm, added safety checks to the lua functions that will be optional later in dev mode. Also changed quest return types to integers instead of doubles as that was non-intuitive
2013-05-13 14:29:50 -07:00
KimLS
dc045591e4
Lua work - loading works, I think checking for sub works. Calling subs is in the beginning stages and binding is starting
2013-05-10 20:13:35 -07:00
KimLS
bcf9546b2d
Partial perl parser rewrite, want to make it cleaner and have it match the interface
2013-05-08 20:18:39 -07:00
KimLS
6e9e81a890
Working on fixing up QuestInterface to make multiple parsers work together in harmony, need to fix up Embperl parser next
2013-05-05 23:36:15 -07:00