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

Discussion in 'RGSSx Script Support' started by thatguywhoneedshelp!, May 22, 2019.

  1. thatguywhoneedshelp!

    thatguywhoneedshelp! Veteran Veteran

    Messages:
    35
    Likes Received:
    0
    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/
     
    #1
  2. Ebanyle

    Ebanyle Veteran Veteran

    Messages:
    261
    Likes Received:
    146
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMVXA
    You need to put the class' ID, not it's name.
     
    #2
  3. thatguywhoneedshelp!

    thatguywhoneedshelp! Veteran Veteran

    Messages:
    35
    Likes Received:
    0
    so....you mean the number?,like 1 would be soilder?
     
    #3
  4. Ebanyle

    Ebanyle Veteran Veteran

    Messages:
    261
    Likes Received:
    146
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMVXA
    Yes
    upload_2019-5-21_14-44-27.png
    1 = Soldier
    2 = Monk
    3 = Paladin

    And the list goes on~
     
    #4
  5. thatguywhoneedshelp!

    thatguywhoneedshelp! Veteran Veteran

    Messages:
    35
    Likes Received:
    0
    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
     

    Attached Files:

    #5
  6. Ebanyle

    Ebanyle Veteran Veteran

    Messages:
    261
    Likes Received:
    146
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMVXA
    Without the quotation marks.
     
    #6
  7. thatguywhoneedshelp!

    thatguywhoneedshelp! Veteran Veteran

    Messages:
    35
    Likes Received:
    0
    iggggggggg no one told me

    alright now it works

    uuummm

    oh,i didnt fix this 1

    still didnt fix it....hm
     

    Attached Files:

    Last edited by a moderator: May 22, 2019
    #7
  8. slimmmeiske2

    slimmmeiske2 Little Red Riding Hood Moderator

    Messages:
    5,544
    Likes Received:
    4,121
    Location:
    Belgium
    First Language:
    Dutch
    Primarily Uses:
    RMXP

    @thatguywhoneedshelp! , please avoid double posting, as it is against the forum rules. 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.
     
    Last edited: May 22, 2019
    #8
  9. Andar

    Andar Veteran Veteran

    Messages:
    28,426
    Likes Received:
    6,485
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    did you start a new game after correcting the notetag, or did you continue a saved game?
     
    #9
  10. thatguywhoneedshelp!

    thatguywhoneedshelp! Veteran Veteran

    Messages:
    35
    Likes Received:
    0
    continue on a saved(im trying to polish it and make the monsters more balanced and stuff)
     
    #10
  11. thatguywhoneedshelp!

    thatguywhoneedshelp! Veteran Veteran

    Messages:
    35
    Likes Received:
    0
    does it need to be a new game?
     
    #11
  12. slimmmeiske2

    slimmmeiske2 Little Red Riding Hood Moderator

    Messages:
    5,544
    Likes Received:
    4,121
    Location:
    Belgium
    First Language:
    Dutch
    Primarily Uses:
    RMXP
    ...What did I just tell you?

    @thatguywhoneedshelp! , please avoid double posting, as it is against the forum rules. 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).
     
    #12
  13. Andar

    Andar Veteran Veteran

    Messages:
    28,426
    Likes Received:
    6,485
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    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.
     
    #13
    Engr. Adiktuzmiko likes this.
  14. Engr. Adiktuzmiko

    Engr. Adiktuzmiko Chemical Engineer, Game Developer, Using BlinkBoy' Veteran

    Messages:
    14,544
    Likes Received:
    2,900
    Location:
    Philippines
    First Language:
    Tagalog
    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.
     
    Last edited: May 22, 2019
    #14

Share This Page