The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Emulation & ROM Hacking > Tutorials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Tutorials Looking for a guide to help you out? Then you're in the right place! We've got everything you need, ranging from Mapping to Music!
New threads in this forum are to be approved by a moderator before they are displayed. The thread revival limit does not apply here.


Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #376    
Old April 23rd, 2009, 05:24 AM
kaka1918's Avatar
kaka1918
sorry im bad in english
 
Join Date: Apr 2009
Location: algeria
Gender:
Nature: Calm
Send a message via Windows Live Messenger to kaka1918
yes is very good tutoriel I can take it to make it in my site with a French translation (with credit )
  #377    
Old April 23rd, 2009, 06:22 AM
falls's Avatar
falls
 
 
Join Date: Apr 2009
Location: Seattle WA
Age: 32
Gender:
Nature: Quiet
Send a message via Windows Live Messenger to falls
not sure wat I am doing wrong. when i put it on a script event not a person event, i just walk right over it...
  #378    
Old May 4th, 2009, 04:41 PM
Pokemon12345678901
Good Bye
 
Join Date: Mar 2009
Nature: Quiet
Hi the compile button is gray not blue and it not letting me click it. help
__________________
Good bye
  #379    
Old May 4th, 2009, 04:59 PM
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
Quote:
Originally Posted by Pokemon12345678901 View Post
Hi the compile button is gray not blue and it not letting me click it. help
Do you have a ROM loaded in XSE? If not, the Compile button will be unclickable.
__________________

Brother of Vrai
  #380    
Old May 6th, 2009, 02:20 PM
spartan3572
Beginning Trainer
 
Join Date: May 2009
Gender:
I am trying to make a person give you money, but once i compile the script, then i exit out and go back to it, the script is blank. I think there might be a problem with my script, can someone help me?

'---------------
#org 0x000000
lock
faceplayer
msgbox 0x000000 MSG_NORMAL '"Here have some money."
givemoney 00002710 MSG_OBTAIN
release
end

'---------
' Strings
'---------
#org 0x000000
= Here have some money.




also how do i tell how much money the person is giving?
  #381    
Old May 6th, 2009, 02:27 PM
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
Quote:
Originally Posted by spartan3572 View Post
I am trying to make a person give you money, but once i compile the script, then i exit out and go back to it, the script is blank. I think there might be a problem with my script, can someone help me?

'---------------
#org 0x000000
lock
faceplayer
msgbox 0x000000 MSG_NORMAL '"Here have some money."
givemoney 00002710 MSG_OBTAIN
release
end

'---------
' Strings
'---------
#org 0x000000
= Here have some money.




