Results 1 to 4 of 4
  1. #1
    hamste's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    32
    Reputation
    10
    Thanks
    2

    Help with programming my first Client

    So, i am simply watching youtube videos and mimicing what they do. (no hate please?)

    Anyway, most vides are outdated. So i looked in the comments and people were saying to change some things like fontrenderer to var8 etc. but i have a feeling im missing something. my client will open mc, then when trying to load a game it will crash and repeats the following;

    Variables cannot be resolved to a variable

    also, in the package explorer bar, if i follow the red 'X's i find that there may be a problem with;

    renderGameOverlay

    ill post some pics below. Thanks!

    PS: Im a total noob explain things simply please :S



    1.1 - This is The error i get...


    1.2 - This is the renderGameOverlay


    1.3 - The code that i recently added which most likely is causing problem.

    IGNORE 'problem' files
    Attached Thumbnails Attached Thumbnails
    Problem 2.jpg  

    1.1.jpg  

    1.2.png  

    1.3.jpg  

    Problem.jpeg  

    Last edited by hamste; 05-11-2013 at 12:09 AM.

  2. #2
    Lonesome Cowboy's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    https://www.mpgh.net Posts: 12,475
    Posts
    5,379
    Reputation
    748
    Thanks
    1,423
    My Mood
    Brooding
    Pictures approved!
    I don't know coding, so wait for someone else to help.
    Minecraft Wiki Manager since: 2012.12.16.
    Games Wiki Manager since: 2012.12.16
    Minecraft Section Minion: 2013.05.04.-2014.05.04
    League of Legends Section Minion: 2013.05.04.-2014.05.04
    Need for Speed World Minion: 2013.07.23.-2014.05.04
    Steam Games Section Minion: 2013.08.05.
    -2014.05.04
    Warrock Section Minion: 2013.10.09.
    -2014.05.04

    If you would like to become a Minecraft Wiki Editor, apply here!
    If you would like to become a Games Wiki Editor, PM me!

    Gifts:
    Gyongytyuk,Gyongytyuk,Zaps

  3. #3
    Smaug's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    2,518
    Reputation
    121
    Thanks
    1,192
    Try posting your problem in this thread: https://www.mpgh.net/forum/422-minecr...ed-client.html
    Maybe the creator of the thread will help you out.

  4. #4
    LordPankake's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    1,010
    Reputation
    260
    Thanks
    2,466
    My Mood
    Angry
    Error code says line 502 is in question. (something on or near that line is messed up)

    Red lines are appearing on your Variables. This could mean a few things:
    • Variables is not imported. (I'm guessing yours would be " Import net.minecraft.src.Variables; ")
    • Variables.java is spelled incorrectly (the file itself)
    • You are mis-typing your boolean-holding class. (Class mispelled or your calling is mispelled)


    I'm going to assume it's the first point though.

    Also for format's sake, instead of
    Code:
    else
         code
    use
    Code:
    else
    {
         code
    }
    Clean code is easier to work with and usually speeds up time in the updating progress.

    Edit: that syntax you're using there is pretty bad. Fix it up a bit and that should fix another error after you import your variables class.
    Last edited by LordPankake; 05-12-2013 at 11:14 PM.

Similar Threads

  1. Help with running private server client via web
    By liquidgalaxy in forum Realm of the Mad God Private Servers Help
    Replies: 1
    Last Post: 05-03-2013, 12:14 PM
  2. Help with coding on new client
    By john29990 in forum Realm of the Mad God Help & Requests
    Replies: 3
    Last Post: 09-12-2012, 10:13 AM
  3. [Solved] I need help with a Minecraft Hacked Client.
    By dillyd123 in forum Minecraft Help
    Replies: 0
    Last Post: 04-21-2012, 10:40 AM
  4. Help with programming (please see inside)
    By hobosrock696 in forum C++/C Programming
    Replies: 4
    Last Post: 10-20-2010, 03:23 PM
  5. Help with programming
    By jayden1212 in forum C++/C Programming
    Replies: 11
    Last Post: 10-07-2010, 12:19 PM