Szyu's Items Class Restriction script is bugged or doesn't work

this script is supposed to make items restricted or only usable by classes,i read exactly what it says,it still doesnt work,like i put <classes: witch> <classes: sage> on a item,and for whatever reason,only the priestess could use it,like i dont get what this guy is saying,the instruction are like extremely unclear or bugged,or written wrong https://forums.rpgmakerweb.com/index.php?threads/items-class-restriction.31546/
You need to put the class' ID, not it's name.
You need to put the class' ID, not it's name.
so....you mean the number?,like 1 would be soilder?
so....you mean the number?,like 1 would be soilder?
Yes
upload_2019-5-21_14-44-27.png

1 = Soldier
2 = Monk
3 = Paladin

And the list goes on~
Yes
View attachment 116039
1 = Soldier
2 = Monk
3 = Paladin

And the list goes on~
i did that and it still doesnt change anything,do i have to change the scope?,bc i changed it to the user,but its still not doing it
Without the quotation marks.
Without the quotation marks.
iggggggggg no one told me

Without the quotation marks.
alright now it works

Without the quotation marks.
uuummm

Without the quotation marks.
oh,i didnt fix this 1

Without the quotation marks.
still didnt fix it....hm

@thatguywhoneedshelp! , please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.


If you want to add something to your last post, please use the 'Edit' button to do so. I've merged your 5 posts together.
did you start a new game after correcting the notetag, or did you continue a saved game?
did you start a new game after correcting the notetag, or did you continue a saved game?
continue on a saved(im trying to polish it and make the monsters more balanced and stuff)
did you start a new game after correcting the notetag, or did you continue a saved game?
does it need to be a new game?
...What did I just tell you?

@thatguywhoneedshelp! , please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.


Seriously, if you want to add something after you posted, just edit your post instead of posting again (as that's against our rules).
continue on a saved(im trying to polish it and make the monsters more balanced and stuff)
What has that to do with it? I'm talking about a new game - as the button "new game" in the title screen of the game when playing.
I'm NOT talking about a new project (as by the menu command "new project" in the editor).

You CANNOT balance in a saved game, because the saved game will always contain the data from when you started playing it.
You'll need to start playing it from the beginning again when you try to balance, and also when you change scripts because many scripts save the data from the moment they were initialized in the game.
You CANNOT balance in a saved game, because the saved game will always contain the data from when you started playing it.

Actually, you CAN because the data for classes, items, skills, enemies, troops are always loaded from the database, they aren't saved on the save file (data accessed via $data behave like this, only those accessed via $game are saved into the save file).. The actor database is the only one not completely reloaded from the database unless you reinitialize the actor which most probably you wont. I am balancing my games using my saves files without problems, without any edits to the save/load sequence.

But yeah, a lot of scripts, especially older ones dont initialize on a saved game because they hooked their init and loads the notetags during the new game init sequence.

Original thread: https://forums.rpgmakerweb.com/threads/szyus-items-class-restriction-script-is-bugged-or-doesnt-work.109246/