BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup

Join the forum, it's quick and easy

BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup
BullyWiiHacks
Would you like to react to this message? Create an account in a few clicks or log in to continue.
BullyWiiHacks

Gaming, Modding & Programming

Important reminders:

- Click *HERE* for advanced forum search or check out the text field below on the front page for Google before posting
- NO support via private message (use the forum)
- Write meaningful topic titles
Site Translation
Latest topics
» Dropped Out of College to Pursue Web Dev and Life Pursuits in General
Code Injection Code Type Change Unsigned/Signed Empty4/7/2024, 2:34 pm by SnB@BWH

» Bully Made It Into a BIG Video 400K Views
Code Injection Code Type Change Unsigned/Signed Empty4/7/2024, 6:58 am by Bully@WiiPlaza

» Wii Play Tanks
Code Injection Code Type Change Unsigned/Signed Empty3/24/2024, 2:46 pm by helpmeout

» [Bypass Paywalls] (Global) @magnolia1234 - GitLab
Code Injection Code Type Change Unsigned/Signed Empty3/18/2024, 3:55 am by Seth@WiiPlaza

» [Download] Mary Shelley's Frankenhole
Code Injection Code Type Change Unsigned/Signed Empty3/16/2024, 8:29 am by Seth@WiiPlaza

» Completely Custom Modded Controllers (Undetectable)
Code Injection Code Type Change Unsigned/Signed Empty3/5/2024, 1:55 pm by Shadow@BWH

» (Zombies) Drink perks code?
Code Injection Code Type Change Unsigned/Signed Empty3/5/2024, 1:24 pm by Shadow@BWH

» Die Rückkehr zu STEAM und WARFACE
Code Injection Code Type Change Unsigned/Signed Empty3/2/2024, 3:54 am by Seth@WiiPlaza

» First person hand model change?
Code Injection Code Type Change Unsigned/Signed Empty2/28/2024, 4:53 am by Ad3lamac611

» {RELEASE} Field Raider Firefox v1.72 by Seth@WiiPlaza
Code Injection Code Type Change Unsigned/Signed Empty2/21/2024, 8:52 am by naxil

Search
 
 

Display results as :
 


Rechercher Advanced Search

May 2024
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  

Calendar Calendar

Country Statistics
Free counters!

You are not connected. Please login or register

Code Injection Code Type Change Unsigned/Signed

2 posters

Go down  Message [Page 1 of 1]

viciousShadow

viciousShadow

hello,

some time ago i have found some code injection code (mhg monster health display) and it worked just fine ... later i noticed that there is a minor bug in it: when a monster is poisoned, it goes like 6 HP -> 1 HP -> 65532 HP but of course it should go as 6 HP -> 1 HP -> -4 HP

so what has to be changed in the code to change from unsigned to signed short?

i tried to change some things in the c++ like sentence "%s: %d/%d" (data bytes interpreted as ascii) but it didnt affect the display of signed/unsigned short (see first 3 codelines 057C5000 25733a20, 057C5004 25642F25, 057C5008 64000000)

Code:
$Monster HP Display (Bottom Left Corner, Green) [unknown japanese code]
057C5000 25733a20
057C5004 25642F25
057C5008 64000000
057C5200 3B000000
057C5204 3AE00000
057C5208 38600012
057C520C 38800012
057C5210 4A855B15
057C5214 38600003
057C5218 4AAACE39
057C521C 38600036
057C5220 3897018C
057C5224 4A855B15
057C5228 3E808073
057C522C 3A947D68
057C5230 1CB80A54
057C5234 7E942A14
057C5238 88940002
057C523C 2C040000
057C5240 41820030
057C5244 3C60817C
057C5248 38635000
057C524C 3EA08068
057C5250 5484103A
057C5254 7EB52214
057C5258 80958D98
057C525C A0B40302
057C5260 A0D407A2
057C5264 4CE73982
057C5268 4AAABCA1
057C526C 3AF70014
057C5270 3B180001
057C5274 2C18000F
057C5278 4081FF90
057C527C 38600012
057C5280 4AA39F04
041FF180 495C6080
*don't use in training mode, original code found on some japanese site, some bits here and there changed by viciousShadow
[EDIT]



Last edited by viciousShadow on 4/18/2014, 8:30 am; edited 2 times in total

SnB@BWH

SnB@BWH
Admin & Writer

What do you mean by C++? I know it's a programming language, but what do you mean you changed stuff in the C++ code? Neutral That isn't C++, that's Hexadecimal. Wink Also, please do not take credits even if there is none. Someone already made the code and took the addresses and it wasn't you. You don't get any credits at all for making a derivative code. Wink


_________________
Code Injection Code Type Change Unsigned/Signed Simple10

Code Injection Code Type Change Unsigned/Signed LSTjSyDDiscord: SnB_BWH

Click HERE to earn free bitcoin, litecoin, dogecoin, and dash!

Win Free Bitcoins every hour!

viciousShadow

viciousShadow

shitnbitch wrote:What do you mean by C++? I know it's a programming language, but what do you mean you changed stuff in the C++ code?  Neutral  That isn't C++, that's Hexadecimal.  Wink  Also, please do not take credits even if there is none. Someone already made the code and took the addresses and it wasn't you. You don't get any credits at all for making a derivative code.  Wink

i just noticed some errors, fixed in post 1.
removed credits (tho i like my derivative code way better than the original XD)

added more detail explanation in post 1
(if you read the data of code line 1/2/3 as ascii, it reads as "%s: %d/%d" which i know from c++(or at least similar). it means write on screen: [first string type variable content] + ": " + [2nd short variable content] + "/" + [third short type variable content]

in game it looks like: "Rathalos: 4578/5000" (monstername: current hp/max hp)

i hope its more clear now

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum