Author Topic: [PI][TUT]Loading text(READ NOW)  (Read 124 times)

Offline ~Dylan~

  • Steel Member
  • *
  • Posts: 37
  • Rep 0
    • View Profile
[PI][TUT]Loading text(READ NOW)
« on: March 27, 2011, 01:46:16 pm »
Hey Rune-Kingdom,
today I will be teaching you how to add this! The loading..please wait sprite and connection lost sprite!

and this

EDIT: Yes I know that my name is Kyle on the game, this is my old name, I have since changed my name legaly! and I know my gameframe is also messed up as I am still working on it!
So lets get started!

**CLIENT SIDED**
Open up Client.java and search for
Code: [Select]
private void loadingStages()it should look something like this
Code: [Select]
if(lowMem && loadingStage == 2 && ObjectManager.anInt131 != plane)
        {
            aRSImageProducer_1165.initDrawingArea();
now replace that whole void with this
Code: [Select]
private void loadingStages()
    {
        if(lowMem && loadingStage == 2 && ObjectManager.anInt131 != plane)
        {
            aRSImageProducer_1165.initDrawingArea();
            loadingPleaseWait.drawSprite(8,9);;
            aRSImageProducer_1165.drawGraphics(4, super.graphics, 4);
            loadingStage = 1;
            aLong824 = System.currentTimeMillis();
        }
Now search for
Code: [Select]
/* Null pointers for custom sprites */under that add
Code: [Select]
loadingPleaseWait = null;now search for
Code: [Select]
/* Custom sprite unpacking */under that somewhere in that void add
Code: [Select]
loadingPleaseWait = new Sprite("loadingPleaseWait");now search for
Code: [Select]
aLong824 = System.currentTimeMillis();(It should be the last one that you can search for)
It should have something like this
Code: [Select]
aLong824 = System.currentTimeMillis();
aRSImageProducer_1165.initDrawingArea();
under the
Code: [Select]
aRSImageProducer_1165.initDrawingArea();add
Code: [Select]
loadingPleaseWait.drawSprite(8,9);;Now search for
Code: [Select]
/* Declare custom sprites */and under that add
Code: [Select]
private Sprite loadingPleaseWait;search for
Code: [Select]
aTextDrawingArea_1271.drawText(0, "Loading - please wait.", 151, 257);and delete it!

Now you will need to add the sprite for it to work! Right click the one below and go save as, then save it as "LoadingPleasWait"

Then locate where you saved it and place it in your "Sprites" folder!

Now you have finished the "Loading - Please wait..." part, compile the server! If you have any errors post below! To test it out load your client and server, then login and it should come up in the left hand corner if there is no errors!
Time for the "Connection lost - attempting to reestablish" part!
Add me on MSN and I will do it for you
Code: [Select]
Dylanssick@hotmail.comUnless you have some basic knowledge and you will beable to figure it out using some of this I just made up above!
« Last Edit: March 27, 2011, 01:50:03 pm by ~Dylan~ »

Share on Bluesky Share on Facebook


Offline Sajon

  • Rune Member
  • *
  • Posts: 166
  • Rep -1
  • Never Back down
  • Location: United Kingdom
    • View Profile
Re: [PI][TUT]Loading text(READ NOW)
« Reply #1 on: March 28, 2011, 05:23:54 pm »
nice where can i get a server and client clean one

Offline ~Dylan~

  • Steel Member
  • *
  • Posts: 37
  • Rep 0
    • View Profile
Re: [PI][TUT]Loading text(READ NOW)
« Reply #2 on: March 28, 2011, 11:48:15 pm »
It depends on what you are looking for, a Delta base such as Bluurs and Demise PKing.  Or just a cleaned Project Insanity.

Offline Povskill

  • Iron Member
  • *
  • Posts: 15
  • Rep 0
    • View Profile
Re: [PI][TUT]Loading text(READ NOW)
« Reply #3 on: April 04, 2011, 05:18:10 pm »
Nice look ;-)

Offline ~Dylan~

  • Steel Member
  • *
  • Posts: 37
  • Rep 0
    • View Profile
Re: [PI][TUT]Loading text(READ NOW)
« Reply #4 on: April 05, 2011, 12:07:37 am »
Thanks

Offline robgob

  • Adamant Member
  • *
  • Posts: 120
  • Rep 5
  • I swarm like locust
  • Location: Michigan
    • View Profile
Re: [PI][TUT]Loading text(READ NOW)
« Reply #5 on: April 13, 2011, 03:22:00 am »
Nice release. I already had this added to my client tho ;]