Minetweaker hates me

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Yusunoha

New Member
Jul 29, 2019
6,440
-4
0
AAARGH!!! I'm 2 strands of hair away from becoming bald...
I've been trying to get Minetweaker to work for 2 hours now and it doesn't want to work

I've a custom modpack right now based on the Monster pack, with a few mods added, removed and some configuration changes, but 2 items conflict with eachothers recipe, as they both have the same shapeless recipe.

I've been trying to get Minetweaker to remove the recipe from the item I don't want, but that didn't work. I tried to change the recipe of the item I don't want, but that didn't work. I tried to change the recipe of the item I do want, but that didn't work. I tried to remove the recipe of the item I want, but that didn't work. I tried to change the recipe of the anvil, but that didn't work. I tried removing the recipe of the anvil, but that didn't work

so yea.... I know Minetweaker works in Agrarian Skies, so I copied over the minetweaker file and configurations from Agrarian Skies over to the custom modpack and loaded that up.... nothing of the recipe changes showed up after loading

so I tried loading up Monster and see if Minetweaker worked over there, but to my surprise, not a single recipe changed showed up over there aswell...

does Minetweaker hate me or am I going to have to wear the wig of shame?
 

Mr_Turing

New Member
Jul 29, 2019
35
0
0
what does the FML log says? Minetweaker usually says what's wrong with the config file quite clearly.
Also, it received quite a large update just now, not sure if old configs are still valid.
 

Yusunoha

New Member
Jul 29, 2019
6,440
-4
0
what does the FML log says? Minetweaker usually says what's wrong with the config file quite clearly.
Also, it received quite a large update just now, not sure if old configs are still valid.

I'm still using Minetweaker 2.0 so the scripts shouldn't be a problem seeing as they're written for 2.0
the log doesn't say much really, I tried reloading the scripts through the ingame command and by restarting the client, both don't work
 

Mr_Turing

New Member
Jul 29, 2019
35
0
0
Can you post your scrips and the FML log?

It could be something else entirely, but just to make sure.
 

Yusunoha

New Member
Jul 29, 2019
6,440
-4
0
Can you post your scrips and the FML log?

It could be something else entirely, but just to make sure.

scripts are the ones provided with Monster and Agrarian Skies, but just incase, here's the Monster one

Code:
recipes.remove(<30886:10>);
recipes.addShapeless(<30886:10> * 8, [oreDict.ingotSteel, oreDict.ingotSteel]);
recipes.remove(<2562>);
recipes.addShaped(<2562>, [[<101>,<101>,<101>],[<101>,null,<101>],[<101>,<101>,<101>]]);
recipes.remove(<31953:2>);
recipes.addShaped(<31953:2>, [[oreDict.ingotIron,null,null],[oreDict.ingotIron,null,null],[oreDict.ingotIron,null,null]]);
recipes.remove(<120>);
oreDict.projredPart.remove(<*>);

as for the log, the only lines that Minetweaker are mentioned at are
Code:
2014-07-07 21:54:00 [INFO] [MineTweaker] Activating mod MineTweaker

and
Code:
2014-07-07 21:53:52 [INFO] [STDOUT] MineTweakerASM transformer class loading
2014-07-07 21:53:52 [INFO] [STDOUT] MineTweakerASM transformer class loading
 

Golrith

Over-Achiever
Trusted User
Nov 11, 2012
3,834
2,137
248
First, have a chocolate cookie, it'll make you feel better.

Your bit of code above, is it in it's own cfg file? If so, did you add include "blahblah.cfg"; to the main.cfg so that minetweaker knows to actually load it. When MineTweaker is processing every line, it reports what it's doing in "english" - "Removing recipe for Boat", "Adding recipe for Boat", etc.
If you are not seeing that in the console, MT is not processing those files.
 

Narc

New Member
Jul 29, 2019
259
0
0
does Minetweaker hate me or am I going to have to wear the wig of shame?
Minetweaker (at least, MT2) is... unfriendly, at best. It's reasonably well-documented if you already know, conceptually, about how it should work, but everyone learning it for the first time seems to have these issues.

Beyond that, what @Golrith said.
 

Yusunoha

New Member
Jul 29, 2019
6,440
-4
0
First, have a chocolate cookie, it'll make you feel better.

Your bit of code above, is it in it's own cfg file? If so, did you add include "blahblah.cfg"; to the main.cfg so that minetweaker knows to actually load it. When MineTweaker is processing every line, it reports what it's doing in "english" - "Removing recipe for Boat", "Adding recipe for Boat", etc.
If you are not seeing that in the console, MT is not processing those files.

*nom*nom*nom*nom*nom*

this is the code in the main file

Code:
# See the forum post for example and documentation.
version 2;

# set your list of server admin usernames here
# admins are privileged users and will receive
# any error messages that might occur.
minetweaker.setAdmins("Myself", "MyAdminBuddy");