also how do i tell how much money the person is giving?
Don't compile it to '0x000000'. Try something around 0x800000. And for the text, don't put the same offset that you put at the top of the script. Add like 0x100 to it (so that'd be 0x800100 or whatever).
Or you could just use dynamic offsets...
__________________

Brother of Vrai
  #382    
Old May 7th, 2009, 05:39 PM
spartan3572
Beginning Trainer
 
Join Date: May 2009
Gender:
thanks, i didnt compile it to 0x000000, i just change that for this. But i did change the offset for the text and that worked. Thanks again

How do you create the script for a trainer battle? i have made the trainer using advance trainer, but i dont know what script to write for it. can anyone help?

Last edited by Spheal; May 8th, 2009 at 03:50 AM.
  #383    
Old May 7th, 2009, 06:42 PM
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
Quote:
Originally Posted by spartan3572 View Post
How do you create the script for a trainer battle? i have made the trainer using advance trainer, but i dont know what script to write for it. can anyone help?
Both thethethethe's scripting tutorial and diego's XSE adaptation of said tutorial explain how to do that in detail.
__________________

Brother of Vrai
  #384    
Old June 7th, 2009, 05:48 PM
Balkia's Avatar
Balkia
パルキア
 
Join Date: Jun 2009
Location: New Zealand, Auckland
Age: 21
Gender: Male
Nature: Hardy
Send a message via Windows Live Messenger to Balkia
wheres update im interested on learning more

Heres what happened when i tried on Emerald

__________________










Last edited by Spheal; June 14th, 2009 at 09:13 AM.
  #385    
Old June 16th, 2009, 10:01 AM
Arrlop's Avatar
Arrlop
Beginning Trainer
 
Join Date: Jun 2009
Gender: Male
is it worth transferring over from Pokescript to XSE
  #386    
Old June 16th, 2009, 10:27 AM
Gamer2020's Avatar
Gamer2020
This love is a sickness...
 
Join Date: Jun 2008
Location: Violet city!
Gender: Male
Nature: Bold
Send a message via AIM to Gamer2020 Send a message via Windows Live Messenger to Gamer2020 Send a message via Yahoo to Gamer2020 Send a message via Skype™ to Gamer2020
Quote:
Originally Posted by Arrlop View Post
is it worth transferring over from Pokescript to XSE
Yes it is.
It's easier to learn and has some great features.
I think most people these days use XSE.
__________________
I find it amusing how people my steal ideas and then claim to be the first one to do something.

A present to people learning to make ROM hacking tools. - https://dl.dropboxusercontent.com/u/..._Functions.zip
  #387    
Old June 16th, 2009, 10:48 AM
Arrlop's Avatar
Arrlop
Beginning Trainer
 
Join Date: Jun 2009
Gender: Male
Cheers Will take your advice, shame really i liked Pokescript.
  #388    
Old June 19th, 2009, 09:04 PM
MetalGod's Avatar
MetalGod
The Metal will live on...
 
Join Date: May 2009
Location: Stairway To Heaven
Age: 20
Gender: Male
Nature: Relaxed
Send a message via AIM to MetalGod Send a message via Yahoo to MetalGod
Howdy I just have a quick question:

I am getting this error when trying to compile: "Error 13 "Type Mismatch" on line 9. Missing #define"
Here is the exact code:
Spoiler:

#dynamic 0x800001

#org @start
faceplayer
lock
checkflag 0x7
if 0x1 goto @got
msgbox @pokeballs 0x5
compare LASTRESULT 0x1
if 0x1 goto @give
msgbox @no 0x2
release
end

#org @give
giveitem 0x1 0x6 MSG_OBTAIN
setflag 0x7
msgbox @have 0x2
release
end

#org @got
msgbox @have 0x2
release
end

#org @pokeballs
= Would you like some Master\nBalls?

#org @no
= No? Well okay...

#org @have
= If you use those they ALWAYS\nwork!\p...\p...\p...\pLike your mom at a\nstreet corner...


And thanks in advance.This is just a test script, and because of that error I can't do any YES \ NO msgboxs.

~Metal God
  #389    
Old June 20th, 2009, 01:28 AM
ShinyBlaziken's Avatar
ShinyBlaziken
Dragon-Master
 
Join Date: May 2009
Location: Pokemon League :P
Age: 20
Gender: Male
Nature: Adamant
Send a message via ICQ to ShinyBlaziken
Hi,
I tried to make a person talk to me.
So i made the Script that was described here.
#Dynamic 0x800000

#ORG @Start
Lock
FacePlayer
Message @speak
BoxSet 0x6
Release
End

#ORG @Speak
= Hi!!

But when I'm trying to Compile it, it says that there is something wrong in line 6 (Message @speak)
But i don't know why...
  #390    
Old June 22nd, 2009, 05:48 PM
tonyroolz's Avatar
tonyroolz
Forever a hacker
 
Join Date: May 2009
Location: Fresno
Age: 18
Gender: Male
Nature: Lonely
i know it sounds really stupid but how do I know what the offset is? (im a n00b)
  #391    
Old June 23rd, 2009, 07:09 AM
My Cyndaquil is on Fire!'s Avatar
My Cyndaquil is on Fire!
is HFI's lil' bro
 
Join Date: Apr 2009
Age: 16
Gender:
I followed everything for the tutorial Darthron but when I paste the offset in A map and it says for some reason no script aditor defined.
I would appreciate help from cooley, 0mega and other sgood scripters
Thanks~
  #392    
Old June 23rd, 2009, 07:43 AM
Shinx's Avatar
Shinx
it's a mad world
 
Join Date: Nov 2008
Location: Salisbury, England
Age: 19
Gender: Male
Well, this tut is for an old XSE. So, copying a script wouldn't work anyway :\
__________________
  #393    
Old June 24th, 2009, 05:47 PM
Regigiygas's Avatar
Regigiygas
I'm no longer Dr. Regigiygason
 
Join Date: Feb 2009
Location: Well, is there a legendary golem-like cosmic destroyer in YOUR town?
Gender: Female
Nature: Quirky
Out of curiosity, where would you find a more recent tutorial?
__________________
YOU CANNOT GRASP THE TRUE FORM OF REGIGIYGAS' ATTACK!
'Course you can. It's called Crush Grip, duh.
[img]http://i306.photobucket.com/albums/n...uccaaaasss.png[/img]
Join the MOTHER 1, 2, and 3 Fanclub!
~banner by Shaymew
  #394    
Old June 25th, 2009, 03:37 AM
Tropical Sunlight's Avatar
Tropical Sunlight
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 17
Gender: Male
Send a message via Windows Live Messenger to Tropical Sunlight
Quote:
Originally Posted by Oystercrackers View Post
Out of curiosity, where would you find a more recent tutorial?
Diegoisawesome's tut should be the one.
__________________
  #395    
Old June 25th, 2009, 10:57 PM
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL
Im comin' home...
 
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 21
Gender: Male
Nature: Gentle
Quote:
Originally Posted by tonyroolz View Post
i know it sounds really stupid but how do I know what the offset is? (im a n00b)
Oh boy, get ready for a wall of text.

An offset is a location in a ROM.
For instance. 0x800000

0x800000 is found in a ROM< at byte number 0x800000, this could be the pointer to an image, or trainer battle data, or whatever it may be, in a scripters case, it is often the offset used to put our scripts.
Why? Because there is A LOT of free space in a ROM there, that is why!
Now, using a scripting engine, like XSE, we can write 0x800000 as our dynamic starting point! (This means that we tell XSE to start looking for free space at 0x800000.)
The reason it is called dynamic is because it wont need to be 0x800000 all the time, so XSE changes it for us, so we don't have to search for free space any more. It, DYNAMICALLY CHANGES! WOOT.
Anywho, offsets are used in many places for a ROM hacker.
For instance, a ROM hacker working in Advance Map may need a scripts offset to give to an overworld, and make it so when you talk to the person, or step on the tile, an even will happen.
A scripter may have a script in there hack, that points to a script they already put in there hack, so they will point the script at that offset to use it, instead of re-writing it, and putting it in twice.
Even artists that make new pixel art need offsets, so they know where to insert there images... as a hacker, you WILL be using offsets often, so get to know your rom hacking terms, any questions? Ask it in the simple question thread, located HERE http://www.pokecommunity.com/showthread.php?t=79614.
Be sure to be nice, and if you are not answered right wait, wait about 10 posts, and ask again.
__________________
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>
  #396    
Old July 8th, 2009, 05:08 PM
bradiz13's Avatar
bradiz13
Beginning Trainer
 
Join Date: Dec 2008
Location: Australia, Victoria
Age: 21
Gender:
Send a message via Windows Live Messenger to bradiz13
This is a great tut...Its very easy to understand. I thankyou.
__________________



CLICK ME I KNOW YOU WANT TO!!

Spoiler:



  #397    
Old July 20th, 2009, 11:41 AM
SSJALEX's Avatar
SSJALEX
GOD'S LEGENDARY SUPERSAIYAN
 
Join Date: Feb 2009
Location: washington
Age: 23
Gender: Male
Nature: Rash
awesome tutorial! i am gonna give it a try soon! this iis very easy to understand!
__________________

every force you create has an echo, your own evil will be your undoing.- GOGETA

HURTING THE INNOCENT IS SOMETHING I CAN'T TOLERATE.

MATHEW CHAPTER 7 SAYS: HOW YOU JUDGE SOMEONE IS HOW YOU JUDGE YOURSELF.

DON'T MAKE ME GO SUPER SAIYAN ON YOU.

75% of Pokemon gamers use cheats and specially made codes to make their pokemon battle-worthy. If you are one of the 25% percent that level their Pokemon up legally, put this in your signature.
  #398    
Old July 24th, 2009, 08:17 PM
flamezy boi
Beginning Trainer
 
Join Date: Jul 2009
Gender: Male
try changing message @....
boxset 0x6
to
msgbox @..... 0x6, it should work
  #399    
Old July 24th, 2009, 09:07 PM
.Seth's Avatar
.Seth
.explorer.
 
Join Date: Jun 2008
Location: A capacitor in a power supply board.
Gender: Male
Nature: Quiet
Quote:
Originally Posted by Colorful Summer View Post
Diegoisawesome's tut should be the one.
His has errors too, just so you know.
  #400    
Old August 16th, 2009, 12:54 AM
Pikachu fan's Avatar
Pikachu fan
SUSANOOMON IS NOT AMUSED
 
Join Date: Jul 2009
Age: 17
Gender: Male
Nature: Calm
I'm currently working on a hack
called pokemon ruby diamond and
i'm trying to compile this script:


#Dynamic 0x6B09F8

#ORG @Main
Lock
FacePlayer
checkflag 0x200
GivePokemon 151 30 0
if b_false goto @recieved
message @recieved
setflag 0x200
Release
End

#ORG @gotit
message @howis
boxset 0x2
End

#ORG @recieved
= Here is a rare Pokemon!

#ORG @howis
= How is MEW?


but every time i try to compile the script
a pop up says:

Error 13 'type mismatch' in file ..... on line 7
Missing #define or parameter

Line: GivePokemon 151 30 0

someone tell me whats wrong plzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzz
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 06:59 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 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 - 2014 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.