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
Natedog2012
7823ff5336
[Quest API] Add EVENT_LOOT_ZONE to zone_controller ( #1608 )
...
* Add EVENT_LOOT_ZONE to zone_controller
* Fix porting event_loot_zone to lua API
* Remove extra spacing and remove forced message to allow for scripted responses.
* Allow all script parsing to fire before sending a failed lootitem, add corpse_id
* Only search for zone_controller once
2021-10-16 23:19:19 -05:00
Kinglykrab
8eef7bb283
[Quest API] Add EVENT_COMBINE to Perl and Lua. ( #1536 )
...
- Exports $container_slot in Perl.
- Exports e.container_slot in Lua.
Allows you to perform events when clicking combine in a tradeskill container.
2021-09-19 15:22:51 -05:00
Kinglykrab
6e76f89ca2
[Quest API] Add EVENT_CONSIDER to Perl and Lua. ( #1531 )
...
* [Quest API] Add EVENT_CONSIDER to Perl and Lua.
- Exports $entity_id in Perl.
- Exports e.entity_id in Lua.
Allows you to perform events on consider for server operators.
* Missing comma.
* Formatting.
* Add return capability to EVENT_CONSIDER and EVENT_CONSIDER_CORPSE so operators can break out of consider functions.
2021-09-13 15:30:17 -04:00
Kinglykrab
38a86edc70
[Quest API] Add EVENT_CONSIDER_CORPSE to Perl and Lua. ( #1530 )
...
- Exports $corpse_entity_id in Perl.
- Exports e.corpse_entity_id in Lua.
Allows you to perform events on corpse consider for server operators.
2021-09-12 22:39:09 -05:00
Dencelle
7b069dcf20
[Cheat Detection] Anti-Cheat reimplementation ( #1434 )
...
* [Cheat Detection] Anti-Cheat reimplementation
* minor patch fixes
* ceiling to server side runspeed
Warp(LT) was picking up a bunch of expected 6.2 but it was reported back as 6.5, this should help reduce the amount of false positives we get
* use ceil instead of std::ceilf for linux
* boat false positive fix
* stopping the double detection
* fixes and cleanup
* auto merge tricked me...
* dummy divide by 0 checks
this should prevent anyone from setting Zone:MQWarpDetectionDistanceFactor to 0 and causing a crash.
* Formatting
* encapsulation to its own class and clean up
* more detections
* typo
* OP_UnderWorld implmentation
* Update client_packet.h
* Syntax changes, formatting, cleanup
* preventing crashes due to invalid packet size
* typos and clearer logic
* seperated the catagory for cheats
* Updated MQGhost for more detail
Co-authored-by: Akkadius <akkadius1@gmail.com>
2021-08-31 01:08:31 -05:00
Dencelle
4f5824b4a1
[Feature] Add lua and perl event for test buff ( #1403 )
...
* [Feature] Add lua and perl event for test buff
* added EnableTestBuff
2021-06-16 10:04:34 -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
Uleat
852d951b65
Reworked EVENT_COMMAND handling and addressed script commands not present during help use
2020-01-06 15:41:05 -05:00
Uleat
a325a9978b
Added EVENT_COMBINE_VALIDATE to facilitate special case tradeskill combines
2019-11-18 19:39:03 -05:00
Kinglykrab
d64f2e40c5
Implement EVENT_USE_SKILL in Perl/Lua.
...
- Exports skill_id and skill_level in Perl/Lua whenever a skill is used (bash, kick, taunt, etc.)
2017-06-10 22:20:45 -04:00
Uleat
8b5dd58e96
Renamed struct EQEmu::ItemBase to EQEmu::ItemData and class ItemInst to EQEmu::ItemInstance
2016-10-16 05:10:54 -04:00
Uleat
579efe83af
Renamed EQEmu::Item_Struct to EQEmu::ItemBase to coincide with new inventory naming conventions (re-run shared_memory.exe)
2016-05-27 22:22:19 -04:00
Uleat
3031365e1f
Moved struct Item_Struct into namespace EQEmu
2016-05-21 04:54:18 -04:00
Russell Kinasz
0b17dc73f1
Update to encounter timers so they can actually work from hooked events
2015-06-05 12:23:42 -07:00
Russell Kinasz
6ff06ded43
Fix for extra_pointers in Encounter methods
2015-06-02 15:21:27 -07:00
Russell Kinasz
2c6fd44811
Implemented encounter timers - no spawn required
2015-06-02 12:25:09 -07:00
Akkadius
39a47ceb93
Implemented LUA counterpart of EVENT_ENVIRONMENTAL_DAMAGE
2015-01-30 23:15:48 -06:00
Michael Cook (mackal)
f4224b296a
We don't need to cast these anymore
2015-01-18 18:29:37 -05:00
KimLS
04dc593df9
Various bug fixes
2014-08-31 20:27:02 -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
7fc21b9e3a
Tons of renames
2014-08-21 19:33:02 -07:00
KimLS
a6589e283b
Some potential fixes for clang, not complete
2014-06-23 16:56:37 -07:00
KimLS
d472c05f5d
Lua packet handler dispatch
2013-07-13 13:53:41 -07:00
KimLS
9e1115f899
Merge master, pretty close to RC atm
2013-06-26 12:52:00 -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
0dc66b3dd7
Added quest areas (only accessable in lua) which work similar to proximities except are not attached to any one npc. Also fixed up the proximity code a bit to comply and got rid of my stupid ass fix for the deleting lists thing
2013-06-22 20:47:11 -07:00
KimLS
2529a7700e
Fix for luabind not compiling (jumbers), bunch of api upgrades for lua, changed where spells and items load quests from, removed some old code. etc etc.
2013-06-22 01:32:41 -07:00
KimLS
7af04798fb
Augment item events
2013-06-21 14:20:30 -07:00
KimLS
7b894a7c61
Added direct inventory access, and event_loot for items and event_weapon_proc for items
2013-06-20 14:03:22 -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
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
85c7e1b059
Player event export plus lua_object api
2013-06-03 16:49:47 -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
17954dd8fe
Exported a ton of functions to mob
2013-05-18 14:42:54 -07:00
KimLS
7adcf6d3e5
Some quest item and spell work, took out that stupid multiquesting code -> use your brains that's completely doable entirely in quests even perl
2013-05-17 17:10:38 -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