aboutsummaryrefslogtreecommitdiff
path: root/src/crplayer.cc
Commit message (Collapse)AuthorAge
* fix player state desync on login (#59)fusion322026-06-01
|
* support for proxy headers + minor tweaksfusion322026-03-14
|
* fix a problem with saving murder timestamps in player filesfusion322025-12-12
|
* fix problem with playerlist creationfusion322025-12-08
|
* add `MAX_DEPOTS` constant + enable assertions in debug modefusion322025-09-13
|
* fix character death recording logicfusion322025-09-06
|
* missing try-catch block in `CreateField` - fixes #21fusion322025-09-04
| | | | | | The result DESTROYED was being caught at `UseMagicItem`, causing the cast to fail but not before partially spawning other fields in the case of `MassCreateField` and `CreateFieldWall`.
* 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.
* fix a problem with monsters freezing after failing to attackfusion322025-08-19
|
* 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.
* THREADING: upgrade from LinuxThreads to NPTLfusion322025-07-19
| | | | | | | | | | | | This was a required change to make the server run on a modern GLIBC version without resorting to shady shared libraries or compatibility tricks. It is very straightforward but we should always keep an eye out for possible bugs. There was also a problem with the Z loop on field sending functions that was causing the server to hang in an infinite loop and should now be fixed. With these changes it is now possible to login into the game for a split second before the client asserting.
* 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`.
* beginning of `query.cc`fusion322025-07-01
|
* merged `dbfuncs.cc` into `crplayer.cc`fusion322025-07-01
|
* `writer.cc`fusion322025-06-30
|
* `moveuse.cc`fusion322025-06-27
|
* most of `crnonpl.cc`fusion322025-06-24
|
* beginning of `communication.cc`fusion322025-06-19
|
* finish `crplayer.cc`fusion322025-06-18
|
* TPlayer constructor and destructorfusion322025-06-17
|
* all `crplayer.cc` functions outside `TPlayer`fusion322025-06-17
|
* more work on `operate.cc`fusion322025-06-15
|
* more `cract.cc` functionsfusion322025-06-08
|
* merge creature headersfusion322025-06-05