2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-13 18:17:49 -04:00
Commit Graph

219 Commits

Author SHA1 Message Date
7ae0f6f531 Add "Release_Internal" and "Debug_Internal" configurations to VS2003.net solutions
Additional target configurations to place build artifacts in different directories.
This allows parallel Jenkins Pipeline builds and easier artifact archival.
2020-04-22 10:36:55 -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
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
516c0f7ed0 Merge H-uru GIT PR356: PNG support for mipmap 2020-01-12 10:40:58 -07:00
73895318e9 Change Huru 'nullptr' to NULL in plMipmap.cpp 2019-11-21 14:48:53 -07:00
3a62c231d2 Merge H-uru GIT PR356:
Adam Johnson committed 48ad646 on 15 Jan 17
Manually merge #356 Merge remote-tracking branch 'deledrius/plMipmap_png'
2019-11-21 13:54:54 -07:00
4239d7a046 Add plFileEncrypt, plFileSecure, and plPythonPack projects to "MSVC10Projects" AllClient.sln 2019-11-03 19:26:29 -08:00
d173a5230f Remove pfCCR project files from "MSVC10Projects" and remove project from AllClient.sln. 2019-11-03 19:24:17 -08:00
8706a86725 Add missing PhysX Cooking include directory to plPhysX project in "MSVC10Projects". 2019-11-03 19:21:04 -08:00
8418dd54a5 Merge in H'Uru/Plasma PR 533 (PR#47) 2019-10-26 10:07:33 -06:00
148e81b6e9 plClient uses filters instead of AdditionalDependencies in the linker properties (unlike plPageOptimizer). 2019-10-26 03:51:24 -05:00
06a696c725 Forgot to add NxCooking.lib to linker for plClient and plPageOptimizer projects. Adding it. 2019-10-26 01:35:22 -05:00
a49cb6eb1f Backport of H'Uru/Plasma PR533 - Implement a generic hull/trimesh collider format.
PhysX requires all of its actors to have cooked mesh data. This cooked
data is unfortunately not compatible with other versions of PhysX outside
of the minor branch. The format is also largely unknown. Therefore, it is
relevant to allow CWE prps to include an engine agnostic physical format
to reduce our dependencies on proprietary libraries.

All PhysX blobs thankfully begin with the magic string NXS\x01, so we now
abuse that by adding our own format that begins with the magic string
HSP\x01. These blobs are cooked on the fly while already cooked blobs are
passed directly on to PhysX.


Original commit: 392c5f5cad
author = "Adam Johnson <AdamJohnso@gmail.com>
2019-10-25 02:43:37 -05:00
0d518e3465 Merged branch to PR #42 including login hash from mdeforest 2019-03-31 16:31:06 -06:00
92e95d5a99 Add function NetCliAuthGetCurrentConnPort() to plNglGame to provide current Auth
server port to Game client connection code.

