• 0

    posted a message on [1.6.2]MineVideo![45K+ DL's][REQUIRES FORGE]
    Quote from Keridos

    Now I got this error when recording -> do not know what I changed, except for another matmos sound pack o.O

    Stacktrace:
    at com.xuggle.mediatool.MediaWriter.open(MediaWriter.java:1282)
    at com.xuggle.mediatool.MediaWriter.establishStream(MediaWriter.java:627)
    at com.xuggle.mediatool.MediaWriter.addVideoStream(MediaWriter.java:496)
    at com.xuggle.mediatool.MediaWriter.addVideoStream(MediaWriter.java:416)
    at kovu.minevideo.client.mod_MineVideo.prepareForRecording(mod_MineVideo.java:242)
    at kovu.minevideo.client.mod_MineVideo.keyboardEvent(mod_MineVideo.java:152)
    at cpw.mods.fml.client.modloader.ModLoaderKeyBindingHandler.fireKeyEvent(ModLoaderKeyBindingHandler.java:55)
    at cpw.mods.fml.client.modloader.ModLoaderKeyBindingHandler.keyDown(ModLoaderKeyBindingHandler.java:72)
    at cpw.mods.fml.client.registry.KeyBindingRegistry$KeyHandler.keyTick(KeyBindingRegistry.java:113)
    at cpw.mods.fml.client.registry.KeyBindingRegistry$KeyHandler.tickEnd(KeyBindingRegistry.java:99)
    at cpw.mods.fml.common.SingleIntervalHandler.tickEnd(SingleIntervalHandler.java:22)
    at cpw.mods.fml.common.FMLCommonHandler.tickEnd(FMLCommonHandler.java:138)




    What was the error? NullPointer?
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.6.2]MineVideo![45K+ DL's][REQUIRES FORGE]
    Quote from Keridos

    So in a future release it will be able to compete with Fraps a bit easier?


    Definitely. I just need to learn some OpenCL. ;)
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.6.2]MineVideo![45K+ DL's][REQUIRES FORGE]
    Quote from Keridos

    I got bad framerate too (4-6FPS, Fraps manages stable 30 without a problem @1920x1200)
    Hardware:

    [email protected],8GHz
    16 GB DDR3
    1xGTX460 (can insert a second one but don't think that would help much)

    This setup should be able to record flawlessly, shouldnt it?


    What resolution are you recording at?
    If you are recording at the max, (1900 or whatever), then that is to be expected. I haven't actually ported over the math functions to the GPU yet, so it's not even using it yet. (Try disabling your GPU, then record with FRAPS, same thing will happen). I just need to move it to the GPU. Try reducing the resolution.


    Ugh... I hate instal videos, I just want to instal it without dialog!


    There's a text installation as well.
    Posted in: Minecraft Mods
  • 0

    posted a message on TeamStats[Unreleased]
    Quote from n00b_Warrior

    @Kovu I can have a look at doing a banner for you next week if you want.

    TWW and myself have got some Uni assignments due Monday hence why I have to delay till after then.

    If you have got any specifics your wanting including let me know and I'll include them.


    A banner would be a nice addition to the OP.
    Nothing really specific. The only thing that I'd prefer would to have something lion-related. It's a bit of a tradition with me and banners.
    Posted in: WIP Mods
  • 0

    posted a message on [1.6.2]MineVideo![45K+ DL's][REQUIRES FORGE]
    Quote from Jorcooly

    Oh awesome :D that would be epic to have, the capability to do both :D Also, i knew it worked, i tested before posting xD i hate it when people post stuff that's supposed to be helpful, but just ends up breaking something. They're sadly misinformed, but just trying to help :/


    Yeah.
    The only problem I'd have would be determining the exact OutputStream of the system audio. Also, Java being run in a VM doesn't make the task easier.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.6.2] [Forge] BetterLAN v1.0.6
    I'm working on Forge support. AJWGeek is the modloader person. Not sure if we're going to have two versions, or if we are going to permanently go to Forge.
    Posted in: Minecraft Mods
  • 0

    posted a message on Mouses?
    I'd vouch for the Razor Naga. I have one, and find it EXTREMELY useful for everything.
    Posted in: Hardware & Software Support
  • 0

    posted a message on General Java Tutorials
    Quote from GMX_pro

    You should make this a little simpler. And add screenshots and maybe videos. Like mine.


    It seems simple enough. You just need to read it carefully.

    Quote from lockNload147

    This is basically an overview of Java like Oracle's website has.


    Yeah, I was trying to make it a quicker read, and simpler than the oracle ones.

    Quote from DarkHax

    glad to see some actual java tutorials :D


    if i still still had time to work on my original tutorial page (the one you so kindly locked for me <3) i would recommend they all read your tutorial page before even looking at what i have to say.


    Yep, there's too many mod makers that don't understand the syntax of the mods they're making. Once you learn Java, you really begin to understand why and how things work in the code.

    Also, on a side note, if you need that unlocked, just contact me again.
    Posted in: Tutorials
  • 0

    posted a message on Why aren't my renders drawing?
    Still need help on this, could anyone give some insight?
    Posted in: Modification Development
  • 0

    posted a message on [1.6.2]MineVideo![45K+ DL's][REQUIRES FORGE]
    Quote from Jorcooly

    Well, if you only want to record Stereo Mix, just set that as your default device.


    That's a real bummer :\ I would really like to be able to archive my RFW team's games. Oh well, you're doing all you can, and we appreciate it :D


    Actually, the way you mentioned would work. You can't do both at the same time ATM, though it should be simple enough to add, I've just been busy.

    Quote from alfonsus3d

    It Seems Laggy When i Record it like 10 fps or even 5
    i got Optifine and Forge
    and the Mods = Advenced HUD
    I've tried reducing the FPS record and minmalize al the MineVideo Option but it still same.
    Why is this happen?and what should i do.


    Hardware? (Include screen resolution).

    Quote from keefachu

    Hmmmm... I think I did something wrong when I installed it, not sure though. Everything seems to be working, I'm able to record and all but while recording, my frame rate is really bad, it's around 20- 10 FPS...

    System Specs (I have a laptop)


    Processor: Intel® Core™ i7-2630QM CPU @ 2.00GHz
    Memory (RAM): 8.00 GB
    Graphics: NVIDIA GeForce GTX 560M


    Screen resolution?

    Quote from simber1

    I Got This trying to use it with feed the beast
    http://pastebin.com/wj4tpssc
    It might be a incompatiblitly like tekkit as they are simler

    (sorry about bad spelling)


    I'll look into that, thanks for pointing it out.
    However, it looks like something was corrupted in the download. Try re-downloading the mod.
    Posted in: Minecraft Mods
  • 0

    posted a message on General Java Tutorials
    Quote from lockNload147

    Though this is a minecraft version of http://docs.oracle.c...l/java/TOC.html, it's good to have this thread on the forums with everyone not knowing what to do lol. With Forge being popular, you should go over annotations.


    Yeah, basically, that's what this is for. For some reason, people don't want to go to the oracle website for these. So I'm just re-writing and making simpler here. :P I'll go over annotations soon.
    Posted in: Tutorials
  • 0

    posted a message on [1.6.2]MineVideo![45K+ DL's][REQUIRES FORGE]
    Quote from Wei123

    TNX FOR UPDATING THIS TO 1.4.6! THANK YOU SO MUCH!!!!


    No problem. I like modding, so I'll keep updating for a while longer.
    Posted in: Minecraft Mods
  • 0

    posted a message on Help! With pictures
    No, you have to upload it to imgur or some other hosting site. Then use the forums box that it comes up with.
    Posted in: Discussion
  • 0

    posted a message on Why aren't my renders drawing?
    I can't seem to get my "drawings" to render. (The boxes, filled circles, etc.) I'm not very good with openGL, so I figure I'm forgetting some common "apply" or "show" openGL method, but I can't find one.

    Here's GuiUtils:

    package net.minecraft.src;
    
    import java.nio.IntBuffer;
    
    import org.lwjgl.opengl.GL11;
    import org.newdawn.slick.Color;
    import org.newdawn.slick.UnicodeFont;
    
    /**
    *
    * @author Michael M. (alias: Mike724/Mike724s)
    * @version 1.0
    * @since February 27th 2012
    */
    public class ClientGuiUtil {
    
    /* ##### RECTANGLE METHODS ##### */
    public static void drawBorderedRect(int x, int y, int x1, int y1, int color, float lineWidth, int color1)
    {
    drawRect(x,y,x1,y1,color);
    setupOverlayRendering();
    disableDefaults();
    GL11.glColor4d(getRedFromHex(color1),getGreenFromHex(color1),getBlueFromHex(color1),getAlphaFromHex(color1));
    GL11.glLineWidth(lineWidth);
    GL11.glBegin(GL11.GL_LINES);
    GL11.glVertex2d(x, y)
    GL11.glVertex2d(x, y1);
    GL11.glVertex2d(x1, y1);
    GL11.glVertex2d(x1, y);
    GL11.glVertex2d(x,y);
    GL11.glVertex2d(x1,y);
    GL11.glVertex2d(x,y1);
    GL11.glVertex2d(x1,y1);
    GL11.glEnd();
    enableDefaults();
    
    }
    public static void drawRect(int x, int y, int x1, int y1, int color)
    {
    setupOverlayRendering();
    disableDefaults();
    GL11.glColor4d(getRedFromHex(color),getGreenFromHex(color),getBlueFromHex(color),getAlphaFromHex(color));
    GL11.glBegin(GL11.GL_QUADS);
    GL11.glVertex2i(x1, y);
    GL11.glVertex2i(x, y);
    GL11.glVertex2i(x, y1);
    GL11.glVertex2i(x1, y1);
    GL11.glEnd();
    enableDefaults();
    }
    public static void drawRoundedRect(int x, int y, int x1, int y1, int radius, int color)
    {
    setupOverlayRendering();
    disableDefaults();
    int newX = Math.abs(x+radius);
    int newY = Math.abs(y+radius);
    int newX1 = Math.abs(x1-radius);
    int newY1 = Math.abs(y1-radius);
    double r = getRedFromHex(color);
    double g = getGreenFromHex(color);
    double b = getBlueFromHex(color);
    double a = getAlphaFromHex(color);
    
    //Draw main (center) rectangle
    drawRect(newX, newY, newX1, newY1, color);
    
    /* Draw outside rectangles */
    //Left rectangle
    drawRect(x, newY, newX, newY1, color);
    //Right rectangle
    drawRect(newX1, newY, x1, newY1, color);
    //Top rectangle
    drawRect(newX, y, newX1, newY, color);
    //Bottom rectangle
    drawRect(newX, newY1, newX1, y1, color);
    
    //Draw curves
    drawQuarterCircle(newX,newY,radius,0,color);
    drawQuarterCircle(newX1,newY,radius,1,color);
    drawQuarterCircle(newX,newY1,radius,2,color);
    drawQuarterCircle(newX1,newY1,radius,3,color);
    enableDefaults();
    }
    
    
    /* ##### UNICODE STRING METHODS ##### */
    public static void drawCenteredString(UnicodeFont font, float x, float y, String text, Color color)
    {
    drawString(font, x-(font.getWidth(text)/2), y, text, color);
    }
    public static void drawString(UnicodeFont font, float x, float y, String text, Color color)
    {
    setupOverlayRendering();
    disableDefaults();
    font.drawString(x, y, text, color);
    enableDefaults();
    }
    
    
    /* ##### 2D LINE METHODS ##### */
    public static void drawLine2D(int x, int y, int x1, int y1, int color, float lineWidth)
    {
    setupOverlayRendering();
    disableDefaults();
    GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
    GL11.glEnable(GL11.GL_LINE_SMOOTH);
    GL11.glColor4d(getRedFromHex(color),getGreenFromHex(color),getBlueFromHex(color),getAlphaFromHex(color));
    GL11.glBegin(GL11.GL_LINES);
    GL11.glVertex2i(x, y);
    GL11.glVertex2i(x1, y1);
    GL11.glEnd();
    GL11.glDisable(GL11.GL_LINE_SMOOTH);
    enableDefaults();
    }
    
    
    /* ##### CIRCLE METHODS ##### */
    public static void drawBorderedCircle(int x, int y, int radius, int color, float lineWidth, int color1)
    {
    drawCircle(x,y,radius,color);
    drawUnfilledCircle(x,y,radius,lineWidth,color1);
    }
    public static void drawUnfilledCircle(int x, int y, int radius, float lineWidth, int color)
    {
    setupOverlayRendering();
    disableDefaults();
    GL11.glColor4d(getRedFromHex(color),getGreenFromHex(color),getBlueFromHex(color),getAlphaFromHex(color));
    GL11.glLineWidth(lineWidth);
    GL11.glEnable(GL11.GL_LINE_SMOOTH);
    GL11.glBegin(GL11.GL_LINE_LOOP);
    for (int i = 0; i <= 360; i++) {
    GL11.glVertex2d(x + (Math.sin((i * 3.141526D / 180)) * radius), y + (Math.cos((i * 3.141526D / 180)) * radius));
    }
    GL11.glEnd();
    GL11.glDisable(GL11.GL_LINE_SMOOTH);
    enableDefaults();
    }
    public static void drawCircle(int x, int y, int radius, int color)
    {
    setupOverlayRendering();
    disableDefaults();
    GL11.glColor4d(getRedFromHex(color),getGreenFromHex(color),getBlueFromHex(color),getAlphaFromHex(color));
    GL11.glBegin(GL11.GL_POLYGON);
    for (int i = 0; i <= 360; i++) {
    GL11.glVertex2d(x + (Math.sin((i * 3.141526D / 180)) * radius), y + (Math.cos((i * 3.141526D / 180)) * radius))
    }
    GL11.glEnd();
    enableDefaults();
    }
    //Modes:
    // 0 = Top Left
    // 1 = Top Right
    // 2 = Bottom Left
    // 3 = Bottom Right
    public static void drawQuarterCircle(int x, int y, int radius, int mode, int color)
    {
    setupOverlayRendering();
    disableDefaults();
    GL11.glColor4d(getRedFromHex(color),getGreenFromHex(color),getBlueFromHex(color),getAlphaFromHex(color));
    GL11.glBegin(GL11.GL_POLYGON);
    GL11.glVertex2d(x, y);
    if(mode==0) {
    for (int i = 0; i <= 90; i++) {
    GL11.glVertex2d(x + (Math.sin((i * 3.141526D / 180)) * (radius*-1)), y + (Math.cos((i * 3.141526D / 180)) * (radius*-1)));
    }
    } else if(mode==1) {
    for (int i = 90; i <= 180; i++) {
    GL11.glVertex2d(x + (Math.sin((i * 3.141526D / 180)) * radius), y + (Math.cos((i * 3.141526D / 180)) * radius));
    }
    } else if(mode==2) {
    for (int i = 90; i <= 180; i++) {
    GL11.glVertex2d(x + (Math.sin((i * 3.141526D / 180)) * (radius*-1)), y + (Math.cos((i * 3.141526D / 180)) * (radius*-1)));
    }
    } else if(mode==3) {
    for (int i = 0; i <= 90; i++) {
    GL11.glVertex2d(x + (Math.sin((i * 3.141526D / 180)) * radius), y + (Math.cos((i * 3.141526D / 180)) * radius));
    }
    } else {
    }
    GL11.glEnd();
    enableDefaults();
    }
    
    
    /* ##### UTILITY METHODS ##### */
    public static double getAlphaFromHex(int color);
    {
    return((double)((color >> 24 & 0xff) / 255F));
    }
    public static double getRedFromHex(int color)
    {
    return((double)((color >> 16 & 0xff) / 255F));
    }
    public static double getGreenFromHex(int color)
    {
    return((double)((color >> 8 & 0xff) / 255F));
    }
    public static double getBlueFromHex(int color)
    {
    return((double)((color & 0xff) / 255F));
    }
    public static int getScreenWidth()
    {
    IntBuffer viewport = BufferUtils.createIntBuffer(16);
    GL11.glGetInteger(GL11.GL_VIEWPORT, viewport);
    return(Math.round(viewport.get(2)));
    }
    
    public static int getScreenHeight()
    {
    IntBuffer viewport = BufferUtils.createIntBuffer(16);
    GL11.glGetInteger(GL11.GL_VIEWPORT, viewport);
    return(Math.round(viewport.get(3)));
    }
    public static void setupGradient()
    {
    GL11.glDisable(3553 /*GL_TEXTURE_2D*/);
    GL11.glEnable(3042 /*GL_BLEND*/);
    GL11.glDisable(3008 /*GL_ALPHA_TEST*/);
    GL11.glShadeModel(7425 /*GL_SMOOTH*/);
    }
    public static void unsetupGradient()
    {
    GL11.glShadeModel(7424 /*GL_FLAT*/);
    GL11.glDisable(3042 /*GL_BLEND*/);
    GL11.glEnable(3008 /*GL_ALPHA_TEST*/);
    GL11.glEnable(3553 /*GL_TEXTURE_2D*/);
    }
    public static void setupOverlayRendering()
    {
    GL11.glClear(256);
    GL11.glMatrixMode(GL11.GL_PROJECTION);
    GL11.glLoadIdentity();
    GL11.glOrtho(0.0D, getScreenWidth(), getScreenHeight(), 0.0D, 1000D, 3000D);
    GL11.glMatrixMode(5888 /*GL_MODELVIEW0_ARB*/);
    GL11.glLoadIdentity();
    GL11.glTranslatef(0.0F, 0.0F, -2000F);
    }
    public static void disableDefaults()
    {
    GL11.glEnable(GL11.GL_BLEND);
    GL11.glDisable(GL11.GL_LIGHTING);
    GL11.glDisable(GL11.GL_TEXTURE_2D);
    }
    public static void enableDefaults()
    {
    GL11.glDisable(GL11.GL_BLEND);
    GL11.glEnable(GL11.GL_TEXTURE_2D);
    GL11.glEnable(GL11.GL_LIGHTING);
    }
    public static void disableLighting()
    {
    GL11.glDisable(GL11.GL_LIGHTING);
    }
    }


    And I have DrawSampleGui:

    package kovu.mineprinter.gui;
    
    import org.newdawn.slick.Color;
    
    import kovu.mineprinter.GuiPrint;
    import net.minecraft.client.gui.GuiScreen;
    
    public class DrawSampleGui {
    
    static SlickSetup ss;
    
    public static void drawTestGui()
    {
    GuiUtils.drawString(ss.uFont, 200F, 100F, "Hello Unicode!", Color.cyan);
    GuiUtils.drawCircle(1, 1, 25, 0xFFF);
    System.out.println("called");
    }
    
    }


    The print does print, so GuiUtils.drawCircle() is being called, but it's not being drawn. Actually, none of the shapes are being drawn, but the Unicode Text is shown. What am I doing wrong?
    Posted in: Modification Development
  • 0

    posted a message on How do I convert my Mod from SSP to SMP?
    You'll need to use ModloaderMP. They have a few tutorials.
    Posted in: Modification Development
  • To post a comment, please .