Skip to content

Instantly share code, notes, and snippets.

@Hoikas
Hoikas / prp_as_text.py
Last active August 16, 2023 05:23 — forked from Deledrius/prp_as_text.py
A utility for producing a textual overview of a PRP file, used to compare in diffs.
#!/usr/bin/env python
# PRP_as_Text is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# PRP_as_Text is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
globalsdl BaronCityOffice tldnRopeBridgeFromBCOVis 1
globalsdl BaronCityOffice bcoGZMarkerVis 1
globalsdl BaronCityOffice bcoGZBeamVis 1
globalsdl Cleft clftYeeshaPage19Vis 1
globalsdl Descent dsntGZMarkerVis 1
globalsdl Descent dsntYeeshaPageMusicPlayerVis 1
globalsdl Descent dsntCalendarSpark05 1
globalsdl Descent dsntKILightFunc 1
globalsdl EderDelin dlnYeeshaPage21Vis 1
globalsdl EderDelin dlnYeeshaPageBenchVis 1
---------- Block 1468065 at 0x2208F2C8: 76 bytes ----------
Leak Hash: 0xE36F2940, Count: 2, Total 152 bytes
Call Stack:
ucrtbased.dll!malloc()
d:\agent\_work\57\s\src\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): plClient.exe!operator new() + 0x9 bytes
D:\Plasma\CyanWorlds.comEngine\Sources\Plasma\PubUtilLib\plVault\plVaultClientApi.cpp (1079): plClient.exe!0x0150118B() + 0x7 bytes
D:\Plasma\CyanWorlds.comEngine\Sources\Plasma\PubUtilLib\plVault\plVaultClientApi.cpp (86): plClient.exe!0x0151D50A() + 0x3A bytes
D:\Plasma\CyanWorlds.comEngine\Sources\Plasma\PubUtilLib\plVault\plVaultClientApi.cpp (360): plClient.exe!BuildNodeTree() + 0x47 bytes
D:\Plasma\CyanWorlds.comEngine\Sources\Plasma\PubUtilLib\plVault\plVaultClientApi.cpp (462): plClient.exe!FetchNodesFromRefs() + 0x17 bytes
D:\Plasma\CyanWorlds.comEngine\Sources\Plasma\PubUtilLib\plVault\plVaultClientApi.cpp (881): plClient.exe!0x015102DE() + 0x1D bytes

Collision Fixes

city

  • Rebuilt collision on the rocks at the Ferry to not block the avatar.
  • Rebuilt collision on the sandbags in the Courtyard to not block the avatar.
  • Fixed a toe-stub at the bottom of the Museum stairwell
  • Fixed three toe-stubs in the Canyon mall.
  • Fixed three toe-stubs near the meeting of the Canyon stairs, Great Stairs, and timeline in the courtyard.
  • Added collision to a boulder in the canyon that was previously intangible.
  • Rebuilt collision on rocks around the library to not block the avatar.
import bmesh
import bpy
from contextlib import contextmanager
@contextmanager
def bmesh_object(name):
mesh = bpy.data.meshes.new(name)
obj = bpy.data.objects.new(name, mesh)
obj.draw_type = "WIRE"
bpy.context.scene.objects.link(obj)
PS D:\Plasma\dirtsand> docker-compose up
Starting dirtsand_db_1 ... done
Starting dirtsand_moul_1 ... done
Attaching to dirtsand_db_1, dirtsand_moul_1
db_1 |
db_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_1 |
db_1 | 2020-05-23 23:52:17.686 UTC [1] LOG: starting PostgreSQL 12.3 (Debian 12.3-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
db_1 | 2020-05-23 23:52:17.686 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
db_1 | 2020-05-23 23:52:17.687 UTC [1] LOG: listening on IPv6 address "::", port 5432
@Hoikas
Hoikas / intro.md
Last active March 3, 2020 10:55
OU->H'uru Launcher

Introduction

As proprosed at the Minkata meeting and detailed on the OU forum, this is a demonstration of "minimum of fuss" way to update OU/Cyan Uru clients to a H'uru build. To begin, you will need a clean, up-to-date installation of MOULa. I recommend making a new copy of URU for testing purposes.

Unfortunately, due to the server encryption found on MOULa, you will need to download a new copy of UruLauncher.exe that has been built to connect to the testing server. This launcher build tracks what I believe to be the current copy of Minkata's UruLauncher.exe (HG changeset [748170b85220]). The only change is to the the gatekeepersrv keys. I have included a copy of the server keys in this gist if you want to build your own. The server IP is 155.254.30.62.

Download New Launcher Here

Once you have downloaded and replaced UruLauncher.exe, you may begin by running UruLauncher.exe.

Gehn 27 Checklist

BOLD indicates a beta-blocker. Nonbold items can be included temporarily as a gather package.

  • Chiso Preniv
    • Committed
    • Merged
  • Client Gathers
  • Converted GuildPubs
    • Committed (DoobesURU/CyanPubs)
  • Merged
Visual Leak Detector Version 2.5.1 installed.
Aggregating duplicate leaks.
Outputting the report to the debugger and to G:\Plasma\Games\CWE plClient\memory_leak_report.txt
WARNING: Visual Leak Detector detected memory leaks!
---------- Block 17103 at 0x01BA7950: 140 bytes ----------
Leak Hash: 0xD508286D, Count: 4, Total 560 bytes
Call Stack:
ucrtbased.dll!malloc()
D:\Libraries\VC++2019\x86\root\openssl-1.1.1c\crypto\mem.c (230): plClient.exe!CRYPTO_zalloc() + 0x10 bytes
Data:
# -*- coding: utf-8 -*-
""" *==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.