For use where non-default port is being used for Auth/Game servers.
2019-03-16 14:34:19 -06:00
c888e43c73 Cleaned up password hashing to try SH1 then SH0. More comments and easier to modify. 2017-05-12 11:28:11 -07:00
947a64c05f Changed password hashing to try SHA-1 first and if that doesn't work then try SHA-0. This should allow shard owners to chose either SHA-1 or SHA-0 for their password hash without interfering with other shards. And allow them to change their password hash without requiring everyone to reset their passwords.
This also allows for future expansion of new hash techniques to be added, of course the more hash techniques added the more delay at login for the lowest on the totem pole.
I have tested this against the MOULa shard that uses SHA-0 and it works, there is a slight flash of the "Connecting dialog" as it re-tries sending the login but if the user saves the password, there is no flash and no delay.
2017-04-13 13:42:50 +00:00
627825dab2 Merged in mac_fife's nonemail_password_has (pull request #40) 2017-03-22 14:56:19 -06:00
207bf3d62e Make all account types use the same password hash. Precursor to restoring MOULa account creation. 2017-03-18 19:09:16 +00:00
791886bdab Merged in cwalther/cwe/launcherstatusmessagecrash (pull request #38)
Don't crash the launcher when the HTTP request for getting the server status message fails

This should fix the crash in UruLauncher.exe after starting UruExplorer.exe, reported by Treehugger at http://forums.openuru.org/viewtopic.php?p=8976#p8976 . It is the same issue as addressed in pull request #31 for the login dialog.

Untested because testing it is hard when the launcher patches itself out.
2017-02-18 16:21:28 +01:00
b74e9f47bb Don't crash when the HTTP request for getting the server status message fails.
Same thing as 82d9c3a57879, more or less.
2017-02-17 22:54:30 +01:00
1ab6781402 Merged in cwalther/cwe/setpublic (pull request #35)
Let ptVault.setAgePublic accept ptVaultAgeInfoNode in addition to ptAgeInfoStruct

In this case it now also works for non-owners of the age. Previously it only worked for owners because the ageInfoStruct does not contain the vault node ID, so it needed to be looked up somewhere, and that was in the AgesIOwnFolder.

Prerequisite for hood auto-bump (MOULSCRIPT-ou PR #22).

From H-uru/Plasma#461.
2015-04-03 23:10:31 +02:00
d8a5f03e9c Merged in cwalther/cwe/textrendering (pull request #36)
Shadowed Chat and Player List Text

This implements the (existing but unimplemented) plDynamicTextMap::kFontShadowed flag, making the text of the mini KI (player list and chat) better readable on light and patterned backgrounds.

For best results, an additional Python change is recommended: MOULSCRIPT-ou PR #23.

From H-uru/Plasma#392.
2015-04-03 23:09:00 +02:00
2abd744ba6 Merged in ian_mcintosh/cwe-ou/lostlogins (pull request #33)
Fix for forgotten logins when removable media attached.

Incorporated suggestions from PR #32 which this replaces. Moved CloseHandle as suggested.

Addresses JIRA CWE-37 Corrects incorrect assignment of drive letter to the drive actually being interrogated and ignores removable drive types such as CD/DVD and USB Flash and HDs.

Alternative solution that moves login credentials to the registry is being prepared by Deledrius - H-uru/Plasma PR#448 may be a better long term fix - I'm simply offering what I have.
2015-04-03 23:08:09 +02:00
2e73c3667a Merged in cwalther/cwe/statusmessagecrash (pull request #31)
Don't crash when the HTTP request for getting the server status message fails

This fixes the crash that keeps Windows 7 users out of the game when support.cyanworlds.com is down, reported with some regularity e.g. at http://mystonline.com/forums/viewtopic.php?f=40&t=27352 .

Apparently on Windows 7, unlike on Windows XP and contrary to its documentation, WinHttpReadData() does not zero its lpdwNumberOfBytesRead argument when called with an invalid request, so the lack of error checking here bites.
2015-04-03 23:07:05 +02:00
4eb7810d81 Merged in Lyrositor/cwe-ou/scroll-position (pull request #26)
Add functions to fix KI Chat scrolling issue.

These two Python/Plasma functions are used in the moul-scripts fix for the scrolling KI Chat issue.

It must be pulled in before https://bitbucket.org/OpenUru_org/moulscript-ou/pull-request/19
2015-04-03 23:03:29 +02:00
343c6ffbda Reintroduce plBinkPlayer stub
and reenable as much USE_BINK_SDK stuff as empirically needed to get the Yeesha intro movie cave to disappear on its own, as before merging Cyan's Build 918.

Not the cleanest way, but I'm trying to minimize effort spent on this until we can get the proper solution, VP9 video support, from https://github.com/H-uru/Plasma/pull/458 .
2015-02-13 22:42:13 +01:00
c68640f76c winmain.cpp edited online with Bitbucket 2014-12-25 22:52:25 +00:00
ce5719c83f Let ptVault.setAgePublic accept ptVaultAgeInfoNode in addition to ptAgeInfoStruct.
In this case it now also works for non-owners of the age. Previously it only worked for owners because the ageInfoStruct does not contain the vault node ID, so it needed to be looked up somewhere, and that was in the AgesIOwnFolder.
2014-12-25 00:26:39 +01:00
c71e8fbee0 Fix for forgotten logins when removable media attached. Incorporated suggestion from previous PR #32 on OpenUru_org/CWE-ou 2014-10-14 18:45:30 +01:00
21e2a6de7b Fix MSVC7 warnings. 2014-08-23 21:10:55 +02:00
8b62863419 Don't crash when the HTTP request for getting the server status message fails. 2014-08-15 20:19:38 +02:00
9c609b9fd8 Modulate text shadow opacity by the alpha of the text color to make the player lists fade properly.
Also, the text of the faded-out player list is re-rendered with alpha == 0 every time the mouse enters its area, do a little less needless work in that case.
2014-06-07 18:22:41 +02:00
d1c86267b3 Const getters 2014-04-25 12:17:47 +02:00
6b2dedf547 Make font flags available to Python in PlasmaConstants. 2014-04-12 10:22:07 +02:00
192e4a252c Fix comment Hoikas 2014-04-25 11:57:33 +02:00
c0b63e4237 Fix ptGUIControl.setFontFlags().
Previous revision didn't work, many controls retained their shadows because they never got the new flags from the color scheme and put them into the dynamic text map. I haven't checked if any more of the many control classes are affected, but those that we need in the KI right now are covered.
2014-04-10 22:59:37 +02:00