Procedure won’t execute in MP on a server

Started by elyouseekay on Sun, 06/30/2019 - 07:57

Topic category: Bugs and solutions

Last seen on 03:23, 3. Jul 2019
Joined Jun 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Procedure won’t execute in MP on a server
Sun, 06/30/2019 - 08:19 (edited)

I created a very basic “infusion” table that takes 3 items and fuses them into 1. It works fine in single player but when I added it to my server for my friends to try it won’t do anything. You can still open the GUI for it and place items inside but when you press fuse it does nothing. Am I missing something here? Is there something I need to add for it to work on a server??? Please help! The whole reason I’m making this mod is for me and my friends so if it doesn’t work I’m literally just gonna give up on it cause I don’t wanna enjoy my mod alone.

 

P.S everything else in the mod works, the GUIs the ore gen, I made a hammer that doubles ore, mobs drop extra items which are also from my mod. So I have a feeling it’s not so much a mod issue as it is a server side issue, like some information is not getting through? Idk what I’m talking about lmao

Edited by elyouseekay on Sun, 06/30/2019 - 08:19
Last seen on 07:08, 21. Aug 2019
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
Which version of MCreator do…
Sun, 06/30/2019 - 08:32

Which version of MCreator do you use?

If you use 1.8.3 or 1.9.0, check these tutorials to properly make a GUI: https://mcreator.net/wiki/making-guis-slots

If you make GUI the right way (by binding it to block, using inherited inventory for slots and using block slot management procedures, not GUI slot management procedures), your GUI should and will work on servers too.

Last seen on 03:23, 3. Jul 2019
Joined Jun 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Yea my procedure is…
Sun, 06/30/2019 - 08:38

Yea my procedure is literally the one from the video (I just added an additional and statement and requisite comparators to make it a 3 Input procedure) and it does nothing. GUI slots are set to inherited, and I’m using block slot management procedure blocks. Like I said, works fine in SP but doesn’t work at all in MP

Last seen on 03:23, 3. Jul 2019
Joined Jun 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
oh and I’m using 1.8.3…
Sun, 06/30/2019 - 08:39

oh and I’m using 1.8.3 mcreator right now,

 

Last seen on 07:08, 21. Aug 2019
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
Ok, I have tested it and it…
Sun, 06/30/2019 - 08:50

Ok, I have tested it and it indeed does not work on servers. The issue is that the button press trigger is client side only. You can open a support ticket on our issue tracker (https://mcreator.net/tracker) and we will fix this bug in next updates.

Last seen on 03:23, 3. Jul 2019
Joined Jun 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Awesome I will do that for…
Sun, 06/30/2019 - 08:55

Awesome I will do that for sure! In the mean time how would I go about being able to “pull” the fused item out sort of like a crafting table? For instance get rid of the button but when you place item “A” in slot 0, item “B” in slot 1, and item “C” in slot 2, slot 3 shows the output and you pull it out.

Last seen on 07:08, 21. Aug 2019
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
This is not possible yet,…
Sun, 06/30/2019 - 08:56

This is not possible yet, this is why all tutorials rely on buttons. But we do have this quite high on our TODO list so expect this feature in next update.

Last seen on 03:23, 3. Jul 2019
Joined Jun 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
roger that! Thanks for being…
Sun, 06/30/2019 - 09:00

roger that! Thanks for being so swift in answering my questions :)

Last seen on 07:08, 21. Aug 2019
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
You are welcome!
Sun, 06/30/2019 - 09:40

You are welcome!

Last seen on 03:23, 3. Jul 2019
Joined Jun 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
i was able to get around the…
Mon, 07/01/2019 - 00:16

i was able to get around the server issue by building more like a furnace

Last seen on 07:08, 21. Aug 2019
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
Cool to hear you solved this…
Mon, 07/01/2019 - 07:43

Cool to hear you solved this. We will make client-side events work on servers in future updates too.