Quote:
Quote:
For the two or three who might care, currently have a work-in-progress repo here; trying to keep the repo wiki up-to-date with all the EVENTs and object functions and eventually some script examples, as well as how-to's on module writing and adding new object types etc. |
Another positive to the Lua system, the more we move into it the more we can 'live update' while the system is running. not sure how much of an advantage it is, but hey there you go.
|
Added scriptability for the SoF+ respawn window by way of an EVENT_RESPAWN_WINDOW. This allows respawn options to be customized: options can be added or removed based on the Client's level, the current zone, qglobals; options to respawn in guild hall, server hub zone, options to return to a questgiver if you were in the middle of a quest event, etc.
Full description and some example usage can be found at https://github.com/Zaela/LuaEQEmu/wi...respawn_window Someone may want to make a Perl version of this if nothing else. I think it's a pretty neat thing. Also, there is a bug with the respawn window and aggro; when the Client is hovering for respawn, they will continually aggro whatever killed them (aggro, lose aggro because the client is not a valid attack target, then aggro again, rinse and repeat) and mess up the Client's x-targets. This can spam trigger EVENT_AGGRO and possibly EVENT_COMBAT. To fix, replace this in aggro.cpp: Code:
bool Mob::CheckWillAggro(Mob *mob) { Code:
bool Mob::CheckWillAggro(Mob *mob) { |
Quote:
|
Awesome, great to hear that Lua is of interest in the community and among the devs. Out of all the languages I know, I use lua for my personal projects 90% of the time and for work whenever I can get away with it.
However, I would highly recommend using LuaJIT over basic Lua. As noted in the pros/cons list, Lua GC does have some iffy scenarios that LuaJIT fixes. LuaJIT also makes the c/c++ binding far easier once you grasp the ffi library. It's also very hard for other scripting languages to beat it's performance. |
We're not exactly ready to talk much about it but atm we're working on a Lua parser for EQEmu.
Though we're not requiring LuaJIT just Lua 5.1 and people can use LuaJIT if they choose (I do). |
ok so like ive been mia for a while.. this isnt really a thread necro since last post was a month ago.
question: I noticed in the changelog the following disturbing note: Now generally the perl system is now considered deprecated (in favor of lua in the long term) I felt this was too big a change to pass up adding when I got it working. is this official then? Do i need to learn lua? I liked perl+mysql because I could have offline tools to interact with the db server, and I don't wanna learn new tricks. |
Deprecated doesn't mean you can't use it if that's what works for you. It's not being removed it's just not going to get the same kind of attention Lua does.
|
This is an unrelated lua project. MySQL is still used, and will be for sometime (I just think it would be cool if we had support for multiple DBs, but I don't think anyone is working on that for now)
|
Since Oracles takeover of Sun, they now owns MySQL which probably will end up being proprietary to some degree. Some of sun developers had left and branch out MySQL into MariaDB.
Perhaps we can take a look at including MariaDB as another database to use with EQEmu. https://mariadb.org/ |
MariaDB should theoretically just work. There is a lot of reorganization and cleaning up that would be needed to be done to make multiple DBs work nicely.
|
All times are GMT -4. The time now is 05:03 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.