Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.

TrollandToad.com
Reply
 
Thread Tools
  #26    
Old January 30th, 2009 (9:56 PM).
Liquid Shadow's Avatar
Liquid Shadow Liquid Shadow is offline
xD
     
    Join Date: Mar 2008
    Gender:
    Posts: 223
    Quote:
    Originally Posted by 0m3GA ARS3NAL View Post
    !!!!I have been trying to find those offsets! Can you please link me to that particular RHN?!!!!

    (But yeah, I do believe that this method would work, I have renamed the first bit of information, to 'Explaining the Daycare Script'. But I do believe if I could find the location the pokemon were stored, I could pull this off... I can't find it though...)
    What offsets lol? The ones for the OW? If so, they are located in the INI of Hackmew's Overworld Editor RE, but anyways here's the link to the RHN: http://www.pokecommunity.com/showpost.php?p=4216237&postcount=300

    Oh and just a quick question to any scripters here... The loadbytefrompointer and loadbytetooffset would work on Ruby if you want to change the main players OW, correct?
    __________________

    4 truths of life
    1. You cannot touch all your teeth with your tongue.
    2. All idiots, after reading the first truth, will try it.
    3. And discover that the first truth is a lie.
    4. You're smiling now because you're an idiot.
    Reply With Quote

    Relevant Advertising!

      #27    
    Old January 30th, 2009 (10:12 PM).
    0m3GA ARS3NAL's Avatar
    0m3GA ARS3NAL 0m3GA ARS3NAL is offline
    Im comin' home...
    • Silver Tier
     
    Join Date: Jan 2008
    Location: Superjail Penitentiary
    Age: 24
    Gender: Male
    Nature: Gentle
    Posts: 1,812
    Quote:
    Originally Posted by NeoNemesis View Post
    What offsets lol? The ones for the OW? If so, they are located in the INI of Hackmew's Overworld Editor RE, but anyways here's the link to the RHN: http://www.pokecommunity.com/showpost.php?p=4216237&postcount=300

    Oh and just a quick question to any scripters here... The loadbytefrompointer and loadbytetooffset would work on Ruby if you want to change the main players OW, correct?
    By Offset, I mean the offsets in the RAM.
    The bytes with the sprite information have to be stored somewhere... and the offsets to that have to be something, ammirite?
    I know them now though, Darthatron showed me, I am going to check out that RHN now...
    __________________
    >Boot Jailbot
    >Pass *****
    .
    .
    Jailbot OS Ver 1.1.2
    Greetings Warden
    of Superjail Penitentiary
    Awaiting user input...

    >Display User_Info
    ╠══User Info══╣
    Username:
    0m3GA ARS3NAL
    Age: 18
    Sex: Male ♂
    Race: Caucasian
    Quote:
    "What is this
    I don't even..."

    M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
    ╠══End of File══╣
    Awaiting user input...

    >
    Reply With Quote
      #28    
    Old January 30th, 2009 (10:41 PM). Edited January 30th, 2009 by ZodiacDaGreat.
    ZodiacDaGreat's Avatar
    ZodiacDaGreat ZodiacDaGreat is offline
    Working on a Mobile System
       
      Join Date: Feb 2007
      Location: South Pacific
      Age: 25
      Gender: Male
      Nature: Relaxed
      Posts: 429
      You can search for it in the RAM Open the Search For Cheats, and set it to this:
      Search Type = Specific Value
      Data Size = 32 bits
      Compare Type = Equal
      Signed/Unsigned = Hex
      value = 08+pointertomale/female sprite data
      __________________
      Reply With Quote
        #29    
      Old January 31st, 2009 (5:48 PM).
      liuyanghejerry's Avatar
      liuyanghejerry liuyanghejerry is offline
         
        Join Date: Jan 2008
        Location: China,Xi'an
        Nature: Calm
        Posts: 219
        This is the script that retaken the pokemons to the player.
        But this is just a simple one,I remove the "check" thing,so if there's any problems about your team (Is it full?),it may go wrong.And I also remove the "Pay" function ,so that you can get your pokemon back for free.

        Code:
        'This script isn't safe,just for test!
        #dynamic 0x575288
        lock
        faceplayer
        setvar 0x8004 0x0
        special2 LASTRESULT 0xC0
        message @2 0x2
        release
        end
        
        #org @2
        = Done.
        Hope it helps...
        __________________
        Zel,thethethethe,LU-HO,Darthatron,HackMew,ZodiacDaGreat,Juan,score_under,JPAN,Tamah-chan,I really appreciate your kindness and your help!:D
        Reply With Quote
          #30    
        Old February 1st, 2009 (11:29 PM).
        0m3GA ARS3NAL's Avatar
        0m3GA ARS3NAL 0m3GA ARS3NAL is offline
        Im comin' home...
        • Silver Tier
         
        Join Date: Jan 2008
        Location: Superjail Penitentiary
        Age: 24
        Gender: Male
        Nature: Gentle
        Posts: 1,812
        Quote:
        Originally Posted by liuyanghejerry View Post
        This is the script that retaken the pokemons to the player.
        But this is just a simple one,I remove the "check" thing,so if there's any problems about your team (Is it full?),it may go wrong.And I also remove the "Pay" function ,so that you can get your pokemon back for free.

        Code:
        'This script isn't safe,just for test!
        #dynamic 0x575288
        lock
        faceplayer
        setvar 0x8004 0x0
        special2 LASTRESULT 0xC0
        message @2 0x2
        release
        end
        
        #org @2
        = Done.
        Hope it helps...
        I think you dont understand Special2's function... Special2 writes a value to the variable given (In this case, it would be LASTRESULT (0x800D))
        What this script here does, is...

        Lock the player
        Make the sprite face the player
        set 0x8004 to 0
        set LASTRESULT to an unknown value stored in special2 0xC0
        Display a message
        Unlock player and sprite
        end script

        This does not add the pokemon to the party, I am afraid...


        Also, ZodiacDaGreat, how would searching for the sprite data make a difference? Shouldn't I search for the pokemon's party data?
        __________________
        >Boot Jailbot
        >Pass *****
        .
        .
        Jailbot OS Ver 1.1.2
        Greetings Warden
        of Superjail Penitentiary
        Awaiting user input...

        >Display User_Info
        ╠══User Info══╣
        Username:
        0m3GA ARS3NAL
        Age: 18
        Sex: Male ♂
        Race: Caucasian
        Quote:
        "What is this
        I don't even..."

        M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
        ╠══End of File══╣
        Awaiting user input...

        >
        Reply With Quote
          #31    
        Old February 2nd, 2009 (12:13 AM).
        ZodiacDaGreat's Avatar
        ZodiacDaGreat ZodiacDaGreat is offline
        Working on a Mobile System
           
          Join Date: Feb 2007
          Location: South Pacific
          Age: 25
          Gender: Male
          Nature: Relaxed
          Posts: 429
          Excuse me? Who was it that wanted the pointer to where the player's sprite location is stored? Anyway, for pokemon party data its all here:
          Quote:
          * Ruby: 0x03004360
          * Sapphire: 0x03004360
          * Emerald: 0x02024190 (0x020244EC for US games??)
          * FireRed: 0x02024284
          * LeafGreen: 0x020241e4
          He's what I can do, copy the data of one pokemon to another area in the ROM(Taking Pokemon) and copying it back(Giving) the only thing I have yet to try is whether or not the data copied to a different area of the ROM is saved if the player saves the game and turns off the GBA.
          __________________
          Reply With Quote
            #32    
          Old February 2nd, 2009 (12:21 AM).
          0m3GA ARS3NAL's Avatar
          0m3GA ARS3NAL 0m3GA ARS3NAL is offline
          Im comin' home...
          • Silver Tier
           
          Join Date: Jan 2008
          Location: Superjail Penitentiary
          Age: 24
          Gender: Male
          Nature: Gentle
          Posts: 1,812
          Quote:
          Originally Posted by ZodiacDaGreat View Post
          Excuse me? Who was it that wanted the pointer to where the player's sprite location is stored? Anyway, for pokemon party data its all here:

          He's what I can do, copy the data of one pokemon to another area in the ROM(Taking Pokemon) and copying it back(Giving) the only thing I have yet to try is whether or not the data copied to a different area of the ROM is saved if the player saves the game and turns off the GBA.
          Oh, *Facepalm* I know where they are now, I asked Darthatron, he told me a day ago...
          Sorry, but in any case... What is the format of the Party Data? like, what do the different bytes mean?
          __________________
          >Boot Jailbot
          >Pass *****
          .
          .
          Jailbot OS Ver 1.1.2
          Greetings Warden
          of Superjail Penitentiary
          Awaiting user input...

          >Display User_Info
          ╠══User Info══╣
          Username:
          0m3GA ARS3NAL
          Age: 18
          Sex: Male ♂
          Race: Caucasian
          Quote:
          "What is this
          I don't even..."

          M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
          ╠══End of File══╣
          Awaiting user input...

          >
          Reply With Quote
            #33    
          Old February 2nd, 2009 (12:34 AM).
          ZodiacDaGreat's Avatar
          ZodiacDaGreat ZodiacDaGreat is offline
          Working on a Mobile System
             
            Join Date: Feb 2007
            Location: South Pacific
            Age: 25
            Gender: Male
            Nature: Relaxed
            Posts: 429
            This should help (Fillers)
            __________________
            Reply With Quote
              #34    
            Old February 2nd, 2009 (12:47 AM).
            0m3GA ARS3NAL's Avatar
            0m3GA ARS3NAL 0m3GA ARS3NAL is offline
            Im comin' home...
            • Silver Tier
             
            Join Date: Jan 2008
            Location: Superjail Penitentiary
            Age: 24
            Gender: Male
            Nature: Gentle
            Posts: 1,812
            Well then... this should not be so hard... all we gotta do is insert a pokemon into the 'daycare' system, then search for the missing bytes elsewhere in the RAM, then once found, we gotta load the missing bytes into 100 different variables, and write them back to the missing party slot...
            __________________
            >Boot Jailbot
            >Pass *****
            .
            .
            Jailbot OS Ver 1.1.2
            Greetings Warden
            of Superjail Penitentiary
            Awaiting user input...

            >Display User_Info
            ╠══User Info══╣
            Username:
            0m3GA ARS3NAL
            Age: 18
            Sex: Male ♂
            Race: Caucasian
            Quote:
            "What is this
            I don't even..."

            M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
            ╠══End of File══╣
            Awaiting user input...

            >
            Reply With Quote
              #35    
            Old February 2nd, 2009 (12:50 AM). Edited February 2nd, 2009 by ZodiacDaGreat.
            ZodiacDaGreat's Avatar
            ZodiacDaGreat ZodiacDaGreat is offline
            Working on a Mobile System
               
              Join Date: Feb 2007
              Location: South Pacific
              Age: 25
              Gender: Male
              Nature: Relaxed
              Posts: 429
              lol, thats off - using 100 variables cause it makes no difference of wasting variables :/ ASM is your best bet here.

              Edit: Its problematic if you try something like a read and write byte array with scripting.
              __________________
              Reply With Quote
                #36    
              Old February 2nd, 2009 (12:58 AM).
              0m3GA ARS3NAL's Avatar
              0m3GA ARS3NAL 0m3GA ARS3NAL is offline
              Im comin' home...
              • Silver Tier
               
              Join Date: Jan 2008
              Location: Superjail Penitentiary
              Age: 24
              Gender: Male
              Nature: Gentle
              Posts: 1,812
              Quote:
              Originally Posted by ZodiacDaGreat View Post
              lol, thats off - using 100 variables cause it makes no difference of wasting variables :/ ASM is your best bet here.
              Well, if you could load the 100 byte string representing the pokemon inserted into the daycare, divided into 100 bytes, put onto 100 variables, then you could use writebytetooffset and write the bytes to the empty slot in the party.
              __________________
              >Boot Jailbot
              >Pass *****
              .
              .
              Jailbot OS Ver 1.1.2
              Greetings Warden
              of Superjail Penitentiary
              Awaiting user input...

              >Display User_Info
              ╠══User Info══╣
              Username:
              0m3GA ARS3NAL
              Age: 18
              Sex: Male ♂
              Race: Caucasian
              Quote:
              "What is this
              I don't even..."

              M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
              ╠══End of File══╣
              Awaiting user input...

              >
              Reply With Quote
                #37    
              Old February 2nd, 2009 (2:43 AM).
              thethethethe thethethethe is offline
                 
                Join Date: Jun 2007
                Location: Melbourne, Australia
                Gender: Male
                Posts: 1,104
                Quote:
                Originally Posted by 0m3GA ARS3NAL View Post
                Well, if you could load the 100 byte string representing the pokemon inserted into the daycare, divided into 100 bytes, put onto 100 variables, then you could use writebytetooffset and write the bytes to the empty slot in the party.
                No ASM is the best way to do it. I've already written up a code to do it all, I just need to test it all out for any bugs and errors when I find the time.

                Through the Pokemon script engine it would take up far too much space in the ROM with 100 writebytetooffset's, and load byte to offsets plus the rest of the script. Then again to send the data back, which would obviously take thousands of bytes. Those commands are only useful for the odd little thing. You're much better off with ASM and only using probably at most 1/10th of the space. It would also be more efficient time-wise.

                @Zodiacdagreat
                After you mentioned it to me, only some areas of the 02000000 range don't reset with the restart of the game. I didn't try the 03... range though. I only went off and found an offset that didn't reset.
                __________________
                Gone.
                Reply With Quote
                  #38    
                Old February 2nd, 2009 (2:48 AM).
                0m3GA ARS3NAL's Avatar
                0m3GA ARS3NAL 0m3GA ARS3NAL is offline
                Im comin' home...
                • Silver Tier
                 
                Join Date: Jan 2008
                Location: Superjail Penitentiary
                Age: 24
                Gender: Male
                Nature: Gentle
                Posts: 1,812
                LOL, so true, I was just trying to think of a non-ASM alternative... I dont know ASM in any case, and most tutorials I find are confusing, and not written in a way I can understand it... I wish you would make an ASM tutorial thethethethe... you make good tutorials...
                __________________
                >Boot Jailbot
                >Pass *****
                .
                .
                Jailbot OS Ver 1.1.2
                Greetings Warden
                of Superjail Penitentiary
                Awaiting user input...

                >Display User_Info
                ╠══User Info══╣
                Username:
                0m3GA ARS3NAL
                Age: 18
                Sex: Male ♂
                Race: Caucasian
                Quote:
                "What is this
                I don't even..."

                M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
                ╠══End of File══╣
                Awaiting user input...

                >
                Reply With Quote
                  #39    
                Old February 2nd, 2009 (3:55 AM).
                Charlzard's Avatar
                Charlzard Charlzard is offline
                Banned
                   
                  Join Date: Feb 2009
                  Gender:
                  Posts: 3
                  Are you not the guy who "made" a follow me script?
                  Reply With Quote
                    #40    
                  Old February 3rd, 2009 (12:54 AM).
                  0m3GA ARS3NAL's Avatar
                  0m3GA ARS3NAL 0m3GA ARS3NAL is offline
                  Im comin' home...
                  • Silver Tier
                   
                  Join Date: Jan 2008
                  Location: Superjail Penitentiary
                  Age: 24
                  Gender: Male
                  Nature: Gentle
                  Posts: 1,812
                  Quote:
                  Originally Posted by Charlzard View Post
                  Are you not the guy who "made" a follow me script?
                  I made a Diamond/Pearl/Platinum styled version of the script, where you have to place a copy of the tile on EVERY tile, and they can not follow you from map to map, but yes...
                  Why do you ask?
                  __________________
                  >Boot Jailbot
                  >Pass *****
                  .
                  .
                  Jailbot OS Ver 1.1.2
                  Greetings Warden
                  of Superjail Penitentiary
                  Awaiting user input...

                  >Display User_Info
                  ╠══User Info══╣
                  Username:
                  0m3GA ARS3NAL
                  Age: 18
                  Sex: Male ♂
                  Race: Caucasian
                  Quote:
                  "What is this
                  I don't even..."

                  M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
                  ╠══End of File══╣
                  Awaiting user input...

                  >
                  Reply With Quote
                    #41    
                  Old February 3rd, 2009 (1:58 AM).
                  liuyanghejerry's Avatar
                  liuyanghejerry liuyanghejerry is offline
                     
                    Join Date: Jan 2008
                    Location: China,Xi'an
                    Nature: Calm
                    Posts: 219
                    Quote:
                    Originally Posted by 0m3GA ARS3NAL View Post
                    I think you dont understand Special2's function... Special2 writes a value to the variable given (In this case, it would be LASTRESULT (0x800D))
                    What this script here does, is...

                    Lock the player
                    Make the sprite face the player
                    set 0x8004 to 0
                    set LASTRESULT to an unknown value stored in special2 0xC0
                    Display a message
                    Unlock player and sprite
                    end script

                    This does not add the pokemon to the party, I am afraid...
                    Hehe,I understand your doubt,but did you even try my script?
                    Let me show you :http://liuyanghejerry.hostse.com/K.rar
                    (There's a AVI video of 50+MB in this rar. Tell me if you can't watch it.)
                    __________________
                    Zel,thethethethe,LU-HO,Darthatron,HackMew,ZodiacDaGreat,Juan,score_under,JPAN,Tamah-chan,I really appreciate your kindness and your help!:D
                    Reply With Quote
                      #42    
                    Old February 3rd, 2009 (3:18 AM). Edited February 3rd, 2009 by Charlzard.
                    Charlzard's Avatar
                    Charlzard Charlzard is offline
                    Banned
                       
                      Join Date: Feb 2009
                      Gender:
                      Posts: 3
                      Jw, because Roy said you and Younghove made a follow me script. Why don\'t you release that?

                      You must be a good scripter :p
                      Reply With Quote
                        #43    
                      Old February 3rd, 2009 (7:10 AM).
                      foullump's Avatar
                      foullump foullump is offline
                      Rom Hacking Guru
                         
                        Join Date: Mar 2007
                        Location: United States
                        Nature: Calm
                        Posts: 220
                        Glad to see it's finally been cracked! Many people just edit the old script, but that's too buggy. More people should write the script manually.
                        __________________
                        Reply With Quote
                          #44    
                        Old February 3rd, 2009 (1:02 PM).
                        Juan Juan is offline
                        Brazilian with a bad English
                           
                          Join Date: Jun 2007
                          Location: Pindamonhangaba - SP
                          Age: 26
                          Nature: Adamant
                          Posts: 92
                          I did a routine ASM to remove an Pokémon, and one for him again.
                          The tutorial is in Portuguese, do not translate because my English is very bad, and not rely so much on google.

                          Video(very simple):

                          http://br.youtube.com/watch?v=7ZD9_TVtKH0

                          Tutorial (BPRE): http://rhm.890m.com/site/index.php/rotinas-assembly/63-asm-take-pokemon.html

                          --------------------------------------------
                          PT-BR:
                          Eu fiz uma rotina ASM para remover um pokémon, e outra para pegá-lo novamente.
                          O tutorial está em português, não traduzo pois meu inglês é muito ruim, e não confio tanto no google.
                          __________________
                          Reply With Quote
                            #45    
                          Old February 3rd, 2009 (1:42 PM). Edited February 3rd, 2009 by 0m3GA ARS3NAL.
                          0m3GA ARS3NAL's Avatar
                          0m3GA ARS3NAL 0m3GA ARS3NAL is offline
                          Im comin' home...
                          • Silver Tier
                           
                          Join Date: Jan 2008
                          Location: Superjail Penitentiary
                          Age: 24
                          Gender: Male
                          Nature: Gentle
                          Posts: 1,812
                          Quote:
                          Originally Posted by Charlzard View Post
                          Jw, because Roy said you and Younghove made a follow me script. Why don\'t you release that?

                          You must be a good scripter :p
                          Well, it is not taht practical, since it has to be placed on every tile you want the player to be able to walk on... A follow Me Script would be to... space consuming... over 3000 lines of script for a very smooth one... pretty big... well, I might... let me think about it...

                          Quote:
                          Originally Posted by Juan View Post
                          I did a routine ASM to remove an Pokémon, and one for him again.
                          The tutorial is in Portuguese, do not translate because my English is very bad, and not rely so much on google.

                          Video(very simple):

                          http://br.youtube.com/watch?v=7ZD9_TVtKH0

                          Tutorial (BPRE): http://rhm.890m.com/site/index.php/rotinas-assembly/63-asm-take-pokemon.html

                          --------------------------------------------
                          PT-BR:
                          Eu fiz uma rotina ASM para remover um pokémon, e outra para pegá-lo novamente.
                          O tutorial está em português, não traduzo pois meu inglês é muito ruim, e não confio tanto no google.
                          Well, No offence, but thethethethe also made one, I'll use both of yourse and compare them... may the best one win, but in any case, I started a revolution, hehehe. I am writing up some more usefull information, so expect an update sometime soon!
                          __________________
                          >Boot Jailbot
                          >Pass *****
                          .
                          .
                          Jailbot OS Ver 1.1.2
                          Greetings Warden
                          of Superjail Penitentiary
                          Awaiting user input...

                          >Display User_Info
                          ╠══User Info══╣
                          Username:
                          0m3GA ARS3NAL
                          Age: 18
                          Sex: Male ♂
                          Race: Caucasian
                          Quote:
                          "What is this
                          I don't even..."

                          M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
                          ╠══End of File══╣
                          Awaiting user input...

                          >
                          Reply With Quote
                            #46    
                          Old February 3rd, 2009 (3:15 PM).
                          Juan Juan is offline
                          Brazilian with a bad English
                             
                            Join Date: Jun 2007
                            Location: Pindamonhangaba - SP
                            Age: 26
                            Nature: Adamant
                            Posts: 92
                            Quote:
                            Originally Posted by 0m3GA ARS3NAL View Post
                            Well, No offence, but thethethethe also made one, I'll use both of yourse and compare them... may the best one win, but in any case, I started a revolution, hehehe. I am writing up some more usefull information, so expect an update sometime soon!
                            Not understand very well what he said, because the translator does not help much xD
                            But anyway, the idea was his, never said otherwise.
                            And I did not see the routine of thethethethe, and am still learning ASM, it served as a good training ^ ^
                            Who want to seize it any hack, or even optimize it, make a wish, it is even better because I learn more.
                            PS: the google translator is a bit better than the Cade, I did not know it ^
                            __________________
                            Reply With Quote
                            Reply

                            Quick Reply

                            Join the conversation!

                            Create an account to post a reply in this thread, participate in other discussions, and more!

                            Create a PokéCommunity Account

                            Sponsored Links
                            Thread Tools

                            Posting Rules
                            You may not post new threads
                            You may not post replies
                            You may not post attachments
                            You may not edit your posts

                            BB code is On
                            Smilies are On
                            [IMG] code is On
                            HTML code is Off

                            Forum Jump


                            All times are GMT -8. The time now is 11:36 AM.