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
Pointer in pointer problem ? Empty4/7/2024, 2:34 pm by SnB@BWH

» Bully Made It Into a BIG Video 400K Views
Pointer in pointer problem ? Empty4/7/2024, 6:58 am by Bully@WiiPlaza

» Wii Play Tanks
Pointer in pointer problem ? Empty3/24/2024, 2:46 pm by helpmeout

» [Bypass Paywalls] (Global) @magnolia1234 - GitLab
Pointer in pointer problem ? Empty3/18/2024, 3:55 am by Seth@WiiPlaza

» [Download] Mary Shelley's Frankenhole
Pointer in pointer problem ? Empty3/16/2024, 8:29 am by Seth@WiiPlaza

» Completely Custom Modded Controllers (Undetectable)
Pointer in pointer problem ? Empty3/5/2024, 1:55 pm by Shadow@BWH

» (Zombies) Drink perks code?
Pointer in pointer problem ? Empty3/5/2024, 1:24 pm by Shadow@BWH

» Die Rückkehr zu STEAM und WARFACE
Pointer in pointer problem ? Empty3/2/2024, 3:54 am by Seth@WiiPlaza

» First person hand model change?
Pointer in pointer problem ? Empty2/28/2024, 4:53 am by Ad3lamac611

» {RELEASE} Field Raider Firefox v1.72 by Seth@WiiPlaza
Pointer in pointer problem ? Empty2/21/2024, 8:52 am by naxil

Search
 
 

Display results as :
 


Rechercher Advanced Search

April 2024
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
2930     

Calendar Calendar

Country Statistics
Free counters!

You are not connected. Please login or register

Pointer in pointer problem ?

4 posters

Go down  Message [Page 1 of 1]

1Pointer in pointer problem ? Empty Pointer in pointer problem ? 4/7/2013, 1:57 am

M.Bison

M.Bison
Code Creator

Hi, I'm trying to do a 'loadout modifier code' for Goldeneye 007, something like Bully did but for the offline mode. In theory, Bond should have a strata with laser/silencer as a second weapon.

Here is the code:
48000000 805D4484
58010000 00000C4C
4A100000 00000050
14000000 02000932
14000004 00000001
14000008 00000001
1400000C 004920FF
14000010 4001009A
14000018 0000001E
1400001C 0000FFFF
14000020 4001008B
14000024 000000D2
14000028 000000D2
1400002C 0000FFFF
E0000000 80008000

I have several problems with it:
- first of all, if the code is loaded before the stage is loaded, the wii freezes...
- then, the code gives Bond a strata but only after he has picked up a second weapon (any should do)
- finally, depending on missions, the strata is loaded but can't be used (Bond is crouching and holds the guns strangely)

Maybe the freezing comes from the pointer in pointer thing ? Did I get all tangled up in the codetypes?
Thanks for any help!

Bully@WiiPlaza

Bully@WiiPlaza
 
 

You forgot the DE check lines.


_________________
Pointer in pointer problem ? YBjg74I

M.Bison

M.Bison
Code Creator

Ok thanks, I didn't know about this. It doesn't freeze anymore.

The code is now:
48000000 805D4484
DE000000 80008180
58010000 00000C4C
4A100000 00000050
14000000 02000932
14000004 00000001
14000008 00000001
1400000C 004920FF
14000010 4001009A
14000018 0000001E
1400001C 0000FFFF
14000020 4001008B
14000024 000000D2
14000028 000000D2
1400002C 0000FFFF
E0000000 80008000

I still have the other problems. Maybe doing this in asm would be better but I don't know what breakpoint to choose. I would like to set the breakpoint before the level is loaded in RAM. But at that moment, I don't know the gun's address in memory since it's different for every mission.

Bully@WiiPlaza

Bully@WiiPlaza
 
 

You should set the breakpoint where the class data is read or use some check line in the pointer code to be sure the writes are not off-target.


_________________
Pointer in pointer problem ? YBjg74I

Macopride64

Macopride64
Code Creator

M.Bison wrote:
- finally, depending on missions, the strata is loaded but can't be used (Bond is crouching and holds the guns strangely)

This will always happen. You should just give up on a single player gun modifier, lol.

I got close, in fact I pretty much made a working code (not working to my liking) which required you to select "Last Checkpoint" for the code to take action.

All weapons worked on all maps (could shoot them and everything), only problem was, some gun stats didn't change, such as, recoil and reticule size (accuracy). However, the main stat, damage, changed.


_________________
If you need me I'll be here

M.Bison

M.Bison
Code Creator

I'm new with the pointer things, which codetypes would you use to verify if the write is done at the wanted place ? The DE line is not enough?

Actually, the writes are where I want them to be (after the PP9 data for each stage). The problem is that it works on some missions but on other ones, the code data seems to be loaded (ammo for example) but the strata can't be fired.

