You'll never know unless you don't try.
|
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?
You'll never know unless you don't try.
I think you could get it.
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)
andCode:Entity.currentHealthEdit:Code:Entity.maxHealth
Energy could be done the same way, but using the a different variable.
and since max energy is constant, you wouldn't need a maxEnergy variableCode:client.energy
lol you mean with all the fucked up new npcs that look like elastic lmao
Refactored client:
Normal 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(); }
Does this help anything? (c)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 }
Anything is possible you just need to put in the effort
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |