Jump to content

[1.7.10][1180]Ingame Config Files


theOriginalByte

Recommended Posts

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

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

  • 1 month later...

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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..

Link to comment
Share on other sites

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.