The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Message Script Error

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old May 18th, 2014 (6:14 AM).
purpleponydash's Avatar
purpleponydash purpleponydash is offline
 
Join Date: May 2014
Location: Florida
Age: 22
Gender: Male
Nature: Brave
Posts: 13

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?
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old May 18th, 2014 (6:18 AM).
Spherical Ice's Avatar
Spherical Ice Spherical Ice is online now
 
Join Date: Nov 2007
Location: Leicester, UK
Age: 25
Posts: 5,251
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.

__________________
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old May 18th, 2014 (6:20 AM).
purpleponydash's Avatar
purpleponydash purpleponydash is offline
 
Join Date: May 2014
Location: Florida
Age: 22
Gender: Male
Nature: Brave
Posts: 13
Thank you, everything is working perfectly fine now. :)
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old May 18th, 2014 (6:26 AM).
purpleponydash's Avatar
purpleponydash purpleponydash is offline
 
Join Date: May 2014
Location: Florida
Age: 22
Gender: Male
Nature: Brave
Posts: 13
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?
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old May 18th, 2014 (6:29 AM). Edited May 18th, 2014 by Mana.
Mana's Avatar
Mana Mana is offline
 
Join Date: Jan 2009
Location: UK
Age: 31
Gender: Male
Posts: 10,075
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?
__________________
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old May 18th, 2014 (6:35 AM).
purpleponydash's Avatar
purpleponydash purpleponydash is offline
 
Join Date: May 2014
Location: Florida
Age: 22
Gender: Male
Nature: Brave
Posts: 13
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!
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old May 18th, 2014 (6:36 AM).
Mana's Avatar
Mana Mana is offline
 
Join Date: Jan 2009
Location: UK
Age: 31
Gender: Male
Posts: 10,075
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?
__________________
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old May 18th, 2014 (6:38 AM).
purpleponydash's Avatar
purpleponydash purpleponydash is offline
 
Join Date: May 2014
Location: Florida
Age: 22
Gender: Male
Nature: Brave
Posts: 13
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.
Reply With Quote
  #9   Link to this post, but load the entire thread.  
Old May 18th, 2014 (6:39 AM).
Mana's Avatar
Mana Mana is offline
 
Join Date: Jan 2009
Location: UK
Age: 31
Gender: Male
Posts: 10,075
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 View Post
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...
__________________
Reply With Quote
  #10   Link to this post, but load the entire thread.  
Old May 18th, 2014 (6:39 AM).
Spherical Ice's Avatar
Spherical Ice Spherical Ice is online now
 
Join Date: Nov 2007
Location: Leicester, UK
Age: 25
Posts: 5,251
Quote:
Originally Posted by rocketman86 View Post
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!
__________________
Reply With Quote
  #11   Link to this post, but load the entire thread.  
Old May 18th, 2014 (6:57 AM).
purpleponydash's Avatar
purpleponydash purpleponydash is offline
 
Join Date: May 2014
Location: Florida
Age: 22
Gender: Male
Nature: Brave
Posts: 13
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?
Reply With Quote
  #12   Link to this post, but load the entire thread.  
Old May 18th, 2014 (7:03 AM).
Spherical Ice's Avatar
Spherical Ice Spherical Ice is online now
 
Join Date: Nov 2007
Location: Leicester, UK
Age: 25
Posts: 5,251
http://www.sendspace.com/file/ji3bii

That might include some other files that you don't need, but it definitely works.
__________________
Reply With Quote
  #13   Link to this post, but load the entire thread.  
Old May 18th, 2014 (7:15 AM).
pointeroo's Avatar
pointeroo pointeroo is offline
 
Join Date: Apr 2014
Location: Greece
Gender: Male
Posts: 39
Is the 0x800000 offset free ?
__________________
HACKS I SUPPORT

Reply With Quote
  #14   Link to this post, but load the entire thread.  
Old May 18th, 2014 (7:18 AM).
purpleponydash's Avatar
purpleponydash purpleponydash is offline
 
Join Date: May 2014
Location: Florida
Age: 22
Gender: Male
Nature: Brave
Posts: 13
For a new ROM hack, right off the bat 0x800000 is free memory space.
Reply With Quote
  #15   Link to this post, but load the entire thread.  
Old May 18th, 2014 (7:40 AM).
Sniper's Avatar
Sniper Sniper is offline
ふゆかい
 
Join Date: Nov 2013
Location: Philippines
Gender: Male
Nature: Quiet
Posts: 1,412
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 ;)
__________________


Reply With Quote
  #16   Link to this post, but load the entire thread.  
Old May 18th, 2014 (7:49 AM).
purpleponydash's Avatar
purpleponydash purpleponydash is offline
 
Join Date: May 2014
Location: Florida
Age: 22
Gender: Male
Nature: Brave
Posts: 13
Thank you for everything. Now my message script is working, and I am excited to learn more!
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
Ad Content
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 9:12 AM.