Git Product home page Git Product logo

demeomods's People

Contributors

pokachi avatar

Stargazers

 avatar

Watchers

 avatar  avatar

demeomods's Issues

[Question] May I use the list of modifications that DifficultyMod introduces?

Hiya @Pokachi 👋🏾 👋🏾 !

I've been working on what I've been calling the RulesAPI mod for creating different game modes. Some info here: https://github.com/orendain/DemeoMods#rulesapi--rules

Short term plan for RulesAPI is to ship with a predefined set of rulesets/gamemodes (e.g., "QoL Tweaks", "Funmode 1", "Hunter's Paradise", "Godmode but Timelimit", etc.). Needless to say, the list of adjustments that DifficultyMod introduced would be hugely helpful in any number of the envisioned rulesets.

I'd love permission to copy the list of adjustments that DifficultyMod has introduced to create "rules" out of them (with the utmost explicit credit, of course). I whipped up a couple of 100% functional ports as examples.

The location of where the DifficultyMod-extracted rules live would be up to you.

  • They're more than welcomed to live alongside the out-of-the-box rules that are being created - in which case I'll merge the PRs above.
  • Or they can be defined as part of, for example, a DifficultyMod Rules pack maintained on your end - in which case I'll happily close the PRs.

WDYT?


Naturally, that also brings up the proposal of possible future integration between DifficultyMod and RulesAPI.

With the different DifficultyMod modifications extracted as RulesAPI rules, DifficultyMod could create a "DifficultyMod ruleset" referencing the extracted rules instead of handling each of the patches itself.

It could go something like:

def onDifficultyModConfigChangeOrOnGameStartOrOnSomethingElse():
  rulesToUse = {
    new MonsterDamageAdjustedRule(200%),  // where argument is adjusted via DifficultyMod UI
    new MonsterRespawnDisabledRule(),
    new GoldPileValueMultipliedRule(150%),
    ...
  }
  
  RulesAPI.useRuleset(new Ruleset("DifficultyModRuleset", rulesToUse))

It may be more trouble than it's worth in the shortterm 🤷🏾, just figured I'd throw the idea out there for the record.


So as not to step into DifficultyMod's turf, per se, there are no plans to create a RulesAPI UI for Rules management/configuration, and no plans to create "Easy/Medium/Hard Difficulty" rulesets if DifficultyMod is updated. Otherwise, we'll create a ruleset for it with attribution to DifficultyMod. 👍🏾

Black screen after starting game on Occulus PC rat king version of Demeo.

I've been trying to get this mod working with the Occulus PC Rat King version of Demeo (not the Steam one) and although the mod emits messages on the console during demeo startup, when I try to host a game or go into a skirmish the screen goes black. The game is still running and responding to button pushes, but there is nothing visible. I think this is happenening at the time that the mod is supposed to bring up the options menu to change the settings.

I'd formerly tried Melonloader 0.31 and 0.40 without success. I even went to as far as downloading the mod source and building my own DLL but that behaved in exactly the same way. As I haven't been able to get the mod working, I've been using the mod sourcecode as a reference to help me find settings to change inside UnityExplorer.

I was just about to have another attempt at getting this mod working with Melonloader 0.31 when I notieced that the link in the README.md for Melonloader 0.31 takes you through to build artefact links which have expired and are no longer available.

Please can you let me know if this mod will work OK with a newer Melonloader version, and if you've got any idea what might be causing the black screen issue for me. I've got the source locally and can build/test tweaks if you're able to point me in the right direction.

Thanks.

Error in HarmonyLib

[13:21:56.088] ------------------------------
[13:21:56.091] MelonLoader v0.5.2 Open-Beta
[13:21:56.094] OS: Windows 10
[13:21:56.096] Hash Code: 5356495797501001019754549748505151569910110253102551015299505555564898
[13:21:56.104] ------------------------------
[13:21:56.107] Name: Demeo
[13:21:56.109] Developer: Resolution Games
[13:21:56.124] Unity Version: 2019.4.12
[13:21:56.142] Game Type: MonoBleedingEdge
[13:21:56.160] Game Arch: x64
[13:21:56.169] ------------------------------
[13:21:56.182] Core::BasePath = C:\Program Files (x86)\Steam\steamapps\common\Demeo
[13:21:56.192] Game::BasePath = C:\Program Files (x86)\Steam\steamapps\common\Demeo
[13:21:56.196] Game::DataPath = C:\Program Files (x86)\Steam\steamapps\common\Demeo\demeo_Data
[13:21:56.201] Game::ApplicationPath = C:\Program Files (x86)\Steam\steamapps\common\Demeo\demeo.exe

[13:21:59.264] Preferences Loaded!
[13:21:59.457] Loading Plugins...

[13:21:59.475] ------------------------------
[13:21:59.477] No Plugins Loaded!
[13:21:59.478] ------------------------------

[13:22:07.371] Game Version: 1.8.130869
[13:22:07.377] Loading MelonStartScreen...
[13:22:08.154] User32::SetTimer original: 0x7FFB08634070
[13:22:08.158] Applying USER32.dll::SetTimer Hook at 0x7FFB08634070
[13:22:08.161] Creating delegate for original USER32.dll::SetTimer (0x7FFAC8F201E0)
[13:22:08.165] Applied USER32.dll::SetTimer patch

[13:22:12.798] Loading Mods...

[13:22:13.161] ------------------------------
[13:22:13.165] 1 Mod Loaded
[13:22:13.174] ------------------------------
[13:22:13.179] Difficulty Mod v0.2
[13:22:13.197] by Reena
[13:22:13.216] SHA256 Hash: e2bd8fafac7d9c058369a86e2479b22452b31d518759010c8813a3ace5f49b72
[13:22:13.219] ------------------------------
[13:22:13.698] [Difficulty_Mod] [ERROR] HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static void DemeoMods.DifficultyMod.Core.DifficultyPatcher+CardSaleMultiplierPatcher::Postfix(Int32& __result)
at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) [0x00047] in :0
at HarmonyLib.PatchClassProcessor.Patch () [0x0006a] in :0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0006c] in :0
at HarmonyLib.PatchClassProcessor.Patch () [0x00095] in :0
at HarmonyLib.Harmony.b__11_0 (System.Type type) [0x00007] in :0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in :0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in :0
at MelonLoader.MelonHandler+<>c.<OnApplicationStart_Mods>b__29_0 (MelonLoader.MelonMod x) [0x0002a] in :0
at MelonLoader.MelonHandler.InvokeMelonMethod[T] (System.Collections.Generic.List1[T]& melons, MelonLoader.MelonHandler+InvokeMelonMethodDelegate1[T] method, System.Boolean remove_failed) [0x00032] in :0
Setting breakpad minidump AppID = 1484280
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561198120750169 [API loaded no]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.