BTW Config Tweaker mod Bug

If you're having problems with your installation of Better Than Wolves, or if you've woken up in the future and are beginning to doubt the nature of reality, here's the place to post about it.
Post Reply
Nassty
Posts: 3
Joined: Wed Dec 20, 2023 10:11 pm

BTW Config Tweaker mod Bug

Post by Nassty »

Using the Tweaker Mod for BTW and for some reason it won't let me tweak the max spawn radius.
Spoiler
Show

Code: Select all

MultiMC version: 0.7.0-3813


Launched instance in online mode

authserver.mojang.com resolves to:
    [13.224.14.94, 13.224.14.71, 13.224.14.98, 13.224.14.55]

session.minecraft.net resolves to:
    [2620:1ec:bdf::70, 2620:1ec:46::70, 13.107.246.70, 13.107.213.70]

textures.minecraft.net resolves to:
    [2620:1ec:46::70, 2620:1ec:bdf::70, 13.107.213.70, 13.107.246.70]

api.mojang.com resolves to:
    [2620:1ec:46::70, 2620:1ec:bdf::70, 13.107.213.70, 13.107.246.70]


Minecraft folder is:
D:/downloads2/MultiMC/instances/Cursed-Fabric-BTW-MultiMC/.minecraft


Java path is:
C:/Program Files/Java/jre1.8.0_152/bin/javaw.exe


Checking Java version...
Java is version 1.8.0_152, using 64-bit architecture, from Oracle Corporation.


Main Class:
  net.fabricmc.loader.launch.knot.KnotClient

Native path:
  D:/downloads2/MultiMC/instances/Cursed-Fabric-BTW-MultiMC/natives

Traits:
traits legacyLaunch
traits texturepacks
traits noapplet

Libraries:
  D:/downloads2/MultiMC/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar
  D:/downloads2/MultiMC/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar
  D:/downloads2/MultiMC/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar
  D:/downloads2/MultiMC/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar
  D:/downloads2/MultiMC/libraries/org/ow2/asm/asm/9.0/asm-9.0.jar
  D:/downloads2/MultiMC/libraries/org/ow2/asm/asm-analysis/9.0/asm-analysis-9.0.jar
  D:/downloads2/MultiMC/libraries/org/ow2/asm/asm-commons/9.0/asm-commons-9.0.jar
  D:/downloads2/MultiMC/libraries/org/ow2/asm/asm-tree/9.0/asm-tree-9.0.jar
  D:/downloads2/MultiMC/libraries/org/ow2/asm/asm-util/9.0/asm-util-9.0.jar
  D:/downloads2/MultiMC/libraries/net/fabricmc/sponge-mixin/0.8+build.18/sponge-mixin-0.8+build.18.jar
  D:/downloads2/MultiMC/libraries/net/fabricmc/tiny-mappings-parser/0.2.2.14/tiny-mappings-parser-0.2.2.14.jar
  D:/downloads2/MultiMC/libraries/net/fabricmc/tiny-remapper/0.3.0.70/tiny-remapper-0.3.0.70.jar
  D:/downloads2/MultiMC/libraries/com/google/jimfs/jimfs/1.1/jimfs-1.1.jar
  D:/downloads2/MultiMC/libraries/net/fabricmc/fabric-loader-sat4j/2.3.5.4/fabric-loader-sat4j-2.3.5.4.jar
  D:/downloads2/MultiMC/libraries/com/google/guava/guava/21.0/guava-21.0.jar
  D:/downloads2/MultiMC/libraries/net/fabricmc/access-widener/1.0.0/access-widener-1.0.0.jar
  D:/downloads2/MultiMC/libraries/org/apache/logging/log4j/log4j-api/2.19.0/log4j-api-2.19.0.jar
  D:/downloads2/MultiMC/libraries/org/apache/logging/log4j/log4j-core/2.19.0/log4j-core-2.19.0.jar
  D:/downloads2/MultiMC/libraries/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar
  D:/downloads2/MultiMC/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar
  D:/downloads2/MultiMC/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar
  D:/downloads2/MultiMC/libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar
  D:/downloads2/MultiMC/instances/Cursed-Fabric-BTW-MultiMC/libraries/cursed-fabric-loader-btw-1.1.0.jar
  D:/downloads2/MultiMC/instances/Cursed-Fabric-BTW-MultiMC/libraries/intermediary-btw-1.5.2.jar
  D:/downloads2/MultiMC/instances/Cursed-Fabric-BTW-MultiMC/.minecraft/bin/minecraft.jar

Native libraries:
  D:/downloads2/MultiMC/libraries/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-windows.jar
  D:/downloads2/MultiMC/libraries/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-windows.jar

Mods:
  [✔️] craft-guide-3.0.1.jar
  [✔️] silly-hats-addon-1.0.0.jar
  [✔️] tweaker-1.4.1.jar
  [✔️] waila-fabric-beta-1.0.6.jar

Jar Mods:
  BTW-CE-2.1.4 (6857a551-f685-4bac-b42c-b7d6d9256c92.jar)

Params:
  --username TheNassau --session token:<ACCESS TOKEN>:<PROFILE ID> --gameDir D:/downloads2/MultiMC/instances/Cursed-Fabric-BTW-MultiMC/.minecraft --assetsDir D:/downloads2/MultiMC/instances/Cursed-Fabric-BTW-MultiMC/.minecraft/resources

Window size: 854 x 480

