2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 10:37:41 -04:00
Commit Graph

484 Commits

Author SHA1 Message Date
5aca792056 Merge branch 'rarified/findpagevalidate' 2020-07-26 09:09:41 -06:00
3feb3aa3c1 Fix optimization in FindPage() that might attempt to use a plPageInfo class
before checking it is valid.
2020-07-26 09:06:15 -06:00
b0f48722b6 Merge branch 'hoikas/keycollector-1' 2020-07-19 10:03:05 -06:00
f30b909909 Fix a bug related to trashed keys. (cherry picked from H'uru e2b5786988)
It appears that the hsTArray memory management really sucks for smart
pointers like plKey. The crash mentioned at
http://forum.guildofwriters.org/viewtopic.php?f=117&t=6291 went away
immediately after switching plKeyCollector to an std::set.
2020-07-19 10:01:48 -06:00
8a6bb5cace Merge branch 'hoikas/scenenodes-1' 2020-07-13 16:49:21 -06:00
50855e48ed Allow PXPhysicals to change scene nodes (cherry picked from H'uru 1b6f315186)
If this isn't done, the client will crash on exit when markers have been
loaded at some point in the game
2020-07-13 16:48:14 -06:00
eb66f05cc7 Merge branch 'rarified/purefunctiondebug' 2020-07-12 06:50:11 -06:00
4e5b51b405 _set_invalid_parameter_handler() apparently not available in VS2003
Conditionally include for VS2010+
2020-07-12 06:47:34 -06:00
5b7eb4375c Merge branch 'rarified/purefunctiondebug' 2020-07-11 19:56:19 -06:00
0568563776 Remove trap for avoiding debugger on client.
Add exception handlers for pure function call traps
  (Cherry picked from 3fe3a1d H-uru/Plasma "Catch moar crashes")
2020-07-11 19:50:03 -06:00
0e44781d78 Merge branch 'rarified/VS2010-enable-pdb' 2020-07-05 14:12:29 -06:00
21d6ddd391 Update VS2010 build files to always generate PDB & MAP files for debugging,
all configurations.
2020-07-05 14:11:31 -06:00
07b57f758f Merge branch 'cwalther/timetypes-1' 2020-07-01 21:02:57 -06:00
8c8bf4223d Promote needed type changes from cyMisc.h 2020-07-01 20:58:52 -06:00
a117e47b5e Change the fSecs field of plUnifiedTime from UInt32 to time_t. (cherry picked from commit 9adb8efd5d)
This fixes various date formatting problems when building on a system where time_t is 64-bit (e.g. Visual Studio 2010), and, as a bonus, extends the range past 2038 on such systems.

The wire protocol is left at 32-bit for now, we might change that to 64 when other reasons to break compatibility have accumulated.
2020-07-01 15:17:08 -06:00
68bbea08a1 Merge branch 'hoikas/keyleaks-1' 2020-06-30 16:27:03 -06:00
cd97be9ac7 Fix bad patch transcription: void BeginShutdown() plgDispatch.h 2020-06-30 16:07:23 -06:00
49e4283807 Fix the "Crash on Exit" bug (cherry picked from commit b4f6ccaa88)
We were throwing away the Dispatcher before all the keys (namely, leaked
keys) were unloaded. See the comment in plResManager for more details.
2020-06-30 10:06:51 -06:00
149a8877ce Fix broken VC project files missing last </project> line (without line ending) 2020-05-18 09:34:28 -06:00
7f89504ca4 Update VS2010 projects to remove hard-coded BUILD_TYPE C++ definition so
environment CL variable can define build type.
2020-05-17 09:49:53 -06:00
6fa845bebd Revert "Add Jenkinsfile for Pipeline builds."
This reverts commit 124b354097.
2020-05-15 15:01:38 -06:00
4e3ad5196d Merge branch 'master' of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata 2020-05-15 15:01:10 -06:00
69f1fa22b5 Merge New Patcher from H'uru with DependsManifest for running installers
for prerequisites before updating.

Merge branch 'hoikas/newpatcher-1'
2020-05-15 14:59:00 -06:00
b77f98c0ae Add Microsoft's new VC++ runtime filename prefix.
(cherry picked from commit def697d67444e798b45ff8b9eff91561543ed989)
2020-05-15 14:55:07 -06:00
115d308d10 Improve installer process handling.
(cherry picked from commit ad728785ba31b02ad4d518ec4f9a6508ca27b96d)
2020-05-15 14:55:07 -06:00
34a800333f Don't update the patcher first.
(cherry picked from commit d0a13d0ee5c647053a540543670fb1215af9c1b2)
2020-05-15 14:55:07 -06:00
d1f28306fe Fix some straggling issues in plSelfPatcher.
- Fixed the status thread waiting many seconds before requesting the status for the first time.
- Fixed msi execution by removing the workaround for mapped network drives. That seems like a corner-case not worth worrying about anyway.
- Fixed total bytes being updated too late, causing interesting download progress.

(cherry picked from commit a893d74a209b44c683552358dedb6c85f9924bf8)
2020-05-15 14:55:07 -06:00
60b108a6b7 Rewrite SelfPatcher to include the ability to install updates.
To register an update for install, there are three options:
- List any executable or msi file in the [External|Internal]Patcher manifest.
- As above, but in the *optional* DependencyPatcher manifest.
- Flag a file with the bit flag 0x10 in either of the above manifests.

This also fixes a bug that caused the status thread to deadlock in certain situations, causing the launcher to get stuck open.

(cherry picked from commit e0e918084395f93170abcea2853ad25ae3012385)
2020-05-15 14:55:06 -06:00
e86e5c8bdd Allow computing md5 hashes from hsStream derived classes
(cherry picked from commit e43cb685365bfc4498b681168bab0b1357ae208c)
2020-05-15 14:55:06 -06:00
638682ee39 Prevent VS from trolling us with spaces.
(cherry picked from commit 9d5566ba24f2a41ac3e70efce965cf8e0901422f)
2020-05-15 14:55:06 -06:00
124b354097 Add Jenkinsfile for Pipeline builds. 2020-05-13 14:19:49 -06:00
beb715ba6e Merge branch 'hoikas/physx-step-offset-fix-1' 2020-05-03 09:35:36 -06:00
078e2f075c Bump the step offset by a tenth of a foot. (Cherry picked from commit cc15367781)
This should keep the avatar from getting stuck on some stupid stuff such
as on the pellet machine. A real fix would be to tweak the data, but we
cannot do that.
2020-05-03 09:34:55 -06:00
eb483b7c1b Merge branch 'hoikas/win10-fcu-mouse-fix' 2020-04-16 13:36:37 -06:00
c8ef3908ef Update Win10 FCS Mouse fix to apply to later Win version (cherry picked from commit 1bc5d9b80fe28bca8f7071f561681eeb6d98e0b2)
Author: Adam Johnson <AdamJohnso@gmail.com>
Date:   Sat May 12 17:07:33 2018 -0400

    Cursor bug is still present in Windows 10 April 2018 Update
2020-04-16 13:35:31 -06:00
89619674a8 Merge H'uru commit d15e58f3da33c77d015f1af248354b01ca237362
Merge branch 'hoikas/win10-fcu-mouse-fix'
2020-04-16 11:16:29 -06:00
f8841b8264 Add workaround for mouse handling bug in Win10 FCU (cherry picked from commit d15e58f3da33c77d015f1af248354b01ca237362)
Author: Adam Johnson <AdamJohnso@gmail.com>
Date:   Sun Mar 25 21:08:57 2018 -0400

    Add workaround for mouse handling bug in Win10 FCU

    Windows 10 Fall Creators Update changed the behavior of SetCursorPos,
    which no longer sends the expected WM_MOUSEMOVE message when
    recentering the cursor.  This adds a function to detect affected
    versions of Windows and flags the necessity to manually send our own
    message.

    This workaround currently only detects the known affected version of
    Win10, in the hope that it will be fixed and no further attention
    will be required.  If this regression is not fixed, additional Win10
    versions can be added.
2020-04-16 11:14:56 -06:00
ec654905ee Fix spawning inside regions (cherry picked from commit fe5ad6d437)
Author: Adam Johnson <AdamJohnso@gmail.com>
Date:   Tue Feb 5 18:59:20 2013 -0500

    Reintroduce a fun hack

    Yeah, looks like PhysX 2.6.4 has a bug with spawning stuff inside of
    regions. So, let's bring back the hack that spawns the avatar at -2000
    feet. The link-in process will set the correct position on the controller
    and fire the appropriate detectors.
2020-04-15 10:57:24 -06:00
f1ed7f4b7d Fix crazy camera stack issues (cherry picked from commit 6ece5e6341)
Author: Adam Johnson <AdamJohnso@gmail.com>
Date:   Fri Feb 8 00:15:56 2013 -0500

    Fix crazy camera stack issues

    Turns out, it was an artifact of us suspending the simulation during links
    and partly because of Cyan's late adding of the avatar controller to the
    sim. Now, we add the avatar as soon as the age data is loaded. This causes
    the camera stack to be populated with whatever garbage PhysX decides on,
    then xJourneyClothsGen2 is free to set the real stack after we get all the
    SDL from the server.

    Verified to fix Teledahn oddness and not display a regression in Kemo.
2020-04-15 10:53:31 -06:00
ab400f11a7 Fix memory leak (cherry picked from commit 8cbde377ef)
Author: Adam Johnson <AdamJohnso@gmail.com>
Date:   Mon Feb 6 21:17:08 2012 -0500

    Fix an obvious memory leak.

    This thing was pissing me off, which made me piss off a lot of other people,
    which pissed off even more people, so the entire planet got pissed off and
    nuclear warfare began. So, let's not do stupid crap and piss me off, okay?
2020-04-15 10:39:21 -06:00
b187b8fc59 Fix edit error in plPXPhysical::ISetTransformGlobal, mismatched braces 2020-04-13 09:07:23 -06:00
c99bf23af4 Fix for animated detector regions ... (cherry picked from commit 057566416b)
Date:   Mon May 9 15:30:27 2011 -0400

    Fix for animated detector regions not actually animating (cleft bucket cloth, Er'cana harvester ladder)
2020-04-12 19:52:49 -06:00
f0f7377c48 Merge branch 'hoikas/panic-link-fix-1'
roll fforward syntax error fix
2020-04-12 19:45:46 -06:00
8c089f6cc9 Fix syntax error on patch application
pos -> kinPos
2020-04-12 19:43:43 -06:00
340a538c96 Fix Player and CGZ marker games (Cherry picked from b4e1dc352e)
Date:   Thu Jan 19 00:59:56 2012 -0500

    Fix player and CGZ marker games
2020-04-12 14:55:14 -06:00
906cebbd25 More panic link fixes. (Cherry picked from e733ca824b)
Author: Adam Johnson
Date:   Fri Feb 10 12:45:14 2012 -0500

    More panic link fixes

    Now, we check the armature mod to see if we're REALLY linked in (the screen
    is not black). That way, we can be sure all delayed transforms and false
    hits (like how we initially spawn into the AhnySphere04 panic region) don't
    panic link us.
2020-04-12 14:44:30 -06:00
9e1d8446ca Fix null pointer dereference in plSimulationMgr::InitSimulation.
This would cause game to crash with a stack dump if PhysX is not installed on the user's machine. See also:

    https://mystonline.com/forums/viewtopic.php?p=430761#p430761
    https://mystonline.com/forums/viewtopic.php?f=40&t=29221
    https://mystonline.com/forums/viewtopic.php?f=40&t=29218

As I originally proposed 6 years ago, we could eliminate the issue of PhysX being uninstalled by updating the included PhysX_Setup.exe with the NVIDIA PhysX Legacy Installer. Details here[http://forums.openuru.org/viewtopic.php?f=92&t=870].
2020-04-12 13:38:14 -06:00
d0d7912ba6 Merge h-uru/restoreexceptionhandler Hoikas 2020-02-16 10:15:12 -07:00
91f9948e2f [c.f. Hoikas Discord>>OpenUru>>Dev]
Restore exception handler after PhysX initialization seizes it.
2020-02-16 10:13:14 -07:00
7aec3d5b13 Update STATUS_PATH per current Cyan server organization:
support.cyanworlds.com -> account.mystonline.com
2020-01-13 15:50:48 -07:00