Thread: Would This Work? (Might have made something for the hp in real RS)

Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1 Would This Work? (Might have made something for the hp in real RS) 
    DeltaScape is Pro!!

    Join Date
    Feb 2008
    Age
    29
    Posts
    743
    Thanks given
    4
    Thanks received
    5
    Rep Power
    77
    People have the real rs clients how it has hp in corner, but its just a picture. Do you think i could make sprites for the hp to be 4/4, 3/4, 2/4, 1/4, and 0/4. and make it update when you have certain hps. So like put something like if(hp level(what ever the hp thing is) = 75 then show hpsprite2... or w\e lol

    you think something like that could work?
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Dec 2006
    Age
    30
    Posts
    1,508
    Thanks given
    5
    Thanks received
    0
    Rep Power
    128
    You'll never know unless you don't try.
    I don't play RuneScape anymore
    Reply With Quote  
     

  3. #3  
    Since 07


    Join Date
    Sep 2007
    Posts
    1,390
    Thanks given
    0
    Thanks received
    13
    Rep Power
    349
    I think you could get it.
    Reply With Quote  
     

  4. #4  
    DeltaScape is Pro!!

    Join Date
    Feb 2008
    Age
    29
    Posts
    743
    Thanks given
    4
    Thanks received
    5
    Rep Power
    77
    Ima try to tommrow though xD
    Reply With Quote  
     

  5. #5  
    HcoFlame
    Guest
    If its only HP, why not have the client print it on the screen? Similar to how it does with the chat options, but using client-sided variables. (Same variables used for HP above heads)

    Code:
    Entity.currentHealth
    and
    Code:
    Entity.maxHealth
    Edit:
    Energy could be done the same way, but using the a different variable.
    Code:
    client.energy
    and since max energy is constant, you wouldn't need a maxEnergy variable
    Reply With Quote  
     

  6. #6  
    DeltaScape is Pro!!

    Join Date
    Feb 2008
    Age
    29
    Posts
    743
    Thanks given
    4
    Thanks received
    5
    Rep Power
    77
    good idea thats gonna be my new project, make a 100% real runescape client, with all the new npcs and everthing
    Reply With Quote  
     

  7. #7  
    Registered Member
    ill pk ur as's Avatar
    Join Date
    Jul 2007
    Posts
    424
    Thanks given
    4
    Thanks received
    12
    Rep Power
    97
    lol you mean with all the fucked up new npcs that look like elastic lmao
    Reply With Quote  
     

  8. #8  
    SERGEANT OF THE MASTER SERGEANTS MOST IMPORTANT PERSON OF EXTREME SERGEANTS TO THE MAX!

    cube's Avatar
    Join Date
    Jun 2007
    Posts
    8,871
    Thanks given
    1,854
    Thanks received
    4,745
    Rep Power
    5000
    Refactored client:
    Code:
            if((i & 0x200) != 0)
            {
                int l1 = stream.readUnsignedByte();
                int l2 = stream.method428();
                player.updateHitData(l2, l1, loopCycle);
                player.loopCycleStatus = loopCycle + 300;
                player.currentHealth = stream.readUnsignedByte();
                player.maxHealth = stream.method427();
            }
    Normal client:
    Code:
            if((i & 0x200) != 0)
            {
                int l1 = class30_sub2_sub2.method408();
                int l2 = class30_sub2_sub2.method428(2);
                class30_sub2_sub4_sub1_sub2.method447(-35698, l2, l1, anInt1161);
                class30_sub2_sub4_sub1_sub2.anInt1532 = anInt1161 + 300;
                class30_sub2_sub4_sub1_sub2.anInt1533 = class30_sub2_sub2.method408(); // current health
                class30_sub2_sub4_sub1_sub2.anInt1534 = class30_sub2_sub2.method427(false); // max health
            }
    Does this help anything? (c)

    Attached image

    Reply With Quote  
     

  9. #9  
    Banned

    Join Date
    Feb 2008
    Age
    29
    Posts
    998
    Thanks given
    1
    Thanks received
    11
    Rep Power
    0
    Anything is possible you just need to put in the effort
    Reply With Quote  
     

  10. #10  
    HcoFlame
    Guest
    Quote Originally Posted by R E A P E R View Post
    Refactored client:
    Code:
            if((i & 0x200) != 0){...}
    Normal client:
    Code:
            if((i & 0x200) != 0){...}
    Does this help anything? (c)
    it only really helps how the client updates the hits. if he was gonna do a sprite thing, he could have it draw in there, or he could have it update his text.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •