Commit graph

515 commits

Author SHA1 Message Date
Image
cb6ed3a647 Ninja patch gfaydark crash cause its hitting bsp tree max size node 4294967295? 2020-12-29 21:09:46 -05:00
Image
362daada59 Immunity support updates, player mail, spell heal pct
Fix #219
Fix #220
Fix #223
Fix #243
Fix #245
2020-12-27 16:15:57 -05:00
Image
f85294d6a0 Support for /movecharacter
Fix #199
/movecharacter name zonename

    updates the characters table, moves to safe x,y,z,heading of zone
    character should be logged out, otherwise there is no point to using this command (just gets overwritten on char save).

- /castspell command updated for third argument, when set to '0' will cast as 'self' as it were the target.  eg /castspell 1234 1 0 (will cast spell id 1234 tier 1 and self cast it on your target)
2020-12-27 16:13:26 -05:00
Image
940ff104be Capricorn phase 2020-12-27 16:08:09 -05:00
Image
d4b59319ce Techwizz: Fix CMake to include boost libraries 2020-12-21 15:17:41 -05:00
Image
eaca445168 Fix crash on maintained spells 2020-12-20 21:16:02 -05:00
Image
463c6ce53a InfoStruct accessible in LUA/mutli-thread
Fix #239

GetInfoStructString(Entity, fieldname)
GetInfoStructUInt(Entity, fieldname)
GetInfoStructSInt(Entity, fieldname)
GetInfoStructFloat(Entity, fieldname)

SetInfoStructString(Entity, fieldname, value)
SetInfoStructUInt(Entity, fieldname, value)
SetInfoStructSInt(Entity, fieldname, value)
SetInfoStructFloat(Entity, fieldname, value)
SetCharSheetChanged(Player, bool)
2020-12-20 17:49:03 -05:00
Image
d9b90e1ed8 eq2world project update for LUA + debug mode (better tracing) 2020-12-20 17:47:32 -05:00
Image
d82d5cf9bd std namespace checks that need to be fixed in c++17
using namespace std is causing issues with bind, using :: to workaround for now until c++17 update
2020-12-20 17:45:03 -05:00
Image
091f962210 LUA 5.1 -> 5.4
LUA 5.4 upgrade, bit operand support, better memory management/cleanup (per LUA changelog), and more..

Fix issue #238
2020-12-20 17:44:28 -05:00
Image
96debb941c Fixed titles, make sure to source in DB update!
Fix #230
- Fixed titles, DB and code were inconsistent thus / commands did not work
- LUA Functions added:

AddMasterTitle(titleName, isPrefix) -- adds a new title all characters can use, isPrefix is 0 or 1, 1 for prefix, 0 for suffix
- returns master title id (sint32) -- if the title already exists, then it re-uses that id

AddCharacterTitle(Spawn, titleName) -- adds a character title to a spawn if not already present

- returns character title index id (sint32)

SetCharacterTitleSuffix(Spawn, titleName) -- sets the players suffix name, must have title already, otherwise AddCharacterTitle needs to be called first
SetCharacterTitlePrefix(Spawn, titleName) -- sets the players suffix name, must have title already, otherwise AddCharacterTitle needs to be called first

ResetCharacterTitleSuffix(Spawn) - empties title suffix
ResetCharacterTitlePrefix(Spawn) - empties title prefix

Example usage of some of the LUA commands:
	AddMasterTitle("Stupendously Special", 1) -- create new title for all players, is prefix
	AddCharacterTitle(Spawn, "Stupendously Special") -- add title to the current player
	SetCharacterTitlePrefix(Spawn, "Stupendously Special") -- set the characters current prefix to the newly created title
2020-12-12 08:08:36 -05:00
Image
ba80ab2078 Fixed AA commands handler ids being wrong, new lua functions
- char sheet code updated to show unassigned AA, prestige, tradeskill prestige pts

LUA Functions:

- SetInvulnerable(Spawn, true/false)
- GetAAInfo(Spawn, type)
- SetAAInfo(Spawn, type, value)
type can be, assigned_aa, unassigned_aa, assigned_tradeskill_aa, unassigned_tradeskill_aa, assigned_prestige_aa, unassigned_prestige_aa, assigned_tradeskill_prestige_aa, unassigned_tradeskill_prestige_aa
2020-12-09 22:30:03 -05:00
Image
68286ef1e2 oops removed pointless double if/else query (redundant dduhh) 2020-12-06 16:41:53 -05:00
Image
529a402379 UpdateStartingZone function changed to grab city_zone and avoid select/join query (just use already obtained values from first query) 2020-12-06 16:38:02 -05:00
Image
19e3e53a8c fixed an iterator bug with solo/group ho 2020-12-03 13:30:10 -05:00
Image
841f367139 Sanity checks to make sure Maps directory and Regions directory exists 2020-12-03 09:08:14 -05:00
Image
8532c5741b deadlock fix for mLUAHistory when SetPlayerHistory is called in LUA 2020-12-03 07:52:04 -05:00
Image
2f8d68244d Address starting_zones limitation, fix harvesting / removespawn crashes
Fix #228
Fix #229

