Enchantment Machine

Enchantment Machine

210k Downloads

Cannot transfer Silk Touch to diamond pick

Knito58 opened this issue ยท 33 comments

commented

I did enchant (vanilla) and disenchant (your mod) my golden pick about 20 times until a "silk touch" was found. This was then disenchanted likewise.

Now there's the big moment when the enchantment would make its way to my shiny new diamond pick.
It is popped into the enchanter, silk touch and many other pick-enchants are shown.

Clicking on silk touch or on any other just gives a click sound. The pick gets not enchanted. The green arrow says "enchant using 4 levels". Click. Nothing happens. Nothing is consumed, nothing is destroyed.

Trying to enchant other things like a diamond helmet (using up 4 levels also) just worked nicely as expected.

Did I miss something?

commented

Modpack: I made one which is not jet visible when searching: A ticket is on its way.
https://www.curseforge.com/minecraft/modpacks/konitorpack
I will install the new test version.
I have the same issues as @Pocketsnb when moving Enchantments to a book.
Gonna install the new testversion and send latest.log.

commented

debug.log
latest.log
This time after disenchanting the silk pick it worked.
I added also unbreaking III -> worked.
Then efficiency III -> stuck again.
After visiting the dragon my xp level was 69, should be enough for them 3 enchantments.

commented

After restarting game the silk touch pick was lost - i had left it in the enchanter.

commented

using KonitorPack 1.16.5-0.0.3:
(after replacing charm 2.2.2 with 2.3.2 since otherwise minecraft couldn't start)
Unfortunately i could not reproduce the enchanting error.

But while looking at your logs i could not find any traces of loading the mod (debug.log) or logging (latest.log). I don't want to sound rude, but are you sure that you are using the test version? The mod description int the mod list should look like this
2021-05-14_14 46 55

After restarting game the silk touch pick was lost - i had left it in the enchanter.

will be fixed

But thanks for debugging this with me and wasting your levels

commented

Logs And CurseForge modpack export if that helps.
debug.log
latest.log

Heavy-Tech World.zip

I don't see anything in the log files that indicates why it stops working, just that it was successful the last time it could enchant something.

commented

grafik
Sorry you're the first to test the uploaded KPack Version, I wanted to do this with my server as it turns out that what I have in my CurseForge Install Folder is not 1:1 what CurseForge believes it would "export". I have to clean out said export by hand. But what is on my machine that runs. Sorry for that. In the screenshot you see my modlist (catalogue from Mr Crayfish) and your Mod is inside. Also I uploaded a debug.log, which did not show up before the last 1.0.2 testversion.

I do not want to nag you. I want to help.

The logs were copied after shutting down after multiple unsuccessful attempts to put level III efficiency on my silk pick. In this attempt the silk touch enchantment worked, then the unbreaking worked and then it got stuck with efficiency again.

Player XP level was over 60 after returning from first END visit in this world. The arrow for "efficiency" was green, indicating it would work. There were some other arrows in red indicating it would not work.

commented

Thanks Pocketsnb,

at least it logs something.
is this only the server log file or the client log files?

Since i still couldn't reproduce it i have a last try at logging all possible relevant information.
final.zip (i also changed something; maybe is works)
(Please make sure to send the the server & client logs if playing on a server.)

commented

I think I've found the issue. When using the scroll bar on the side, it locks clicking of the buttons.
I've uploaded a video recording the enchanting process.
Enchantment Machine Debugging
debug (server).log
latest (server).log
latest (client).log

commented

Nice thanks for the video, no i can reproduce this

commented

yes found the error.

@Knito58 can you test if fix.zip solves the problem for you as well?

commented

Working for me!

commented
commented

Sorry, had some days with my grandchildren and forgot about this issue.

commented

After restarting Minecraft it did not work, either. But putting "efficiency III" on the pick worked.
And after this putting "silk touch" on it worked, too.
Now - my problem solved and I know how to make this in the next world. But there is still a question:

Why?

commented

Is this reproducible? And did you modify config values?

Atm i am not sure what could cause this, my first thought was a server/client data mismatch, but since still did not work after a restart as well that should not be the case. The other thing i can think of is a bug in the server side code.

commented

Config was not altered by me. I don't know whether it would have worked with first enchanting st else the first time. But it was stuck after second clean start.

commented

It feels like a rule that forbids the enchantment in some circumstances.

commented

do you still have the log files for the moment of the enchanting?

commented

Have a "latest.log" with no reference to enchantementmachine in it but the two former logfiles should have st in them.

commented

yes, that would probably help if you can attach them

commented
commented

Just to be complete....

commented

unfortunately i couldn't find any relevant information.

i added a few logging lines. Could you test the procedure again with the following test version and send me the debug log afterwards?
testversion.zip

commented

Silly question: Which folder is it where the debug.log is in?
latest.log
Disenchanted the pick. Clicked 4 times on the green arrow of "silk touch" (not works) and ended game.

commented

That should be in the same folder as the latest.log

commented

This should be the "logs" folder. But there's

... nothing ...

commented

You can see in the latest.log a warning that your dev version is installed. Would send debug.log if it was there. Is it only written when I set some vars in Forge to debug mode?

commented

Couldn't find out myself so here a version where the latest log should suffice.
testversion.zip

commented

... starting up

commented

latest.log
Disenchanted the pick again and tried to enchant it with silk touch.
Levels on player = 7 (after all that testing it went down)
But that should have worked as it really strips 4 levels.

commented

I'm getting similar behavior. Sometimes I can place enchants on a book, other times the UI doesn't allow update. Unfortunately, do not have time at the moment to do thorough testing.
Like, I can place a book in it, enchant it a few times, but then it locks up. Put in a different book and it won't let me enchant it. Place in a helmet and I can place an enchantment on it. Place the book back in and I still can't enchant it.

commented

I looked again and i still have no clue what is going on.

First of all are you using a modpack where i can test it myself?

Otherwise i have 2 options left:

  1. testversion.zip i created another testversion with detailed log informations
  2. test with version 1.0.0 https://www.curseforge.com/minecraft/mc-mods/enchantment-machine/files/3241809