Commit graph

1112 commits

Author SHA1 Message Date
Image
7c65970db0 Discord link updated due to invite limit on previous link 2021-01-24 17:28:36 -05:00
Image
7775ea3e66 Fix HO starter wheel pre-stage bug not honoring the abilities fields 2021-01-21 09:49:25 -05:00
Image
fb9ec032f8 Fixed deadlock caused by GetSpellSlot in against mutex MSpellsBook 2021-01-21 07:50:25 -05:00
Image
816575beca HO crash fix + temp spell e rror spam (to be changed to info later) 2021-01-20 18:12:47 -05:00
Image
4b445bda87 Exe Update 2021-01-19 17:32:35 -05:00
Image
742336a4c1 MakeRandomInt(min,max) and MakeRandomFloat(min,max) for LUA
Fix  - MakeRandomInt and MakeRandomFloat support
2021-01-19 17:32:30 -05:00
Image
6c293a46a9 Update Spawn.cpp
Fix issue  water swimming sinks player to ground floor
2021-01-19 17:31:51 -05:00
Image
be74b93ef4 Exe Update 2021-01-17 08:46:25 -05:00
Image
ac1ecda564 Some equip slot checks to make sure LUA isn't abused for wrong slot numbers 2021-01-17 08:46:05 -05:00
Image
88b5bcc2d8 Exe Update 2021-01-17 08:40:07 -05:00
Image
60f1130466 Some EquipmentItem locking fixes 2021-01-17 08:38:51 -05:00
Image
c0f002209f Exe Update 2021-01-17 08:32:25 -05:00
Image
529a260d3e Some equipment lock fixes (not all resolved yet) plus LUA equip functions, regular mail without items works
Partial address issue  - normal mail can be sent/received without corrupting the packet.  'Double' 0x80 item packets need serialize support, LE was working on it for crafting, holding off fully addressing 246 with that addition.

Fix 

bool return = SetEquippedItemByID(Entity, slot, item_id)
bool return = SetEquippedItem(Entity, slot, item)
return = false if it fails to set the item, means the slot is in use already, have to unequip first

UnequipSlot(Entity, slot, no_delete_item) -- does delete the item upon unequipping by default, otherwise set no_delete_item = true
SetEquipment(Entity, slot, type, r, g, b, h_r, h_g, h_b) -- (r = red, g = green, b = blue, h_ = highlights)
2021-01-17 08:31:12 -05:00
Image
ce7cc092d3 Wait a minute for hangup in zone instead of 30s 2021-01-17 08:28:34 -05:00
Image
13f56a07db Quest updates such as the quest flag/leaf over a kill target now displays properly
Fix 
2021-01-17 08:27:19 -05:00
Image
38929e5c17 ModelViewer / MapEditor updated with the latest EQ2Region code / Map code utilized 2021-01-12 08:07:56 -05:00
Image
19dc298dd2 Exe Update 2021-01-12 08:03:39 -05:00
Image
1b95c72543 Fixed doors that have a LUA script, butn o usedoor defined, they will open correctly if no usedoor function exists 2021-01-12 07:57:11 -05:00
Image
6304430e3a Quest class constructor mgmt, don't need to always create the quest 2021-01-12 07:56:54 -05:00
Image
f6fb7c9b4a Exe Update 2020-12-31 17:58:42 -05:00
Image
567117054d LUA support for triggering a door and overriding via spawnscripts vs code 'always accept open door'
Fix 
2020-12-31 17:58:36 -05:00
Image
10b1a4e8d0 allow body drops with body_drop item db entry
Fix 

alter table items add column body_drop tinyint(3) not null default '0';
2020-12-31 17:57:53 -05:00
Image
29f797d71c Signs can spawn in with /spawn create sign
Fix 
2020-12-31 17:56:26 -05:00
Image
7736005995 Fix some missing water detection
Fix 

If we go outside the bounds of the region then its likely a water based area, a region debug log exists to review this behavior more.
2020-12-31 17:53:45 -05:00
Image
54db6a162e fix water in certain areas w/ no debug 2020-12-30 15:47:01 -05:00
Image
aa9f76727a Revert "Fix water in certain areas"
This reverts commit b05e4d0fb0.
2020-12-30 15:46:42 -05:00
Image
b05e4d0fb0 Fix water in certain areas 2020-12-30 15:46:07 -05:00
Image
cb6ed3a647 Ninja patch gfaydark crash cause its hitting bsp tree max size node 4294967295? 2020-12-29 21:09:46 -05:00
Image
a51aada086 Exe Updates 2020-12-27 16:16:03 -05:00
Image
362daada59 Immunity support updates, player mail, spell heal pct
Fix 
Fix 
Fix 
Fix 
Fix 
2020-12-27 16:15:57 -05:00
Image
f85294d6a0 Support for /movecharacter
Fix 
/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
3016b8d159 Exe Update 2020-12-20 21:16:08 -05:00
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