Lambda11 / let-me-fish

TERA-proxy module that mass-auto-fishes fishes, auto-crafts bait when out of bait, and auto-dismantles fish when inventory gets full
27 stars 22 forks source link

dismantling fish to craft bait error #77

Closed guys101 closed 4 years ago

guys101 commented 4 years ago

When I was out of bait, the mod tried to dismantle but it says "The item cannot be dismantle" then it says "no fish to dismantle" but I have 12 fishes in the inventory. https://i.imgur.com/knMssOv

Owyn commented 4 years ago

but it said you had 15 fishes, what happened to the other 3? 🤔

Lambda11 commented 4 years ago

Try latest version and see what it writes in the chat when problem occurs, added a message when adding fish into dismantler

guys101 commented 4 years ago

but it said you had 15 fishes, what happened to the other 3? 🤔

  • you seem to have a LOTS of items in the inventory (132)...

I tried with fishes only in the inventory, same problem.

guys101 commented 4 years ago

I tried again, same problem but there are fish dismantling messages https://imgur.com/jACcIIq and it didn't dismantle any fish.

Owyn commented 4 years ago

do fishes even go into the dismantling window? is it just "dismantle" button which doesn't work does it work if you press it normally with hands?

guys101 commented 4 years ago

do fishes even go into the dismantling window? is it just "dismantle" button which doesn't work does it work if you press it normally with hands?

Yes it does worked if I do it manually

Owyn commented 4 years ago

Wonder if fish auto - decomposition works for others 🤔

we'll probably need a log using https://github.com/Owyn/PacketsLogger from when script tries to decompose fish and for when you manually click decompose and it works to see what's different

guys101 commented 4 years ago

how do I use that, where do I put the Hexy node module?

Owyn commented 4 years ago

изображение Like this, then ingame before getting to the part where script startes putting in fish for dismantling entere these commands: logBlackClear , logC, logS, - it will start logging, then wait for the problem to occur (red error text can not dismantle) and manually help it dismantle by pressing the button yourself after it got stuck, after that you can turn the logger off with logs and logc commands again, this will create the tera-log.log file in the root folder изображение

guys101 commented 4 years ago

What's wrong here?

[12:29:07.642] [mods] ERROR: Module "hexy.js-master" could not be loaded! [12:29:07.642] [mods] ERROR: Please contact the module's author: https://discord.gg/659YbNY [12:29:07.643] TypeError: moduleConstructor is not a constructor at ModuleManager.load (C:\Users\Admin\AppData\Local\Programs\TeraToolbox\node_modules\tera-network-proxy\lib\connection\dispatch\moduleManager.js:156:35) at C:\Users\Admin\AppData\Local\Programs\TeraToolbox\node_modules\tera-network-proxy\lib\connection\dispatch\moduleManager.js:121:22 at Map.forEach () at ModuleManager.loadAll (C:\Users\Admin\AppData\Local\Programs\TeraToolbox\node_modules\tera-network-proxy\lib\connection\dispatch\moduleManager.js:119:31) at Socket. (C:\Users\Admin\AppData\Local\Programs\TeraToolbox\bin\connectionManager.js:54:47) at Socket.emit (events.js:199:15) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1047:10)

[12:29:07.647] [mods] ERROR: Module "PacketsLogger" (PacketsLogger) could not be loaded! [12:29:07.648] [mods] ERROR: Please contact the module's author: https://github.com/SoliaRdi/ [12:29:07.649] { Error: Cannot find module 'hexy' Require stack:

Owyn commented 4 years ago

are you sure you'r putting hexi into node_modules (like on my 1st screenshot) and not into mods folder?

Owyn commented 4 years ago

plus "hexy.js-master should be without -master, like on the screenshot

guys101 commented 4 years ago

I renamed the folder to hexy.js and put them to both location node_modules and mods folder. Is it the same error?

[12:46:40.894] [mods] ERROR: Module "hexy.js" could not be loaded! [12:46:40.896] [mods] ERROR: Please contact the module's author: https://discord.gg/659YbNY [12:46:40.897] TypeError: moduleConstructor is not a constructor at ModuleManager.load (C:\Users\Admin\AppData\Local\Programs\TeraToolbox\node_modules\tera-network-proxy\lib\connection\dispatch\moduleManager.js:156:35) at C:\Users\Admin\AppData\Local\Programs\TeraToolbox\node_modules\tera-network-proxy\lib\connection\dispatch\moduleManager.js:121:22 at Map.forEach () at ModuleManager.loadAll (C:\Users\Admin\AppData\Local\Programs\TeraToolbox\node_modules\tera-network-proxy\lib\connection\dispatch\moduleManager.js:119:31) at Socket. (C:\Users\Admin\AppData\Local\Programs\TeraToolbox\bin\connectionManager.js:54:47) at Socket.emit (events.js:199:15) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1047:10)

[12:46:40.904] [mods] ERROR: Module "PacketsLogger" (PacketsLogger) could not be loaded! [12:46:40.905] [mods] ERROR: Please contact the module's author: https://github.com/SoliaRdi/ [12:46:40.906] { Error: Cannot find module 'hexy' Require stack:

guys101 commented 4 years ago

image

guys101 commented 4 years ago

image

guys101 commented 4 years ago

do you think the problem is the opcodes? I got it from the other auto fishing mod to use with this mod

Owyn commented 4 years ago

opcodes should be the same, but defs should be from the right module

you need just one folder hexy in modules https://user-images.githubusercontent.com/1309656/63641783-b8515500-c6bc-11e9-9774-4b385d4390d0.png other folders might give errors

guys101 commented 4 years ago

ok it works, I got the log file now, there are players names in it. How do I send you privately?

Owyn commented 4 years ago

you can send me it via DM on discord

guys101 commented 4 years ago

Sent

Owyn commented 4 years ago

as I said

defs should be from the right module

guys101 commented 4 years ago

Working perfectly now. Thank you so much.