Can you help me with that bug ?

Post Reply
Sires
Member
Posts: 190
Joined: Mon Jan 02, 2017 21:00
GitHub: Sires0
IRC: Sires
In-game: Sires Sores Siri Seris or anything ppl call me
Location: :noitacoL

Can you help me with that bug ?

by Sires » Post

I just got a bug in my mod, energyflow, the assembler block would be where people craft their machines, but when I test it(input: coal, output: Stone brick) I just get the output on the second time I put the input.

Like that: I put the coal, the machine "gets the coal", I didn't get nothing, I put the input again, the machine "gets the coal again", I get the stone brick.

I was supposed to get the stonebrick on the first try :P

You can see the bug at the line 115 of the file assembler.lua, just click on this link: https://github.com/SirGitHub/energyflow ... r.lua#L115


Plz, just you can save me, and then I can continue the mod :3
I don't have anything important to say.

User avatar
AiTechEye
Member
Posts: 1000
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: Sweden

Re: Can you help me with that bug ?

by AiTechEye » Post

Seems to be some kind of conflict that is stored in the metadata,
but it at least works if you add "output" instead of "stack" in the line 115: (where you added the comment AAAA why...)

inv:set_stack("output", 1, output)


other errors...
undeclared global "inv" generators.lua: 92
undeclared global "meta" generators.lua: 30

Sires
Member
Posts: 190
Joined: Mon Jan 02, 2017 21:00
GitHub: Sires0
IRC: Sires
In-game: Sires Sores Siri Seris or anything ppl call me
Location: :noitacoL

Re: Can you help me with that bug ?

by Sires » Post

AiTechEye wrote:Seems to be some kind of conflict that is stored in the metadata,
but it at least works if you add "output" instead of "stack" in the line 115: (where you added the comment AAAA why...)

inv:set_stack("output", 1, output)


other errors...
undeclared global "inv" generators.lua: 92
undeclared global "meta" generators.lua: 30
ok I'll see if this works, thx

OMG THAT WORKED, sorry by caps
and that other errors are there because I forgot to upload the new generators files :P sorry

btw I'll add you in some credits list :D
I don't have anything important to say.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests