Jump to content

Ada

Recommended Posts

No problem.  It sucks that we had to go to this ugly of a workaround (I'm a developer, I'm supposed to have higher standards than this!), but I really appreciate knowing as I can now report this as a bug properly, though hopefully it's not even there in the next version of chickencore that we're moving to.

Link to comment
Share on other sites

  • Replies 109
  • Created
  • Last Reply

Top Posters In This Topic

Ada, did you try turning off any realtime scanner on your antivirus software?  That's mentioned as being a potential cause of this issue on that chickencore thread.

 

Kittychan and TroubLe, please post your logs so I can check if it's actually the same problem (Just to be certain, sometimes I've seen people say that and it's the computer equivalent of "My car won't start" and "Wow, mine too - we have the same problem!" when one guy is out of gas and the other guy is missing an engine :P )

Okay ill do it tomorrow im to tired to do it right now. thanks a bunch tho :3  Night All!. 

Edited by Kittychan78
Link to comment
Share on other sites

Unfortunately that's not the same problem Kitty, it's most likely this bit;

javaw.exe_minecraft.exe.heapdump -Xmx512m -XX:MaxPermSize=128m

 

That's too little memory allocation for Attack of the B-Team, though you're on XP so there's no 64-bit options for you and that's going to make things hard.

 

First thing to do is turn up the allocated memory in the launcher though, click the cog in the top right and set that as high as you can (probably 1GB, hopefully 1.5GB - possible but unlikely).

 

How much RAM do you have on that computer total? (Right click My Computer, click Properties and it should give you some basic specs).

Link to comment
Share on other sites

Unfortunately that's not the same problem Kitty, it's most likely this bit;

javaw.exe_minecraft.exe.heapdump -Xmx512m -XX:MaxPermSize=128m

 

That's too little memory allocation for Attack of the B-Team, though you're on XP so there's no 64-bit options for you and that's going to make things hard.

 

First thing to do is turn up the allocated memory in the launcher though, click the cog in the top right and set that as high as you can (probably 1GB, hopefully 1.5GB - possible but unlikely).

 

How much RAM do you have on that computer total? (Right click My Computer, click Properties and it should give you some basic specs).

seri

 

 

That certainly seems to be the same error...

 

I suppose we could try manually setting that link to the library if you've already tried everything else (hardcoding like this is terrible practice, but it's about to be changed with the 1.0.9 B-Team update anyway so it's unlikely we'll see any future problems from it).

 

Here's how you do that if you're not familiar with how this stuff works;

1: Goto this folder: %AppData%.technicmodpacksattack-of-the-bteammods

2: Make a backup copy of codechickencore 0.9.0.7.jar somewhere outside of those mod folders.

3: Open codechickencore 0.9.0.7.jar with an unzipper (winzip, winrar or 7-zip should all work fine).

4: Look for a file in there called dependancies.info (yes, I know it's misspelled, that's ok so long as it's been consistently misspelled through the codebase :D) and copy that file out somewhere you can edit it.

5: Use a text editor (I used notepad++, but notepad should be fine - not word or wordpad whatever you do, it has to be the simplest kind of text file) to input the lib name directly.

6: It should now look like this in that file, note the definition of "file": has changed;

{

"repo": "http://files.minecraftforge.net/CodeChickenLib/",

"file": "CodeChickenLib-universal-1.6.4-1.0.0.45.jar",

"dev": "CodeChickenLib-dev-@MCVERSION@-@[email protected]",

"class": "codechicken.lib.asm.ASMHelper",

"version": "1.0.0.36",

"mcversion": "1.6.4",

"coreLib": true

}
7: Save and copy dependancies.info back into codechickencore 0.9.0.7.jar and overwrite the old version (make sure you have a backup copy before you do this or you might have to redownload the whole pack to get this file again).
8: Try and run again, let me know how it went, and post the new log if it didn't work.
 
Edit: Unfortunately IP.Board keeps compressing that first line (repo) as it's a link rather than display the full thing.  You only need to change the "file": line so it shouldn't be a problem, just a heads up in case you were going to copy-paste the whole thing over yours.
 
Edit2: To make things easier for other people looking to help, we've got the following logs so far that seem to have this error

 

i did it but seriously how can someone be so unlucky still doesnt work here's the log http://paste.ubuntu.com/7011990/

Link to comment
Share on other sites

  • Moderators

Well i do believe it only has 2 Ram i went in properties and it said i had 128 Gb's  & Cog? 

You are confusingly mixing RAM and harddrive. I have yet to see a computer with 128gig RAM. That would be one behemoth of a computer...

 

Cog is the top right button right next to the red X button on the launcher window

 

Also, Bug Reports exist for a reason people...

Link to comment
Share on other sites

seri

 

i did it but seriously how can someone be so unlucky still doesnt work here's the log http://paste.ubuntu.com/7011990/

20:54:25 [INFO] [STDERR] Failed to load dependancies.info from codechickencore 0.9.0.7.jar as JSON
20:54:25 [INFO] [STDERR] java.lang.RuntimeException: Invalid filename format for dependancy: CodeChickenLib-universal-@MCVERSION@-@[email protected]

It doesn't look like you made the changes that loader recommended.

 

It still looking for "CodeChickenLib-universal-@MCVERSION@-@[email protected]" instead of the hardcoded string "CodeChickenLib-universal-1.6.4-1.0.0.45.jar"

 

Did you add the file back into the jar after editing it?

Edited by Kr0nZ
Link to comment
Share on other sites

Kr0nz is right, it shouldn't be able to give that error anymore if you've made that change.  The most likely thing is that you didn't put the changed file back in the jar properly (it'll need to replace the original one).

 

