MC Modding
Please register and join the community!


Join the forum, it's quick and easy

MC Modding
Please register and join the community!
MC Modding
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[Unanswered] Code error upon startclient

3 posters

MC Modding :: Help :: Help

Go down

[Unanswered] Code error upon startclient Empty [Unanswered] Code error upon startclient

Post by mastereric Thu Dec 01, 2011 5:55 pm

I am having some trouble with my code. When I use recompile, I get no errors. But when I try to use startclient, I get this error log:
Spoiler:
What is my problem? *Source Attached*
Attachments
[Unanswered] Code error upon startclient Attachment
Source.zip (8 Kb) Downloaded 282 times
mastereric
mastereric
Member

Posts : 30
Join date : 2011-10-26

Back to top Go down

[Unanswered] Code error upon startclient Empty Re: [Unanswered] Code error upon startclient

Post by the undecided t Thu Dec 01, 2011 9:53 pm

you have two blocks set with an ID number of 141... atleast I think thats the issue
the undecided t
the undecided t
Helper

Posts : 45
Join date : 2011-10-20
Age : 27

http://www.blacklistgaming.org/forums

Back to top Go down

[Unanswered] Code error upon startclient Empty Re: [Unanswered] Code error upon startclient

Post by mastereric Thu Dec 01, 2011 11:28 pm

Here is the related snipplet of code:
Code:
  public static final Block coalblock = new Blockcoalblock(141, 0).setHardness(2F).setResistance(5.0F).setBlockName("coalblock");
  public static final Block charcoalblock = new Blockcharcoalblock(141, 1).setHardness(2F).setResistance(5.0F).setBlockName("charcoalblock");
  public static final Block redstoneblock = new Blockredstoneblock(143, 0).setHardness(2F).setResistance(5.0F).setBlockName("redstoneblock");
 
the coalblock and charcoalblock shouldn't have a confict; the coal block is 141 damage value 0 and the charcoal block is 141 damage value 1. Unless (141, 1) isn't the way to do 141 damage value 1.
EDIT: I changed 'new Blockcharcoalblock(141, 1)' to 'new Blockcharcoalblock(142, 0)' and I get this error:
Spoiler:
mastereric
mastereric
Member

Posts : 30
Join date : 2011-10-26

Back to top Go down

[Unanswered] Code error upon startclient Empty Re: [Unanswered] Code error upon startclient

Post by mastereric Fri Dec 02, 2011 10:23 pm

*Bump* I'd like to have this mod done and on our server by the weekend. Please help?
mastereric
mastereric
Member

Posts : 30
Join date : 2011-10-26

Back to top Go down

[Unanswered] Code error upon startclient Empty Re: [Unanswered] Code error upon startclient

Post by TWell92 Sat Dec 03, 2011 6:28 pm

It's hard to help with just that small snippet of code.
TWell92
TWell92
Member

Posts : 9
Join date : 2011-10-24
Age : 31

Back to top Go down

[Unanswered] Code error upon startclient Empty Re: [Unanswered] Code error upon startclient

Post by mastereric Sat Dec 03, 2011 11:22 pm

What else do you need? I have the source code in the top post(just change the charcoal block from (141, 1) to (142, 0)). Unless somehow I can get a more complete error report... how do I do that with MCP's startclient?
mastereric
mastereric
Member

Posts : 30
Join date : 2011-10-26

Back to top Go down

[Unanswered] Code error upon startclient Empty Re: [Unanswered] Code error upon startclient

Post by mastereric Wed Dec 07, 2011 1:17 am

TWell92 wrote:It's hard to help with just that small snippet of code.
what other Bit of code woUld i need? the source can be downloaded froM the first Post.
mastereric
mastereric
Member

Posts : 30
Join date : 2011-10-26

Back to top Go down

[Unanswered] Code error upon startclient Empty Re: [Unanswered] Code error upon startclient

Post by mastereric Sat Dec 17, 2011 5:19 pm

...I don't want to seem impatient, but it's been more than a WEEK and nobody has gotten close to solving my problem! Evil or Very Mad
mastereric
mastereric
Member

Posts : 30
Join date : 2011-10-26

Back to top Go down

[Unanswered] Code error upon startclient Empty Re: [Unanswered] Code error upon startclient

Post by TWell92 Sun Dec 18, 2011 4:11 am

You're coding this for 1.7.3?
TWell92
TWell92
Member

Posts : 9
Join date : 2011-10-24
Age : 31

Back to top Go down

[Unanswered] Code error upon startclient Empty Re: [Unanswered] Code error upon startclient

Post by mastereric Wed Dec 28, 2011 12:40 am

The current code is 1.8, but give me the 1.0 because I'm updating.
mastereric
mastereric
Member

Posts : 30
Join date : 2011-10-26

Back to top Go down

[Unanswered] Code error upon startclient Empty Re: [Unanswered] Code error upon startclient

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

MC Modding :: Help :: Help

 
Permissions in this forum:
You cannot reply to topics in this forum