Emagi
c8f88ff904
Update LuaFunctions.cpp
2024-09-13 08:18:40 -04:00
Emagi
0a1692b9a0
RemoveSkillBonus should work on NPC's now, fixed/added some additional logging info for SpawnGroupByID
2024-09-13 06:45:15 -04:00
Emagi
a597a993c2
note script filename fix error message for SpawnGroupByID
2024-09-12 15:46:46 -04:00
Emagi
ce39473fb9
additional lua fixes
2024-09-12 10:36:05 -04:00
Emagi
362a86d3f7
fix HasCoin to check if player before casting it
2024-09-12 09:44:05 -04:00
Emagi
0a80911ed7
Allow CureByControlEffect to be ran outside spell script
2024-09-12 08:40:47 -04:00
Emagi
e246609d34
AddControlEffect requires a luaspell be passed. On load of spell script data we remove the useless luaspell ptr.
2024-09-10 18:36:47 -04:00
Emagi
555045cbe2
reload spells now works with the lua state redesign and we delete spell in the spell_scripts instead of other places (casttimer, active_spells, so on)
2024-09-10 09:14:40 -04:00
Emagi
297c17b177
Changed to have DestroySpells handle luaspell delete instead of active_spells
2024-09-10 08:27:05 -04:00
Emagi
6f8f5016a6
delete of lua spell takes place via remove_all_spells flag in these conditions
2024-09-08 16:40:02 -04:00
Emagi
c4002c363e
relocate RemoveCurrentSpell to apply whenever DeleteActiveSpell called (since its removal deletes the lua spell ptr)
2024-09-07 17:12:26 -04:00
Emagi
f6097f490c
Update LuaInterface.cpp
2024-09-07 15:54:32 -04:00
Emagi
2ea8088f1e
can't risk the out of order for mspells lock and also allowing multiple to traverse the tree
2024-09-07 15:54:05 -04:00
Emagi
950a67ac94
protecting inner mutex with write lock to avoid duplicating the lua state on multiple scripts
2024-09-07 15:19:30 -04:00
Emagi
f85ef5eb61
ret should be set after with the createspellscript
2024-09-07 14:52:08 -04:00
Emagi
98c0aaf73b
spell scripts mutex locking fixes
2024-09-07 14:50:01 -04:00
Emagi
fb592b4d76
Update LuaInterface::DestroySpells to assure we cover all the new lua states under the spell_scripts instead of the obselete spells map
2024-09-06 08:17:50 -04:00
Emagi
14003ee3a4
LUA Spell Scripts updated to have a queue much like SpawnScripts, but extended to LuaSpell for tracking procs and lifetime of the lua state
...
Need to avoid crashes/overrun of the lua stack.
2024-09-04 06:44:04 -04:00
Emagi
56e43288bf
function call fixes and resets for procs / call spell process
2024-09-02 19:14:44 -04:00
Emagi
b7802d84db
fix lua functions being called that don't exist
2024-09-02 10:01:04 -04:00
Emagi
184bc94aa1
lua function call protection
2024-09-02 09:45:36 -04:00
Emagi
950b8e1564
revert and check if "remove" function exists in script
2024-09-02 09:19:47 -04:00
Emagi
727040d2dd
Attempt to fix deleting spells more than once if short durations
2024-09-02 08:15:41 -04:00
Emagi
053a9abc14
Update README.md
2024-08-28 09:58:04 -04:00
Emagi
9cf134b743
update makefiles for 5.4 lua
2024-08-28 09:37:42 -04:00
Emagi
b7dc119b74
sample bash script for linux compile + obtaining content files and maps/pathing repository
2024-08-28 09:19:11 -04:00
Emagi
c001cc262e
Update Spawn.cpp
2024-08-28 08:47:49 -04:00
Emagi
c08d1ca70a
enable house icon for placed house spawns for DoF and earlier clients
2024-08-20 07:47:25 -04:00
Emagi
4d659a2601
Web administration now has /setadminstatus support
2024-08-18 07:44:57 -04:00
Emagi
8d09f4e043
Update LuaFunctions.cpp
2024-08-17 04:27:45 -04:00
Emagi
85c6d48f70
WorldServer Updates
...
- Added DespawnByLocationID(Zone, Location_ID, Delay) - delay defaults as 0 (instant).
- SpawnGroupByID and SpawnByLocationID will now randomly pull from the locations list of entities, instead of the initial spawn available (iterator 0).
2024-08-17 04:22:52 -04:00
Emagi
29e2c18ab8
omit objects from ground y
2024-08-06 12:46:35 -04:00
Emagi
8d41c4ee44
Create .gitignore
2024-08-06 08:33:56 -04:00
Emagi
654a886cab
Additionally the log_config.xml
2024-08-06 07:57:34 -04:00
Emagi
c7052e20a8
change filenames to not interfere with a working directory
2024-08-06 07:57:14 -04:00
Emagi
0766ac4cf2
Make client and worldserver rest responses conform to json standard
2024-08-06 06:49:10 -04:00
Emagi
ca28e77ae4
Crash fix, new lua function IsSpawnGroupAlive(Zone, Group_ID)
...
Crash fix for SpawnGroupByID on invalid group, IsSpawnGroupAlive(Zone, Group_ID) added.
2024-08-02 15:51:28 -04:00
Emagi
5d2d49fd47
Update Player.cpp
2024-07-26 21:28:15 -04:00
Emagi
6030449561
revert the diff re-sizing of the inventory packet
2024-07-24 09:50:02 -04:00
Emagi
b695a33a74
fixed accidentally overwriting grid id sent to clients in zones where they have a different map than the other spawn
2024-07-24 09:08:05 -04:00
Emagi
60708af958
Update GroundSpawn.cpp
2024-07-23 08:19:44 -04:00
Emagi
cba15d5d72
Update net.cpp
2024-07-22 09:42:50 -04:00
Emagi
19440c0755
Update server_config.json
2024-07-22 09:38:28 -04:00
Emagi
c5519d020f
Update net.cpp
2024-07-22 09:35:15 -04:00
Emagi
5ca6fa7982
base of server directory
2024-07-22 09:22:42 -04:00
Emagi
2ec9a774b7
include lua library in makefile
2024-07-22 09:15:27 -04:00
Emagi
16ab5cff93
fix recast lib dir
2024-07-22 09:12:17 -04:00
Emagi
f4647acd4b
another common header wrongly pointed to
2024-07-22 09:09:14 -04:00
Emagi
38ad32b49c
this was not including the MiscFunctions correctly before
2024-07-22 09:08:33 -04:00
Emagi
86e843ceea
lua include for makefiles
2024-07-22 09:03:58 -04:00