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

86 Commits

Author SHA1 Message Date
6678ab215c Fix another log string formatting issue found by Adam.
(cherry picked from commit 9e308cbebe)
2022-02-26 19:42:29 -07:00
d3fb073fed Fix parentheses mistake for retrieving streaming audio timings and apply code fix suggestions from Adam
(cherry picked from commit 126d7511e0)
2022-02-26 18:59:41 -07:00
d285b0b4d7 Apply code suggestions from rarified
(cherry picked from commit 64323c6073)
2022-02-26 10:59:51 -07:00
a8c211af28 Simplify SRT file path construction with suggestion from Hoikas
(cherry picked from commit 8a2534dff6)
2022-02-26 10:59:51 -07:00
3360ac478e Turn std::strings into char* before doing PyObject_CallMethod with them 2022-02-25 15:29:15 -07:00
d96be9ab30 Add missing message dispatch registration 2022-02-25 15:29:15 -07:00
f4b1de5826 Fix bad include, missing static declaration, SRT path directory, and formatting 2022-02-25 15:29:15 -07:00
d0d8dd246e Fix usage and overflow bug causing plWin32StreamingSound::GetActualTimeSec() to return absurd values. Needed fix for subtitle timings. 2022-02-25 15:29:15 -07:00
436d3d754c Initial pass at getting subtitle support in. Doesn't compile for unknown reasons 2022-02-25 15:29:15 -07:00
3b17e20fb9 Revert "Initial port of Mystler's code"
This reverts commit b0511ea068.
2022-02-25 15:28:04 -07:00
25ea208084 Revert "Add read and write file functions for clothing"
This reverts commit afed53f920.
2022-02-25 13:07:17 -07:00
a392a37fcd Revert "Change to ReadFromFile command per rarified"
This reverts commit f90ab01d44.
2022-02-25 13:07:15 -07:00
7c64654e1f Revert "More odds and ends from Mystler's PRs"
This reverts commit a82188cbf4.
2022-02-25 13:07:10 -07:00
a82188cbf4 More odds and ends from Mystler's PRs
(cherry picked from commit eb40f86349)
2022-02-20 11:08:49 -07:00
f90ab01d44 Change to ReadFromFile command per rarified
(cherry picked from commit 9e83bf7c8d)
2022-02-20 11:08:26 -07:00
afed53f920 Add read and write file functions for clothing
(cherry picked from commit 4f13d37905)
2022-02-20 11:08:26 -07:00
b0511ea068 Initial port of Mystler's code
Add coding from Mystler's original commits

(cherry picked from commit 6b3b966f81)
2022-02-20 11:08:24 -07:00
dfc89b363c Don't update to visible arrow when cursor should be hidden
(cherry picked from commit 51b6b4750b)
2022-02-20 10:02:49 -07:00
9ab07771df Fixes bug where avatar run-lock state can get confused after alt-tabbing
(cherry picked from commit 69dac251b6)
2022-02-20 10:02:44 -07:00
fd260827aa Fix error due to no Empty()
(cherry picked from commit e81af06584)
2022-01-24 20:56:41 -07:00
da5ba1062b Files for Allowing disabling avatar panic links
(cherry picked from commit 5f3a8644a7)
2022-01-24 15:43:15 -07:00
8291326614 Ensure we don't try to get localized values for null objectnames
(cherry picked from commit b00c7729cc)
2022-01-24 14:59:45 -07:00
90e67f6206 Changes needed so climbing works correctly with wall
(cherry picked from commit 62089be53f)
2022-01-07 13:04:20 -07:00
a974c9f1b2 Update error messages for new variable 2022-01-07 13:03:44 -07:00
f05d71a214 Adds default clothing changes broadcast to other clients 2022-01-07 13:03:10 -07:00
924152da98 oops kwlist was wrong 2021-12-13 20:35:17 -08:00
587414dfa5 Adds default clothing changes broadcast to other clients 2021-12-13 16:25:15 -08:00
4125564512 Merge branch 'ticket/30'
closes #30
2021-12-03 15:12:44 -07:00
4a79c78e43 Merge branch 'ticket/22'
closes #22
2021-12-03 15:12:13 -07:00
02c72148c3 Merge branch 'ticket/21'
closes #21
2021-12-03 15:11:44 -07:00
3699a8c8c0 Merge branch 'ticket/20'
closes #20
2021-12-03 15:10:51 -07:00
586dc00864 Merge branch 'ticket/29'
closes #29
2021-12-03 15:08:11 -07:00
02f3e17d3f Merge branch 'ticket/28'
closes #28
2021-12-03 15:07:43 -07:00
95ab8161f0 Graphics cleanup for old graphics card tunables.
c.f. H'uru commits:

>    commit e4e718e243
>    Author: Adam Johnson <AdamJohnso@gmail.com>
>    Date:   Fri Feb 1 17:19:50 2013 -0500
>
>        Bypass ATI Generic fudging with Radeon HD cards

>    commit bbae6a76d7
>    Author: Adam Johnson <AdamJohnso@gmail.com>
>    Date:   Sat Nov 30 20:02:08 2013 -0500
>
>        We don't support 3dfx cards...
>
>        Come on, man... They made some good cards, but they went out of business
>        in 1999! Ain't nobody got time fo' dat.

>    commit a30a326d17
>    Author: Adam Johnson <AdamJohnso@gmail.com>
>    Date:   Sat Nov 30 20:06:19 2013 -0500
>
>        We only support DirectX 9...
>
>        If you have less than 11MB VRAM or need to use the ref implementation,
>        then you are using a dinosaur and have no business even attempting to play
>        this game.

