Posts by master801

    Load the config file in preInit once and save the config IDs, booleans, etc in just normal variables. Then you can use these without needing to load the config a second time.

    If you get TE's api to work in your dev environment, please do tell. I always get crashes, something to do with deobfuscation I think.

    I have to use CoFH Core's source code. And, to fix that problem, you need to have chicken code core, and maybe N.E.I. . Thats how I fixed my game crashing with thermal expansion installed, even with it being deobfuscated. By the way, why do I keep crashing? Forge keeps telling me about my ore generator. n must be positive? What does that mean?

    Finally fixed the silver id situation! :D Turns out, I have to make the config file, then after I get something to load after that, I have to load the config, and let ever other item and block use them. By the way, CTL + H is the key strokes to make minecraft show block and item ids. :) I'm gonna go to bed after I fix this little id bug with the items. :| They add 256 and I don't know why.

    EDIT: RF is coming back. :) Not as a dependency and, the included api has to be different than CoFH Core's or else I get my mod *bricked* by Thermal Expansion. Greg knows what I'm talking about. ;)

    There is a difference if you just smell it or if you inhale it directly from the Source, so which one is it?

    Inhaling it. Why? And no, I do not like getting high off of that shit. Now, thats a really bad habit if I do like inhaling it to get high. :| By the way, I figured out today, theres a lot of druggies in my school. :( Stupid teachers can't detect anything from students.

    Im little bit scared about things which happen before and also, theres still problem with my tries to work exploding of Silver Nether Ore...
    I know I have O.S. Nether Ores, which had it, but, it isnt very useful, because Im not able to 100% understand how it exactly work.
    Problem isnt anything then "Chance"

    EDIT:

    What happen with my textures for newer version? Will be implemented? ( Models )

    I tried doing it before, and it didn't really work out so well... just look at what I did before. Just change out what I stupidly out in, and change it to how you like it. We can however, look at it, copy it and modify it to how we need it. You didn't finish the Electric Engine's textures, so I never put them in. Sorry. I'll put them in later though, when they get done. :) And, I made some textures for another time. Just check in the models folder. You'll see a folder with a special name. I don't wanna ruin it. So you shouldn't either. :) Calenders are so useful when you copy them from Minecraft's original code. :P (Little hint for those who know what I'm talking about.)

    WIP HOWTO replace or alter buildin IC2e machines or stuff added by other addons (mod over a mod)

    Not very welcomed to replace other people's mod items, but still. You would have to re-build the entire block. Not very hard of course. Or, another tedious way is to register the block as a ore dictionary, and make another block that uses that machine block's dictionary. Like, Machine Block --> Ore Dictionary, New Block --> Ore Dictionary, Machine Block's Ore Dictionary --> New Block. Seems confusing doesn't it? It would to me, but I understand it in my head. Sorry, I'm not very good at explaining when I'm typing on the computer. :(

    For getting basics best all over the world is very compressed, greatful "Coding cup of Java" & "Forging a Minecraft Mod" by Vswe. Since he is from Sweden or similar, his English is lot better then lot of UK / US people's and understanding things through his tutorial videos is quite simple. I learned from him too. :)

    btw. finally break from work and some living stuff. Time to already truly download last commits and set things properly :D Without "Delete Invasion" :D

    :D Finally! I was actually missing talking to you while I came home from school... Just make sure to not delete your files anymore. And, if you need help, you know where to find me. :)

    I don't really look at the basic forge tutorials. And, I also don't really like to watch videos of people doing it. I just miss a lot of things whenever I do. But, I will watch some videos if, they are very-very-helpful, and the only one that I can actually find with the problem I have. :| Re-did the engine's gui code, and it now crashes. I know why, and I'll do it later. By the way, the slot index's, are not slot numbers. Like, slot index = 0. Always. Slot numbers = Slot Numbers. Something like that. I don't really understand it myself since I never could find a good tutorial that explains gui's and custom slots.

    That specific Message was about calling OreDictionary.registerOre with invalid Parameters. If you use an Item for a Stack, which doesn't even exist (at that point in time), then you have done something wrong.

    Basically, you have to do the following in @preInit:

    make your Config
    add your Items
    add your Blocks
    register your Ores

    In that order. What you did was very likely registering Ores before you actually added the Items.

    Oh, yeah. Oops, really big and dumb mistake on my part. I'll change it right now. (How did I not know how to add items and blocks in correctly?)

    This happened probably because you registered an Item which doesn't actually exist to the OreDict. AKA "new ItemStack(null, 1, 0)", while the null Part is causing the Problem. (in most occassions it will crash if you enter null into the ItemStack Constructor, but there are ways to screw that up aswell by just directly inserting ItemIDs instead of Blocks or Items).

    Hmmm.... I'll have to look into this even more then. :| Wait, so, what your stating is, I should register my items in PostInit right? Or am I getting this wrong?

    EDIT: I think I fixed it? I registered my ingots and blocks (only silver) in the PreInit, and did the silver generation in the Init. Is this a better way of doing this than before?

    Hello,

    I honestly don't know whats causing the errors. I do know however, why the ids are different from each other. Theres currently a bug with Transformer Converters, that if the silver ids get changed to the original intended id's, it will crash your game. So, I had to manually set the ids to the original ids, and the config just randomly generates a id for each broken one. Sorry :( I'm a really bad developer. I'll try to look into it some more. But, thanks for telling me this anyway. I was not aware of this. :) You really helped me. Even if it is small.

    Thanks for reading this and understanding (maybe?), -Master801