Chris Miles
dfd8f84cac
[Strings] Refactor Strings Usage ( #2305 )
...
* Initial commit checkpoint
* More functions converted
* Commify
* More functions
* Fin
* Sort declarations
* Split functions between files
* Bots
* Update strings.h
* Split
* Revert find replaces
* Repository template
* Money
* Misc function
* Update CMakeLists.txt
* Saylink
* Update strings.cpp
* Swap Strings::Saylink for Saylink::Create since saylink is coupled to zone database
* API casings
2022-07-14 02:10:52 -05:00
Quintinon
b5c4357de2
[Bug Fix] Fix miscellaneous memory leaks related to EQApplicationPacket and it's pBuffer ( #2262 )
...
* Delete EQApplicationPacket after use
* Correct issue where Creating EQApplicationPackets in zone/mob.cpp may not free pBuffer[]
* Handle freeing pBuffer[] if exists in zone/mob.cpp Create*Packet functions
* Handle freeing pBuffer[] in zone/object.cpp Create*Packet methods
* Delete leaked outapp variables in zone/trading.cpp
* Make CreateHorseSpawnPacket() safer by freeing pBuffer[] before replacing with new[]
* Prevent initial new ServerPacket from being leaked in command_reload
* Free pack after sending in command_setlsinfo
* Delete new NPC in command_viewnpctype after printing stats
* Fix compile error
* Delete EQApplicationPacket after sending in command_kick
* Remove unneeded safe_delete(outapp) after FastQueuePacket and fix minor whitespace issue
* Delete packet after sending in WorldServer::SendReloadTasks
* Cleanup logic and free leaked NPCType in Client::Doppelganger
* Free RespawnOption in Client::HandleRespawnFromHover in 'unexpected rez from hover request' branch
* Free EQApplicationPacket after sending in Bot::ProcessBotInspectionRequest
* Free Bot when returning from failed Bot::Save() in helper_bot_create()
* Initialize variable to nullptr to prevent garbage initial value
* Undo change in other PR
2022-07-02 22:10:51 -05:00
Chris Miles
5b4aeaa457
[Code Cleanup] Remove this-> in code where its implied ( #2088 )
2022-05-01 10:22:09 -04:00
Kinglykrab
c98f3cfb4c
[Quest API] Further char array cleanup. ( #1634 )
...
- Cleans up the rest of the char arrays used when exporting to events.
- Converts all events to use a similar variable name for export `export_string`.
- Needless calls to .c_str() removed.
2021-10-24 16:06:22 -05:00
hg
896dd48960
Fix zone startup crash if maps not installed
2021-01-08 20:55:56 -05:00
Akkadius
a307636962
Fix object update spam issue (terrible code)
2020-07-20 22:53:58 -05:00
Akkadius
3f62da4573
Merge branch 'master' of https://github.com/EQEmu/Server into integration/multi-tenancy-expansions-repository
2020-05-23 22:33:34 -05: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
bf0322f8f6
Not sure why we are trying to detete id 0 objects [skip ci]
2020-04-24 18:15:07 -05:00
Akkadius
373fb3f0e7
Decouple zone calls, cleanup logic
2020-04-19 04:36:39 -05:00
Akkadius
b8c44ee41b
Fix container interaction [skip ci]
2020-04-18 18:19:59 -05:00
Akkadius
9fbcd99be2
Filter ground spawns [skip ci]
2020-04-05 19:40:40 -05:00
Akkadius
b22d8f6148
Migrate objects and pets [skip ci]
2020-03-12 01:47:40 -05:00
Akkadius
4b55438b3a
Migrate ground_spawns [skip ci]
2020-03-11 23:29:24 -05:00
Akkadius
698d6d4ed2
Logs::ZoneServer to LogInfo
2019-09-02 03:30:03 -05:00
Akkadius
678c25e02c
Simplify error logging
2019-09-01 22:05:44 -05:00
Akkadius
d3803045bc
Add log aliases to make logging much easier to use (All FMT driven)
2019-09-01 20:47:26 -05:00
Chris Miles
585c07210d
Merge pull request #862 from fryguy503/tradeskill_lockout
...
Container lock inconsistent state fix
2019-09-01 16:54:22 -05:00
Akkadius
665efe09f3
Fill function calls using magic numbers
2019-08-11 00:27:04 -05:00
Trust
1aab23098a
Container lock inconsistent state fix
2019-06-18 23:59:37 +00:00
Trust
f8f1061ced
[Queryserv] Dropped Item Logging
2018-07-22 12:39:34 -04:00
Uleat
c435a77813
Reintegration of inventory-based EQDictionary references
2018-07-05 21:05:26 -04:00
JJ
97873ff42d
Change Ground Spawn respawn timers to match normal spawns (msec to sec). Highly recommended sql included!
2017-12-16 23:20:20 -05: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)
7033d9d919
memleak fix
2017-01-21 01:47:06 -05:00
Uleat
bfd07b1010
Added class EQEmu::InventorySlot
2016-10-16 21:36:39 -04:00
Uleat
8b5dd58e96
Renamed struct EQEmu::ItemBase to EQEmu::ItemData and class ItemInst to EQEmu::ItemInstance
2016-10-16 05:10:54 -04:00
Joshua Packard
a5b19d0c0d
Added 0.1 to calculated Z so that objects show better above ground
2016-10-10 09:39:55 -07:00
Joshua Packard
4fa8c89e5c
Added Best Z Calculation to Ground Spawn Loc
2016-09-28 19:24:09 -07:00
Michael Cook (mackal)
aaa116d97c
Add support for object display names
...
Ex. Kejek Forge in Stonebrunt Mountains
2016-08-27 22:24:08 -04:00
Natedog2012
4de9b2c53e
Add TiltX and TiltY manipulation to objects (Perl)
...
Translate OP_GroundSpawn for Titanium
#perl plugin http://wiki.eqemulator.org/i?Module=Pastebin&Paste=u9IbA6Ql
2016-08-26 06:39:39 -07:00
Uleat
579efe83af
Renamed EQEmu::Item_Struct to EQEmu::ItemBase to coincide with new inventory naming conventions (re-run shared_memory.exe)
2016-05-27 22:22:19 -04:00
Michael Cook (mackal)
60da544d3a
clang-tidy modernize-use-auto
2016-05-25 16:10:28 -04:00
Uleat
3031365e1f
Moved struct Item_Struct into namespace EQEmu
2016-05-21 04:54:18 -04:00
Uleat
1890d006a2
Delinked current inventory slot enumeration and constants from EQEmu::constants and global definition
2016-04-22 07:34:55 -04:00
Uleat
b3475d7b50
Reworked ClientVersion into EQEmu::versions; Added EQEmu::versions::InventoryVersion
2016-04-22 03:49:17 -04:00
Uleat
8edb6e9595
Eliminated the nested class design of recent EQEmu work; Some more inv2 convergence work
2016-04-19 04:02:53 -04:00
Uleat
e75a53b775
Rework of eq_dictionary
2016-04-07 17:21:55 -04:00
Uleat
21fc487c33
World tradeskill objects should now exhibit pre-RoF behavior to all clients
2016-01-12 18:44:51 -05:00
SecretsOTheP
4a4a0c5e8b
* -Exported additional entity IDs for dropped items to perl upon EVENT_CLICK_OBJECT (clicker_id) and EVENT_PLAYER_PICKUP ($picked_up_entity_id)
...
-Identified Size / SolidType fields in newer clients and properly exported it to EQEmu for use in UF, RoF, RoF2 via perl accessors. (Should work in LUA, no testing was done though for LUA)
-Added a sanity check for size to objects. Any size over 5000.f seems to crash the newer clients' graphical engines and PEQ has some containers filled in with bogus values.
-Added the ability to return a value on perl function EVENT_PLAYER_PICKUP which sends a fake dropped item ID to the client to generate the appropriate client response so the item can stay on the ground and not be 'picked up'. Should also work in LUA, didn't test LUA.
-Renamed unknown008 and unknown010 to size and solidtype respectively for objects.
2015-05-06 18:50:08 -04:00
Michael Cook (mackal)
b590eb2dc4
Send item recast timestamps picking up ground spawns
2015-01-31 20:54:56 -05: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
Akkadius
fb03e8c67d
Remove Duplicative MySQL Error: Error querying database for monster summoning pet in zone %s (%s)
2015-01-20 01:37:58 -06:00
Akkadius
afbc8b0765
Remove commented printf : Spawning object %s at %f,%f,%f\n
2015-01-20 01:33:31 -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