Hacking 5.4.0 progress

Scuba156

Well-Known Member
Member
Joined
Jan 19, 2010
Messages
340
Trophies
0
Age
36
XP
344
Country
Still early but suggestions so far?

IMG_20160117_143007.jpg
 
  • Like
Reactions: Rizzorules

Irastris

Well-Known Member
Member
Joined
May 3, 2015
Messages
1,116
Trophies
0
XP
895
Country
United States
Still early but suggestions so far?

Looks nice so far! If you need any code advice, let me know, I know a lot about HTML/CSS.
Question though, how do you plan to make it recognize when the kernel is active or not?

Also, I'd consider adding a "display:inline-block" line to your CSS for the buttons, so you can use more screen space before having to scroll down.
 
Last edited by Irastris,
  • Like
Reactions: WiiuGold

Scuba156

Well-Known Member
Member
Joined
Jan 19, 2010
Messages
340
Trophies
0
Age
36
XP
344
Country
Looks nice so far! If you need any code advice, let me know, I know a lot about HTML/CSS.
Question though, how do you plan to make it recognize when the kernel is active or not?

Also, I'd consider adding a "display:inline-block" line to your CSS for the buttons, so you can use more screen space before having to scroll down.
Thanks. I had inline-block but was causing the bullet-point of the <li> for each button to show all the way at the left of the page so I left it until I fix it.

As for the kernel, use a cookie that has a short lifetime, so that it would expire before an unsuccessful kernel exploit could go to system settings, then back to browser compared to a successful attempt. Persistance across browser shutdowns is the issue and I have a few ideas
 

Irastris

Well-Known Member
Member
Joined
May 3, 2015
Messages
1,116
Trophies
0
XP
895
Country
United States
Thanks. I had inline-block but was causing the bullet-point of the <li> for each button to show all the way at the left of the page so I left it until I fix it.

As for the kernel, use a cookie that has a short lifetime, so that it would expire before an unsuccessful kernel exploit could go to system settings, then back to browser compared to a successful attempt. Persistance across browser shutdowns is the issue and I have a few ideas
Interesting plan for the kernel detection.
Another question, why bother with using <li>? From that screenshot, looks to me like a regular <div> with a <p> for the text would suffice, unless there's inner workings I'm not aware of.
 

Irastris

Well-Known Member
Member
Joined
May 3, 2015
Messages
1,116
Trophies
0
XP
895
Country
United States
yeah i been reading that and viewing the page source , its way over complicated , all i wanna do is detect button A being pressed...

Code:
window.addEventListener("load", function(event) {
  if (window.wiiu) {
    setInterval(function() {
      var state = window.wiiu.gamepad.update();

      // process the current state
    }, 20);
  } else {
    // browser is not a Wii U
  }
}, false);

To break it down:
Lines 1 and 11 are the wrapper that tell the browser to run the code on page load.
Lines 2, 8, 9 and 10 detect if the page is being accessed on a Wii U or not.
Lines 3 and 7 tell the browser to run the code inside the setInterval wrapper every 20 ms.
Line 4 checks the current state of the Wii U gamepad (button pressed or unpressed) and sets "var state" as that value.
 
Last edited by Irastris,
  • Like
Reactions: deaknaew

Scuba156

Well-Known Member
Member
Joined
Jan 19, 2010
Messages
340
Trophies
0
Age
36
XP
344
Country
Interesting plan for the kernel detection.
Another question, why bother with using <li>? From that screenshot, looks to me like a regular <div> with a <p> for the text would suffice, unless there's inner workings I'm not aware of.
The cookie solution works, as long as its turned on in the settings, which it is by default. It will detect if cookies are turned off.

The <li> was mainly just left over code mainly, too busy working on the php side. the using <p> tags fixes it :P
 

aspire78

Well-Known Member
Newcomer
Joined
Nov 29, 2015
Messages
82
Trophies
0
Age
46
XP
257
Country
Swaziland
Hello,

I have 5.4.0 E


I have selfhosted 05sonicblue and I also try to use http://wiiu.suffkoeppe.com/

I can successfully load Kexploit, when I try loadiin, I get black screen and after that it's show a gamepad menu,
when I try to run SSBU my WiiU freeze, and i have a nice "zzzzzzz" sound on TV.

I checked up on SD card the folder structure is ok.

Also always delete all cookies.

My SD-CARD is SanDisk Extreme SD-HC I

Should I test with another SD card ?

Cheers
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: good night