Kitty, if you double-click my computer it'll give you harddrive info, if you right click and choose properties it should give you a window called "System Properties" and a tab called "General", down the bottom of that window it'll say CPU type, clockspeed and total RAM.  That's the bit I was interested in, but it's most important that you set more RAM in the launcher.

 

 

Munaus, good to see you here - you're awesome, you're a good guy for helping out around the forums (a lot of the searches I've done for problems I've had have had you being helpful in the comments).  You'd certainly be aware if your computer had 128GB of RAM because it's a real nuisance, regular desktops don't go much past 32GB, but they are around and they're not even that expensive these days http://www.stalliontek.com/ibm-x3850-m2-7233-5ru-24-core-128gb-ram-bare-bones-server/ - though they're physically large draw a lot of power, make a lot of heat and really aren't that fast (they can do a lot of parallel stuff, like running a dozen virtual machines), you'd certainly be aware because the setup is far from a simple process :D

 

I'm new, when I first responded to one of these I hadn't seen the tracker sticky, then since I couldn't replicate it myself I figured the best way to try to get to the bottom of this (I'd seen a few) was to respond here as lots of people were single posts in this forum with this problem.  I did report it on the tracker once I thought I had enough info to make a useful report.  What should I have done differently?

Link to comment
Share on other sites

20:54:25 [INFO] [STDERR] Failed to load dependancies.info from codechickencore 0.9.0.7.jar as JSON
20:54:25 [INFO] [STDERR] java.lang.RuntimeException: Invalid filename format for dependancy: CodeChickenLib-universal-@MCVERSION@-@[email protected]

It doesn't look like you made the changes that loader recommended.

 

It still looking for "CodeChickenLib-universal-@MCVERSION@-@[email protected]" instead of the hardcoded string "CodeChickenLib-universal-1.6.4-1.0.0.45.jar"

 

Did you add the file back into the jar after editing it?

 

yes

Link to comment
Share on other sites

  • Moderators

 What should I have done differently?

You did the right way. There are just so few people actually helping out in the Tracker.

New users do it wrong when they see the words "Gameplay help and discussion" under the [modpack name] section, they believe the help translates to "post bug reports here".

The difference?

Gameplay help: my chickens wont follow me when I hold wheat! help!

the thermalcraft furnace doesn't work when I use bucket of oil in it! help!

 

Bug report: the modpack fails to download

It loads but when I click play on mojang menu it crashes!

 

People mix these two believing them being the same thing, which is why they ignore the bug reports section completely.

To my relief, I'm glad someone like you has found a fix for this annoying CodeChicken config file thing. I'm going to refer users to your earlier post.

Thank you

Link to comment
Share on other sites

Cool, I'll be more active in the bug tracker then, I was a little reluctant as I didn't want to clutter it for the devs and wasn't totally sure if it was meant to be left alone for them - I'll direct people with relevant questions that way too (people having trouble getting the game to play, rather than people having trouble playing the game).

 

The fix here will only work until the version changes, but as long as that version number matches what's in the folder it'll work (the method will always be the same), but I'm hoping it'll be unnecessary.  If I get some time I'll try to isolate the bug in Chicken Bones' code, but in all honesty I have little doubt he'll be faster than me as he's more familiar with his code and I'm not a java specialist (I still mainly work in C++).  He's aware of it, so hopefully it's fixed in the next version anyway.

 

