Commit graph

932 commits

Author SHA1 Message Date
Image
0dae7dccb7 Model viewer changes to export region maps 2020-10-14 22:30:22 -04:00
Image
282b783249 new .EQ2Region maps in Regions directory for water maps and future region tracking
Issue  region maps for water
2020-10-14 00:37:21 -04:00
Image
6b70adc911 Exe Updates 2020-10-13 23:53:03 -04:00
Image
9290bceb60 Code changes for region maps (Water!), additional lua functions
Issue 

- Region Maps support water!  Later on to add lava/no fly/other potential regions
- new LUA functions:
* InWater(spawn)
 * HasControlEffect(spawn, type)
* GetBaseAggroRadius(spawn)
* GetAggroRadius(spawn)
* SetAggroRadius(spawn, distance, override) - override true sets base to this, otherwise its temporary and doesn't impact GetBaseAggroRadius
* SetDeity(spawn, value)
2020-10-13 23:52:55 -04:00
LethalEncounter
cda936ad3f Fixed bug with missing #include for Linux compiles 2020-09-25 21:58:36 -04:00
LethalEncounter
274ec84b47 Merge branch 'master' of http://cutpon.com:3000/devn00b/EQ2EMu 2020-09-24 19:53:56 -04:00
LethalEncounter
09bf3a3378 Fixed bug (World crashing when port already in use) - will gracefully exit
Changed string* WorldDatabase::GetZoneName to string WorldDatabase::GetZoneName, this will prevent memory leaks when people forget to delete the memory
Changed ZoneScripts to use the one in the ZoneScripts directory if the lua_script field in the zones table is empty, but the zonescript file exists on disk, warning is displayed it World
2020-09-24 19:33:01 -04:00
image
c7e37ab551 Exe Update 2020-09-24 16:11:47 -04:00
image
36ff32c676 fixed lua stack 2020-09-24 16:11:42 -04:00
image
c5efcdfe78 Exe Update 2020-09-24 15:52:16 -04:00
image
ca02320a93 update version to libra 1 2020-09-24 15:52:10 -04:00
image
d5f670fef2 reset function stack for LUA 2020-09-24 15:52:01 -04:00
image
41692b8be0 Update EQ2World__Debug_x64.exe 2020-09-24 08:19:32 -04:00
image
0a1e8a7c12 Added MovementLoopAddLocation back from its previous removal in change ebddaba763 2020-09-24 08:19:30 -04:00
image
2ac335014f Exe Update 2020-09-23 15:43:39 -04:00
image
0f972e7670 make sure copied spell doesn't call customspell 2020-09-23 15:43:34 -04:00
image
fcbbb73b02 Exe Update 2020-09-23 13:45:35 -04:00
image
f42e6f08de CustomSpell addition, customspell function: Create custom spells within themselves
Spells/Fighter/Crusader/Shadowknight/Painbringer.lua

function customspell(Spell, Caster, Target)
	SetSpellData(Spell,"name","Painbringer 2.0!")
end

