Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
AreaDex
DexDex
ItemDex
TMHMDex
TypeDex
More

Major Glitches
Trainer escape glitch
Old man trick
Celebi Egg trick
SRAM glitch
Buffer overflow techniques
Pomeg glitch data corruption (Glitzer Popping)
Tweaking
Pokémon cloning
Select glitches (Japan)
Time Capsule exploit
Arbitrary code execution
More

Other Glitch Categories
Glitches by generation
Japan-only/language specific glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Recurring glitches
More

References
Pokémon GameShark codes
The Big HEX List
GB programming
Curiosities
Debugging features
Error traps
Non-glitch exploits
Pokémon glitch terminology
Unused content and prerelease information
More

Useful Tools
8F Helper
GBz80 to Items
Old man trick name generator
PATH (Prama's Advanced Tweaking Heaven)
Save file editors
Special stat/Pokémon converter
Trainer escape Trainer Pokémon finder

Affiliates
Legendary Star Blob 2 (Hakuda)
Pokémon Speedruns wiki
PRAMA Initiative
Become an affiliate!

Technical
Site Source Code

Search Wiki

 

Search Forums

 

Author Topic: I don't know much about coding, but is it possible to remove the error handler?  (Read 490 times)

0 Members and 2 Guests are viewing this topic.

0ErrorYT

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
The error handler in Pokemon black shuts down glitch Pokemon and maps (and moves possibly, can't find a move modifier) Before any glitches can happen. Would it be possible to remove it? I'm sorry if it's a stupid question, I was just curious
##f????????
Grass Pelt
No:928
-------
Sky Drop
-------
Fire Blast
About me:
I'm 14.
Go easy on me, I suffer from depression and autism.
Growtopia will fall~

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
If you do a ROM hack, sure.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

0ErrorYT

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
Would that be difficult, or easy
##f????????
Grass Pelt
No:928
-------
Sky Drop
-------
Fire Blast
About me:
I'm 14.
Go easy on me, I suffer from depression and autism.
Growtopia will fall~

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Can't tell.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

0ErrorYT

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
Would there be a way to search for the function somehow or just whatever calls it, and overwrite that? I have a hunch that what's calling it is null derefs, but I'm probably wrong
« Last Edit: April 26, 2018, 08:14:48 pm by 0ErrorYT »
##f????????
Grass Pelt
No:928
-------
Sky Drop
-------
Fire Blast
About me:
I'm 14.
Go easy on me, I suffer from depression and autism.
Growtopia will fall~

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Overwriting isn't that simple - a NULL deref means the game is crashing either way, and removing the error handler isn't going to change anything.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

0ErrorYT

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
Looking into it more, hex:0000 works just fine. I'm thinking it's just a code that triggers the error handler whenever a Pokemon's index number is higher then the last valid Pokemon, and not null derefs
##f????????
Grass Pelt
No:928
-------
Sky Drop
-------
Fire Blast
About me:
I'm 14.
Go easy on me, I suffer from depression and autism.
Growtopia will fall~

Parzival

  • Buyer beware: House comes with 3 free skeletons in a closet of your choice.
  • GCLF Member
  • *
  • Online Online
  • Gender: Male
  • This box intentionally left blank. ...wait...
    • View Profile
    • (null)
Just removing the function would cause them as well. You'd have to replace it with something.
Ask me about betrayal.
Ask me about depression.
Ask me about death.
Ask me about destruction.
Ask me about hardship.
I've been through s**t.
If you need to talk to someone, my PM inbox is always open.

ALERT: THE CRA TO TAKE BACK NET NEUTRALITY IS CURRENTLY IN CONGRESS!!! CLICK THE BANNER BELOW TO JOIN THE FIGHT!

0ErrorYT

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
Could it be possible to replace it with the DS equivalent of a ret (sorry if this sounds dumb) or something like that? Or find what accesses it whenever it's activated (is there a ds emulator that has breakpoints?)
##f????????
Grass Pelt
No:928
-------
Sky Drop
-------
Fire Blast
About me:
I'm 14.
Go easy on me, I suffer from depression and autism.
Growtopia will fall~

Torchickens

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • The Torchic Princess 🌸🦋
    • View Profile
Could it be possible to replace it with the DS equivalent of a ret (sorry if this sounds dumb) or something like that? Or find what accesses it whenever it's activated (is there a ds emulator that has breakpoints?)

Likely yes.

There is a special version of No$GBA with a debugger. It supports GBA but apparently you can debug Nintendo DS games with it too. So that probably supports breakpoints.

I don't know how one would go about finding the routine and patching it out though, sorry.
« Last Edit: May 10, 2018, 06:13:28 am by Torchickens »
Hi! I identify as female.  She/her pronouns, please.

Online I most often use the username Torchickens or Chickasaurus.

Ah.. koucha ga oishii ♪





Thank you Captain Piika for my avatar.

Thanks too Aeriixion for the cute sprite above! :) Roelof also made different variations of the sprite (which I animated).

Contact:
If you like, please contact me by private message here on the forums as I no longer check other places very often.

YouTube: http://www.youtube.com/user/ChickasaurusGL

I like to collect interesting video games. ^_^
https://www.vgcollect.com/Torchickens

Always be yourself.

0ErrorYT

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
It would work amazing, but there is 1 problem. I open pokemon black with no$gba debugger, and i get a message on the screen "The save data can't be accessed." I looked it up and you need a code to fix it. I entered the code, and it didn't work.
##f????????
Grass Pelt
No:928
-------
Sky Drop
-------
Fire Blast
About me:
I'm 14.
Go easy on me, I suffer from depression and autism.
Growtopia will fall~

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
It's an emulation problem. The game has a different way of accessing the cartridge port, which triggers anti-piracy.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)