I don't always get much time to look over here which is why I haven't bothered signing up here before, but if you run into something like this where you think having a person look over the code would be useful feel free to PM me (I'll get an email even if I'm not watching here) and I'll rush over to take a look for you if I can.

Link to comment
Share on other sites

  • Moderators
person look over the code would be useful feel free to PM me

If you are serious I could hook you up in my little common fixes PM group? I don't bother anyone there unless there's a bug I can't fix.

And thanks to this new forum software we can edit our posts in PMs now, preventing any needless bumping that'll send you junk email all the time.

 

 

I was a little reluctant as I didn't want to clutter it for the devs and wasn't totally sure if it was meant to be left alone for them

The few staff we have now is Skuli who updated Tekkit and now updates Voltz, CanVox who makes these awesome modpacks and Sct who improves the launcher and forum. Cheap does art stuff and the bluish moderators spends their time moderating the forum, so we definitly need people helping in the Bug Tracker.

It's just me, Chefsbrian and Rcmaehl(?). I've seen a few others helping, I'm not sure if the majority thinks what you think. Because the devs are busy doing other stuff.

Link to comment
Share on other sites

Sure, that's fine, add me in there and I'll be happy to help if you need and I have time.

 

With the bug tracker, it was more of an uncertainty - I've seen them used both ways with everyone in there helping and with just issue->dev response so I wasn't sure how it was here.

Link to comment
Share on other sites

Kr0nz is right, it shouldn't be able to give that error anymore if you've made that change.  The most likely thing is that you didn't put the changed file back in the jar properly (it'll need to replace the original one).

 

Kitty, if you double-click my computer it'll give you harddrive info, if you right click and choose properties it should give you a window called "System Properties" and a tab called "General", down the bottom of that window it'll say CPU type, clockspeed and total RAM.  That's the bit I was interested in, but it's most important that you set more RAM in the launcher.

 

 

Munaus, good to see you here - you're awesome, you're a good guy for helping out around the forums (a lot of the searches I've done for problems I've had have had you being helpful in the comments).  You'd certainly be aware if your computer had 128GB of RAM because it's a real nuisance, regular desktops don't go much past 32GB, but they are around and they're not even that expensive these days http://www.stalliontek.com/ibm-x3850-m2-7233-5ru-24-core-128gb-ram-bare-bones-server/ - though they're physically large draw a lot of power, make a lot of heat and really aren't that fast (they can do a lot of parallel stuff, like running a dozen virtual machines), you'd certainly be aware because the setup is far from a simple process :D

 

I'm new, when I first responded to one of these I hadn't seen the tracker sticky, then since I couldn't replicate it myself I figured the best way to try to get to the bottom of this (I'd seen a few) was to respond here as lots of people were single posts in this forum with this problem.  I did report it on the tracker once I thought I had enough info to make a useful report.  What should I have done differently?

what am i gonna edit?it looks like what you said it should look like

Link to comment
Share on other sites

1: Extract the dependancies.info file from codechickencore 0.9.0.7.jar

2: Make the changes I suggested to dependancies.info

3: put the dependancies.info file back in codechickencore 0.9.0.7.jar

 

If you do that, it'll be impossible to get the error message you're getting, you've missed one of those things (probably 3 if it looks the other bits are correct to you).  Even if it doesn't work, the error message will be different so something is wrong, just try again to follow those steps.

Link to comment
Share on other sites

1: Extract the dependancies.info file from codechickencore 0.9.0.7.jar

2: Make the changes I suggested to dependancies.info

3: put the dependancies.info file back in codechickencore 0.9.0.7.jar

 

If you do that, it'll be impossible to get the error message you're getting, you've missed one of those things (probably 3 if it looks the other bits are correct to you).  Even if it doesn't work, the error message will be different so something is wrong, just try again to follow those steps.

omg thanks alot it worked!!

Link to comment
Share on other sites

No, definitely shouldn't do that - are you sure you're using notepad (not word or wordpad) and following all the steps?

 

This might help;

The .JAR file is kind of like a .ZIP file, you'll need to extract the .INFO file from there before you can open it in anything (otherwise you'll get a huge jumbled symbol text file).

Once you've got the .INFO file out, it's basically a plain-text file.  If you edit it with notepad it'll stay that way, but some editors will add a bunch of formatting information (again, wierd junk symbols in a text reader).

Once you've made the changes you can put them back into the .JAR just like you would any .ZIP file, and you're done (you've overridden the automatic detection of the codechicken lib version).

 

Are you certain that's your problem?  You don't want me to check your log first?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • Anything claiming to be official Technic servers are not allowed here, for obvious reasons



×
×
  • Create New...