Jump to content

Recommended Posts

Posted

I have been trying to start work a new mod I had some ideas for but when I decompiled Minecraft along with Forge I get 6955 errors which all seem to be able to be traced back to the lack of a cpw.mods.fml.common package in the decompiled code.

I'm using the latest Forge, MCP and Minecraft + server.jar/

Posted

I have the latest version of Forge installed just checked + reinstalled still got same problem, here is the errors:

 

  Reveal hidden contents

 

Posted

You're NOT using the latest as this has been fixed the issue is that the eclipse workspace is not being copied over.

Get the Latest and it should work fine, or manually copy fml/eclipse to mcp/eclipse.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

LexManos, what Forge is the latest 'Good', because I'm getting this error as well with the recommended 436, but when I try and use 442 and 443 (the two latest builds according to the downloads section) I get this error when I try and de-compile:

================ Forge ModLoader Setup Start ===================
MCP Detected already, not downloading
Setting up MCP
> Backing up commands.py
Patching file C:\Minecraft modding\1.4.5\mcp723\runtime\commands.py
patching file commands.py
Commands patch applied successfully
Copying FML conf
Traceback (most recent call last):
  File "install.py", line 47, in <module>
    main(os.path.abspath('..'))
  File "install.py", line 18, in main
    setup_mcp(fml_dir, mcp_dir, True)
  File "C:\Minecraft modding\1.4.5\mcp723\forge\fml\fml.py", line 757, in setup_
mcp
    if os.path.isdir(os.path.join(mcp_eclipse, 'Client')) and os.path.isdir(os.p
ath.join(eclipse_dir, 'Server')):
NameError: global name 'eclipse_dir' is not defined
Press any key to continue . . .

 

I think it's some sort of trouble with the python script

Posted

Ok so I have fixed that problem but now when in eclipse it says the common folder is empty, I haven't modded with Forge for a while now so was wondering it was meant to happen or whether it is a bug.

Posted

It decompiles just fine, if it doesnt you're doig something COMPLEETLY wrong.

Seriously how fucking hard, DO NOT install MCP AT ALL.

Downlaod Forge Source

Extract to its own folder, DO NOT HAVE MCP in the the parent folder.

And run install..

 

Seriously, fi you touch the mcp zip you're doing it wrong.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Erm.. I have the same problem. I just downloaded the latest, and the recommended build, tried both, but when i opened eclips, common folder does not exist. I downloaded and unziped it on my desktop, opened it and clicked install. It downloaded everything successfully with no errors, but when i start eclips, common folder icon is there on the project explorer, but when you right-click / properties, it says <resource does not exist>. Tried both latest and recomended. Also tried to replace mcp/eclipse with fml/eclipse. Does not work. Did i do something wrong?  :-[

Posted

Not sure if this will help or just confuse the issue further but I'm pretty sure I'm getting this right.

 

The topic subject states that the cpw.mods.fml.common is Missing. This is not the case but it is true that Forge has undergone some changes in the past few days to reorganise the source code. The apparently empty common folder is an artefact left behind in the eclipse project and is no longer required.

 

LexManos

"Minecraft is now decompiled into sane package names.

Got rid of the src/common folder as the only folder that exists is src/mincraft, because the client and server codebase is merged."

 

My opinions regarding these changes aren't really relevant but I would agree that this change is for the better in the long term but since eclipse isn't automatically resolving / organising imports very well, it has taken me a few hours to manually update my sources to reflect the new source structure. Compared with all the hard work put in by LexManos, CPW and the rest of the team who keep this development up and running smoothly, this is a relatively minor task

 

 

Regards,

Alex

Posted

->Rowsell99

 

Yes, that is correct.

 

To illustrate, in my case, the physical location would be:-

"C:\MCP723_Forge445\forge\mcp\src\minecraft\My_Mods\"

 

Regards,

Alex

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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