Kinglykrab
17aaab1f9d
[Quest API] Add Spell methods to Perl. ( #1631 )
...
* [Quest API] Add Spell methods to Perl.
- Add quest::getspell(spell_id) to Perl.
- Add eq.get_spell(spell_id) to Lua.
These methods return a spell object.
Exports $spell object references to spell events.
* Formatting.
* Remove comment.
* Update spdat.cpp
* Amplication typo.
* Fix conflicts.
* Remove repository changes.
* Fix typing.
* Update spell_effects.cpp
2021-11-03 17:47:15 -04:00
Michael Cook (mackal)
6d47351d15
Fix heap-use-after-free issue with groups
...
==2317==ERROR: AddressSanitizer: heap-use-after-free on address 0x6170000633c0 at pc 0x55ed1d8e8d8b bp 0x7ffda4bef580 sp 0x7ffda4bef578
WRITE of size 8 at 0x6170000633c0 thread T0
#0 0x55ed1d8e8d8a in Group::SetLeader(Mob*) ../zone/groups.h:80
#1 0x55ed1d8e8d8a in Group::DisbandGroup(bool) ../zone/groups.cpp:1016
ASan didn't like this
2021-02-28 21:40:50 -05:00
Akkadius
6e765e7ddc
Revert "[BUG] Fix for Group Leader Disband Issue"
...
This reverts commit f854137ca029fa6e90cab5133bd8ee6194f8e1cb.
2021-02-12 02:05:20 -06:00
Trust
f854137ca0
[BUG] Fix for Group Leader Disband Issue
...
Added public/private class for oldleadername so we can save the previous leader name when the entity is destroyed then allow us to transfer leadership.
Adjusted DelmemberOOZ and in zone functions to include removal of the old leader when disbanding.
2020-12-31 00:16:27 -05:00
hg
ea34aa2030
Add group and raid api to check for lockout
...
Add Group and Raid method DoesAnyMemberHaveExpeditionLockout
This is required by some expeditions that perform a manual check for
custom dialogue (Ikkinz group expeditions)
2020-12-30 18:47:11 -05:00
E Spause
147916ce2e
Set group info to null in various places
...
When the group is disbanded, set the leader to null.
When setting a new raid leader, make sure we have a new raid leader. If we don't, avoid a crash and disband the raid. It's better than zones falling apart, and will resolve itself on the next VerifyRaid call.
If a member zones, set the leader pointer to nullptr. This fixes an issue where the leader pointer is freed later (MemberZoned normally cleans up the Client object), but referenced by other entities, allowing the leader to be used in the same server process tick, post-cleanup - as the leader won't exist.
2020-07-19 02:34:59 -04:00
KimLS
2fbd5aaccc
Rename namespace EQEmu to namespace EQ (so we don't have two similar but different namespaces anymore)
2020-05-17 18:36:06 -07:00
Akkadius
af4c630ede
Logs::Spells to LogSpells
2019-09-02 03:26:44 -05:00
Akkadius
bfd0752c4d
Logs::None added to LogDebug
2019-09-01 23:54:24 -05:00
Akkadius
678c25e02c
Simplify error logging
2019-09-01 22:05:44 -05:00
Akkadius
665efe09f3
Fill function calls using magic numbers
2019-08-11 00:27:04 -05:00
Akkadius
9f25c9070c
Refactor message functions
2019-08-11 00:14:02 -05:00
regneq
460468224e
various changed to chatchannel and using language / language skills derived from takp code.
2019-07-14 20:03:30 -07:00
Michael Linder
78759add4a
Ignore bots during group position update. Fixes zone.exe crash when a client gets too far away from their bots.
2017-09-20 19:06:09 -05:00
Akkadius
bb2d8f6a4d
[Position Updates] Always send position updates to group members - even when in raid
2017-08-22 00:48:55 -05:00
Akkadius
855796448c
Raid/Group/XTarget HP/Mana/Endurance updates now only send when percentage changes
...
Raid/Group Mana/Endurance updates should now update real-time once again
Fixed an issue with clients looking like they are 'skipping' when they are moving in view of another client
Fixed an issue with NPC's who are ghosted in plain view of a client when they are not really there
2017-07-11 17:54:46 -05:00
Akkadius
122e71f4a3
Fix HP/Mana/Endurance updates for group/raids when entering-leaving zone and when initially being added to group/raid
2017-07-10 20:40:32 -05:00
Michael Cook (mackal)
e15f8a2cb6
Fix some OOZ group disband issues
2017-04-23 13:26:21 -04:00
Akkadius
7aa1d243b0
[Performance] Reworked how all log calls are made in the source, see changelog.txt for more details
2017-04-01 03:51:46 -05:00
Michael Cook (mackal)
304d41e230
Fix fix memory leak fix
2017-03-18 01:09:48 -04:00
Michael Cook (mackal)
13f49fe569
Fix uninit group value
2017-03-18 00:54:03 -04:00
Michael Cook (mackal)
3173c961fa
Fix typo
2017-03-18 00:51:54 -04:00
Michael Cook (mackal)
16845c204c
Fix leak in Group::SendHPPacketsTo
2017-03-18 00:34:49 -04:00
Uleat
5c6492bc0f
Merge branch 'master' of https://github.com/EQEmu/Server
2017-02-24 20:09:53 -05:00
Uleat
3383f65ff7
Updated bot casting roles to not refresh with every spell cast (oversight in recent casting chances commit)
2017-02-24 04:48:33 -05:00
Michael Cook (mackal)
7621bf47c8
Quick fix to resolve some serious group issues
...
Group leader swapping didn't work and left the client in a bad state
This just disbands the group if the leader leaves
Also prevents a group leader from disbanding other groups ...
Which also lead to bad states
Group leader swapping not working is better than these issues :P
2017-02-24 01:12:46 -05:00
Uleat
b41bb8e179
Merge branch 'master' of https://github.com/EQEmu/Server
2017-02-20 21:41:25 -05:00
Uleat
d9633dfee4
Bard bot song twisting update
2017-02-20 21:41:15 -05:00
Michael Cook (mackal)
9f4604ec3e
Rework how XTarget auto haters work
...
This should cause the auto haters to be shared with other toons who might be
interested (group/raid) like live.
There maybe some bugs since there is a lot of complex interactions here.
2017-02-17 21:04:48 -05:00
Michael Cook (mackal)
60da544d3a
clang-tidy modernize-use-auto
2016-05-25 16:10:28 -04:00
Uleat
b3475d7b50
Reworked ClientVersion into EQEmu::versions; Added EQEmu::versions::InventoryVersion
2016-04-22 03:49:17 -04:00
Uleat
b327da7092
Activation of the new 'Bots' command system
2016-03-24 18:50:31 -04:00
KimLS
17af9e3808
Merge fixes, hopefully didn't break anything.
2015-01-23 13:36:27 -08:00
KimLS
269d56e1d0
Switched out our kinda juryrigged vector types for glm::vec types since we use that as a 3d math library already but never switched out the types
2015-01-23 00:01:10 -08:00
Akkadius
c5447778a6
Merge remote-tracking branch 'remotes/origin/master' into logging_changes
...
Conflicts:
world/client.cpp
world/worlddb.cpp
zone/aggro.cpp
zone/bot.cpp
zone/client.cpp
zone/client_packet.cpp
zone/client_process.cpp
zone/doors.cpp
zone/entity.cpp
zone/inventory.cpp
zone/mob_ai.cpp
zone/perl_client.cpp
zone/spells.cpp
zone/waypoints.cpp
zone/zone.cpp
zone/zonedb.cpp
zone/zoning.cpp
2015-01-21 17:29:30 -06:00
Uleat
e70e443950
Implemented 'enum class ClientVersion' -- added 'RoF2' to lua client version enumeration
2015-01-19 23:32:57 -05:00
Akkadius
0d9b6703a6
Rename debug.h to global_define.h, update cmakelists and such
2015-01-19 04:12:09 -06:00
Akkadius
467b359d0c
Moved all EQEmuLogSys:: enum references used in Log.Out to a namespace 'Logs' for shortening of syntax
2015-01-18 02:20:16 -06:00
Akkadius
c025765283
Renamed DoLog to Out as the aggregate logging function for simplicity of use and shortened syntax of Log.Out
2015-01-18 02:00:15 -06:00
Akkadius
1c048cb1d1
Renamed DebugCategory to DoLog as the aggregate logging function for simplicity of use and shortened syntax of Log.DoLog
2015-01-18 01:54:09 -06:00
Akkadius
e691735a2d
Consolidate 'LogType' Error logs over to 'LogCategory'
2015-01-18 01:30:25 -06:00
Arthur Ice
a9c0920bc6
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
2015-01-17 23:15:06 -08:00
Arthur Ice
fa50ab8a18
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
2015-01-17 23:12:25 -08:00
Arthur Ice
dc2534e38c
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
2015-01-17 23:08:48 -08:00
Arthur Ice
a9c5f80968
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
2015-01-17 23:07:04 -08:00
Arthur Ice
15bd08b365
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
2015-01-17 22:52:33 -08:00
Akkadius
7dbde36b03
Rename reference logger to Log
2015-01-18 00:41:18 -06:00
Arthur Ice
55024a8615
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
2015-01-17 22:41:04 -08:00
Akkadius
58d0b86a67
Consolidate EQEmuLogsys::Debug General calls into DebugCategory
2015-01-18 00:00:03 -06:00
Akkadius
132fbbb0c6
Rename LogDebugType to DebugCategory
2015-01-16 03:09:02 -06:00