12041 Commits

Author SHA1 Message Date
Alex King
3158386aa3
[Bug Fix] Fix Issue with Perl EVENT_PAYLOAD (#4545) 2024-11-24 17:19:40 -06:00
hg
12ada57ee8
[Code] Fix build with older C++ libraries (#4549)
This adds a compile time concept to determine if from_chars has
floating-point support and uses fallbacks if not.

This is a C++17 feature but support for floats was only added to
libstdc++ with GCC 11.1 and LLVM libc++ in 20.0 (unreleased).
2024-11-24 17:18:36 -06:00
Mitch Freeman
7a841c11c5
[Bug Fix] Players could become flagged as a Trader when they were not trading (#4553) 2024-11-24 17:17:01 -06:00
Mitch Freeman
a49d1446b7
[Bug Fix] Fix for sending money via Parcel, then changing your mind (#4552) 2024-11-24 17:15:18 -06:00
KimLS
4e53f5464f Set focus effects enabled to 1 in op_logserver 2024-11-23 22:53:22 -08:00
KimLS
233a0dda6a Fix op_charinventory (mostly) 2024-11-23 22:28:17 -08:00
KimLS
1ab0e78f00 WIP; close if not there already. 2024-11-22 23:15:20 -08:00
KimLS
9d5a9ee6df More work in progress 2024-11-22 22:58:43 -08:00
KimLS
d713ff69bf WIP items 2024-11-22 19:06:18 -08:00
carolus21rex
b2d0fa6a2f
[Bug Fix] Fix Strings::Commify bug with #mystats (#4547)
* Fix a formatting bug with #mystats

When using values larger than 1,000, we were calling commify on a string that already had commas. This resulted in the value 1005 looking like 1,,005.

* Update mob.cpp

---------

Co-authored-by: Alex King <89047260+Kinglykrab@users.noreply.github.com>
2024-11-22 16:23:48 -05:00
KimLS
8947058465 NewSpawn support 2024-11-21 23:51:20 -08:00
KimLS
429d6fd87d WIP chat message work 2024-11-21 23:06:44 -08:00
KimLS
0eedbea060 Added alternate command sequence for clients that don't support # commands. Incoming channel messages work I think. Outgoing special msg still pretty screwed up but working on it. 2024-11-20 22:35:09 -08:00
KimLS
63331b678b Fix movement (client->server) packets 2024-11-20 20:31:32 -08:00
Mitch Freeman
62ac015fff
[Bug Fix] Fix an edge case with augmented items inside parceled containers (#4546) 2024-11-20 21:17:04 -05:00
KimLS
ebb657153a Zoning works but saving and player movement packets dont so it's a little limited, wear change works.
Chat is a work in progress but not yet working.
2024-11-19 21:06:53 -08:00
KimLS
2c5c28b808 Movement works, mostly now. 2024-11-18 20:00:03 -08:00
KimLS
3a7afb48cb Issue entering zone is they changed op_enterworld a bit; right now ignore the go home and tutorial features for now 2024-11-17 22:26:16 -08:00
KimLS
b167f05006 Missing fields from spawn struct 2024-11-17 21:58:27 -08:00
KimLS
f6f9d275e8 Close to zone; spawn struct isn't right. 2024-11-17 19:53:09 -08:00
KimLS
004b0e1176 Ground spawn for larion 2024-11-17 17:10:41 -08:00
KimLS
8ff0e5614c Add door encode. 2024-11-17 16:42:50 -08:00
KimLS
027d95bbb8 WIP on door struct 2024-11-17 15:44:05 -08:00
KimLS
b85344f779 Fix for OP_ZoneEntry spawn struct sometimes containing garbage data in flags causing random crashes. 2024-11-16 22:04:44 -08:00
KimLS
018308bfca Going to work on op mapping; we're making it past add player at least. 2024-11-16 17:08:24 -08:00
KimLS
29066cf847 Zone header needs a lot of love later, hopefully this is close enough 2024-11-16 14:05:31 -08:00
Mitch Freeman
4977a7c2e0
[Bazaar] Further refinements for instanced bazaar (#4544)
Resolves
- Parcels being delivered with incorrect item
- Inspecting an item from the bazaar window showing the incorrect item
2024-11-16 15:14:17 -06:00
KimLS
da9a95fd83 WIP zone header 2024-11-16 12:13:55 -08:00
KimLS
7888fb2655 initial implementation of zone entry packet. 2024-11-16 11:52:06 -08:00
KimLS
45d39f44f2 WIP on the larion phsyics struct 2024-11-15 23:53:08 -08:00
KimLS
2f46da5d99 WIP Spawn struct, need to go confirm struct for cphysics 2024-11-15 22:52:52 -08:00
KimLS
200b7fa604 Add prelim support for CharacterGuid to spawn struct. 2024-11-14 22:32:26 -08:00
KimLS
c20439dbb4 Merge fix 2024-11-14 22:19:27 -08:00
KimLS
fa91559a85 Starting work on character guids 2024-11-14 22:13:36 -08:00
Mitch Freeman
9967384ab8
[Fix] Fix for mult-instanced bazaar zones (#4541)
* Enable bazaar for multiple instances.

* Enable buyer for multiple instances.

* Update to buyer/barter for multiple instances and attuned items.
2024-11-14 19:44:03 -06:00
Mitch Freeman
d3da2e5501
[Fix] Fix for bazaar search of containers. (#4540) 2024-11-14 19:32:19 -06:00
Chris Miles
33f5c4c6a7
[Bug Fix] Fix issue where NPC's are being hidden as traders (#4539)
* [Fix] Fix issue where NPC's are being hidden as traders

* Fix

* Update mob.cpp
2024-11-14 19:15:03 -05:00
Akkadius
e4aa6a6957 [Release] 22.59.1 v22.59.1 2024-11-13 20:52:46 -06:00
Chris Miles
e4d812f4b4
[Release] 22.59.0 (#4538) v22.59.0 2024-11-13 20:08:03 -06:00
hg
bcedfe7032
[Quest API] Add Native Database Querying Interface (#4531)
* Add database quest API

API functions are named to be similar to LuaSQL and perl DBI

New connections are made for Database objects. These can either use
credentials from the server eqemu_config or manual connections.

* Add option to use zone db connections
2024-11-12 20:01:18 -06:00
Paul Johnson
c1df3fbcb0
[Rules] Add Rule for restricting client versions to world server (#4527)
* add rule for supported clients, unsupported client packet

* whitespace

* PR feedback - Update client.cpp

* PR Feedback - Update client.cpp

* Update client.cpp

* Update client.cpp

---------

Co-authored-by: Paul Johnson <Paul@PJOHNSOMAC-6366.digi.box>
2024-11-12 11:00:22 -05:00
Akkadius
011e1d05e7 [Hotfix] Check if the mob is already in the close mobs list before inserting 2024-11-10 23:19:40 -06:00
KimLS
ce728c4d0d This is close but no cigar yet. 2024-11-10 10:07:32 -08:00
Akkadius
3f0f95976c [Hotfix] ScanCloseMobs - Ensure scanning mob has an entity ID 2024-11-10 06:47:42 -06:00
Chris Miles
77de9619b5
[Databuckets] Add database index to data_buckets (#4535)
* [Databuckets] Add database index to data_buckets

* Update database_update_manifest.cpp
2024-11-08 22:26:00 -05:00
Mitch Freeman
20d3ab2ac5
[Bug Fix] Bazaar two edge case issues resolved (#4533)
This update resolves two bazaar issues that have been reported.
- If parcel delivery is used to purchase an item, and the seller has several of the same items, that have various charges, the item would not be removed from the db.  This allowed for incorrect purchases.
- If a player 'reclaims' an alt currency item that they also have for sale with an active trader,  the item would remain for sale, and be reclaimed.  This impacted custom alt currency items that were no trade.
2024-11-08 22:15:12 -05:00
Chris Miles
0ea47fadee
[Performance] Improvements to ScanCloseMobs logic (#4534)
* [Performance] Minor improvements to ScanCloseMobs

* Remove timer checks one level up to reduce branching

* Reserve memory in m_close_mobs to avoid frequent re-allocations if not already reserved.
2024-11-08 17:48:39 -06:00
KimLS
d29937cba6 WIP player profile 2024-11-07 23:03:38 -08:00
KimLS
799593c394 Working on zone packets. 2024-11-05 21:38:10 -08:00
Chris Miles
1ce51ca3b0
[Release] 22.58.0 (#4532) v22.58.0 2024-11-05 22:02:32 -06:00