The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other 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 July 20th, 2014 (7:33 AM).
Oskarh01 Oskarh01 is offline
 
Join Date: Sep 2013
Posts: 15
Hi!
Not sure if this is the right place to post, since it's my first thread.
Anytime i try to write a script, and add it into the game, it wont work.
For example, this code:
Spoiler:

#Dynamic 0x525FD0

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

#org @tell
= Hello!\nThis is a test.\pIs this working?\pTesting...

I click compile, then i copy the code (in this case it's 52A8AC) into Advanced map,and save it.
I then close Advanced map and open up my game in an emulator.
When i talk to the guy, he says nothing and the game freezes for a while.
Help would be very appreciated.
I've included several screenshots, all as attachments to this post.
Attached Images
File Type: jpg 1.jpg‎ (146.4 KB, 3 views) (Save to Dropbox)
File Type: png 2.png‎ (639.0 KB, 10 views) (Save to Dropbox)
File Type: png 3.png‎ (53.5 KB, 0 views) (Save to Dropbox)
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old July 20th, 2014 (7:50 AM).
machomuu's Avatar
machomuu machomuu is offline
Stuck in Hot Girl Summer
 
Join Date: Apr 2008
Location: Take a left, turn right at the next stop, bear left for a few mil
Gender: Female
Nature: Relaxed
Posts: 10,505
Your second picture shows the problem. The offset you're supposed to enter is 52A8AC, but you have 52A8AC52 in the offset box.

Also, make sure you've chosen XSE as your script editor for A-Map.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old July 20th, 2014 (12:25 PM).
Oskarh01 Oskarh01 is offline
 
Join Date: Sep 2013
Posts: 15
Quote:
Originally Posted by machomuu View Post
Your second picture shows the problem. The offset you're supposed to enter is 52A8AC, but you have 52A8AC52 in the offset box.

Also, make sure you've chosen XSE as your script editor for A-Map.
Fixed it, now it doesn't freeze, but nothing happens.
Also, when i open Advanced map and click on the event, the script offset is 0052A8AC, the reason i wrote 52A8AC52, is because the "52" in the end was automatically added when i pasted it because the number was too short, seems to be some kind of problem with my FSF.
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old July 20th, 2014 (12:33 PM).
machomuu's Avatar
machomuu machomuu is offline
Stuck in Hot Girl Summer
 
Join Date: Apr 2008
Location: Take a left, turn right at the next stop, bear left for a few mil
Gender: Female
Nature: Relaxed
Posts: 10,505
Quote:
Originally Posted by Oskarh01 View Post
Fixed it, now it doesn't freeze, but nothing happens.
Also, when i open Advanced map and click on the event, the script offset is 0052A8AC, the reason i wrote 52A8AC52, is because the "52" in the end was automatically added when i pasted it because the number was too short, seems to be some kind of problem with my FSF.
And you're sure you went into the settings tab in Advance Map and chose XSE as your script editor?
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old July 20th, 2014 (12:46 PM).
Oskarh01 Oskarh01 is offline
 
Join Date: Sep 2013
Posts: 15
Quote:
Originally Posted by machomuu View Post
And you're sure you went into the settings tab in Advance Map and chose XSE as your script editor?
Not quite sure why that matters, but yes.
Again, i think it got something to do with my FSF.
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old July 20th, 2014 (12:50 PM).
machomuu's Avatar
machomuu machomuu is offline
Stuck in Hot Girl Summer
 
Join Date: Apr 2008
Location: Take a left, turn right at the next stop, bear left for a few mil
Gender: Female
Nature: Relaxed
Posts: 10,505
Quote:
Originally Posted by Oskarh01 View Post
Not quite sure why that matters, but yes.
Again, i think it got something to do with my FSF.
A lot of things don't work without it. No need to worry now, though.

One more question, are you using 1.92 or 1.95?
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old July 20th, 2014 (1:06 PM).
Oskarh01 Oskarh01 is offline
 
Join Date: Sep 2013
Posts: 15
Quote:
Originally Posted by machomuu View Post
A lot of things don't work without it. No need to worry now, though.

One more question, are you using 1.92 or 1.95?
Honestly, no idea.
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old July 20th, 2014 (1:20 PM).
machomuu's Avatar
machomuu machomuu is offline
Stuck in Hot Girl Summer
 
Join Date: Apr 2008
Location: Take a left, turn right at the next stop, bear left for a few mil
Gender: Female
Nature: Relaxed
Posts: 10,505
Quote:
Originally Posted by Oskarh01 View Post
Honestly, no idea.
If you aren't using Advance Map 1.92, get that instead, it's more stable.

In fact, after a little searching, other people are having the same problem as you for 1.95.
Reply With Quote
  #9   Link to this post, but load the entire thread.  
Old July 20th, 2014 (1:43 PM).
Oskarh01 Oskarh01 is offline
 
Join Date: Sep 2013
Posts: 15
Thanks, i'll try and see if it works in a minute!
Reply With Quote
  #10   Link to this post, but load the entire thread.  
Old July 20th, 2014 (1:45 PM).
Oskarh01 Oskarh01 is offline
 
Join Date: Sep 2013
Posts: 15
You wouldn't mind posting a link?
Can't seem to find one with this really slow internet speed of mine
__________________

Click here to feed me a fruit!
Get your own at Dinomon!
Reply With Quote
  #11   Link to this post, but load the entire thread.  
Old July 20th, 2014 (2:27 PM).
machomuu's Avatar
machomuu machomuu is offline
Stuck in Hot Girl Summer
 
Join Date: Apr 2008
Location: Take a left, turn right at the next stop, bear left for a few mil
Gender: Female
Nature: Relaxed
Posts: 10,505
Sure, here you go:

http://www.pokecommunity.com/showthread.php?t=127348
Reply With Quote
  #12   Link to this post, but load the entire thread.  
Old July 22nd, 2014 (10:02 AM).
Oskarh01 Oskarh01 is offline
 
Join Date: Sep 2013
Posts: 15
Quote:
Originally Posted by machomuu View Post
Sure, here you go:
Thank you so much!
I updated this and my XSE, and now it works.
Wont be here for some time now, gonna make a game ;)
Reply With Quote
  #13   Link to this post, but load the entire thread.  
Old July 22nd, 2014 (10:06 AM).
machomuu's Avatar
machomuu machomuu is offline
Stuck in Hot Girl Summer
 
Join Date: Apr 2008
Location: Take a left, turn right at the next stop, bear left for a few mil
Gender: Female
Nature: Relaxed
Posts: 10,505
Quote:
Originally Posted by Oskarh01 View Post
Thank you so much!
I updated this and my XSE, and now it works.
Wont be here for some time now, gonna make a game ;)
No problem, glad to see you got it working. Good luck!
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

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:11 AM.