aboutsummaryrefslogtreecommitdiff
path: root/src/operate.cc
Commit message (Collapse)AuthorAge
* one last adjustment to `CloseContainer` (hopefully?)HEADmasterfusion322026-08-01
| | | | | | | I've also reverted the search range of `NotifyTrades` to (12, 10), because it's just not related to `CloseContainer`. It is called before objects are moved, and on the case the object is split, it is called on the remaining part.
* adjustment to last commitfusion322026-07-25
| | | | | | | | | | Increasing the search radii for `CloseContainer` from (12, 10) to (14, 12) prevented players from exploiting the issue alone but it could still be leveraged when there was another player involved. In this case, you have another 2 SQM on both sides that need to be accounted for, so using (16, 14) should prevent it as well. And it may be a coincidence, but pretty much all other searches use these values, so I'm not sure what to make of it. They might be related?
* adjust search radii for `NotifyTrades` and `CloseContainer`fusion322026-07-10
| | | | | | | | This fixes an issue, also present on the original binary, where containers thrown from Z=0 to the edge of the screen at Z=7 would remain open to surrounding players. The previous 12-10 radii were missing 2 SQM each when considering the maximum offset between floors.
* fix issues and warnings when compiling with glibc < 2.32 (#57, #58)fusion322026-05-28
| | | | | This also fixes some inconsistencies such as mixing both strerror and strerrordesc_np, and possible formatting issues.
* fix issue with whisper "pspsps" conditionfusion322026-03-25
|
* rename CHANNEL_PRIVATE to FIRST_PRIVATE_CHANNEL for readabilityfusion322026-02-15
| | | | | Also make it dependent on the number of public channels to avoid de-sync problems between them, when adding new public channels.
* fix a problem with sector refreshing delays at startupfusion322025-12-08
| | | | | | | | | | | I misread the original initial values for `RefreshX` and `RefreshY` from the binary which caused the behavior, and a confused comment from me. Thanks to Gustinos from OTLand for catching that. I actualy done a small back of the envelope calculation and it seems that, using a config similar to the one from the leaked files, it would have taken ~100 hours for it to start refreshing sectors, meaning this feature has NEVER actually been tested. I'd expect unexpected bugs to emerge from this change.
* typo - fix #36fusion322025-10-09
|
* fix small bug with experience distributionfusion322025-09-04
| | | | | | Before checking if players are in the same party, we need to check if they're in any party at all. I made a small wrapper `TPlayer::InPartyWith` to help prevent this mistake again.
* yell exhaust - fixes #12fusion322025-08-30
|
* fix and cleanup `SearchFlightField`fusion322025-08-30
|
* fix a problem with deleting CUMULATIVE items from creaturesfusion322025-08-29
|
* fix look at NAMEDOOR -- fixes #4fusion322025-08-25
|
* fix initial value of `Channels` which was causing a client assertionfusion322025-08-23
|
* wrapping up for a public releasefusion322025-08-15
|
* multiple bug-fixes and improvementsfusion322025-07-21
| | | | | | | | | | | | | | | | | | - Make uint32 -> Object conversion explicit. This can be more verbose but will get a lot of small mistakes, especially with function overloads. - Fix problem with the path finder not including the last step when `MustReach` was false. - Fix problem with NPC conditions. - Fix problem with monster homes continuously spawning monsters. - Fix problem with creating the standard inventory. - Fix problem with creature timers (IMPORTANT). - Fix problem with `ThrowPossible` (IMPORTANT). - Fix problem with rune casting. - Fix problem with executing moveuse events. - Fix problem with `MoveRel` and `WriteName` moveuse actions. - Fix problem with eating food deleting the whole stack. - Many other bug-fixes and improvements.
* fix most init and parsing bugs + critical bug with dynamic stringsfusion322025-07-16
| | | | | | With an appropriate query manager, the server now starts up and seems to work but won't properly handle connections until we fix the problem with threads and signals described in `TODO.md`.
* `reader.cc`fusion322025-07-01
|
* fix `operator=` for `TChannel`, `TParty`, and `THouse`fusion322025-07-01
| | | | | I had focused on copying the `vector` fields for theses structs but, being the copy operator, you need to copy everything over.
* `writer.cc`fusion322025-06-30
|
* `moveuse.cc`fusion322025-06-27
|
* finish `crnonpl.cc`fusion322025-06-25
|
* `receiving.cc`fusion322025-06-23
|
* more work on `communication.cc`fusion322025-06-20
|
* beginning of `communication.cc`fusion322025-06-19
|
* TPlayer constructor and destructorfusion322025-06-17
|
* all `crplayer.cc` functions outside `TPlayer`fusion322025-06-17
|
* party functionsfusion322025-06-16
|
* channel functionsfusion322025-06-15
|
* more work on `operate.cc`fusion322025-06-15
|
* impl `Look` and `Talk`...fusion322025-06-14
|
* more work on `operate.cc`fusion322025-06-13
|
* more work on `operate.cc`fusion322025-06-12
|
* more work on `operate.cc`fusion322025-06-12
|
* some announce functionsfusion322025-06-11
|
* first look at `operate.cc`fusion322025-06-11
|
* most `info.cc` functionsfusion322025-06-10
|
* impl `TCreature::Move` which was absolute hell + some tidying upfusion322025-06-08