• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Other] XSE crashes everytime I compile a script

ScizorBlade

Sup Dogg
39
Posts
4
Years
  • Hey everyone. As it says in the title, My XSE crashes everytime I compile a script. When I press the compile button, the window just vanishes. I looked up to some threads in PokeCommunity as well as Reddit, but none of them works.

    I am pretty sure that it's not my script at fault. But if anyone would like to take a look, he or she can check it.
    If there is a solution to this, please let me know, as it is becoming a barrier now since XSE is one of the necessary tools for ROM Hacking.
    Thanks for any help.

    Code:
    #dynamic 0x80A740
    
    #org @start
    lock
    setvar 0x7000 0x1
    checkflag 0x1
    if 0x1 goto @done
    playsong 0x0 0x0
    fadescreen 0x1
    msgbox @1 0x6
    msgbox @2 0x6
    playsong 0x133 0x0
    msgbox @3 0x6
    msgbox @4 0x6
    cry 0x96 0x0
    msgbox @5 0x6
    msgbox @6 0x6
    msgbox @7 0x6
    applymovement 0xff @mv1
    waitmovement 0x0
    fadescreen 0x0
    fadesong 0x0
    playsong 0x0 0x0
    applymovement 0xff @mv2
    waitmovement 0x0
    showpokepic 0x253 0x12 0x4
    msgbox @8 0x6
    hidepokepic
    showpokepic 0x254 0x12 0x4
    msgbox @9 0x6
    hidepokepic
    callasm 0x09FC91
    showpokepic 0x255 0x12 0x4
    msgbox @10 0x6
    hidepokepic
    msgbox @11 0x4
    setvar 0x8004 0xF  
    setvar 0x8005 0xF  
    setvar 0x8006 0xF  
    setvar 0x8007 0xF  
    special 0x136
    closeonkeypress
    applymovement 0xff @mv3
    waitmovement 0x0
    showpokepic 0x253 0x12 0x4
    msgbox @12 0x6
    hidepokepic
    msgbox @13 0x6
    showpokepic 0x254 0x12 0x4
    msgbox @14 0x6
    hidepokepic
    msgbox @15 0x6
    showpokepic 0x254 0x12 0x4
    msgbox @16 0x6
    hidepokepic
    fadescreen 0x1
    msgbox @17 0x6
    fadescreen 0x0
    fadesong 0x12c
    setflag 0x1
    release
    end
    
    
    #org @1
    = [red_fr]You:…\n…Huh?\lWha-What? \l Where am I? What is this place?
    
    #org @2
    = [pink_fr]???: Save us...
    
    #org @3
    = [red_fr]You: Huh…? \n Who is that?!
    
    #org @4
    = [pink_fr]???: Save us… \n Save us please… \l We are in great dang---
    
    #org @5
    = Raawwwrrgghhh!!!
    
    #org @6
    = [pink_fr]???: Aaaaaaaaahhh!!!
    
    #org @7
    = [red_fr]You: What the hell?!\n I need to get outta here!
    
    #org @8
    = [red_fr]You: …Whoa… \n That was one heck of a dream..\lWhat did I eat last night?
    
    #org @9
    = [red_fr]You: I wonder who that lady was… \n and that monster cry…\l Its all so weird… \l My name... \l My name is..
    
    #org @10
    = [red_fr]You: Oh silly me!\nHow can I forget my own name?\pMy name is...
    
    #org @11
    = [black_fr]???: [player]!!!!!!!
    
    #org @12
    = [red_fr][player]: Wh-what is it\n Grandpa?!
    
    #org @13
    = [black_fr]Grandpa: I have been calling ye for\n the past few minutes!\l Are ye still sleepin'?!
    
    #org @14
    = [red_fr][player]: N-no..\n I just had a dream..\l a lady asking for help\l…and..and then  a monster came\n and…
    
    #org @15
    = [black_fr]Grandpa:  Ok now shut up already \nand come down fast!\l There is not much time in hands\l, is there?
    
    #org @16
    = [red_fr][player]:  …sigh….\nAlright. I am coming!
    
    #org @17
    = [black_fr]    Chapter 1: Berry Trees
    
    #org @done
    release
    end
    
    #org @mv1
    #raw 0x13
    #raw 0xfe
    
    #org @mv2
    #raw 0x20
    #raw 0xfe
    
    #org @mv3
    #raw 0x65
    #raw 0x55
    #raw 0xfe
     

    DrFuji

    [I]Heiki Hecchara‌‌[/I]
    1,691
    Posts
    14
    Years
  • When I tried to compile your script, I got two 'subscript out of range errors' as you're using some characters that don't exist in XSE. You need to change all of the ellipses into '[.]' (there's 14 problematic ones and 17 triple full-stops in your script) and the apostrophe in the @org13 string isn't actually an english apostrophe so it need to be changed as well.

    If replacing those character doesn't work, make sure you're using XSE v1.1.1.
     

    ScizorBlade

    Sup Dogg
    39
    Posts
    4
    Years
  • When I tried to compile your script, I got two 'subscript out of range errors' as you're using some characters that don't exist in XSE. You need to change all of the ellipses into '[.]' (there's 14 problematic ones and 17 triple full-stops in your script) and the apostrophe in the @org13 string isn't actually an english apostrophe so it need to be changed as well.

    If replacing those character doesn't work, make sure you're using XSE 1.1.1 URL

    Nope, didn't work. And yes, it is XSE v1.1.1
    I tested compilation on another computer, and it works just fine on it. With all necessary files on the current computer, I think i will insert everything except scripts in this one, and the scripting part in the other one. I don't see any other option.
     
    990
    Posts
    4
    Years
  • Hey everyone. As it says in the title, My XSE crashes everytime I compile a script. When I press the compile button, the window just vanishes. I looked up to some threads in PokeCommunity as well as Reddit, but none of them works.

    I am pretty sure that it's not my script at fault. But if anyone would like to take a look, he or she can check it.
    If there is a solution to this, please let me know, as it is becoming a barrier now since XSE is one of the necessary tools for ROM Hacking.
    Thanks for any help.

    Code:
    #dynamic 0x80A740
    
    #org @start
    lock
    setvar 0x7000 0x1
    checkflag 0x1
    if 0x1 goto @done
    playsong 0x0 0x0
    fadescreen 0x1
    msgbox @1 0x6
    msgbox @2 0x6
    playsong 0x133 0x0
    msgbox @3 0x6
    msgbox @4 0x6
    cry 0x96 0x0
    msgbox @5 0x6
    msgbox @6 0x6
    msgbox @7 0x6
    applymovement 0xff @mv1
    waitmovement 0x0
    fadescreen 0x0
    fadesong 0x0
    playsong 0x0 0x0
    applymovement 0xff @mv2
    waitmovement 0x0
    showpokepic 0x253 0x12 0x4
    msgbox @8 0x6
    hidepokepic
    showpokepic 0x254 0x12 0x4
    msgbox @9 0x6
    hidepokepic
    callasm 0x09FC91
    showpokepic 0x255 0x12 0x4
    msgbox @10 0x6
    hidepokepic
    msgbox @11 0x4
    setvar 0x8004 0xF  
    setvar 0x8005 0xF  
    setvar 0x8006 0xF  
    setvar 0x8007 0xF  
    special 0x136
    closeonkeypress
    applymovement 0xff @mv3
    waitmovement 0x0
    showpokepic 0x253 0x12 0x4
    msgbox @12 0x6
    hidepokepic
    msgbox @13 0x6
    showpokepic 0x254 0x12 0x4
    msgbox @14 0x6
    hidepokepic
    msgbox @15 0x6
    showpokepic 0x254 0x12 0x4
    msgbox @16 0x6
    hidepokepic
    fadescreen 0x1
    msgbox @17 0x6
    fadescreen 0x0
    fadesong 0x12c
    setflag 0x1
    release
    end
    
    
    #org @1
    = [red_fr]You:…\n…Huh?\lWha-What? \l Where am I? What is this place?
    
    #org @2
    = [pink_fr]???: Save us...
    
    #org @3
    = [red_fr]You: Huh…? \n Who is that?!
    
    #org @4
    = [pink_fr]???: Save us… \n Save us please… \l We are in great dang---
    
    #org @5
    = Raawwwrrgghhh!!!
    
    #org @6
    = [pink_fr]???: Aaaaaaaaahhh!!!
    
    #org @7
    = [red_fr]You: What the hell?!\n I need to get outta here!
    
    #org @8
    = [red_fr]You: …Whoa… \n That was one heck of a dream..\lWhat did I eat last night?
    
    #org @9
    = [red_fr]You: I wonder who that lady was… \n and that monster cry…\l Its all so weird… \l My name... \l My name is..
    
    #org @10
    = [red_fr]You: Oh silly me!\nHow can I forget my own name?\pMy name is...
    
    #org @11
    = [black_fr]???: [player]!!!!!!!
    
    #org @12
    = [red_fr][player]: Wh-what is it\n Grandpa?!
    
    #org @13
    = [black_fr]Grandpa: I have been calling ye for\n the past few minutes!\l Are ye still sleepin'?!
    
    #org @14
    = [red_fr][player]: N-no..\n I just had a dream..\l a lady asking for help\l…and..and then  a monster came\n and…
    
    #org @15
    = [black_fr]Grandpa:  Ok now shut up already \nand come down fast!\l There is not much time in hands\l, is there?
    
    #org @16
    = [red_fr][player]:  …sigh….\nAlright. I am coming!
    
    #org @17
    = [black_fr]    Chapter 1: Berry Trees
    
    #org @done
    release
    end
    
    #org @mv1
    #raw 0x13
    #raw 0xfe
    
    #org @mv2
    #raw 0x20
    #raw 0xfe
    
    #org @mv3
    #raw 0x65
    #raw 0x55
    #raw 0xfe



    I fixed the script for you. It should work now:
    Spoiler:
     

    ScizorBlade

    Sup Dogg
    39
    Posts
    4
    Years
  • I fixed the script for you. It should work now:
    Spoiler:

    What..did you fiz tho?
     
    990
    Posts
    4
    Years
  • What..did you fiz tho?

    Considering it worked, I fizzed fixed the subscript out of range errors. Just like DrFuji said, it had the subscript errors. Not two, but dozens. Simply, if you want to add "..." in your text, use "[.]". It will act as "..." in-game.
     
    Back
    Top