The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Other Message Script Error (https://www.pokecommunity.com/showthread.php?t=326686)

purpleponydash May 18th, 2014 6:14 AM

Message Script Error
 

Hello, for some reason I am having problems opening a script in Advanced Map. It keeps saying "No script editor defnied" even though I use XSE 1.1.1. Could anyone help me?

Spherical Ice May 18th, 2014 6:18 AM

You need to go into your settings, select "Choose script editor" and navigate to the .exe file for XSE. Then double-click it and hit either Yes or No, it doesn't matter.

http://i.imgur.com/uVN6ZV3.png

purpleponydash May 18th, 2014 6:20 AM

Thank you, everything is working perfectly fine now. :)

purpleponydash May 18th, 2014 6:26 AM

Im having another problem now actually, it seems that the message box isn't showing up. But I had no errors in my script. Any help?

Mana May 18th, 2014 6:29 AM

If you could post the script that would be a great help :) we should be able to work it out, then. Can you post the original (if you still have) and what appears when you press 'open script' from A-Map?

purpleponydash May 18th, 2014 6:35 AM

Here is the message script I used.

Code:

#dynamic 0x800000

#org @start
lock
faceplayer
msgbox @talk1 0x6
release
end

#org @talk1
= Hey there!\nHow are you?\pWhat's your name?\p\v\h01?\nThat's a cool name!


After open script.

Code:

'-----------------------
#org 0x800000
lock
faceplayer
msgbox 0x880000B '"Hey there!\nHow are you?\pWhat's yo..."
release
end

'---------
' Strings
'---------
#org 0x80000B
= Hey there!\nHow are you?\pWhat's your name?\p[player]?\nThat's a cool name!



Mana May 18th, 2014 6:36 AM

That's fine, nothing wrong there. What about the one from opening from A-Map? Looks like this is probably a compiling error.

Does anything happen when you run the script? Does it freeze or allow you to continue?

purpleponydash May 18th, 2014 6:38 AM

When I run the script nothing happens, it just allows me to continue. When I talk to the girl in game that the message script was given to, it makes the sound as if the message box had appeared. That's about it.

Mana May 18th, 2014 6:39 AM

Your msgbox line should look like:

msgbox 0x880000B MSG_NORMAL "<text extract>"

I'm not sure what might be causing that, since you have 0x6 on the original, your varion of XSE is the same as mine as well :S how odd.

Quote:

Originally Posted by rocketman86 (Post 8256616)
When I run the script nothing happens, it just allows me to continue. When I talk to the girl in game that the message script was given to, it makes the sound as if the message box had appeared. That's about it.

So it runs, you hear a sound, but don't see a message box...

Spherical Ice May 18th, 2014 6:39 AM

Quote:

Originally Posted by rocketman86 (Post 8256613)
Code:

'-----------------------
#org 0x800000
lock
faceplayer
msgbox 0x880000B '"Hey there!\nHow are you?\pWhat's yo..."
release
end

'---------
' Strings
'---------
#org 0x80000B
= Hey there!\nHow are you?\pWhat's your name?\p[player]?\nThat's a cool name!



There appears to be a parameter missing for the msgbox command. As for why that's happened, I'm not sure. In any case, you can shorten this script to this, if it's just a simple NPC who talks:

Code:

#dynamic 0x800000

#org @start
msgbox @string1 MSG_FACE
end

#org @string1
= Hey there!\nHow are you?\pWhat's your name?\p[player]?\nThat's a cool name!



purpleponydash May 18th, 2014 6:57 AM

I knew something was wrong, and I finally found the answer.
I was wrong, my mistake. My version of XSE is v1.0.0. So could someone link me to v1.1.1?

Spherical Ice May 18th, 2014 7:03 AM

http://www.sendspace.com/file/ji3bii

That might include some other files that you don't need, but it definitely works.

pointeroo May 18th, 2014 7:15 AM

Is the 0x800000 offset free ?

purpleponydash May 18th, 2014 7:18 AM

For a new ROM hack, right off the bat 0x800000 is free memory space.

Sniper May 18th, 2014 7:40 AM

May I ask what A-map are you using? If It's A-map 1.95 it adds two more digits. So if your offset is 800000 it adds two more and it will be 80000000. Just delete two digits after putting the offset on the A-map 1.95. I suggest you use 1.92 version, less buggy since 1.95 is a beta version.

But if it's your XSE, then that's just what you should get the 1.1.1 version and disregard what I said but it keep in mind ;)

purpleponydash May 18th, 2014 7:49 AM

Thank you for everything. Now my message script is working, and I am excited to learn more!


All times are GMT -8. The time now is 9:12 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.