Jump to content

icedice

Member
  • Content count

    57
  • Joined

  • Last visited

  1. Hello thurman, it's your first day of school!

  2. Nooooooooooooooooooooooooooooooooooooooooooob

  3. alright what I am trying to do is to make the titlebox or loginbox what ever you call it draw in the upper left corner instead of in the center. when i do it though it cuts off part of the image. i was wondering if there is a way to expand the area that it draws in (aRSImageProducer_1107.initDrawingArea();) <- idk if that made since or not but idk how to word it better. heres pics of my problem heres what its doing [IMG]http://i52.tinypic.com/ws69w6.png[/IMG] this is what the loginbox looks like [IMG]http://i55.tinypic.com/301o5eq.png[/IMG] heres what I want it to look like (put it together in photoshop) [IMG]http://i53.tinypic.com/2gtar2g.png[/IMG] here is my method that draws it [code]private void drawLoginScreen(boolean flag) { aClass30_Sub2_Sub1_Sub1_1263 = new Sprite(512, 512); resetImageProducers(); aRSImageProducer_1107.initDrawingArea(); loginBox.drawSprite(0, 0); char c = '\u0168'; char c1 = '\310'; if(loginScreenState == 0) { if (!hasLogged) { /* chatTextDrawingArea.method382(0xC5C59F, c / 2, loginMessage1, 18, true); chatTextDrawingArea.method382(0xD3D3B9, c / 2, loginMessage2, 30, true); if(super.mouseX >= 326 && super.mouseX <= 434 && super.mouseY >= 232 && super.mouseY <= 261) { // FaceBook button faceBookH.drawSprite(126, 59); loginMessage2 = "Like Us On FaceBook"; } else { faceBook.drawSprite(126, 59); loginMessage2 = ""; } if(super.mouseX >= 329 && super.mouseX <= 431 && super.mouseY >= 277 && super.mouseY <= 302) { // Donate button donateH.drawSprite(105, 104); loginMessage2 = "Donate For Rewards"; } else { donate.drawSprite(105, 104); } if(super.mouseX >= 290 && super.mouseX <= 476 && super.mouseY >= 335 && super.mouseY <= 360) { // Continue to login logButtonH.drawSprite(92, 161); loginMessage2 = "Continue To Login"; } else { loginButton.drawSprite(92, 161); } if (!localHost) { if(super.mouseX >= 319 && super.mouseX <= 441 && super.mouseY >= 370 && super.mouseY <= 380) { loginMessage2 = "Change to localHost?"; chatTextDrawingArea.method382(0xC5C59F, 181, "localHost", 206, true); } else { chatTextDrawingArea.method382(0xD3D3B9, 181, "localHost", 206, true); } } else if (localHost) { if(super.mouseX >= 319 && super.mouseX <= 441 && super.mouseY >= 370 && super.mouseY <= 380) { loginMessage2 = "Change to public?"; chatTextDrawingArea.method382(0xC5C59F, 176, "Public", 206, true); } else { chatTextDrawingArea.method382(0xD3D3B9, 176, "Public", 206, true); } }*/ loginScreenState = 2; } else { loginMessage1 = ""; loginMessage2 = "Login"; loginScreenState = 2; loginScreenCursorPos = 0; } } if(loginScreenState == 2) { /*if(loginMessage1.length() > 0) { chatTextDrawingArea.method382(0xC5C59F, c / 2, loginMessage1, 18, true); chatTextDrawingArea.method382(0xC5C59F, c / 2, loginMessage2, 30, true); } else { chatTextDrawingArea.method382(0xC5C59F, c / 2, loginMessage2, 30, true); } devider.drawBackground(70, 36); devider.drawBackground(70, 144); if(super.mouseX >= 274 && super.mouseX <= 492 && super.mouseY >= 230 && super.mouseY <= 256) { textAreaH.drawBackground(72, 59);// Username text field hoverd } else { textArea.drawBackground(72, 59);// Username text field } if(super.mouseX >= 274 && super.mouseX <= 492 && super.mouseY >= 277 && super.mouseY <= 302) { textAreaH.drawBackground(72, 104);// Password text field hoverd } else { textArea.drawBackground(72, 104);// Password text field } chatTextDrawingArea.method389(true, 74, 0xC5C59F, "Username:", 56); chatTextDrawingArea.method389(true, 76, 0xD3D3B9, "" + optimizeText(myUsername) + ((loginScreenCursorPos == 0) & (loopCycle % 40 < 20) ? "|" : ""), 78); chatTextDrawingArea.method389(true, 74, 0xC5C59F, "Password:", 101); chatTextDrawingArea.method389(true, 76, 0xD3D3B9, "" + TextClass.passwordAsterisks(myPassword) + ((loginScreenCursorPos == 1) & (loopCycle % 40 < 20) ? "|" : ""), 123); if(!flag) { int i1 = c / 2 - 80; int l1 = c1 / 2 + 50; if(super.mouseX >= 276 && super.mouseX <= 490 && super.mouseY >= 335 && super.mouseY <= 360) { logButtonH.drawSprite(92, 161); } else { loginButton.drawSprite(92, 161); } chatTextDrawingArea.method382(0xC5C59F, 176, "Go Back", 206, true); chatTextDrawingArea.method382(0xffffff, i1, "", l1 + 5, true); } } if(loginScreenState == 3) { loginMessage1 = ""; loginMessage2 = "Login"; loginScreenState = 2; loginScreenCursorPos = 0; /* chatTextDrawingArea.method382(0xffff00, c / 2, "Create a free account", c1 / 2 - 60, true); int k = c1 / 2 - 35; chatTextDrawingArea.method382(0xffffff, c / 2, "To create a new account you need to", k, true); k += 15; chatTextDrawingArea.method382(0xffffff, c / 2, "go back to the main RuneScape webpage", k, true); k += 15; chatTextDrawingArea.method382(0xffffff, c / 2, "and choose the red 'create account'", k, true); k += 15; chatTextDrawingArea.method382(0xffffff, c / 2, "button at the top right of that page.", k, true); k += 15; int j1 = c / 2; int i2 = c1 / 2 + 50; aBackground_967.drawBackground(j1 - 73, i2 - 20); chatTextDrawingArea.method382(0xffffff, j1, "Cancel", i2 + 5, true);*/ } aRSImageProducer_1107.drawGraphics(0, super.graphics, 128); if(welcomeScreenRaised) { welcomeScreenRaised = false; //aRSImageProducer_1107.drawGraphics(0, super.graphics, 128); aRSImageProducer_1108.drawGraphics(371, super.graphics, 202); aRSImageProducer_1109.drawGraphics(171, super.graphics, 202); aRSImageProducer_1112.drawGraphics(265, super.graphics, 0); aRSImageProducer_1113.drawGraphics(265, super.graphics, 562); aRSImageProducer_1114.drawGraphics(171, super.graphics, 128); aRSImageProducer_1115.drawGraphics(171, super.graphics, 562); } }[/code] if you need anymore info tell me what you need and i will post it
  4. dont ask about the name i thought of it like 3 years ago on my first rsps.. idk how it even came to be
  5. [CENTER][IMG]http://i44.tinypic.com/34eqkn7.jpg[/IMG] Website: [URL="http://iceyy.no-ip.biz/"]http://iceyy.no-ip.biz/[/URL] Screen Shots: [URL="http://iceyy.no-ip.biz/uploads/index.php"]http://iceyy.no-ip.biz/uploads/index.php[/URL] [U][B]Features[/B][/U] Clan Chat Grand Exchange Clan Wars Dragon Slayer Party Room Online Highscores XP bonus events All working skills Buying and selling at shops Trading Donator Rank Dragon Claws (with spec) Safe PVP Non Safe PVP Items safe on death unless in a drop zone More but i cant think of them right now! [IMG]http://iceyy.no-ip.biz/uploads/images//1305495962.png[/IMG] [IMG]http://iceyy.no-ip.biz/uploads/images//1305486040.png[/IMG] [IMG]http://iceyy.no-ip.biz/uploads/images//1305485982.png[/IMG] [IMG]http://iceyy.no-ip.biz/uploads/images//1305485942.png[/IMG] More screen shots comming soon! Check it out -iCEYY!SCAPe-[/CENTER]
  6. lol im not getting errors and 317 coding? its all java man and btw you left out a big portion of the code.. put the cases for the balloons? just a thought
  7. terible.. all you did was change sendMessage to getActionSender() this same code has been made already and its terrible how about making it drop items from a list that you make so its not just randomly creating a random item.. i agree with tedhead2 rep = -1 sorry about my negative feed back
  8. its not in the server class.. its in the folder "server" then go to the folder "model" then "minigames" 0.o nice tut i was planning on making this but since you already did i don't have to i just realized i don't have this map 0.o need to dump it
  9. this really is a good source to use if you are interested in delta
  10. icedice

    loading godwars map

    i got no compiling errors but i get this error when it loads the models Loading GodWars Model Cache. java.lang.ArrayIndexOutOfBoundsException: 24558 at Class30_Sub2_Sub4_Sub6.method460(Class30_Sub2_Sub4_Sub6.java:56) at ModelDecompressor.loadModels(ModelDecompressor.java:19) at client.method6(client.java:6999) at Applet_Sub1.run(Applet_Sub1.java:48) at client.run(client.java:4633) at java.lang.Thread.run(Unknown Source) heres line 19 of ModelDeompressor Class30_Sub2_Sub4_Sub6.method460(data, -4036, id); thanks for the help!
  11. alright ill find one of those dont feel like fixing errors today
  12. FileOperations.java:22: '[' expected byte abyte0[] = new byte; ^ FileOperations.java:22: ']' expected byte abyte0[] = new byte; ^ FileOperations.java:23: ';' expected DataInputStream datainputstream = new DataInputStream(new BufferedInputStream(ne w FileInputStream(s))); ^ FileOperations.java:23: illegal start of expression DataInputStream datainputstream = new DataInputStream(new BufferedInputStream(ne w FileInputStream(s))); ^ FileOperations.java:23: ';' expected DataInputStream datainputstream = new DataInputStream(new BufferedInputStream(ne w FileInputStream(s))); ^ 5 errors Compiling Finished. Press any key to continue . . . when i give it [] then i get this error FileOperations.java:22: array dimension missing byte abyte0[] = new byte[]; ^ 1 error Compiling Finished. Press any key to continue . . . give it the value of 0 and then the client doenst load. get this error (in the client terminal) Read Error: java_ownz_32/anims/74.dat Error: loaderror Requesting animations 65 any help?
  13. ya regardless of how it pings it still pings.. his website pining would be the same as typing "ping ip" in your cmd.
  14. "It doesn't ping your server" "this one connects to my site and pings your server" so it doesnt ping your server but it pings your server. i get it!
×