Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Scripts & Tutorials
Reload this Page [Essentials script] Ho-oh 112's Mystery gift system

Notices
For all updates, view the main page.

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.



Reply
 
Thread Tools
  #26    
Old January 12th, 2012 (03:43 PM).
Nyndyll's Avatar
Nyndyll Nyndyll is offline
PD : O Creator
 
Join Date: Jan 2012
Gender: Male
Posts: 34
working-ish every gift is corrupt...
Reply With Quote
  #27    
Old January 12th, 2012 (03:49 PM). Edited January 12th, 2012 by Ho-oh 112.
Ho-oh 112's Avatar
Ho-oh 112 Ho-oh 112 is offline
Advance Scripter
 
Join Date: Feb 2011
Age: 19
Gender: Male
Nature: Hasty
Posts: 311
Try this link: http://rmxpmysterygift.webs.com/Gifts/Gift.txt
if that doesn't work then it's my stytem.

line 47: add a $ before game_variables

or just get the fixed version.
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #28    
Old January 13th, 2012 (12:13 PM).
Nyndyll's Avatar
Nyndyll Nyndyll is offline
PD : O Creator
 
Join Date: Jan 2012
Gender: Male
Posts: 34
working 410% now...
Thanks! U da best!
Reply With Quote
  #29    
Old January 13th, 2012 (01:03 PM).
Ho-oh 112's Avatar
Ho-oh 112 Ho-oh 112 is offline
Advance Scripter
 
Join Date: Feb 2011
Age: 19
Gender: Male
Nature: Hasty
Posts: 311
Quote originally posted by Nyndyll:
working 410% now...
Thanks! U da best!
Right, glad to know it works now.
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #30    
Old January 15th, 2012 (05:28 AM).
FL's Avatar
FL FL is offline
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Posts: 1,461
Mystery Gift is a feature that charge between generations, so put more descriptions that you system do in the topic. After a look I realized that this script can make the player to receive an egg/item/pokémon. Anyway, good script.
Idea: Maybe you can put a variable to be compared in the txt for each entry before give the pokémon.
Example: Player can only get one level 20 pokémon after this variable be 8 or greater, thing that occurs when the player reach at the sixth city, for other in the level 30 this variable need to be 13, and so on.
If someone don't like to use this feature, just made this optional making by default to this variable being -1 and all pokémon this line entry being 0, making the game to ignore when this variable is negative.

A Note to developers: It's no good to give a Victini lv5 at start of the game, so use this system moderately. maybe unlock after some game progress.
__________________
Reply With Quote
  #31    
Old January 18th, 2012 (11:36 AM).
Ho-oh 112's Avatar
Ho-oh 112 Ho-oh 112 is offline
Advance Scripter
 
Join Date: Feb 2011
Age: 19
Gender: Male
Nature: Hasty
Posts: 311
Quote originally posted by FL .:
Mystery Gift is a feature that charge between generations, so put more descriptions that you system do in the topic. After a look I realized that this script can make the player to receive an egg/item/pokémon. Anyway, good script.
Idea: Maybe you can put a variable to be compared in the txt for each entry before give the pokémon.
Example: Player can only get one level 20 pokémon after this variable be 8 or greater, thing that occurs when the player reach at the sixth city, for other in the level 30 this variable need to be 13, and so on.
If someone don't like to use this feature, just made this optional making by default to this variable being -1 and all pokémon this line entry being 0, making the game to ignore when this variable is negative.

A Note to developers: It's no good to give a Victini lv5 at start of the game, so use this system moderately. maybe unlock after some game progress.

I'll add to the next release, when I get my new laptop....
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #32    
Old January 19th, 2012 (03:55 PM).
tylerab01's Avatar
tylerab01 tylerab01 is offline
Pokemon AquaHarmony
 
Join Date: Apr 2009
Location: France
Gender: Male
Nature: Bold
Posts: 165
I'm sorry, but this is Pokemon Raptor's Mystery Gift code too. If you want to learn how to script that is now how to do it and you are not an Advanced Scripter. I know more about scripting than you do, and I have barely even made a dent I RGSS knowledge.
__________________

Reply With Quote
  #33    
Old January 19th, 2012 (07:07 PM).
salva123 salva123 is offline
 
Join Date: May 2011
Gender: Male
Posts: 24
Thanks a lot this will work for my game.
Reply With Quote
  #34    
Old January 31st, 2012 (07:52 PM). Edited February 7th, 2012 by Ho-oh 112.
Ho-oh 112's Avatar
Ho-oh 112 Ho-oh 112 is offline
Advance Scripter
 
Join Date: Feb 2011
Age: 19
Gender: Male
Nature: Hasty
Posts: 311
Quote originally posted by tylerab01:
I'm sorry, but this is Pokemon Raptor's Mystery Gift code too. If you want to learn how to script that is now how to do it and you are not an Advanced Scripter. I know more about scripting than you do, and I have barely even made a dent I RGSS knowledge.