/waypoint now allows target if you are a GM (over 100 status)
2020-11-29 22:47:48 -05:00
Image
edd993d42a Fix crash in DismissPet when owner dies
Fix #224 crash
2020-11-24 21:48:10 -05:00
Image
287307c397 if spell state is null don't process spell
Fix #226 - should mitigate at the very least, help us identify why this is happening
2020-11-24 21:47:35 -05:00
Image
effd7100c9 Added muted locking on the world maps / region maps.. in case two of the same instance load same time 2020-11-22 22:07:10 -05:00
Image
66505ccea3 RegionScripts, lava/death region support
WorldServer side of Addressing issue #203 and issue #202
2020-11-22 15:30:54 -05:00
Image
236a906e77 Updating milestone in version to sagittarius 2020-11-22 15:20:33 -05:00
Image
9f4a3fc2aa Fix a fd leak (unlikely) 2020-11-06 23:30:44 -05:00
Image
80eaa59564 fix the HO ProcessSpell call, was causing harvest/spells to call "tick" instead of "cast"
Fix #213
2020-11-06 23:30:31 -05:00
Image
9bcd1eeb47 Fix quests dialog crashing in AoM
Fix #212
2020-11-06 23:29:26 -05:00
Image
6be433e3c2 Fix runback
Fix #212
2020-11-06 23:29:08 -05:00
Image
9f92e1f5f1 Update LuaInterface.cpp 2020-11-06 23:27:11 -05:00
Image
b1b036f3a2 Fix crash on /findspawn with no arguments 2020-11-06 23:26:57 -05:00
Image
21066e2174 model viewer exe updates (ugh) 2020-11-06 17:16:42 -05:00
Image
87932815a5 restore exportregion option 2020-11-06 17:16:18 -05:00
Image
072500202f model viewer exe updates 2020-11-06 17:01:36 -05:00
Image
a5e510bf72 model viewer exe updates 2020-11-06 17:00:08 -05:00
Image
d2ff3c4c0d reintegrated water changes into model viewer 2020-11-06 16:59:58 -05:00
Image
fa76b7df01 ModelViewer EXE updates 2020-11-06 16:37:15 -05:00
Image
b18137f552 Fixed a Fontclass loading bug, using regex instead 2020-11-06 16:36:18 -05:00
Image
24599cf166 Fixed model viewer bugs for proper map orientation / scaling of objects/models
Fix #210 - incorrect pos/rotation of objects in zone
Fix #209 - incorrect scaling
2020-11-06 16:36:08 -05:00
E Spause
103859462d in_heroic_opp for spellcasting in heroic opportunities 2020-11-03 13:51:16 -05:00
Image
7b69475f92 oops forgot to close file 👎 2020-11-02 07:31:34 -05:00
Image
aa58f63164 EQ2MapDeflated support
Fix #208
2020-11-01 17:01:46 -05:00
Image
2b3988642d makefile updates to support compression in maps 2020-11-01 17:01:28 -05:00
Image
ac5227da56 version update to scorpio stage 2020-11-01 17:01:13 -05:00
Image
6ed7941ece Numerous memory leak fixes / initialization/deinitialization issues 2020-10-24 16:48:27 -04:00
Image
3332305202 Model Viewer lib/exe updates 2020-10-23 08:48:33 -04:00
Image
c1e0b5748b Misc code updates for model viewer 2020-10-23 08:48:19 -04:00
Image
32a5e3eccd added checks to see if a collision mesh exists on models, if not we don't put it in the map 2020-10-23 08:47:58 -04:00
Image
0b80b8b12a mem leak fix / cleanup 2020-10-23 08:13:11 -04:00
LethalEncounter
9554876c2f Linux compile fix 2020-10-21 21:56:07 -04:00
LethalEncounter
339071500e added /waypoint command 2020-10-21 21:21:45 -04:00
LethalEncounter
2afc04311b Merge branch 'master' of http://cutpon.com:3000/devn00b/EQ2EMu 2020-10-21 20:13:13 -04:00