SecretsOTheP
788959a5e2
Haynar's movement fixes.
...
Changes Speed from float to int. EQ client deals with int step locs better than it does floats according to Haynar's testing.
This also contains mob runspeed changes. I recommend you set runspeeds to start in the DB 1.25 for NPCs below 1.25 which will match player runspeeds almost equally. Existing DBs will need to be updated.
General Cleanup of MobAI functions. Mobs now change their heading on AIMovement timers if their targets' heading has changed since that time. This prevents players from being able to land backstabs inbetween mob swings.
Charmed/feared players now send the appropriate packet, there was a missing CastToClient() in spells that was missing.
Mob runspeed can no longer be snared to 0%, instead, 1% of their base runspeed is the maximum. Roots apply as roots instead of a modifier under this code.
There is going to be bugs with this code. It's better we push through it than revert it. Sanctuary has been running this for a good week and we've worked through the issues.
Misc updates:
Exported some variables to perl, including:
EVENT_ITE_CLICK_CAST:
EVENT_ITEM_CLICK:
spell_id - returns the spell_id of the click effect.
return value - cancels the cast.
EVENT_DROP_ITEM:
quantity - returns the # of items dropped in the packet. If the item has charges, charges are returned here instead.
itemname - name of the item being dropped
itemid - id of the item being droppped
spell_id - spell_id associated with the item's click effect.
slotid - the inventory slot id of the item being dropped.
return value - cancels the item from being dropped.
Added Perl function: CalcEXP. Calculates the experience you would gain for an NPC that cons a specific con value to you.
Fixed a bug where you would receive the group experience bonus and group experience messages for simply being in a group, regardless of the player being in the same zone as you.
2015-05-25 12:35:53 -04:00
Uleat
fe294e60b5
Fix for 'Invalid Slot ID' messages, item loss during corpse looting, and possible item loss during LDoN/Adventure merchant purchases
2015-03-03 04:08:52 -05:00
JJ
318a664b09
No "sigs". [skip ci]
2015-02-23 19:57:47 -05:00
Uleat
e4be4d6895
Pre-purposed clean-up
2015-02-17 13:58:26 -05:00
Uleat
f1a25da065
Pre-purposed clean-up
2015-02-17 13:58:19 -05:00
Uleat
5a619bddaf
Excluded limbo (cursor buffer) from HasItem checks
2015-02-06 09:58:57 -05:00
Uleat
2bf2485b4c
Enforced const_interator returns on const_iterator return types in Inventory and ItemInst
2015-02-06 07:57:15 -05:00
JJ
96925f0dde
Some minor cleanup. [skip ci]
2015-01-31 17:03:44 -05:00
Uleat
7e980e1e7c
Added 'NoDrop Hack' check log message to Client::SwapItem()
2015-01-24 20:46:48 -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
1e59416f33
Post merge manual fixes
2015-01-21 16:49:25 -06:00
Akkadius
3d74035e24
Merge remote-tracking branch 'remotes/origin/master' into logging_changes
...
Conflicts:
zone/command.cpp
zone/command.h
zone/inventory.cpp
2015-01-21 16:40:46 -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
b6587cc9e2
Removal of logsys.h from #include(s)
2015-01-18 04:03:45 -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
Akkadius
7dbde36b03
Rename reference logger to Log
2015-01-18 00:41:18 -06:00
Akkadius
58d0b86a67
Consolidate EQEmuLogsys::Debug General calls into DebugCategory
2015-01-18 00:00:03 -06:00
Akkadius
d45ed9befa
Consolidate EQEmuLogsys::Debug calls into DebugCategory
2015-01-17 23:59:06 -06:00
Akkadius
25642f924e
port mlog 'Inventory' category to new log system
2015-01-17 02:04:43 -06:00
Akkadius
132fbbb0c6
Rename LogDebugType to DebugCategory
2015-01-16 03:09:02 -06:00
Uleat
636a259c4c
Patchwork of changes..mostly related tracing a cursor queue bug (see changelog)
2015-01-15 21:24:26 -05:00
Akkadius
463b358992
Convert 'INVENTORY' debugging _log to logger.LogDebugType
2015-01-12 22:53:46 -06:00
Akkadius
7e7c59967c
_log error convert to logger.Log(EQEmuLogSys::Error
2015-01-10 19:05:46 -06:00
Akkadius
b2a1597e73
More _log Client replacements
2015-01-10 18:52:27 -06:00
Akkadius
b76e179d75
Fix spacing
2015-01-10 15:47:36 -06:00
Akkadius
6844645dfb
Replace LogFile->write(EQEmuLog::Error, with logger.logevents(EQEmuLogSys::Error
2015-01-10 15:44:35 -06:00
Akkadius
dadae1a71f
Replaced Debug messages: LogFile->write with logger.LogDebug
2015-01-10 15:26:38 -06:00
Akkadius
be381b4e56
Renamed EQEMuLog class to EQEmuLog
2015-01-08 19:46:28 -06:00
Trevius
3c6c5b9732
(RoF2) *Hopefully* Fixed looting incorrect items from NPCs. Please report any issues!
...
(RoF2) Now able to loot items past the 10th slot on NPC corpses.
Attuned Items can now be auto-looted and will equip properly.
Mercenaries and Bots will no longer take a share from /split or /autosplit.
2015-01-02 01:42:52 -06:00
Uleat
dab3d1181e
Implemented class Client::TextLink
2014-12-28 12:49:14 -05:00
Uleat
270fe3389c
Updated item/say links for all clients. They should be a little easier to keep track of now.
2014-12-25 11:04:01 -05:00
Uleat
15fbb722eb
Added a new Client::MakeItemLink() method that uses Item_Struct instead of ItemInst. Changed the way that NPC::QueryLoot() builds its links.
2014-12-25 00:00:57 -05:00
Uleat
34ab3e10f5
Added some nullptr checks for ItemInst* in a few places (tradeskills.cpp - particularly augments - needs a better review)
2014-12-23 10:14:45 -05:00
Trevius
ed257b0ef3
(RoF+) Added a work-around for the cursor buffer issue.
2014-12-22 20:51:56 -06:00
Trevius
cba68645a8
More work on RoF+ Cursor Buffer.
2014-12-22 19:47:02 -06:00
Trevius
d454763cd1
RoF+ Cursor Buffer SummonItem Initial Test Change
2014-12-22 19:47:01 -06:00
Trevius
200027bf89
(RoF+) Implemented the 6th Augment Slot for Items.
...
Player Corpses now saved attuned settings for Items.
Renamed IsInstNoDrop() and SetInstNoDrop() to IsAttuned() and SetAttuned() respectively.
2014-12-15 17:55:23 -06:00
Trevius
9056008342
(RoF+) Implemented Armor Ornamentation using Hero's Forge Armor Models. To use, create an ornamentation augment and set the herosforgemodel field in the items table.
...
(RoF+) Added command #heromodel (#hm for short) - Usage: #heromodel [hero forge model] [ [slot] ] (example: #heromodel 63)
2014-12-13 13:53:55 -06:00
Trevius
97a34b5793
The RoF2 client is now enabled by default. It is almost caught up to RoF Client compatibility.
2014-12-06 14:38:34 -06:00
akkadius
251e940fe8
zonedb.h forward declarations
...
zonedb.cpp #include cleanup
2014-11-29 04:18:18 -06:00
akkadius
e833f457a1
inventory.cpp #include clean/remove
2014-11-29 04:08:37 -06:00
Natedog2012
daec5bde66
Item Transformation now works!
2014-11-26 17:23:04 -05:00
Akkadius
f328853251
More restructures, non-working state
2014-11-22 23:28:20 -06:00
Uleat
65cb049a38
Added Client::InterrogateInventory() and command #interrogateinv to manually invoke it. (GM's - use #interrogateinv help)
2014-10-28 11:35:26 -04:00
Uleat
c95b18da85
Fixed stacking issue in world tradeskill containers. (Added #peekinv world)
2014-10-22 22:57:20 -04:00
akkadius
54c89d69f6
Merge remote-tracking branch 'remotes/origin/master' into blob_conversion
...
Conflicts:
common/database.cpp
common/mysql_request_result.h
common/shareddb.cpp
2014-09-07 04:11:09 -05:00