Jump to content

Recommended Posts

Posted

I can't figure out how to get the Config screen in the mods menu to work. It won't show a "Config" button and when I follow minaliens tutorial it doesn't work either. I can put the code I have up if need be

Posted

Forge has a nice tutorial for this in their own code. Open up your favorite IDE and look for classes implementing cpw.mods.fml.client.IGuiFactory. You will most likely see FMLConfigGuiFactory and ForgeGuiFactory. ForgeGuiClass provides a great tutorial by itself when you can read and understand code. Try it

Posted

Yah.. I was looking at that class... but it is confusing how they write the comments on how it works... I can't figure out what I need to implement... I thought it may be because the build number i'm using is twice the tutorials... so its a pain.. i'll figure it out eventually...

  • 1 month later...
Posted

I know you followed the tutorial, but I have to ask...  If your mcmod.info set up correctly?

 

If it isn't, fix it. If it is, then please show your code.

Sorry for the late reply. I've been busy recently... I think it is setup properly take a look:

 

[
{
  "modid": "commumod",
  "name": "Community Mod",
  "description": "",
  "version": "1.4.0a",
  "mcversion": "1.7.10",
  "url": "",
  "updateUrl": "",
  "authorList": [
  "Endergreifer153"
  ],
  "credits": "",
  "logoFile": "",
  "screenshots": [
  ],
  "parent":"",
  "dependencies": [
  ]
}
]

 

Here are the code links:

http://bit.ly/1wT4JX9

http://bit.ly/VXY3Wr

http://bit.ly/1wT4Y4s

Posted

I know you followed the tutorial, but I have to ask...  If your mcmod.info set up correctly?

 

If it isn't, fix it. If it is, then please show your code.

Sorry for the late reply. I've been busy recently... I think it is setup properly take a look:

 

[
{
  "modid": "commumod",
  "name": "Community Mod",
  "description": "",
  "version": "1.4.0a",
  "mcversion": "1.7.10",
  "url": "",
  "updateUrl": "",
  "authorList": [
  "Endergreifer153"
  ],
  "credits": "",
  "logoFile": "",
  "screenshots": [
  ],
  "parent":"",
  "dependencies": [
  ]
}
]

 

Here are the code links:

http://bit.ly/1wT4JX9

http://bit.ly/VXY3Wr

http://bit.ly/1wT4Y4s

If anyone can help me please feel free to let me know whats wrong... I followed pahimar's tutorial on how to do it but it doesn't work for me.

Posted

I know you followed the tutorial, but I have to ask...  If your mcmod.info set up correctly?

 

If it isn't, fix it. If it is, then please show your code.

Sorry for the late reply. I've been busy recently... I think it is setup properly take a look:

 

[
{
  "modid": "commumod",
  "name": "Community Mod",
  "description": "",
  "version": "1.4.0a",
  "mcversion": "1.7.10",
  "url": "",
  "updateUrl": "",
  "authorList": [
  "Endergreifer153"
  ],
  "credits": "",
  "logoFile": "",
  "screenshots": [
  ],
  "parent":"",
  "dependencies": [
  ]
}
]

 

Here are the code links:

http://bit.ly/1wT4JX9

http://bit.ly/VXY3Wr

http://bit.ly/1wT4Y4s

If anyone can help me please feel free to let me know whats wrong... I followed pahimar's tutorial on how to do it but it doesn't work for me.

Have you established a reference to your GuiFactory in your Main instance?

Posted

I know you followed the tutorial, but I have to ask...  If your mcmod.info set up correctly?

 

If it isn't, fix it. If it is, then please show your code.

Sorry for the late reply. I've been busy recently... I think it is setup properly take a look:

 

[
{
  "modid": "commumod",
  "name": "Community Mod",
  "description": "",
  "version": "1.4.0a",
  "mcversion": "1.7.10",
  "url": "",
  "updateUrl": "",
  "authorList": [
  "Endergreifer153"
  ],
  "credits": "",
  "logoFile": "",
  "screenshots": [
  ],
  "parent":"",
  "dependencies": [
  ]
}
]

 

Here are the code links:

http://bit.ly/1wT4JX9

http://bit.ly/VXY3Wr

http://bit.ly/1wT4Y4s

If anyone can help me please feel free to let me know whats wrong... I followed pahimar's tutorial on how to do it but it doesn't work for me.

Have you established a reference to your GuiFactory in your Main instance?

LOL! I forgot to declare the init method in the main class... It works now sorry for wasting your time..

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.