Current Progress: Step 96 (completed)
hg clone https://bitbucket.org/<me>/cwe-ou cwe-ou-prrecreation cd cwe-ou-prrecreation
Covered by second pull request, this is redundant. Hopefully cancel preserves the comments.
hg push -f --new-branch -r 7159cad283c0 https://cwalther@bitbucket.org/OpenUru_org/cwe-ou
hg push -f --new-branch -r 13c818afc20b https://cwalther@bitbucket.org/cwalther/cwe
Fix Relto books not remembering last open page
Based on D'Lanor’s determination that the problem lies in the C++ code, I have found and fixed the problem that causes the books on the Relto bookshelf not to remember the page on which they were last open beyond the first two spreads. The problem was that the book only paginates its content on demand, up to the requested page. When told to go to a page that it didn’t know yet where in the content stream it started (a higher page number than the ones paginated so far), it would simply refuse to go there and go to page 0 instead. (In the Relto shelf case, the Python code would however still think it was on a higher page, which would cause the stored SDL value to go out of sync with what was shown to the user.) That check looks like it was meant to prevent going to a higher page than there is in the book, but failed to achieve that because it was only considering already paginated pages. However, such a check is not even necessary – nothing bad happens when you go beyond the end of the book, you simply end up on a blank page from which you can flip backward (repeatedly until you’re back on pages that exist), but not forward. Since that seems no worse an outcome than going to page 0 without telling the caller, I removed the check entirely. Preventing going to a higher page than already paginated is not necessary either, because rendering any page will automatically update the pagination as required. I also had to tweak an assertion that would trigger when going beyond the end of the book – a condition which by itself the engine handles just fine, the assertion was intended to catch a different error condition. The reason why the Relto books worked for the first two spreads was that at the time the Python code issued the goToPage() call, the book had already been internally rendered in its initial state with the first spread (pages 0 and 1) open, therefore the start of page 2 (left page of the second spread) was already known and going to that page worked.
hg push -f --new-branch -r a39f8f521543 https://cwalther@bitbucket.org/cwalther/cwe
Add useful ignores
Working with Mercurial on the current CWE-ou codebase is hard when lots of generated files obstruct the view. Anyone who builds CWE-ou probably has already made an .hgignore file to hide these. To save other people the work of setting that up, that file should be committed to the repository. In the attached commit is one that works for me. Could people who occasionally build CWE-ou in its current state (if there even is anyone except me and the Jenkins build machine doing that…) check it out and see if it fits their setup too? (You might have built dependencies in different ways than I, opened projects that I never have, or have other differences that would cause more generated files to appear that aren’t covered by these rules.)
hg push -f --new-branch -r 408707c2228a https://cwalther@bitbucket.org/OpenUru_org/cwe-ou
hg push -f --new-branch -r 194ad82c81f6 https://cwalther@bitbucket.org/cwalther/cwe
hg pull -r 5abe7b557374 https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r 5abe7b557374 https://Skoader@bitbucket.org/Skoader/cwe-ou
Avatar clothing fix
This fixes the avatar being drawn without textures for a frame after switching from 1st to 3rd person camera.
hg push -f --new-branch -r a790ab54791d https://cwalther@bitbucket.org/OpenUru_org/cwe-ou
hg pull -r 50b9f795ba8d https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r 50b9f795ba8d https://boq@bitbucket.org/boq/cwe-ou
Basic clipboard functionality
Adds following commands to single- and multiline edit boxes: Ctrl-C - copy field contents to system clipboard Ctrl-V - paste contents of clipboard at current cursor position
hg push -f --new-branch -r f3497c6d7f6d https://cwalther@bitbucket.org/cwalther/cwe
Add plFileEncrypt, plFileSecure, plPythonPack to AllClient.sln.
As requested at http://forums.openuru.org/viewtopic.php?p=6100#p6100 . Build products are placed in MOULOpenSourceClientPlugin/Plasma20/tools/ (as plPythonPack.exe already was). Builds for me in the release build, I didn’t test thoroughly if the build products work. The debug build seems to be broken in various places and I didn’t bother trying to fix it.
hg push -f --new-branch -r 702115c42721 https://cwalther@bitbucket.org/cwalther/cwe
Wrap uses of the missing CyPythonIDE with #ifdef HAVE_CYPYTHONIDE
This fix is needed to build an internal client (without /DPLASMA_EXTERNAL_RELEASE). It is designed to match the corresponding fix in H-uru/Plasma ([daad778](https://github.com/H-uru/Plasma/commit/daad7785575997ed62cd01d472fd317c8165278c) etc.).
hg push -f --new-branch -r 8cfcf5e4dc20 https://cwalther@bitbucket.org/OpenUru_org/cwe-ou
hg pull -r 1cf50f5c8890 https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r 1cf50f5c8890 https://Skoader@bitbucket.org/Skoader/cwe-ou
Improve simulation timing
The problem : PhysX maintains an elapsed time accumulator and advances the simulation in fixed substeps specified by our step size at scene creation. The implementation did not take this into account which often resulted in a disconnect between its view of time and the actual simulation time in a given frame. The problem manifested itself most noticeably in what appears as a harsh application of gravity on avatars. Abruptly returning to the ground during a standing jump and quickly reaching terminal velocity when jumping from a height. The fix : Implement a more robust timing solution by mainting our own accumulator, only doing physics updates when enough time has passed to perform a substep and only advancing the simulation by multiples of our step size. A caveat : Animated subworlds are updated at a different resolution to the simulation. So while physics updates are no longer performed when the accumulated time is below our fixed step size, the global location of controllers that are in a subworld still need to be updated. Functions have been added to the controller classes to address this.
hg push -f --new-branch -r 7e7122346560 https://cwalther@bitbucket.org/cwalther/cwe
Improved Cursors
This is the second attempt at getting the following improvements to the Uru mouse cursors into CWE-ou: * fix the blurriness * add a subtle shadow to fix cursors being invisible on light backgrounds * cleaner, more regular appearance A (slightly outdated) picture for comparison is at http://forums.openuru.org/viewtopic.php?t=558&p=4265#p4265 , and anyone who has played on Gehn, TOC, or any other shard using the H'uru client has already seen the new cursors. In order to do this properly, in a way that will continue to work in a cross-platform future, a lot of work done by Deledrius in the H'uru fork is included: He added PNG support to Plasma and introduced a client resource manager that loads resources such as the cursors, but also voice chat indicators and the loading linking book animation, which were also replaced by higher-quality recreations, from a “resource.dat” file instead of from Windows resources. This also opens the way for other applications of PNG, such as saving the local copies of KI pictures in a lossless format instead of the heavily compressed JPEG we currently have. Note: the new code requires a newer version of libpng than included with the CWE sources. Like other library dependencies, this must be installed separately. Instructions for that are in the commit message of https://bitbucket.org/cwalther/cwe/changeset/45d168ab56a1 and will be added to the wiki once accepted.
hg pull -r df884259175f https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r df884259175f https://boq@bitbucket.org/boq/cwe-ou
hg pull -r 306cf89336a4 https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r 306cf89336a4 https://Skoader@bitbucket.org/Skoader/cwe-ou
Update for Visual Studio 2010.
This was done over several commits to make it easier to identify the changes that were required and to assist the review process. It adds VC10 project files for the client, most of the Plasma apps and the required Plasma libraries. Dependencies. The new projects are configured to find 3rd party libraries in the same locations as the 2003 projects with the following exceptions - VS2010 doesn't like the old speex lib in the repository, and will instead look in - xiph/include/speex and xiph/lib. And the ogg and vorbis libraries are also expected to be in the same directory - xiph/include/ogg, xiph/include/vorbis and xiph/lib. Project Configurations. Configurations have been setup for debug and release builds of the both the internal and external live client. Building the internal client is however dependent on cwalther's pull request here - https://bitbucket.org/OpenUru_org/cwe-ou/pull-request/8/wrap-uses-of-the-missing-cypythonide-with
hg push -f --new-branch -r 76a1dc09e4e3 https://cwalther@bitbucket.org/OpenUru_org/cwe-ou
hg pull -r 3c6515474b29 https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r 3c6515474b29 https://Lyrositor@bitbucket.org/Lyrositor/cwe-ou
Fixed console documentation.
Fixed console documentation. Prompting for brief HTML documentation no longer appends a new group to the previous one (see https://github.com/H-uru/Plasma/issues/170). This has been tested both by myself and by H'uru members.
hg pull -r 13845c184359 https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r 13845c184359 https://Lyrositor@bitbucket.org/Lyrositor/cwe-ou
hg push -f --new-branch -r 859db47980ce https://cwalther@bitbucket.org/OpenUru_org/cwe-ou
hg push -f --new-branch -r c3ee38e4d5d1 https://cwalther@bitbucket.org/OpenUru_org/cwe-ou
hg push -f --new-branch -r 09d108f45694 https://cwalther@bitbucket.org/OpenUru_org/cwe-ou
hg push -f --new-branch -r ac7157e1286e https://cwalther@bitbucket.org/OpenUru_org/cwe-ou
hg pull -r a613ad7ef1bb https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r a613ad7ef1bb https://Skoader@bitbucket.org/Skoader/cwe-ou
hg pull -r d583ce9216d9 https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r d583ce9216d9 https://Skoader@bitbucket.org/Skoader/cwe-ou
hg pull -r a5cbeb0afc6b https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r a5cbeb0afc6b https://Lyrositor@bitbucket.org/Lyrositor/cwe-ou
Allow clickables to function while sitting or AFK.
Fix from Hoikas. Original pull request: https://github.com/H-uru/Plasma/pull/176
hg pull -r 18ed2dcdd461 https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r 18ed2dcdd461 https://Lyrositor@bitbucket.org/Lyrositor/cwe-ou
Allow clickables to function while sitting or AFK.
Fix from Hoikas. Original pull request: https://github.com/H-uru/Plasma/pull/176
hg pull -r b9919b7026a9 https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r b9919b7026a9 https://Lyrositor@bitbucket.org/Lyrositor/cwe-ou
Fix various JPEG issues.
These three commits fix various issues with JPEG images in Uru.
hg pull -r ff364597b1cc https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r ff364597b1cc https://Lyrositor@bitbucket.org/Lyrositor/cwe-ou
Fix window and cursor issues.
This fixes mouse recentering problems and window grabbiness. I also threw in Deledrius' commit for fixing the calculation of window sizes.
Split pull request in two.
hg pull -r 9afd1f1e8b8c https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r 9afd1f1e8b8c https://Lyrositor@bitbucket.org/Lyrositor/cwe-ou
Add cursor fixes.
This fixes cursor recentering issues.
hg pull -r d2ceb05abd66 https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r d2ceb05abd66 https://Lyrositor@bitbucket.org/Lyrositor/cwe-ou
Fix improperly calculated window size in initial Windowed mode.
This fixes the calculation of window size.
hg pull -r 645c4f575155 https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r 645c4f575155 https://Hoikas@bitbucket.org/Hoikas/cwe-ou
PtKickClient
hg push -f --new-branch -r 2e428599e5a4 https://cwalther@bitbucket.org/OpenUru_org/cwe-ou
hg pull -r bf339e04e754 https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r bf339e04e754 https://Skoader@bitbucket.org/Skoader/cwe-ou
Avatar physics update
A significant and much needed cleanup of the avatar physics code. It resolves numerous issue with and greatly simplifies the physx character controller implementation. While there is still room for improvement, this is a good starting point. Avatars now jump consistently, regardless of cpu speed. Fixes unexpected camera transitions with entering/exiting some subworlds. (Teledahn elevator) Fixes a jitter in animated subworlds. (Er'cana harvester) Dynamic controllers are correctly positioned on the ground. (Jalak) Much improved interaction with dynamic physicals. Other physics related issues may or may not be addressed.
superseded by #20
Superseded by pull request #14.
hg pull -r 39de09bbc488 https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r 39de09bbc488 https://Lyrositor@bitbucket.org/Lyrositor/cwe-ou
hg push -f --new-branch -r 6f58eda6597e https://cwalther@bitbucket.org/cwalther/cwe
hg pull -r 8ac4474f01e5 https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r 8ac4474f01e5 https://Skoader@bitbucket.org/Skoader/cwe-ou
hg pull -r d8b05ecc991d https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r d8b05ecc991d https://Skoader@bitbucket.org/Skoader/cwe-ou
Free the cursor
Replacement for #17. Allows the cursor to leave the client window and disables mouse recentering at load time. Added some fixes for issues uncovered in testing.
Replaced by #21.
hg push -f --new-branch -r 4f69739baa8b https://cwalther@bitbucket.org/OpenUru_org/cwe-ou
hg push -f --new-branch -r 32a1e0bbf140 https://cwalther@bitbucket.org/OpenUru_org/cwe-ou
hg push -f --new-branch -r ba11c38e3d4a https://cwalther@bitbucket.org/OpenUru_org/cwe-ou
hg push -f --new-branch -r 2eb086eeb0cd https://cwalther@bitbucket.org/OpenUru_org/cwe-ou
hg push -f --new-branch -r 1524cc633ac2 https://cwalther@bitbucket.org/OpenUru_org/cwe-ou
hg push -f --new-branch -r f401469e6a7b https://cwalther@bitbucket.org/OpenUru_org/cwe-ou
hg push -f --new-branch -r a21dd5620cf5 https://cwalther@bitbucket.org/OpenUru_org/cwe-ou
hg pull -r 05e94069ffde https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r 05e94069ffde https://Skoader@bitbucket.org/Skoader/cwe-ou
hg pull -r 6673cec9d0e8 https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r 6673cec9d0e8 https://Skoader@bitbucket.org/Skoader/cwe-ou
hg pull -r 9634c2010aed https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r 9634c2010aed https://Skoader@bitbucket.org/Skoader/cwe-ou
Fix intermittent spawn bug
This fixes missing quabs in Ahnonay.
hg pull -r a45a10129d55 https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r a45a10129d55 https://Skoader@bitbucket.org/Skoader/cwe-ou
hg pull -r 4960b899748e https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r 4960b899748e https://Skoader@bitbucket.org/Skoader/cwe-ou
hg pull -r c2a16d40ede7 https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r c2a16d40ede7 https://Lyrositor@bitbucket.org/Lyrositor/cwe-ou
Fix remote code execution through Python.Cheat and Python.RunFile
An exploit fixed by boq. Original pull request: https://github.com/H-uru/Plasma/pull/218 This somewhat modifies the syntax used for running Python.Cheat; it's still easier to use it directly in Python, though.
hg pull -r 0a18b77d31ca https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r 0a18b77d31ca https://Lyrositor@bitbucket.org/Lyrositor/cwe-ou
Be careful to choose the right one of the two heads of the exploit-fix branch (0a18b77d31ca, not c2a16d40ede7). I’m not sure if you will be able to do that. If not, you may have to strip the wrong one. If you do strip it, push it again after creating the pull request to fix PR #23 that was broken by the stripping.
Fix remote code execution through Python.Cheat and Python.RunFile
An exploit fixed by boq. Original pull request: https://github.com/H-uru/Plasma/pull/218 This somewhat modifies the syntax used for running Python.Cheat; it's still easier to use it directly in Python, though. Note: This is the second take on this PR, since a bug in Bitbucket prevented the use of the previous one.
hg push -f --new-branch -r 2d1d7ee120d9 https://cwalther@bitbucket.org/cwalther/cwe
Free the cursor, update
Updates to pull request #21 by Hoikas that fix the issue that quick mouse moves while walking/looking by mouse could get the cursor out of the window and break the continuous turning. From [H-uru PR #221 “Window fixes”](https://github.com/H-uru/Plasma/pull/221).
hg pull -r ac3336eff8f7 https://bitbucket.org/cwalther/cwe-ou-nobink-pullrequests hg push -f --new-branch -r ac3336eff8f7 https://Lyrositor@bitbucket.org/Lyrositor/cwe-ou
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