# Add your commands here

include "RecipeFixesMonster.cfg";

the other file is named as how it's mentioned in the main config file
but I did not come across those lines in the log... I guess it's really as Narc says and it's just being very unfriendly
 

Golrith

Over-Achiever
Trusted User
Nov 11, 2012
3,834
2,137
248
Ok, are you making the changes in a single player game, or on a server? On a server the minetweaker files go into a MineTweaker folder within your world folder. Single player reads from the config folder.
 

Yusunoha

New Member
Jul 29, 2019
6,440
-4
0
Ok, are you making the changes in a single player game, or on a server? On a server the minetweaker files go into a MineTweaker folder within your world folder. Single player reads from the config folder.

singleplayer
 

Narc

New Member
Jul 29, 2019
259
0
0
Ok, are you making the changes in a single player game, or on a server? On a server the minetweaker files go into a MineTweaker folder within your world folder. Single player reads from the config folder.
Odd, I was under the impression that both worked in both cases. The MT files in the config would be read on startup, and the ones in the world both on startup and when "/minetweaker reload" is called.
 

Golrith

Over-Achiever
Trusted User
Nov 11, 2012
3,834
2,137
248
singleplayer
Can you provide a screenshot showing your minetweaker config folder? The first issue is that MT doesn't appear to be able to see the files, so there might be something wrong at filename/location level. Start with the basics, and work from there.
Odd, I was under the impression that both worked in both cases. The MT files in the config would be read on startup, and the ones in the world both on startup and when "/minetweaker reload" is called.
In the latest version 2, whatever is in the world file is transferred to the clients when they connect to the server. Makes for easy tweaking by server owners without having to redistribute configs.
 

Yusunoha

New Member
Jul 29, 2019
6,440
-4
0
Can you provide a screenshot showing your minetweaker config folder? The first issue is that MT doesn't appear to be able to see the files, so there might be something wrong at filename/location level. Start with the basics, and work from there.

2RnxYR6.png


I did crop/resize the screenshot a bit, so you don't have to look at a giant screenshot
 

Golrith

Over-Achiever
Trusted User
Nov 11, 2012
3,834
2,137
248
Well, that looks OK, apart from one thing, which might just be an annoying thing with Windows 7. Why are the files in your "Documents" folder? That's a very unusual place for installing minecraft/FTB.

That might be part of the problem, Minetweaker is unable to access/find that location for the config. Try relocating your minecraft/FTB installation directly into C:\

For example, I use C:\Games\FTB\
 

Yusunoha

New Member
Jul 29, 2019
6,440
-4
0
Well, that looks OK, apart from one thing, which might just be an annoying thing with Windows 7. Why are the files in your "Documents" folder? That's a very unusual place for installing minecraft/FTB.

That might be part of the problem, Minetweaker is unable to access/find that location for the config. Try relocating your minecraft/FTB installation directly into C:\

For example, I use C:\Games\FTB\

well, the weird thing is... the Agarian Skies pack is in the same location, and Minetweaker doesn't have a problem loading those config files
until I copy over all the configs from Agrarian Skies to the custom modpack, and suddendly Minetweaker acts dumb... I'm getting a feeling one of the mods that's in the custom modpack might be causing a ruckus with Minetweaker...
 

Golrith

Over-Achiever
Trusted User
Nov 11, 2012
3,834
2,137
248
well, the weird thing is... the Agarian Skies pack is in the same location, and Minetweaker doesn't have a problem loading those config files
until I copy over all the configs from Agrarian Skies to the custom modpack, and suddendly Minetweaker acts dumb... I'm getting a feeling one of the mods that's in the custom modpack might be causing a ruckus with Minetweaker...
That is odd.

OK, try this. Make a new pack that's just vanilla, forge and minetweaker, and make a minetweaker config that's "Dirt to Diamonds". Just to test that Minetweaker is loading just fine. If it is, it'll prove it's another mod causing the problem.
 

Yusunoha

New Member
Jul 29, 2019
6,440
-4
0
That is odd.

OK, try this. Make a new pack that's just vanilla, forge and minetweaker, and make a minetweaker config that's "Dirt to Diamonds". Just to test that Minetweaker is loading just fine. If it is, it'll prove it's another mod causing the problem.

tried it and it worked. so I guess it really is a mod who's messing with Minetweaker, now the only question is which one :p
anyway, thanks for the help, I should be able to do the rest from here myself :)
 

Golrith

Over-Achiever
Trusted User
Nov 11, 2012
3,834
2,137
248
tried it and it worked. so I guess it really is a mod who's messing with Minetweaker, now the only question is which one :p
anyway, thanks for the help, I should be able to do the rest from here myself :)
Np.

Best way is half your mods, test, and half and half until you can find it.