• 0

    posted a message on Yeah, This Ain't Good

    I believe you can use "SFC /scannow" in a command prompt window (run as administrator) to make sure your computer has the vital files installed on it.

    Posted in: Computer Science and Technology
  • 0

    posted a message on Your Thoughts on: Hacking in Minecraft

    As long as it doesn't affect gameplay in a negative way for, or give the hacker a disproportionate advantage against other players in multiplayer (or breaks server rules), I'm completely fine with it. Do what you want in single player worlds.

    Posted in: Discussion
  • 0

    posted a message on Developing a Game. Need some help.

    TheMCPEGamer_, That's a nice looking game engine you've got! May I make a suggestion to how you render?

    In the early days of my game I used a similar system, and when I switched to the following system, I saw performance increase from about 60FPS to 300FPS (on average).Anyway, here's how I render in my own game.


    I have an abstract class called Visible with abstract methods tick() and render().

    public abstract class Visible {

    public abstract void tick();

    public abstract void render();

    }

    I also have a Render class that has methods add(Visible), remove(Visible), and render().

    Render.render() is called in a while loop constantly and it ticks and renders everything on the screen.

    Render.render() is a for loop that goes through the visible list (when you add something to the render with Render.add(x), x is added to a list).

    for(Visible v : visibleList) {

    v.render();

    v.tick();

    }

    This also streamlines code and allows you to add as many or as few things as you'd like to the render extremely easily, and you only need to have classes extend Visible to be able to be drawn to the screen!

    That's just a tiny fraction of what can be done with that system.

    Anyway, I'm looking forward to seeing your game! Keep me posted!

    Posted in: Computer Science and Technology
  • 0

    posted a message on Port-Forwarded server not working.

    Do you have a router and a separate modem?

    Also, ensure the server is allowed through your firewall, and I noticed that the screenshot had no log text for the server. Is the server running properly? (Does it tell you that it is running on port 25565?)

    Posted in: Server Support and Administration
  • 0

    posted a message on [SOLVED] Minecraft Client in Eclipse not loading world
    It looks as though Minecraft isn't able to load a certain image. Are all of the textures for your mod and Minecraft in the correct locations and being called from the correct locations?
    Posted in: Modification Development
  • 0

    posted a message on Need help getting lamp to work properly.
    Print something to the console in all of the if statements in the onBlockPlaced and onNeighborChanged methods to see if the methods are being called, if the block information is correct, and if the block thinks it's receiving power. Also, out of curiosity, why are you using the updateTick method only when the block receives no power or has its power taken away? Why not schedule block updates either way and use the updateTick method to set the blocks? (Or the other way around with no updateTick method involved.)
    Posted in: Modification Development
  • 0

    posted a message on glVertex3() flickering at large coordinates (screenshots)
    Do the Vector math on a separate thread. That will allow Minecraft to use its thread without interference from your mod.
    Posted in: Modification Development
  • 0

    posted a message on glVertex3() flickering at large coordinates (screenshots)
    That eats up resources and severely impacts performance.
    Posted in: Modification Development
  • 0

    posted a message on glVertex3() flickering at large coordinates (screenshots)
    Are you also rendering them behind the player where the player can't see them?
    Posted in: Modification Development
  • 0

    posted a message on glVertex3() flickering at large coordinates (screenshots)
    So do you tell the lines to render where the player cannot see as well?
    Posted in: Modification Development
  • 0

    posted a message on Wait() Java...
    Quote from rohan576

    I already have a Thread.wait() and such in my code... I came here because I wanted to replace that with something else. Thread.wait() appears to make all threads wait...

    The code I posted is how you can replace the "Thread.wait();" method. The code I posted does not stop all threads.
    Posted in: Modification Development
  • 0

    posted a message on glVertex3() flickering at large coordinates (screenshots)
    Quote from Zyin055

    I tried using glVertex3f() and glVertex3d() and both result in the same flickering. I also tried loading the identity matrix but that just made it so that nothing renders at all - there must be a matrix other than the identity matrix already loaded into memory that is causing my code to work.

    GL11.glPushMatrix();
    GL11.glLoadIdentity(); //this causes nothing to render
    GL11.glTranslated(-x, -y, -z);
    //do rendering...
    GL11.glPopMatrix();


    Hmmm. Are you doing the lines per chunk or just on the entire screen?
    Posted in: Modification Development
  • 0

    posted a message on Wait() Java...
    Using the built in tick method is probably less resource-heavy, but the ticks in the game vary on the system. I think they try to stay at 60 ticks per second though. The method I gave is just a way to make something happen exactly after x amount of time has passed, whereas in Minecraft ticks, it may be a bit before or a bit after the x amount of time you want.

    Also, Java has its own Timer class, I just find making your own Timer class is more satisfying :)
    Posted in: Modification Development
  • 0

    posted a message on Minecraft sword event coding help
    I love how it imports net.* :)
    Posted in: Modification Development
  • 0

    posted a message on glVertex3() flickering at large coordinates (screenshots)
    Try using a glVertex3f, using floats. Also, be sure to load the Identity Matrix so that OpenGL knows not to render based off of previous coordinates that you don't want.
    Posted in: Modification Development
  • To post a comment, please .