Edit, to Macopride: Oh, I thought I saw one of your vids where you explore a map and change guns a lot. But it wasn't on a mission but on an unused map, is it different?

Macopride64

Macopride64
Code Creator

If you're trying to load the strata, it'll only be able to be fired on maps that have it. For example memorial.


_________________
If you need me I'll be here

M.Bison

M.Bison
Code Creator

It works well on memorial, yes, but not on the other ones.
Also I don't get why the strata isn't available right at the beginning of the mission and that you have to pick up any gun in order to have the strata. Because the data is there but it seems it isn't acknowledge.

Your vid where you have many guns in your loadout is an online game, then?

Macopride64

Macopride64
Code Creator

M.Bison wrote:Your vid where you have many guns in your loadout is an online game, then?

No, but this is different. It has to do with maps.

EDIT:
I thought I had posted my enemies guns modifiers here. I'll do it now. This code is probably the closest thing to a single player gun modifier.


_________________
If you need me I'll be here

M.Bison

M.Bison
Code Creator

Macopride64 wrote:I thought I had posted my enemies guns modifiers here. I'll do it now. This code is probably the closest thing to a single player gun modifier.

Ok thanks !
Does it modify the enemies's weapons on missions or the enemies's weapons online in a lobby where you're the host?

Macopride64

Macopride64
Code Creator

Single player.


_________________
If you need me I'll be here

M.Bison

M.Bison
Code Creator

If, by using your code, I give stratas to all the enemies then my code works for every maps.

But it's now kind of useless since there are stratas everywhere... Laughing

M.Bison

M.Bison
Code Creator

I still have a question, though, for learning purpose.
Although there are no problems while loading the code, if you quit the mission and try another one, the wii will freeze. I guess it's because the code is still written and is interfering with the data loaded for the second mission? Why doesn't the data of the second mission writes over the code?

Is this a pointer problem? Aren't the DE000000 and E0000000 lines enough?

14Pointer in pointer problem ? Empty Re: Pointer in pointer problem ? 4/8/2013, 10:43 am

Bully@WiiPlaza

Bully@WiiPlaza
 
 

The game writes new data once and codes usually continuously write to memory therefore they "win".
Bully@WiiPlaza wrote:[...] use some check line in the pointer code to be sure the writes are not off-target.
That´s my suggestion from before. "20" code type, aka "30" when using pointer.


_________________
Pointer in pointer problem ? YBjg74I

M.Bison

M.Bison
Code Creator

Ok, I'm learning new codetypes everyday!
I tried to use the 30 one but the game still freeze.

Here is the whole code.
The pointer that wiird gave me is [[805D4484]+C4C]+50.


48000000 805D4484 -> always the same, contains an address that becomes the po
DE000000 80008180 -> check if the po is in the wanted range
58010000 00000C4C -> adds C4C to the address found at 805D4484, the sum becomes the new po
30000000 0200016E -> check if the first 32-bit value at po is 0200016E (=first data for the PP9)
4A100000 00000050 -> adds an offset of 50 to the po (to skip the PP9's data and begin to write at the second weapon's location)
14000000 02000932 -> first line of write code
14000004 00000001
14000008 00000001
1400000C 004920FF
14000010 4001009A
14000018 0000001E
1400001C 0000FFFF
14000020 4001008B
14000024 000000D2
14000028 000000D2

1400002C 0000FFFF -> last line of write code
E0000000 80008000 -> full terminator

I guess there's still something missing?

16Pointer in pointer problem ? Empty Re: Pointer in pointer problem ? 4/9/2013, 10:57 am

Bully@WiiPlaza

Bully@WiiPlaza
 
 

I don´t know what else to suggest, it must be a game related issue now.


_________________
Pointer in pointer problem ? YBjg74I

17Pointer in pointer problem ? Empty Re: Pointer in pointer problem ? 4/10/2013, 9:54 am

Welohabi

Welohabi
Moderator & Coder
Moderator & Coder

When the Wii freezes does your USB Gecko/Gecko.NET catch the exception error? If so post that info here wrapped in code tags.


_________________
Please help me earn some extra Dropbox & MediaFire space. https://db.tt/2H7prurb2d www.mediafire.com/?renl53g

The energy you give, you shall receive.

18Pointer in pointer problem ? Empty Re: Pointer in pointer problem ? 4/11/2013, 9:17 am

M.Bison

M.Bison
Code Creator

I don't know what the exception error is. I don't see anything particular on wiird, but you can't switch between tabs no more after the freeze.

19Pointer in pointer problem ? Empty Re: Pointer in pointer problem ? 4/11/2013, 12:23 pm

Bully@WiiPlaza

Bully@WiiPlaza
 
 

I don´t think the exception would help. It doesn´t for me personally.
We know it freezes and that needs to be fixed in the code by probably figuring which write causes it.


_________________
Pointer in pointer problem ? YBjg74I

Sponsored content



Back to top  Message [Page 1 of 1]

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