>    commit 544abef39e
>    Author: Adam Johnson <AdamJohnso@gmail.com>
>    Date:   Sat Nov 30 20:41:56 2013 -0500
>
>        Wow, those cards are old...
>
>        Remove detection for cards that are don't support at LEAST DirectX 8.
>        There's no way they would even be able to get past Direct3DCreate9, so we
>        shouldn't need to worry about them... I hope.

>    commit 9070d70e50
>    Author: Branan Purvine-Riley <branan@gmail.com>
>    Date:   Sat Jul 27 14:50:20 2013 -0700
>
>        Lots of cleanups to hsG3DeviceDelector

>    commit ac23835384
>    Author: Branan Purvine-Riley <branan@gmail.com>
>    Date:   Sat Jul 27 15:09:24 2013 -0700
>
>        Get rid of obsolete readers/writes for device info

>    commit fc67738ee8
>    Author: Branan Purvine-Riley <branan@gmail.com>
>    Date:   Sat Jul 27 15:50:10 2013 -0700
>
>        Remove some obviously obsolete caps

>    commit 60c544e1ff
>    Author: Adam Johnson <AdamJohnso@gmail.com>
>    Date:   Fri Nov 29 23:42:20 2013 -0500
>
>        Don't lazy-load D3D9.dll
>
>        We already link against it, so that's just a waste of time. Also, cleanup
>        some unneeded ddraw includes. Remember that in Direct3D9, all devices can
>        render in windowed mode.
2021-11-17 09:22:40 -07:00
fa41ec7f16 Always decompress OGGs updated by plUruLauncher.
This prevents users from needing to manually delete files from their
streamingCache folder when an audio file is updated. Note that this will
not fix streamingCaches that are already in a borked state.
2021-11-12 20:28:27 -05:00
b3805c1293 Merge branch 'ticket/25'
closes #25
2021-11-05 15:50:01 -06:00
c99503f2ca Merge branch 'ticket/24'
closes #24
2021-11-05 15:49:21 -06:00
7be998219f Fix #ifdef limiting Plasma App.SetLanguage command access in Internal client. 2021-11-05 15:42:23 -06:00
0a5abca4e9 Fix garbled stack traces.
Newer versions of VS and Windows use ASLR for security purposes, meaning
that the module may be relocated from what is expected by the linker map
file. While we could kludge around that by disabling ASLR, it would be
better to just map the actual stack addresses to the expected addresses.
This also simplifies all of the weird segment math to simply use the
rvabase value in the map file.
2021-10-18 12:37:36 -04:00
271a801834 Add console command App.Crash to debug garbled stack traces. 2021-10-18 12:33:20 -04:00
fd3b9ac5ec Fix reference counting problem in pyVaultNode::AddNode().
This is fixed in H'uru via extensive use of RAII around vault nodes.
2021-10-17 15:13:12 -04:00
e605e670b1 Fix vaultOperation Python object leak.
This fixes a leak of a Python bound method. Leaking this means that
PythonFileMods keys are still loaded when the client exits. These
methods are most commonly used by xSimpleImager.py, so the effect of the
leak can be observed by simply linking to Relto and quitting with a leak
detector active.
2021-10-17 15:02:20 -04:00
c65b062e0f Fix misplaced return value.
The "wait for server response" return value was short-circuiting the
"already done" value. The previous commit fixed always needing a new
instance, exposing this problem.
2021-10-17 14:48:23 -04:00
d7c999c8f3 Correct calls to StrTo(Unicode|Ansi) to use the correct size. 2021-10-12 15:10:51 -04:00
46bc8cca4d Correctly allocate the NetVaultNode in pyVaultPlayerInfoListNode.
The affected code was ported from H'uru where NetVaultNode has a zeroing
constructor. OU does not have a zeroing constructor for this class, and
instead assumes that all allocations will be done with NEWZERO (there is
a debug mode assertion to this effect). The result of the improper
allocation is that the node fields flag could be garbage, causing a
vault node with random contents to be written to the server.

Unfortunately, NetVaultNode::Read_LCS is not extremely resilient to
reading in unexpected data, so this may result in a crash.
2021-10-02 00:55:10 -04:00
8fa0369486 Review changes cf. Adam: change name of local vars to not start
with 'f' prefix (used for fields in objects).
Also removed trailing space from lines that irritate Git difference listings.
2021-09-10 15:36:36 -06:00
7499f2f037 Fix wild access to font structures when rendering non-ascii unicode characters. 2021-09-10 10:25:22 -06:00
7ad6edd4d4 Fix assertion with incorrect limit on age sequence prefix. 2021-09-10 10:22:39 -06:00
8ab3ac4e9a Fix incorrect string handling in pfJournalBook::IRenderPage()
Unify references to HTML string chunk as being accessed as wchar_t[]
strings rather than repeatedly calling std::wstring.c_str() on the
chunk, then using character positions obtained from those strings
to index directly into the std::wstring[] form from chunk->fText.
2021-09-10 10:16:29 -06:00
e2aec8d52c Fix an infinite loop in plDxPipeline.
H'Uru PR #719 commit log:

commit 5f53b86494605c484c0b304e0a5ab15a07929106
Author: Adam Johnson <AdamJohnso@gmail.com>
Date:   Fri Sep 4 07:38:15 2020 -0400

    Fix an infinite loop in plDXPipeline.

    This was observed in a 2x2 DXT1 mipmap produced by Korman. While Korman
    should probably force such a thing to be uncompressed, the pipeline
    should also not be able to enter such an obviously invalid state.

M       Sources/Plasma/PubUtilLib/plPipeline/DX/plDXPipeline.cpp
2021-09-07 14:45:45 -06:00