LOOK AT RAPTOR'S SCRIPT CAREFULLY AND SEE IT'S VERY DIFFERENT, A MOD OPENED IT UP, BESIDES WHEN I GET A NEW LAPTOP I'LL CHANGE THIS COMPLETELY.
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #35    
Old January 31st, 2012 (08:00 PM).
seeker's Avatar
seeker seeker is offline
adventure seeker
Platinum Tier
 
Join Date: Apr 2009
Location: Ireland
Posts: 10,661
Guys, if you believe that any script is fake or belongs to someone else PM me or Cilerba with the proof. Now please do not continue speaking about that within this thread. Please keep on topic. Thank you.
__________________

| | |
Reply With Quote
  #36    
Old February 6th, 2012 (08:36 AM).
Ho-oh 112's Avatar
Ho-oh 112 Ho-oh 112 is offline
Advance Scripter
 
Join Date: Feb 2011
Age: 19
Gender: Male
Nature: Hasty
Posts: 311
I feel like Re-inventing my script using MySQL.... It seems more flexible to me....
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #37    
Old February 8th, 2012 (05:55 AM).
Crazyninjaguy's Avatar
Crazyninjaguy Crazyninjaguy is offline
I'm back.
 
Join Date: May 2008
Location: England
Age: 23
Gender: Male
Posts: 663
Oh for sure, it is so much more flexible.
It's a lot better than downloading a file in many ways:

1) People have much less of a chance of fudging the data.
2) It's a whole lot more secure
3) It's pretty much instant.

In fact, I've already achieved a system like this for my project, Reigning Darkness.
Go for it, see what you can make!
__________________
PlanetDev - Game Development Community
Reply With Quote
  #38    
Old February 8th, 2012 (06:48 AM). Edited February 8th, 2012 by Ho-oh 112.
Ho-oh 112's Avatar
Ho-oh 112 Ho-oh 112 is offline
Advance Scripter
 
Join Date: Feb 2011
Age: 19
Gender: Male
Nature: Hasty
Posts: 311
Quote originally posted by Crazyninjaguy:
Oh for sure, it is so much more flexible.
It's a lot better than downloading a file in many ways:

1) People have much less of a chance of fudging the data.
2) It's a whole lot more secure
3) It's pretty much instant.

In fact, I've already achieved a system like this for my project, Reigning Darkness.
Go for it, see what you can make!