Java Arguments:
[-Xverify:none, -Dfml.ignoreInvalidMinecraftCertificates=true, -Dfml.ignorePatchDiscrepancies=true, -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump, -Xms512m, -Xmx1024m, -Duser.language=en]


Minecraft process ID: 10828


Using onesix launcher.

Could not find Minecraft path field.

MCPatcherUtils initialized:
Minecraft directory: C:\Users\Marcus\AppData\Roaming\.minecraft
  (assets, libraries, versions)
Game directory:      C:\Users\Marcus\AppData\Roaming\.minecraft
  (resourcepacks, saves)
Minecraft version:   1.5.2
MCPatcher version:   5.0.3
Max heap memory:     910.5MB
Max direct memory: 910.5MB
WARNING: configuration file C:\Users\Marcus\AppData\Roaming\.minecraft\mcpatcher.json not found, using defaults
WARNING: could not determine selected profile, defaulting to MCPatcher
Launcher profile:  MCPatcher

228 recipes
27 achievements
...Add-On Handler Initializing...
Classloader: net.fabricmc.loader.launch.knot.KnotClassLoader
Minecraft jar found: jar:file:/D:/downloads2/MultiMC/instances/Cursed-Fabric-BTW-MultiMC/.minecraft/.fabric/remappedJars/minecraft-1.5.2/intermediary-minecraft.jar!/
Found Add-on: BTWAddon
Found Add-on: BTWMod
Found Add-on: CraftGuideAddon
Found Add-on: SillyHatsAddon
Found Add-on: TweakerAddon
Found Add-on: WailaAddon
Better Than Wolves Community Edition Version 2.1.4 Initializing...
Better Than Wolves Initialization Complete.
Tweaker Version 1.4.1 Initializing...
Failed to invoke the Minecraft main class:
Exiting with -1
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:228)
	at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:231)
	at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.multimc.onesix.OneSixLauncher.legacyLaunch(OneSixLauncher.java:164)
	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:273)
	at org.multimc.EntryPoint.listen(EntryPoint.java:143)
	at org.multimc.EntryPoint.main(EntryPoint.java:34)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226)
	... 10 more
Caused by: net.minecraft.class_72: maxSpawnRadius must not be less than minSpawnRadius
	at issame.tweaker.Config.verifyConfig(Config.java:39)
	at issame.tweaker.Config.putType(Config.java:185)
	at issame.tweaker.Config.putValue(Config.java:172)
	at java.util.HashMap.forEach(Unknown Source)
	at issame.tweaker.Config.loadConfig(Config.java:20)
	at issame.tweaker.TweakerAddon.initialize(TweakerAddon.java:28)
	at btw.AddonHandler.initializeMods(AddonHandler.java:183)
	at net.minecraft.class_1600.<init>(class_1600.java:315)
	at net.minecraft.client.main.Main.init(Main.java:27)
	at net.minecraft.class_1600.main(class_1600.java:2418)
	at net.minecraft.client.main.Main.main(Main.java:130)
	... 15 more
Process exited with exit code -1 (0xffffffffffffffff).
Please note that usually neither the exit code, nor its description are enough to diagnose issues!
Always upload the entire log and not just the exit code.
Clipboard copy at: 20 Dec 2023 19:16:37 -0800
And here's what the config file looks like:
Spoiler
Show

Code: Select all

# The maximum radius the player will respawn from world spawn.
maxSpawnRadius=100.0

# The minimum radius the player will respawn from world spawn.
minSpawnRadius=1.0

# The radius at which the player will respawn after dying recently.
quickSpawnRadius=50.0

# The player's health after a quick spawn. (2 = one heart)
quickSpawnHealth=10

# The minimum amount of hunger after a quick spawn. (6 = one shank)
quickSpawnHungerMin=24

# The amount of hunger a player loses on each quick spawn. (6 = one shank)
quickSpawnHungerLoss=6

# Multiplier used for `maxSpawnRadius` when playing with Large Biomes.
largeBiomeMultiplier=1

# Multiplier used for 'maxSpawnRadius' after activating an End portal.
endMultiplier=1

# Multiplier used for 'maxSpawnRadius' after summoning a Wither.
witherMultiplier=1

# Multiplier used for 'maxSpawnRadius' after activating a Nether portal.
netherMultiplier=1

# Villages within this radius from world spawn will be abandoned.
abandonedVillageRadius=2250.0

# Villages within this radius from world spawn will be partially abandoned.
partiallyAbandonedVillageRadius=3000.0

# Temples within this radius from world spawn will be looted.
lootedTempleRadius=2250.0

# Determines if lightning should start fires or not.
lightningFire=true
Thank you for your time.
Nassty
Posts: 3
Joined: Wed Dec 20, 2023 10:11 pm

Re: BTW Config Tweaker mod Bug

Post by Nassty »

Im trying to make the maximum spawn radius 500
User avatar
IssaMe
Posts: 70
Joined: Thu Feb 18, 2021 6:14 pm

Re: BTW Config Tweaker mod Bug

Post by IssaMe »

Just a fyi, this section is for base BTW tech support. For future addon bugs please post to the respective addon page.
Would this issue be similar to what you're experiencing? https://github.com/BTW-Community/Tweaker/issues/6

I know the recent updates have changed stuff to do with the spawn radius and other difficulty options. Unfortunately I haven't had time to get back to modding, but I'll keep it in mind for when I get back into it :)
Nassty
Posts: 3
Joined: Wed Dec 20, 2023 10:11 pm

Re: BTW Config Tweaker mod Bug

Post by Nassty »

Oh my bad. Thank you for your help
Post Reply