Commit graph

1228 commits

Author SHA1 Message Date
Image
eaca445168 Fix crash on maintained spells 2020-12-20 21:16:02 -05:00
Image
295c37b6af Exe Updates 2020-12-20 17:49:53 -05:00
Image
463c6ce53a InfoStruct accessible in LUA/mutli-thread
Fix 

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 
2020-12-20 17:44:28 -05:00
Image
ec8784d73f Exe Update 2020-12-12 08:09:00 -05:00
Image
1ee2f8c4d0 Titles DB update to fix commands and increase available title options 2020-12-12 08:08:55 -05:00
Image
96debb941c Fixed titles, make sure to source in DB update!
Fix 
- 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
ec3cf51e5c Exe Update 2020-12-09 22:30:09 -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
cea41f8b67 Exe Update 2020-12-06 16:41:58 -05:00
Image
68286ef1e2 oops removed pointless double if/else query (redundant dduhh) 2020-12-06 16:41:53 -05:00
Image
589aa4dc24 Exe Update 2020-12-06 16:38:52 -05:00
Image
b7f80cbbde Fixed CreateCharacter for DoF client, level is not an int16, its an int8, there is an unknown after starting_zone 2020-12-06 16:38:21 -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
2d2bbb9d31 Exe Update 2020-12-03 13:30:18 -05:00
Image
19e3e53a8c fixed an iterator bug with solo/group ho 2020-12-03 13:30:10 -05:00
Image
2893209917 Exe Update 2020-12-03 09:08:20 -05:00
Image
841f367139 Sanity checks to make sure Maps directory and Regions directory exists 2020-12-03 09:08:14 -05:00
Image
11230d5371 Exe Update 2020-12-03 07:52:09 -05:00
Image
8532c5741b deadlock fix for mLUAHistory when SetPlayerHistory is called in LUA 2020-12-03 07:52:04 -05:00
Image
d8944c5541 Exe Update 2020-11-29 22:51:34 -05:00
Image
f76cee915e starting zone db updates 2020-11-29 22:51:29 -05:00
Image
85dab94eaa Far Journey update to split to queens colony / overlords outpost or isle of refuge 2020-11-29 22:51:19 -05:00
Image
2f8d68244d Address starting_zones limitation, fix harvesting / removespawn crashes
Fix 
Fix 

/waypoint now allows target if you are a GM (over 100 status)
2020-11-29 22:47:48 -05:00
Image
b0dafec474 Exe Update 2020-11-24 21:48:46 -05:00
Image
edd993d42a Fix crash in DismissPet when owner dies
Fix  crash
2020-11-24 21:48:10 -05:00
Image
287307c397 if spell state is null don't process spell
Fix  - should mitigate at the very least, help us identify why this is happening
2020-11-24 21:47:35 -05:00
Image
9996343ceb Exe Update 2020-11-22 22:07:16 -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
0444b178ff Exe Updates 2020-11-22 15:34:57 -05:00
Image
b518daf686 RegionScripts for lava/death areas in most zones up to xpack 11 (minus some instance/raid/special behaviors) 2020-11-22 15:34:32 -05:00
Image
9f3c4b66a8 v2 of Regions 2020-11-22 15:33:04 -05:00
Image
535ad35104 Classic/DoF maps (may extend further, but have not tested) 2020-11-22 15:31:38 -05:00
Image
b815c3dd9a Create reloadregionscripts_command_nov22_2020.sql
sql update for new /reload regionscripts command
2020-11-22 15:31:07 -05:00
Image
66505ccea3 RegionScripts, lava/death region support
WorldServer side of Addressing issue  and issue 
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
7645d1c703 World Exe Update 2020-11-06 23:31:42 -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 
2020-11-06 23:30:31 -05:00
Image
9bcd1eeb47 Fix quests dialog crashing in AoM
Fix 
2020-11-06 23:29:26 -05:00
Image
6be433e3c2 Fix runback
Fix 
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
ca6e029f5c removed water line in deflated maps (oops) 2020-11-06 19:56:21 -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