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

Closed Thread
 
Thread Tools
  #26    
Old February 12th, 2007 (1:11 PM).
Deokishisu's Avatar
Deokishisu Deokishisu is offline
Mr. Magius
     
    Join Date: Feb 2006
    Location: If I'm online, it's a safe bet I'm at a computer.
    Gender: Male
    Nature: Relaxed
    Posts: 870
    Quote:
    Originally Posted by SuperHacker7777 View Post
    but i don't understand how to do dis...even wit ur tut....please dumb it down for me or explain it differently...reply ASAP
    Look. You've posted your question 3 times in two different threads! If Christos doesn't have the time to answer your question to the full extent then he doesn't! Badgering him and spamming up the forums doesn't help at all. Your question has been asked before as well so search before asking.
    Oh. As you can see, we're not Insant Messaging each other. Proper grammar makes everything alot easier to understand and gives us a sense that, even if you're not trying to be, you're respectful to this forum and it's members.

    Christos, this tutorial is great. It's really helping with everything but my little flag problem. Thank you for posting it.

    Relevant Advertising!

      #27    
    Old February 12th, 2007 (1:48 PM).
    Misty's Kyogre's Avatar
    Misty's Kyogre Misty's Kyogre is offline
    |-|4+0P,
       
      Join Date: Sep 2005
      Nature: Relaxed
      Posts: 4
      Wow, nice tutorial Christos.

      You're the first one who's actually been able to explain those commands to me.

      Keep it up =D
      __________________
      Hello. Aloha. Ello-Hay. Konichiwa. Nee-how. |-|3||0. Hi. Yo. Salve. If you don't know one or all of the above, please don't bother reading it. XD
        #28    
      Old February 12th, 2007 (2:40 PM).
      w_rink_ly's Avatar
      w_rink_ly w_rink_ly is offline
      Novice Hacker
         
        Join Date: Nov 2005
        Location: Cape Town, South Africa
        Gender:
        Nature: Bold
        Posts: 72
        But I heard somewhere on this forum that the trainerbattle command for scripted didn't work properly...
        __________________

        "Simplicity is the ultimate sophistication".
        - Leonardo da Vinci
          #29    
        Old February 12th, 2007 (3:10 PM).
        Misty's Kyogre's Avatar
        Misty's Kyogre Misty's Kyogre is offline
        |-|4+0P,
           
          Join Date: Sep 2005
          Nature: Relaxed
          Posts: 4
          Okay, I'm still a newb at this, but is there a 'command' (I'm thinking computer programming XD) that makes a store clerk? What I mean is can I make a person who sells stuff without moving one of the ones already in the game.
          __________________
          Hello. Aloha. Ello-Hay. Konichiwa. Nee-how. |-|3||0. Hi. Yo. Salve. If you don't know one or all of the above, please don't bother reading it. XD
            #30    
          Old February 12th, 2007 (5:08 PM).
          Deokishisu's Avatar
          Deokishisu Deokishisu is offline
          Mr. Magius
             
            Join Date: Feb 2006
            Location: If I'm online, it's a safe bet I'm at a computer.
            Gender: Male
            Nature: Relaxed
            Posts: 870
            Quote:
            Originally Posted by w_rink_ly View Post
            But I heard somewhere on this forum that the trainerbattle command for scripted didn't work properly...
            You're right. In fact, it's in the archived Simple Questions thread. But I'm not gonna lead you on a wild goose chase and tell you to search. You put #raw 0x5C above the trainerbattle command. Like this:
            Code:
            #org 0x800000
            #raw 0x5C
            trainerbattle 0x00 0x1A 0x800100 0x800200 0x800300
            end
            
            #org 0x800100
            = Let's battle
            #org 0x800200
            = I lost!
            #org 0x800300
            = We already battled!
            zel so graciously told me that. It has been tested (in firered) and works. Without the #raw command, the script converts to jibberish when complied. Hope this helps!

            P.S. Christos, if people start asking why their trainerbattle script doesn't work, you can use my example.
              #31    
            Old February 13th, 2007 (5:56 AM).
            BlackRainbow*'s Avatar
            BlackRainbow* BlackRainbow* is offline
            Pokemon Coralo Version ?
               
              Join Date: Oct 2006
              Location: Yiushu
              Gender:
              Nature: Bold
              Posts: 513
              Okay the script works fine for me now
              but there's another problem
              whene i go to the script people move well but when i go back to the script people move again
              her i will posta video that will explain much better then me click here
              __________________
              Pokemon Coralo Version...New Pokemon Petal.
              Shyrika Region
                #32    
              Old February 13th, 2007 (11:58 AM).
              Deokishisu's Avatar
              Deokishisu Deokishisu is offline
              Mr. Magius
                 
                Join Date: Feb 2006
                Location: If I'm online, it's a safe bet I'm at a computer.
                Gender: Male
                Nature: Relaxed
                Posts: 870
                Quote:
                Originally Posted by KebaSun View Post
                Okay the script works fine for me now
                but there's another problem
                whene i go to the script people move well but when i go back to the script people move again
                her i will posta video that will explain much better then me click here
                Setting and checking flags would work. It'll stop your event from repeating. I'm actually having problems with flags right now so I really can't go into detail.
                  #33    
                Old February 13th, 2007 (4:50 PM).
                zak's Avatar
                zak zak is offline
                xpert trainer
                   
                  Join Date: Jul 2004
                  Location: south london
                  Age: 25
                  Gender:
                  Nature: Brave
                  Posts: 245
                  love the tutorial christos thanks alot!

                  1 quik question,

                  #org 0x762000
                  message 0x762100
                  boxset 0x2
                  end
                  #org 0x762100
                  = DIIUUD!

                  is there anything rong with this script??
                  ive compiled it , saved it and stuf but in the game it doesent work i just get the little bleep noise and i cant add it with rubikon for somereason , any ideas???
                  __________________
                  Hi
                    #34    
                  Old February 14th, 2007 (4:03 AM).
                  D-Trogh's Avatar
                  D-Trogh D-Trogh is offline
                  Dead
                     
                    Join Date: Jul 2005
                    Location: Belgium
                    Age: 25
                    Gender: Male
                    Posts: 438
                    Quote:
                    Originally Posted by zak View Post
                    love the tutorial christos thanks alot!

                    1 quik question,

                    #org 0x762000
                    message 0x762100
                    boxset 0x2
                    end
                    #org 0x762100
                    = DIIUUD!

                    is there anything rong with this script??
                    ive compiled it , saved it and stuf but in the game it doesent work i just get the little bleep noise and i cant add it with rubikon for somereason , any ideas???
                    I don't know what 'boxset 0x2' is.. try 'boxset 0x6'
                    And before your message, 'lock' the person and after your boxset 'release' it.
                    So:
                    Code:
                    #org 0x762000
                    lock
                    faceplayer 'Yeah, well.. when it's a person event.. Maybe you want it..
                    message 0x762100
                    boxset 0x2
                    release
                    end
                    'Maybe this space needs to be there..
                    #org 0x762100
                    = DIIUUD!
                    Don't blame me when this doesn't work.. I just start scripting XD
                    __________________
                    [NTME | WPEDS | HTPE | SGPE | TGPE | PDEDS]
                      #35    
                    Old February 14th, 2007 (5:58 AM).
                    frank$or frank$or is offline
                       
                      Join Date: Nov 2006
                      Gender:
                      Nature: Adamant
                      Posts: 90
                      This script is fine.

                      #org 0x762000
                      message 0x762100
                      boxset 0x2
                      end
                      #org 0x762100

                      = DIIUUD!

                      You could ( not have to ) place faceplayer between #org and message, but it isn't always neccesary.

                      My question, I tried the trainerbattlescript ( with the #Raw 0x5C )
                      But i still am getting 'overflow error 6' or something ( diamondcutter )
                      Any idea?
                        #36    
                      Old February 14th, 2007 (6:43 AM).
                      Blaziken626's Avatar
                      Blaziken626 Blaziken626 is offline
                      Pokemon Black Shadow
                         
                        Join Date: Dec 2006
                        Age: 23
                        Gender:
                        Nature: Mild
                        Posts: 208
                        This is much needed tutorial! The only problem is I can't get the script to work. Here's what I did: I copied that Hi! example basic talking script you made and pasted it in Notepad. Then I saved it in a RBC format. I opened it with ScriptEd and compiled to the ROM. I set the offset for the Littleroot Town fat guy's script. Then I saved it and opened the ROM. But when I talk to him, all that happens is the bleep sound it makes when you talk to someone. There's no text box or anything.
                          #37    
                        Old February 14th, 2007 (6:53 AM).
                        Christos's Avatar
                        Christos Christos is offline
                        • Moderator
                        • Battle Server Staff
                        • Platinum Tier
                         
                        Join Date: Feb 2006
                        Gender: Male
                        Nature: Serious
                        Posts: 6,392
                        Your ROM and RBC file must be in ScriptED/Diamond Cutter's folder with no spaces in the name.
                        __________________

                        A Pokemon that is discriminated!
                        Support squirtle and make it everyone's favourite.
                          #38    
                        Old February 14th, 2007 (8:18 AM). Edited February 14th, 2007 by Blaziken626.
                        Blaziken626's Avatar
                        Blaziken626 Blaziken626 is offline
                        Pokemon Black Shadow
                           
                          Join Date: Dec 2006
                          Age: 23
                          Gender:
                          Nature: Mild
                          Posts: 208
                          Do you mean it has to be in the EliteMap folder? I copied ScriptEd and DiamondCutter and put them in the same folder as my ROM and script were.

                          EDIT: Yeah, I tried that and it worked, but the text was just a whole bunch of weird symbols that looked like a's.
                            #39    
                          Old February 14th, 2007 (10:28 AM).
                          w_rink_ly's Avatar
                          w_rink_ly w_rink_ly is offline
                          Novice Hacker
                             
                            Join Date: Nov 2005
                            Location: Cape Town, South Africa
                            Gender:
                            Nature: Bold
                            Posts: 72
                            Quote:
                            Originally Posted by Deokishisu View Post
                            You're right. In fact, it's in the archived Simple Questions thread. But I'm not gonna lead you on a wild goose chase and tell you to search. You put #raw 0x5C above the trainerbattle command. Like this:
                            Code:
                            #org 0x800000
                            #raw 0x5C
                            trainerbattle 0x00 0x1A 0x800100 0x800200 0x800300
                            end
                            
                            #org 0x800100
                            = Let's battle
                            #org 0x800200
                            = I lost!
                            #org 0x800300
                            = We already battled!
                            zel so graciously told me that. It has been tested (in firered) and works. Without the #raw command, the script converts to jibberish when complied. Hope this helps!

                            P.S. Christos, if people start asking why their trainerbattle script doesn't work, you can use my example.
                            Thnx a lot! I've been wondering how to solve this prob for a while
                            __________________

                            "Simplicity is the ultimate sophistication".
                            - Leonardo da Vinci
                              #40    
                            Old February 14th, 2007 (11:53 AM).
                            frank$or frank$or is offline
                               
                              Join Date: Nov 2006
                              Gender:
                              Nature: Adamant
                              Posts: 90
                              My question, I tried the trainerbattlescript ( with the #Raw 0x5C )
                              But i am getting 'overflow error 6' or something ( diamondcutter )
                              Any idea?
                                #41    
                              Old February 14th, 2007 (12:30 PM).
                              zak's Avatar
                              zak zak is offline
                              xpert trainer
                                 
                                Join Date: Jul 2004
                                Location: south london
                                Age: 25
                                Gender:
                                Nature: Brave
                                Posts: 245
                                im aslo getting the over flow promblem guys, all the folders and stuf are in the same directory and its all good , this is my script
                                #org 0x782800
                                #raw 0x5C
                                trainerbattle 0x00 0x1A 0x782900 0x783000 0x7831000
                                end

                                #org 0x782900
                                = Bring it on!

                                #org 0x783000
                                = I lost...

                                #org 0x7831000
                                = We already battled!

                                but for some reason it aint workin getin message sayin overflow any1?
                                __________________
                                Hi
                                  #42    
                                Old February 14th, 2007 (1:53 PM).
                                D-Trogh's Avatar
                                D-Trogh D-Trogh is offline
                                Dead
                                   
                                  Join Date: Jul 2005
                                  Location: Belgium
                                  Age: 25
                                  Gender: Male
                                  Posts: 438
                                  Are you both using DiamondCutter ?
                                  Maybe you need to try ScriptED.. or that new PokéScript tool
                                  __________________
                                  [NTME | WPEDS | HTPE | SGPE | TGPE | PDEDS]
                                    #43    
                                  Old February 14th, 2007 (5:30 PM). Edited February 14th, 2007 by Blaziken626.
                                  Blaziken626's Avatar
                                  Blaziken626 Blaziken626 is offline
                                  Pokemon Black Shadow
                                     
                                    Join Date: Dec 2006
                                    Age: 23
                                    Gender:
                                    Nature: Mild
                                    Posts: 208
                                    YES!! I finally got the Hello World script to work! But now here's my new problem. I tried to do a give Pokemon script, and it didn't work. I thought something might be wrong with the script, so I'll show it.

                                    #org 0x700000
                                    message 0x700100
                                    boxset 0x02
                                    givepokemon 0x78 0x5 0x3
                                    end
                                    #org 0x700100
                                    = Hello World!

                                    Is there anything wrong with it? I sure hope so, because I can't think of a different possibility for it not working.

                                    EDIT: I figured out the problem, and it was a careless mistake! I forgot to put the space between end and the words in the script! Now he does say Hello world, but he doesn't give me the Pokemon. What's wrong with it?

                                    EDIT...Again: I figured out that I did get the Pokemon. It's just that it didn't say anything like, "(Player) received a Staryu!". By the way, how do you make that 'receive Pokemon' music happen when I get the Pokemon, and how can you make a script happen while you are receiving the Pokemon? And one last thing...the number of the Pokemon said 78, but Staryu's number isn't 78.
                                      #44    
                                    Old February 15th, 2007 (2:03 AM).
                                    Tentachu's Avatar
                                    Tentachu Tentachu is offline
                                    Movie Making Expert
                                       
                                      Join Date: Sep 2003
                                      Location: In front of my PC
                                      Age: 25
                                      Gender:
                                      Nature: Careful
                                      Posts: 273
                                      Quote:
                                      Originally Posted by Blaziken626 View Post
                                      And one last thing...the number of the Pokemon said 78, but Staryu's number isn't 78.
                                      That's Staryu's hex number. Hex numbers are different. They go like this:

                                      01
                                      02
                                      03
                                      04
                                      05
                                      06
                                      07
                                      08
                                      09
                                      0A
                                      0B
                                      0C
                                      0D
                                      0E
                                      0F
                                      10

                                      So the hex numbers of Pokémon would be a lot less than its real number.
                                      __________________

                                      That cave above Blackthorn City sure has changed...


                                      SIGN THE G/S REMAKE PETITION HERE!

                                      Watch my ROM Hack videos http://www.youtube.com/profile?user=WeirdEars





                                      In case you didn't realize, I support ShinyGold!
                                        #45    
                                      Old February 15th, 2007 (5:18 AM).
                                      Blaziken626's Avatar
                                      Blaziken626 Blaziken626 is offline
                                      Pokemon Black Shadow
                                         
                                        Join Date: Dec 2006
                                        Age: 23
                                        Gender:
                                        Nature: Mild
                                        Posts: 208
                                        Thanks, Tentachu.

                                        Now I'm testing out Applymovement and I have this script:

                                        Code:
                                        #org 0x900000
                                        applymovement 0xFF 0x900100
                                        pause 0x10
                                        end
                                        
                                        #org 0x800100
                                        #raw 0x5
                                        #raw 0x7
                                        #raw 0x4
                                        #raw 0xFE
                                        end
                                        It's not working. Is something wrong with it?
                                          #46    
                                        Old February 15th, 2007 (6:08 AM).
                                        Christos's Avatar
                                        Christos Christos is offline
                                        • Moderator
                                        • Battle Server Staff
                                        • Platinum Tier
                                         
                                        Join Date: Feb 2006
                                        Gender: Male
                                        Nature: Serious
                                        Posts: 6,392
                                        Quote:
                                        Originally Posted by Blaziken626 View Post
                                        Thanks, Tentachu.

                                        Now I'm testing out Applymovement and I have this script:

                                        Code:
                                        #org 0x900000
                                        applymovement 0xFF 0x900100
                                        pause 0x10
                                        end
                                        
                                        #org 0x800100
                                        #raw 0x5
                                        #raw 0x7
                                        #raw 0x4
                                        #raw 0xFE
                                        end
                                        It's not working. Is something wrong with it?

                                        It's not right. You should put "900100" not "800100".
                                        __________________

                                        A Pokemon that is discriminated!
                                        Support squirtle and make it everyone's favourite.
                                          #47    
                                        Old February 15th, 2007 (9:16 AM).
                                        zak's Avatar
                                        zak zak is offline
                                        xpert trainer
                                           
                                          Join Date: Jul 2004
                                          Location: south london
                                          Age: 25
                                          Gender:
                                          Nature: Brave
                                          Posts: 245
                                          hi i worked out what was wrong with the geodude script, i made the name to long and had a space in it so i just renamed it and it worked, now a new problem lol, im making a boat script,
                                          #org 0x834000
                                          warp 0x36 0x1 0x0
                                          end
                                          thats the script but its not workin , when i talk to the person with the script it just gives me a black screen , anyone know why?
                                          __________________
                                          Hi
                                            #48    
                                          Old February 15th, 2007 (9:50 AM).
                                          Christos's Avatar
                                          Christos Christos is offline
                                          • Moderator
                                          • Battle Server Staff
                                          • Platinum Tier
                                           
                                          Join Date: Feb 2006
                                          Gender: Male
                                          Nature: Serious
                                          Posts: 6,392
                                          Quote:
                                          Originally Posted by zak View Post
                                          hi i worked out what was wrong with the geodude script, i made the name to long and had a space in it so i just renamed it and it worked, now a new problem lol, im making a boat script,
                                          #org 0x834000
                                          warp 0x36 0x1 0x0
                                          end
                                          thats the script but its not workin , when i talk to the person with the script it just gives me a black screen , anyone know why?
                                          Because maybe there's not a bank map like that in your ROM.
                                          The numbers must be in hexadecimal.
                                          __________________

                                          A Pokemon that is discriminated!
                                          Support squirtle and make it everyone's favourite.
                                            #49    
                                          Old February 15th, 2007 (1:49 PM).
                                          zak's Avatar
                                          zak zak is offline
                                          xpert trainer
                                             
                                            Join Date: Jul 2004
                                            Location: south london
                                            Age: 25
                                            Gender:
                                            Nature: Brave
                                            Posts: 245
                                            there is a map bank like that in my rom , its a ruby rom , i inserted the bank myself, and um......... how do i find out the numbers in hexdecimal , sorry to ask so many questions i only know like 2 scripts
                                            __________________
                                            Hi
                                              #50    
                                            Old February 15th, 2007 (4:19 PM). Edited February 15th, 2007 by Blaziken626.
                                            Blaziken626's Avatar
                                            Blaziken626 Blaziken626 is offline
                                            Pokemon Black Shadow
                                               
                                              Join Date: Dec 2006
                                              Age: 23
                                              Gender:
                                              Nature: Mild
                                              Posts: 208
                                              Quote:
                                              Originally Posted by Christos View Post
                                              It's not right. You should put "900100" not "800100".
                                              *Smacks forehead* Duh! I can't believe I didn't notice that! Anyway, thanks!

                                              EDIT: Actually, there's another problem with the script I think. Because whenever I step in that spot when walking up, I walk up. When I step when walking down, I move to the right. And when I step when walking to the left, I walk down. But I'm supposed to walk up, then right, then down.

                                              EDIT AGAIN: Nevermind, I realized you have to put the same script in each place you want the sprite to move. Buuuut, I doesn't work twice in a row. It works the first time, but not the time after that. But when I step in that spot again after that, it works.

                                              EDIT AGAAIN: Just a quick question. Could someone please tell me where I can find the hex numbers for all the Pokemon? It would really help, but it's not really necessary.
                                              Closed Thread
                                              Quick Reply

                                              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 2:57 PM.