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
» Lego Stars Wars: The Complete Saga [RLGE64]
Code Injection Code Type Change Unsigned/Signed Empty11/12/2024, 3:19 am by SnB@BWH

» JMaster Duel Bot: A Yu-Gi-Oh! Master Duel Bot and Trainer for Steam
Code Injection Code Type Change Unsigned/Signed Empty11/10/2024, 5:26 am by Bully@WiiPlaza

» Error Injecting Drool Links Saliva Mod Menu
Code Injection Code Type Change Unsigned/Signed Empty11/10/2024, 5:24 am by Bully@WiiPlaza

» USB Gecko problems with some games
Code Injection Code Type Change Unsigned/Signed Empty10/16/2024, 1:59 pm by Reclaimer Shawn

» Metal Gear Solid V The Phantom Pain X Flashpoint Batman Gameplay unedited [Seth@WiiPlaza]
Code Injection Code Type Change Unsigned/Signed Empty9/23/2024, 12:48 pm by Seth@WiiPlaza

» Dropped Out of College to Pursue Web Dev and Life Pursuits in General
Code Injection Code Type Change Unsigned/Signed Empty8/9/2024, 7:09 am by SnB@BWH

» ASM <> Gecko Code Converter
Code Injection Code Type Change Unsigned/Signed Empty7/29/2024, 11:15 am by Mac11ngAround

» German With a Jackhammer
Code Injection Code Type Change Unsigned/Signed Empty7/28/2024, 3:42 pm by SnB@BWH

» Wii RAM Hacking: Pointers and ASM
Code Injection Code Type Change Unsigned/Signed Empty7/23/2024, 1:54 pm by Mac11ngAround

» IBM AIX Assembler Programming Reference - Useful For PPC ASM
Code Injection Code Type Change Unsigned/Signed Empty7/21/2024, 5:00 pm by Mac11ngAround

Search
 
 

Display results as :
 


Rechercher Advanced Search

November 2024
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
252627282930 

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