sets name to Painbringer 2.0! instead of 'Painbringer'
2020-09-23 13:45:29 -04:00
image
1df57c9818 Exe Update 2020-09-23 08:49:42 -04:00
image
9a78416ac6 CustomSpell additions SetSpellDisplayEffect(idx, field, value) and GetSpellDisplayEffect((idx, field) added
- Allows custom spell_display_effects
- Spell examine is now unique to the spell cast, we have to create a unique spell id that is temporarily used by the custom spell to accomplish this

eg.

Spell = GetSpell(90044, 1)
SetSpellDisplayEffect(Spell, 0, "description", "Applies Painbringer.  Lasts for millions of seconds!")
CastCustomSpell(Spell, Player, Player)

result: https://cdn.discordapp.com/attachments/684934458738212962/758297380302225418/unknown.png
2020-09-23 08:49:36 -04:00
image
a90bec8934 Exe Update 2020-09-22 23:12:02 -04:00
image
e7d3c49319 GetSpellDataIndex added third argument to grab first/second field 2020-09-22 23:11:58 -04:00
image
7ea0c82fa6 Exe Update 2020-09-22 23:02:53 -04:00
image
c9b3d3aa1d SetSpellDataIndex and GetSpellDataIndex added to work with custom spell functionality
eg. modify painbringer spell in an item to do more damage than default 3,5 for indexes 2,3
90044 |    1 |           2 | INT        | 3     | 0      | 0
90044 |    1 |           3 | INT        | 5     | 0      | 0

Spell = GetSpell(90044, 1)

SetSpellDataIndex(Spell, 2, 45)
SetSpellDataIndex(Spell, 3, 50)
CastCustomSpell(Spell, Player, Player)
2020-09-22 23:02:48 -04:00
image
be39bb16a3 fixed crash bug running process when we should be removing the dead client 2020-09-22 23:01:25 -04:00
LethalEncounter
6ac60284b3 Merge branch 'master' of http://cutpon.com:3000/devn00b/EQ2EMu 2020-09-22 22:12:58 -04:00
LethalEncounter
c61588803c Added Pre-boat Lore narration (books) to the Boat Tutorial zone. 2020-09-22 20:33:50 -04:00
image
95bbe23192 SQL Updates for changes to Far Journey Freeport -- only supported for NEW characters after this update sourced 2020-09-21 07:14:23 -04:00
image
3a45e50028 Fix treasure chests being targetable/hand icon if reloading in zone 2020-09-20 23:35:47 -04:00
image
a7a6d9b7a4 FarJourneyFreeport disabling targetable and ChangeHandIcon for treasure chests (WIP) 2020-09-20 23:21:56 -04:00
image
596bc4fe4c Exe Updates 2020-09-20 23:21:28 -04:00
LethalEncounter
e486b1acc9 Fixed bug with zoning crashing the 283 client 2020-09-20 22:41:03 -04:00
LethalEncounter
81bd804af2 Fixed bug that caused the server to not be compilable on Linux 2020-09-20 21:38:18 -04:00
LethalEncounter
2e903f5f0b Fixed death sounds if the client was lower than the underworld of the zone (we never set it properly) 2020-09-20 14:50:53 -04:00
LethalEncounter
fcde85b293 Fixed death sounds if the client was lower than the underworld of the zone (we never set it properly) 2020-09-20 14:50:12 -04:00
LethalEncounter
7a03363551 Far Journey LUA scripts 2020-09-19 21:00:21 -04:00
LethalEncounter
3ea7ffebb6 Merge branch 'master' of http://cutpon.com:3000/devn00b/EQ2EMu 2020-09-19 20:54:44 -04:00
LethalEncounter
ebddaba763 Tutorial instructions for the Far Journey zone
Standardized the message numbers and will send the correct one based on client version
Fixed /tell to not assume that both clients were the same version
Tons of quest fixes
Fixed various spawn bugs
2020-09-19 20:38:00 -04:00
image
fddd7b37c0 Exe Update 2020-09-10 12:44:16 -04:00
image
a54d7a4dc2 Fix a queued spell crash with custom spells 2020-09-10 12:44:12 -04:00
image
b44dc4c768 Exe Update 2020-09-10 12:16:19 -04:00
image
679c1bd779 Player Error log when a item is used but the display charges is 0 2020-09-10 12:16:14 -04:00
image
c21ee782ec Stop potential leak if CastCustomSpell is cut short 2020-09-10 12:12:36 -04:00
image
416b775073 Exe Update 2020-09-10 07:39:44 -04:00
image
2efb43d1f1 Update Spells.cpp 2020-09-10 07:39:38 -04:00
image
80fc1e4a2f Exe Update 2020-09-10 07:38:08 -04:00
image
9ebe3fbec0 Spell Copies will pull spell effects / lua data also -- just in case 2020-09-10 07:38:04 -04:00
image
39214a0ee9 Exe Update 2020-09-10 07:26:37 -04:00
image
913f72b5ba Complete LUA Custom Spell Implementation
Complete Fix  - need to rebuild the SpellData structure so as to not mess with the base Spell's memory.  Also delete the inner spell when we RemoveSpell since its only a one-off.
2020-09-10 07:26:32 -04:00
image
47a0268652 Exe Updates 2020-09-09 23:54:29 -04:00