Commit graph

1124 commits

Author SHA1 Message Date
Image
7cdc9b0c77 fix GetSpell on custom spell script to load the lua spell script 2021-02-04 09:12:36 -05:00
Image
08f53e621f display xp_debt in player profile 2021-02-04 09:12:23 -05:00
Image
56c2c69a40 Fix logging when there is no old process running to hang on 2021-02-04 09:12:14 -05:00
Image
6d697c0e5c remove entity commands tell and play legends of norrath from widgets and signs
Fix 
2021-02-04 09:12:01 -05:00
Image
a745a5fa3d Exe Update 2021-02-01 21:46:33 -05:00
Image
6f92367102 Multiple combat / functionality updates
Fix  - hp / power regen rewrite
Also added power_regen_override and hp_regen_override, when set to 1, you can LUA manually set hp_regen and power_regen to enforce it in code

RULE R_Spawn, ClassicRegen added.  Set to 1 means we do not have both regens when out of combat (eg. out of combat = out of combat regen + in combat regen).  In classic you only received in combat or out of combat regen individually.

Fix  - HatedBy now properly handled, we know when a player/spawn is being hated by other targets

Fix  - Parry/Riposte, Block and Dodge implemented.  Missing Block formula which will become its own issue.

Entity GetInfoStruct/SetInfoStruct, cur_avoidance, parry, parry_base, deflection, block are now floats.  Added sint16 power_regen adn hp_regen, lastly power_regen_override and hp_regen_override are int8's.

Fix  - Implemented stats Crushing, Defense, Deflection, Disruption, Fishing, Focus, Foresting, Gathering, Mining, Parry, Piercing, Safe Fall, Slashing and Trapping

/waypoint command now allows flushing waypoint if you do not have active target

/spawn details [x] supports behind, infront and flank

/craftitem added per EmemJr update

INSERT INTO commands SET TYPE=1,command='craftitem',subcommand='',HANDLER=526,required_status=100;

Crash fix for /add_aa hitting bad spell id

LUA Functions:

RemoveSpawnSpellBonus(spawn) - used in LUASpell script
GetSpell(spell_id, tier, custom_lua_script) - third argument added to setup custom script file

AddIconValue(spawn, value)
RemoveIconValue(spawn, value)

Fix  - evac now works correctly, no ghost spawn of self and you can go into combat and see damage taken/given.

Also simplified the player spawn / index map (had duplicates unneeded)

Fixed region_map_v1 throwing errors on special variable for signed vs unsigned
2021-02-01 21:46:26 -05:00
Image
b344a3f894 updated version to Sirius 2021-02-01 21:33:50 -05:00
Image
7db2458feb Exe Updates 2021-01-24 17:31:28 -05:00
Image
517ae12865 /bot follow id and /bot stopfollow id added
Allows to stop the bot from following you or continue following when in group.  Also fixed the default runspeed on NPC's to be set to MaxSpeed.  Should resolve any unexpected stationary npc's/bots.
2021-01-24 17:31:05 -05:00
Image
87db7f34d2 Update Bot.h 2021-01-24 17:30:08 -05:00
Image
45d38d4845 Fix disband group with depopped bot crash
Fix 
2021-01-24 17:29:42 -05:00
Image
34d9cc7951 Fixed SpawnSet
Fix 
2021-01-24 17:29:10 -05:00
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