CAN YOU HELP ME WITH MySQL PLEAAAAAAAAAAASE!!!! (I can't get it to work....)

by that I mean mySQL...
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #39    
Old March 2nd, 2012 (10:18 PM).
pokemonmasteraaron's Avatar
pokemonmasteraaron pokemonmasteraaron is offline
The blind Pokémon Master!
 
Join Date: Jan 2011
Location: In the forest of an undiscovered region
Age: 19
Gender: Male
Nature: Relaxed
Posts: 314
Send a message via Skype™ to pokemonmasteraaron
I'm probably an idiet.
But, after the script is in the script section, how do I call it in an event?
__________________
Game developer.
Not nearly as active on here as I used to be.
Still like meeting and talking to pokemon fanatics like myself.
Reply With Quote
  #40    
Old March 4th, 2012 (07:40 AM).
Ho-oh 112's Avatar
Ho-oh 112 Ho-oh 112 is offline
Advance Scripter
 
Join Date: Feb 2011
Age: 19
Gender: Male
Nature: Hasty
Posts: 311
Quote originally posted by pokemonmasteraaron:
I'm probably an idiet.
But, after the script is in the script section, how do I call it in an event?

you call it through: pbMysteryGift in an event script
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #41    
Old March 9th, 2012 (01:08 PM).
krakacen's Avatar
krakacen krakacen is offline
 
Join Date: Jan 2012
Location: Cancun, Mexico
Gender: Male
Nature: Relaxed
Posts: 16
Hi, I have a problem
Every time I use the script (the link of your script or mine)
Just get the message but did not receive your gift, you know why?
thanks
Reply With Quote
  #42    
Old March 11th, 2012 (10:35 AM).
Elyssia's Avatar
Elyssia Elyssia is offline
 
Join Date: Nov 2010
Location: The Netherlands
Age: 24
Gender: Female
Nature: Gentle
Posts: 43
for some reason my game won't start-up anymore due to this error: Script <scriptname> line 160: SyntaxError occurred.

When I check this, it seems it crashes on calling: rescue

:/
Reply With Quote
  #43    
Old March 12th, 2012 (06:26 AM).
Ho-oh 112's Avatar
Ho-oh 112 Ho-oh 112 is offline
Advance Scripter
 
Join Date: Feb 2011
Age: 19
Gender: Male
Nature: Hasty
Posts: 311
Quote originally posted by krakacen:
Hi, I have a problem
Every time I use the script (the link of your script or mine)
Just get the message but did not receive your gift, you know why?
thanks
It's an old link, before I added the new features I don't update it.

Quote originally posted by Elyssia:
for some reason my game won't start-up anymore due to this error: Script <scriptname> line 160: SyntaxError occurred.

When I check this, it seems it crashes on calling: rescue

:/
Full error report, I don't get the error.
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #44    
Old March 12th, 2012 (08:18 AM).
Elyssia's Avatar
Elyssia Elyssia is offline
 
Join Date: Nov 2010
Location: The Netherlands
Age: 24
Gender: Female
Nature: Gentle
Posts: 43
The strangest thing is that it didn't left an error log behind where the error was comming from, but according to the syntax error it shows that it keeps crashing while calling rescue in the script.

No idea why it does that...
Maybe i've put into the wrong script category?
I don't know, the tutorial doesn't look that clear to me... But your trading script actually does.

*Note: I do use the 24th December release of Essentials, don't know if that will affect the script?
Reply With Quote
  #45    
Old March 13th, 2012 (06:06 AM).
Ho-oh 112's Avatar
Ho-oh 112 Ho-oh 112 is offline
Advance Scripter
 
Join Date: Feb 2011
Age: 19
Gender: Male
Nature: Hasty
Posts: 311
Quote originally posted by Elyssia:
The strangest thing is that it didn't left an error log behind where the error was comming from, but according to the syntax error it shows that it keeps crashing while calling rescue in the script.

No idea why it does that...
Maybe i've put into the wrong script category?
I don't know, the tutorial doesn't look that clear to me... But your trading script actually does.

*Note: I do use the 24th December release of Essentials, don't know if that will affect the script?

Use the new release, that's the problem.
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #46    
Old March 14th, 2012 (02:09 PM).
Elyssia's Avatar
Elyssia Elyssia is offline
 
Join Date: Nov 2010
Location: The Netherlands
Age: 24
Gender: Female
Nature: Gentle
Posts: 43
Tried the latest version today, with the Mystery Gift DLC, but still the exact same error...
Again crash on line 160, no logs were made.
Reply With Quote
  #47    
Old March 15th, 2012 (03:03 AM).
mappel6 mappel6 is offline
 
Join Date: Mar 2010
Gender: Male
Posts: 3
Same here. I get the exact same errors every time.
Reply With Quote
  #48    
Old March 15th, 2012 (06:16 AM). Edited March 15th, 2012 by Ho-oh 112.
Ho-oh 112's Avatar
Ho-oh 112 Ho-oh 112 is offline
Advance Scripter
 
Join Date: Feb 2011
Age: 19
Gender: Male
Nature: Hasty
Posts: 311
Ok, lemme take a look at it.


EDIT: Fixed it.
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
  #49    
Old March 15th, 2012 (10:58 AM). Edited March 15th, 2012 by mappel6.
mappel6 mappel6 is offline
 
Join Date: Mar 2010
Gender: Male
Posts: 3
Awesomeness! I just tested it out, it works PERFECTLY. Except for the misspelling of "is" in the "Party full" message. Is there a way that we can add in a Mystery Gift option on the title screen? I'm going to look into it myself. I'm not much of a scripter, but I can do a few things.

EDIT: Now I'm having a website problem. I've used webs.com, but I can't seem to upload .txt files. Can you help on this? I started with a personal website. The website is here, pkvoid.webs.com, even though there is almost nothing there.

REEDIT: Just found the File Uploader. Problem Solved.
Reply With Quote
  #50    
Old March 16th, 2012 (06:18 AM).
Ho-oh 112's Avatar
Ho-oh 112 Ho-oh 112 is offline
Advance Scripter
 
Join Date: Feb 2011
Age: 19
Gender: Male
Nature: Hasty
Posts: 311
Quote originally posted by mappel6:
Awesomeness! I just tested it out, it works PERFECTLY. Except for the misspelling of "is" in the "Party full" message. Is there a way that we can add in a Mystery Gift option on the title screen? I'm going to look into it myself. I'm not much of a scripter, but I can do a few things.

EDIT: Now I'm having a website problem. I've used webs.com, but I can't seem to upload .txt files. Can you help on this? I started with a personal website. The website is here, pkvoid.webs.com, even though there is almost nothing there.

REEDIT: Just found the File Uploader. Problem Solved.
wow, I can't believe I misspelled is...
__________________
Scripting Level: Advance

RMXP Poke-Essentials MySQL Trading System Link:
http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

RMXP Poke-Essentials Mystery Gift Link:
http://www.pokecommunity.com/showthread.php?t=270687

RMXP Poke-Essentials Award System Link:
http://www.pokecommunity.com/showthread.php?p=7111566
Reply With Quote
Reply
Quick Reply

Sponsored Links

You may also like.. (Beta)
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 UTC -8. The time now is 10:52 AM.