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
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
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
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
bc82bff4b4
Lua doors api
2013-06-03 00:08:41 -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
79a9d2112a
Retransmit support added back in (stupid compile flags), prelim work on lua_client stuff, took out a few redundant or non-working functions
2013-05-25 01:08:30 -07:00
KimLS
69bad31019
Cleanup of some lua code, initial work on encounter_quests
2013-05-19 12:13:44 -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
1f265af1e7
Hate list stuff, need to make it more efficient
2013-05-17 09:49:02 -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
70998d25e3
More lua work - changed how i get return values off the stack and do calls
2013-05-11 16:37:03 -07:00
KimLS
fa908040ca
Lua work on api - entity and mob, lots more to go
2013-05-11 13:51:57 -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