Help - Search - Members - Calendar
Full Version: Skill Shop for RMVX
RPG RPG Revolution Forums > Scripting > Script Tutorials > RGSS2
Pages: 1, 2
Nechi
QUOTE (.Zakuma @ Mar 16 2008, 11:08 PM) *
Is it possible to have an add-on so that you can get Honor just like in World of Warcraft, and can buy Skills with that?

I never to play the World of Warcraft.
Please explain me for know about that.^^
LostFan:4-8-15-16-23-42
I'm sorry I'm new to scripts. I have no idea how to start adding this program... i know where the script editor is but i don't know where to begin.
onimusuko
hey, how about hiding the actor name that cant learn the skill instead of making the name grey?
just for eye candy biggrin.gif
epfrndz
I don't get the part on how "call" skill shop windows? So i will just write it one time and it will just activate all shops, or i have to write it for every shop? What do I have to edit in the $scene = Scene_Skill_Shop.new

and where exactly do i place it?

(sorry I don't understand scripting that mcuh, and my eyes just start to cross in very script-pelted parts)
Diogotav
First hi im new here and next i got a prob i never used a scrip code and im having problems in understending this one i figured that some one can help me i have the trial version og rpg maker Vx version 1.02 and my game is like in 5% progress whit a few arangements in the Database left including some extra weapons and more skillsī. And the skill shop would realy come in handy. If you have the time help me.
puisihatiku
Hello, may I ask if this script is compatible for RPG Maker XP?

If not, would anyone help me to make an XP script for this?

I'm sorry sometimes I'm just confused with the scripting mellow.gif ...

Thank you.
Dark Koji
This script is for VX.

I believed Nechi made a similar script for XP.
Skill Shop for RMXP
Twilight27


Okay, this is the error I (and a few others) are experiencing.

I'm using VX and have followed almost everything. However this error occurs.
I've even downloaded the demo nechi made and copy/pasted the same script found within his Script database into my own, and into the same place (above insert here).

I've even copied his event on the island into my game, but when I talk to the guy and select 'teach', this error occurs.

However, after reading your replies to them, I see that I can't have any other scripts being used? Or must I add new scripts after?

The other scripts I currently have on are "Changing battleback" and "Skip title" scripts.

(Also, I plan to use the day/night script too; but the comments are in japanese, will that affect it in any way? Sorry for the off-topic question)
Nechi
You continue with your game svae before paste this script,Right?
You will play new game for using script because your game save doesn't have new data.
QUOTE
However, after reading your replies to them, I see that I can't have any other scripts being used? Or must I add new scripts after?

I tell every body "It's work Great on clean RMVX 1.02 Project" Not "Can't use with other script".
You will edit it for fixed some bug when you use with other script.
Bymus
I don't understand the instructions at all...

The only instructions are:
QUOTE
How to Use (Ver 3.1):

You will add "$skill_shop =[Id of Skill]"
To Call Script to set id of skill for sell.
You will add "$scene = Scene_Skill_Shop.new"
To Call Skill Shop Windows.

Example:
$skill_shop = [1,2,3,6,7]
$scene = Scene_Skill_Shop.new

You can turn on/off option under "# Setting".
You can set text to use in Skill Shop under "# Learn Text".
You can add "[p-Price-]" for set Skill Price at Note in Skill Database.
Example : For set Price to 150

[p150]

You can set Skill that the fighter each person can learn under "# Hero Data".

You will setting look like this in Hero Data
[ID of skill, Level requirement for learn]

Example : if you want actor id 1 can learn skill id 1 at Lv 4
and can learn skill id 2 at lv 3. You will setting look like this

1 => [ #Id of Actor

[1,4],[2,3],

],


But what about the rest of the script? Where should I put them?

Anyway I wanted to download the demo to see where to put the script but the download failed because it said:
QUOTE
Referrer error.
Please renew the link at http://www.thaicyberupload.com/get/VNDun0j6HF


Can someone give me another link to the demo for Ver 3.1? Thanks.
matty0828
I'm having the same problem as Bymus - with both this script and the Upgrade Skill Shop script!

Can somebody help a little? I'm kinda confused as to what the instructions are trying to say!
blooDhazE43
when im reaching a level i get this error
????? 'Skill Shop for RMVX' ? 242 ??? SystemStackError ????????
stack level to deep

con someone tell me what to do?
Nechi
QUOTE (Bymus @ Apr 4 2008, 11:33 PM) *
Can someone give me another link to the demo for Ver 3.1? Thanks.

It's here : http://www.mediafire.com/?hksjy2znnzb
QUOTE (matty0828 @ Apr 5 2008, 10:06 AM) *
I'm having the same problem as Bymus - with both this script and the Upgrade Skill Shop script!

Can somebody help a little? I'm kinda confused as to what the instructions are trying to say!

Wait for me create addon for use 2 script.
QUOTE (blooDhazE43 @ Apr 6 2008, 04:14 PM) *
when im reaching a level i get this error
????? 'Skill Shop for RMVX' ? 242 ??? SystemStackError ????????
stack level to deep

con someone tell me what to do?

It's work Great on clean RMVX 1.02 Project.
If you use with other script and found error,You will check you script or check your RMVX Version.
ell
Hi i have a problem . I have copied and pasted the code for a skill shop under the materials and i changed it a little (using the instructions) but it says Script Skill_Shop line 58 NoMethodError occured. Undefined method include? for nil:class

plz help me thanks
Hirezi
This is very nice script! and very easy to use! good job...

I have one question. Is there a way in which you can limit the number of skill purchasers to 1? I want to make it like a Final Fantasy 8 Draw point system. If you don't know what that is: The player go on the draw point, and it has a certain magic. The player selects one person to draw the magic, and then it can't be used anymore.

Thank You!
as12df34
Sorry if this has been explained but how do you edit which skills can be bought and their price?
vulgomatic
Was wondering if there was any way that you could edit this script to make the prices rely on a certain game variable, in my instance, $game_variables[1] would be perfect for me if there was a way >.<
Ilikepie123
QUOTE (Mech-Ah @ Mar 2 2008, 07:06 AM) *
I have a problem. When I copy this, I get them in one line. So I can't use it... and I don't want to spend hours correcting it.

You need to save the .txt file to use it. Then open it, and copy it from there.
Beecheese
Just wanted to chime in and say this is a great script, very useful and easy to use once you get the hang of it. Ran into a few errors, but i started using "new game" instead of "continue" like you said, and now everything's fine and dandy. So, great job,, and thanks
I just have one question: In the #Setting section, what is the
CODE
Can_use = "%s can use now!"
message used for? I tried the demo and the script many times and I've never seen that message pop up.

Also @rwilsonjr: This may be a little late, but I'm very interested in those scripts.

The Wizard 007
Nice script. In a future version I think it would be a good idea to add class ID's to this as well. I would definetely use this script if that were the case. But in one of my games you select character classes at the beginning of the game so if this script had where you could buy skills based on class it would be much more effective. Still great script and good work on the updates and such.
demonicblade
Sounds nice, and I'm just about to test it out. However, I'd recommend you put the scripts in spoilers, as I accidently copied all of the scripts (including the "Version" and "Code" part which are not part of the scripts).
Puppet Of Fate
This is so useful.
shagnasty
Can somebody please explain to me how to change the price for individual skills.
Beecheese
^Go to the Skill section in Database, select the skill you want and in the Notes section on the right just write [pX] (where X is how much you want it to cost).

Haven't tested it myself, but it should work.
shagnasty
thanx. I didnt even see the notes part of it.
wsensor
question since some people mentioned making it cost you xp...

so if you add EXP points

can you add a way to get points on level up / quests that can help you learn skills also?
or item requirements too?? say you get 5 skillpoints for killing a boss...

some skills require the skill points and also the gold cost or any of the options below

so say you want a skill

Lava Toss

you would need to spend 10000 gold/5000 exp(big chunk of exp loss)/ and 3 fire golem cores? + 2 skill points
or have it so it has 2 or 3 optional payment options for the skill???


so say you can either pay 10000 gold or 5000 exp or 3 fire golem cores... + 2 skill points

so say you got 5000 exp but no gold... ok thats easy might take you awhile to get it back but you can afford to use your exp...
or you can not afford exp or gold... but you have the fire golem cores... and you have the skill points

that is what I mean
drebenk
OK I have problem with this script ver. 3.1.
Here is the setup for the skills that my chars can learn in the script itself:

1 => [ #Id of Actor

[38,1],[33,5],[49,10],[50,12],[51,15],[34,16],[41,17],[36,18],[77,20],[35,22],
[42,25],[37,30],[78,32]
],

2 => [ #Id of Actor

[38,6],[52,9],[1,10],[81,15],[2,20],[3,25],[82,30]

],

3 => [ #Id of Actor

[38,2],[39,5],[67,10],[51,12],[47,14],[69,15],[71,16][45,18],[75,20],[68,22],
[40,24],[72,26],[76,30],[70,32]

],

4 => [ #Id of Actor

[59,1],[38,2],[63,3],[44,8],[61,10],[65,12],[48,16][73,18],[60,20],[64,22],
[46,24],[66,28],[74,30],[62,32]

],

Now here is what one of the skill shops look like:

$skill_shop =
[38,39,40,44,45,46,47,48,51,59,60,61,62,63,
64,65,66,67,68,69,70,71,72,73,74,75,76]
$scene = Scene_Skill_Shop.new

So now when I enter this shop and when I press down key to move the selection to the second skill it gives me this error:


And this is the text on line 362:
if can_learn[i][0] == id

When I enter the shop I have all 4 chars in the party. So I'm thinking that the script crashes because in the shop there are skills that can be learned by more than 1 char. For example the Self Recovery skill. But I might be wrong so please help me.


Edit:

Problem solved I had missed 2 "," symbols in my actor Id 3 and 4 skill setup:

For actor Id3 this: [71,16][45,18]
For actor Id4 this: [48,16][73,18]

Everything seems to work just fine now.
jake.29.9
Im not sure if it been said but.

How can i get all my Char learn every move and have no Class??
Mufalmar
These instructions confuse me.. -.-

What i want to know (In an easier to understand way if possible...) is -

1. How do I make an NPC open up a skill shop? 2. How do I add skills to that skill shop?

3. How do I change the prices for those skills? 4. How do I add level requirements to the skills in the shop?

To me, the instructions on the first post were really hard to understand, as I am not an extremely advanced scripter.

I would really appreciate some help.
jake.29.9
Dont worry ive done it and it works. Great Script
Khandrak
QUOTE (Mufalmar @ Jul 18 2008, 01:52 AM) *
These instructions confuse me.. -.-

What i want to know (In an easier to understand way if possible...) is -

1. How do I make an NPC open up a skill shop? 2. How do I add skills to that skill shop?

3. How do I change the prices for those skills? 4. How do I add level requirements to the skills in the shop?

To me, the instructions on the first post were really hard to understand, as I am not an extremely advanced scripter.

I would really appreciate some help.

In your NPC event, call a script (page 3, under Advanced, "script..."), and in it put:

$skill_shop = [1,2,4,6,7] #The numbers there are the skills you want to sell (don't need to put this info part in thumbsup.gif )
$scene = Scene_Skill_Shop.new

That will call up the store for you. Now, if you want to change level requirements, you're going to have to go into the script itself. If you scroll down a little below the instructions, you're going to see something like this:

1 => [ #Id of Actor

[1,4],[2,3],[3,1],

],

The first line's number is, as it says (though it might have confused you, and I know it did me for a second) the ID for the Actor that you want to specify skills for. So lets say you want to decide skills and levels for character 002:Bob (as you would see it when editing characters), then put a 2 instead of a 1 there.

The second line is the skills and their respective levels. He can learn skill 1 at level 4, he can learn skill 2 at level 3, etc. Add, remove or change whatever you want there. Just make sure you keep commas between all of them, and have one at the end.

Now, the more confusing part (it took me forever to figure this out) is setting the price for the skill. It turns out to be incredibly easy, but the instructions might as well have been in Japanese, at least for me pinch.gif Go into the actual skill, and in the notes put [p#] where # is the price you want for that skill. So, if you wanted the skill to cost 500, then just put [p500] in there. That's it.

Hope this helps you, and anyone else who may be confused by the instructions.
Khandrak
From what I've noticed:

This script is incompatible with her other script for upgrading skills, unfortunately, so if you're getting that error when you level, that's probably why. At least it was for me.

Please combine the two or make them compatible. Also, I've noticed that the page doesn't scroll for selling skills. So if you put in more than a page, you get an error. Having to have 6 separate vendors for my Elementalist class is a pain.
Selacius
Wondering if you could modify this such that in the skills note page you can instead of selecting which actor can learn the skills and at what level, change that to class and level.

So say you can do this: [c1l5] meaning class 1 can learn at level 5.
muffin1232
HI
I'm having trouble with this script.
I've entered all the spells in and stuff.
Then when I go to the skill shop person I buy the spell but then it comes up with an arror message

Script 'Skill Shop' Line 154 : NoMethodError Occured, Undefined Method 'Push' for Nil:Nil Class

That message appeared.
Does anyone know how to fix it? THANKS SO MUCH IF YOU FIX THIS PROBLEM

+ I've tried erasing this from script but when I do that it wont let me even learn the spell...
Mems
happy.gif Ah, very nice script.
FireRMVX
Hey can u make a script of how to go over the limit with Stats, like

Health= 1.5mil

Attack=500k

Spirit= 25k



if u could that'd be great ^^
ThaSlein
I've got the script, but I miss some files. pinch.gif
Where can I find them??
(for a picture, check the attachment)

Click to view attachment
mudducky
@ThaSlein That's not a problem with the script, that's a problem with the background image in your project. You are missing an image you have set an event to.
kinan
Nee how about instead of using money to buy skills, you have to collect "Skill Points" instead? laugh.gif

Anyone know how to make this? Cool, isn't it? tongue.gif
ThaSlein
QUOTE (mudducky @ Jul 28 2009, 11:15 AM) *
@ThaSlein That's not a problem with the script, that's a problem with the background image in your project. You are missing an image you have set an event to.


weird, cus I've got this script in my script to..


module Cache
def self.menu(filename)
load_bitmap("Graphics/Menus/", filename)
end
end

Or is that not related with my problem?

EDIT: Oh, sorry, I've fixed the problem.. Thx
Shanghai
QUOTE (kinan @ Jul 28 2009, 11:16 PM) *
Nee how about instead of using money to buy skills, you have to collect "Skill Points" instead? laugh.gif

Anyone know how to make this? Cool, isn't it? tongue.gif

Necchi's been inactive for a long time. You're probably not going to get anything out of that request...
kinan
QUOTE (Shanghai @ Jul 29 2009, 03:09 PM) *
Necchi's been inactive for a long time. You're probably not going to get anything out of that request...


Oooww.. sux sad.gif

Well, if there is anyone out there who can do that please post a reply here! laugh.gif
Stern
Just a little heads up;

in the 3.1 script it says:

#==============================================================================
# Skill Shop for RMVX Ver 3.1
#==============================================================================
MediaFire Hosting# By Nechigawara Sanzenin
# WARNING!! : This script can use on RPG Maker VX Only!! (XP Not Support)
#==============================================================================

I doubt it's supposed to be there ^^ (The mediafire hosting part) smile.gif

And thanks for a really nice script
Krosbryd
Necrobump, I know, but I have a problem here.

Okay, I've put in the script. After I made my fighter character's skills, and configured the appropriate part of the script like so:
CODE
  1 => [ #Id of Actor
  
  [1,4],[2,6],[3,12],[4,18],[5,23],[6,29],[7,34],[8,41],[9,46],[10,54],[11,60],#Caelus' Artes
  
  ],


... It worked perfectly. No problem or anything. But, when I then made my black mage's like so:
CODE
  2 => [ #Id of Actor
  
  [12,1],[13,2],[14,3],[15,4],[16,5],[17,6],[18,7],[19,8],[20,21],[21,22],[22,23],[23,24],[24,25],[25,26],[26,27],[27,28],#Roguel's Artes
  
  ],


... it looked like it worked, until I testplayed it and spoke to the black magic shop keeper. For reference, this is his script event:
CODE
$skill_shop =
[12,13,14,15,16,17,18,19,20,21,22,23,24,25,2
6,27]
$scene = Scene_Skill_Shop.new


When I talked to him, the screen went black, and an error message popped up, informing me that: "SyntaxError occurred while running script."

I understand it's a syntax error, but I don't see where it is. Note, that I am totally and utterly clueless about scripts (pretty much).

Also, does anyone have the original Japanese script so I can more clearly get an understanding of what it's saying? Knowledge of Japanese>Deciphering of Engrish.

EDIT: Ah. I fixed it. Apparently, there were too many skills in the shop menu.
martyjr2008
If the skill shop script doesn't work there is another alternative. Make the skills a scroll item and make a skill shop and add the skill scrolls in the shop menue in the shop. In the common event for all skills if you want to learn or forget them. You have to put this:

Skill item

Common event
Name skill:???????????
@>Text:What do you want to do?
@>Show choices:Learn skill,Forget skill
@>When [learn skill]
@>Play SE:Absorb
@>change skill increase to player
@>When [forget skill]
@>Play SE:
@>change skill decrease from player

Just remember in the item tabs where that skill scroll is. Remember to set Consume [yes] so when you use the skill once it disappears. Also set the price of the scroll too in the item data base on the skill as well. Price of skill can be any price you want. If it is 0 its free.


Magic/skill shop

@>Text:What do you want to do?
@>Show choices: Shop,Cancel
@>When [Shop]
@>Shop process:
@>When [Cancel]
@>Exit event processing


Thats about it.
chaco
I really needed something like this in my game! This script is lovely!
I will credit you in my games credits and also have an NPC in the skill shop credit you also happy.gif
chaco
I had to remove a few random things from the script to make it work, but it works fine for me now cool.gif

And really sorry about the double post!
Pepevago
Thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.