Jump to content

Recommended Posts

Posted

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.

  • Replies 109
  • Created
  • Last Reply

Top Posters In This Topic

Posted (edited)

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
Posted

Sure Kittychan, just please post the log so I can make sure this is the same problem before you try that solution - that solution is a workaround, not a fix, and it's far from ideal (you shouldn't use it unless you have to, though admittedly it probably won't matter in 1.0.9).

Posted

' watch chim's videos and it looks so coolĀ 

Ā 

I Do i Watch Chim BDubs Gernerikb I also watch ALL the Creatures IHascupquake LDShadowLady. Luclin (Minecraftwb). Etc :)Ā 

Posted

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

Posted

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/

  • Moderators
Posted

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

Posted (edited)

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
Posted

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?

Posted
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

  • Moderators
Posted

Ā 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

Posted

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.

  • Moderators
Posted
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.

Posted

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.

Posted

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

Posted

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.

Posted

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

Posted

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?

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