Alex King
448a33a60c
[Quest API] Add Scripting Support to Mercenaries ( #4500 )
...
* [Quest API] Add Scripting Support to Mercenaries
* Cleanup
* Cleanup
* Update lua_merc.h
* Update mob.cpp
* XYZH
* Final
* Update attack.cpp
* Update attack.cpp
* Simplify event invocation
* Inline example
* Nullptr init example
* EVENT_TIMER simplify add EventPlayerNpcBotMerc
* EVENT_TIMER_START
* Remove has_start_event
* EVENT_TIMER_START with settimerMS
* EVENT_POPUP_RESPONSE
* Consolidation
* Update attack.cpp
* Push
* Update quest_parser_collection.h
* Comments
* Cleanup per comments
---------
Co-authored-by: Akkadius <akkadius1@gmail.com>
2024-10-10 21:29:29 -04:00
Alex King
4854201b2a
[Quest API] Add Mob/Entity type check methods to Perl/Lua ( #3493 )
...
* [Quest API] Add Mob/Entity type check methods to Perl/Lua
# Perl
- Add `$mob->IsAura()`.
- Add `$mob->IsEncounter()`.
- Add `$mob->IsMerc()`.
- Add `$mob->IsOfClientBot()`.
- Add `$mob->IsOfClientBotMerc()`.
- Add `$mob->IsTemporaryPet()`.
# Lua
- Add `entity:IsAura()`.
- Add `entity:IsOfClientBot()`.
- Add `entity:IsOfClientBotMerc()`.
- Add `mob:IsTemporaryPet()`.
* Update lua_entity.cpp
* Update lua_mob.cpp
2023-07-12 21:20:07 -05:00
Aeadoin
7f7ba2e6c2
[Cleanup] Remove unused Includes under zone files ( #3162 )
2023-04-01 22:55:28 -04:00
Alex King
3335cacac1
[Bots] Cleanup and remove preprocessors. ( #2757 )
...
* [Bots] Cleanup and remove preprocessors.
- Removes every `#ifdef BOTS` we have and locks bots behind `Bots:AllowBots` rule.
- Bot updates are now done by default similar to regular database updates.
- Modify `CMakeLists.txt`, `.drone.yml`, and `BUILD.md` to match the removal of `EQEMU_ENABLE_BOTS`.
* Cleanup
- Add SQL for enabling bots for servers with bots.
- Add message that tells players/operators bots are disabled.
* Suggested changes.
* Bot injection stuff
* Change SQL to bot SQL.
* Tweaks
* Remove `is_bot`
* Update version.h
* Update main.cpp
* Update database.cpp
* Fix name availability crash
* Remove bots from update script
Co-authored-by: Akkadius <akkadius1@gmail.com>
2023-01-20 12:35:33 -06:00
Kinglykrab
7b6decaef3
[Quest API] Alphabetize Lua method exports. ( #1673 )
...
- Keeps things tidier.
- Removes unnecessary/outdated comments at the top of files.
2021-11-06 17:36:00 -04:00
Alex
d9d6a64941
[Bots] Add Bot scripting capabilities to the source. ( #1378 )
...
- This will allow server operators to interact with bots within a script in Perl or Lua.
2021-06-11 13:46:30 -05:00
KimLS
7189994b78
Many lua things many many things
2017-05-19 22:50:08 -07:00
KimLS
55a964267e
Raid/Group lua stuff, renamed corpses
2013-06-02 13:47:52 -07:00
KimLS
d14608356d
Added all lua objects i need for now, a ton of API too
2013-06-02 00:15:26 -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
3ddc61420b
Added id to spells so i can export them to lua correctly. Also made the lua_classes less messy by having them all derive from Lua_Ptr instead of reimplementing functionality
2013-05-16 23:24:47 -07:00
KimLS
20fc585b5e
Cleaned up lua glue macro a bit
2013-05-13 14:40:15 -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
7648f071f1
More lua work - more mob implementation
2013-05-11 20:34:04 -07:00
KimLS
fa908040ca
Lua work on api - entity and mob, lots more to go
2013-05-11 13:51:57 -07:00
KimLS
d1f7935ee2
...trying out boost with luabind
2013-05-11 01:29:58 -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