waynee95's Plugin Collection [NEWEST: WAY_ItemTPCost]

Discussion in 'JS Plugin Releases (RMMV)' started by waynee95, May 24, 2017.

  1. OnslaughtSupply

    OnslaughtSupply Ssshhh... Veteran

    Messages:
    730
    Likes Received:
    762
    Location:
    Texas
    First Language:
    English
    Primarily Uses:
    RMMV
    @waynee95 Just checked, it does work through eventing. No problems here.
     
    #41
  2. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    626
    Likes Received:
    511
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    @MRD256
    Can you post the complete notetags?
     
    #42
  3. MRD256

    MRD256 Veteran Veteran

    Messages:
    113
    Likes Received:
    11
    First Language:
    English
    Primarily Uses:
    RMMV
    @waynee95

    I thought I did in my last post...
     
    #43
  4. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    626
    Likes Received:
    511
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    @MRD256
    But you didn't include the actual notetags you used. Sometimes a typo is causing the issue.
    However, I think I found your issue. Add this to the bottom of the notetag:
    PHP:
    $gamePlayer.refresh();
     
    #44
  5. MRD256

    MRD256 Veteran Veteran

    Messages:
    113
    Likes Received:
    11
    First Language:
    English
    Primarily Uses:
    RMMV
    I thought those were the note tags, it says so in your script

    EDIT: oh wait... I'm an idiot, I forgot the

    <Custom On Equip Eval>

    </Custom On Equip Eval>
     
    #45
  6. MRD256

    MRD256 Veteran Veteran

    Messages:
    113
    Likes Received:
    11
    First Language:
    English
    Primarily Uses:
    RMMV
    (delete this comment)
     
    #46
  7. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    626
    Likes Received:
    511
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    @MRD256
    Yeah, no problem.
    Let me know if it works with that addional scriptcall.

    (PS: Double posts are not allowed. Next time just edit your older post.)
     
    #47
  8. MRD256

    MRD256 Veteran Veteran

    Messages:
    113
    Likes Received:
    11
    First Language:
    English
    Primarily Uses:
    RMMV
    I know, that's why i said delete it to the mods
     
    #48
  9. MRD256

    MRD256 Veteran Veteran

    Messages:
    113
    Likes Received:
    11
    First Language:
    English
    Primarily Uses:
    RMMV
    @waynee95

    I tried it with the bracket things for the code, and it still doesn't work. Here are the note tags. It's still not changing when I go from A to B.

    Equipment A
    <Custom On Equip Eval>

    user._prevCharName = user._prevCharName || user._characterName;
    user._prevCharIndex = user._prevCharIndex || user._characterIndex;
    user._prevFaceName = user._prevFaceName || user._faceName;
    user._prevFaceIndex = user._prevFaceIndex || user._faceIndex;
    user._prevBattlerName = user._prevBattlerName || user._battlerName;

    user.setCharacterImage("Resistance (Students)", 0);
    user.setBattlerImage("Kanata (Student)");
    user.refresh();
    </Custom On Equip Eval>

    Equipment B
    <Custom On Equip Eval>

    user._prevCharName = user._prevCharName || user._characterName;
    user._prevCharIndex = user._prevCharIndex || user._characterIndex;
    user._prevFaceName = user._prevFaceName || user._faceName;
    user._prevFaceIndex = user._prevFaceIndex || user._faceIndex;
    user._prevBattlerName = user._prevBattlerName || user._battlerName;

    user.setCharacterImage("Resistance", 0);
    user.setBattlerImage("Kanata");
    user.refresh();
    </Custom On Equip Eval>

    After this what am I doing wrong?
     
    #49
  10. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    626
    Likes Received:
    511
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    @MRD256
    Try this.

    Equipment A
    Code:
    <Custom On Equip Eval>
    user.setCharacterImage("Resistance (Students)", 0);
    user.setBattlerImage("Kanata (Student)");
    user.refresh();
    $gamePlayer.refresh();
    </Custom On Equip Eval>
    Equipment B
    Code:
    <Custom On Equip Eval>
    user.setCharacterImage("Resistance", 0);
    user.setBattlerImage("Kanata");
    user.refresh();
    $gamePlayer.refresh();
    </Custom On Equip Eval>
     
    #50
  11. MRD256

    MRD256 Veteran Veteran

    Messages:
    113
    Likes Received:
    11
    First Language:
    English
    Primarily Uses:
    RMMV
    I tried that, but now when I try to boot up the game, it get an Error saying:

    "CUSTOM ON EQUIP ERROR"
     
    #51
  12. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    626
    Likes Received:
    511
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    #52
  13. MRD256

    MRD256 Veteran Veteran

    Messages:
    113
    Likes Received:
    11
    First Language:
    English
    Primarily Uses:
    RMMV
    I'll work on that, but in the meantime, I'll resort to plan B. What's the code to run a common event?
     
    #53
  14. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    626
    Likes Received:
    511
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    @MRD256
    Code:
    $gameTemp.reserveCommonEvent(ID);
    Do you want to run a common event that changes the graphics?
     
    #54
  15. MRD256

    MRD256 Veteran Veteran

    Messages:
    113
    Likes Received:
    11
    First Language:
    English
    Primarily Uses:
    RMMV
    yes, I know it's tedious, but I can't make much progress in the game until this is done so...
     
    #55
  16. Tatsumaro

    Tatsumaro Veteran Veteran

    Messages:
    205
    Likes Received:
    40
    First Language:
    Portugues
    Primarily Uses:
    RMMV
    i think i fund a bug WAY_CustomFaceImageEval and WAY_CustomOnEquipEval dont play nice. I manege to make CustomOnEquip to work whit you help (thanks for the support) but when i active CustomFaceImage it stops working.


    Ok, 1 problem is solved, WAY_CustomFaceImageEval whont work in my game, i think its SRD_CharacterCreatorEX that wont allow the change (comment that part on SDR plugin almost briick my game hahahahah).

    Now i just need to find an alternative for that.
     
    Last edited: Sep 20, 2017
    #56
  17. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    626
    Likes Received:
    511
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    Update WAY_CustomOnEquipEval v1.3
    Version 1.3: 21.09.2017
    - Fixed compatibility issue with Ramza's Dual Wield.

    There was an issue with Ramza's Dual Wield plugin. Now this issue is fixed. Just make sure to place my plugin below his Dual Wield plugin!

    @Tatsumaro
    Yeah, those two plugin won't play nice together unfortunately.
     
    #57
    Jeremiah Eastman and ramza like this.
  18. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    626
    Likes Received:
    511
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    Added WAY_CustomOnDeathEval
    This plugin allows you to run code when a battler dies.

    -- Actor, Class, Enemy, Weapon, Armor, State notetag:
    <Custom On Death Eval>
    code
    </Custom On Death Eval>

    This will run when the battler dies. You can use 'user' or 'a' to reference the died battler. You can use 'killer' or 'b' to reference the battler who killed the user. Also you can use shortcuts for referencing switches, variables and the game party. Instead of using $gameSwitches, $gameVariables and $gameParty, you can just use s, v, and p.

    If there are any bugs, please let me know!
     
    #58
    Dirge likes this.
  19. boomy

    boomy Veteran Veteran

    Messages:
    107
    Likes Received:
    76
    Location:
    Melbourne, Australia
    First Language:
    English
    Hi @waynee95
    Any updates? Was looking for your damage macro plugin but it's been unavailable for the past 2 weeks
     
    #59
  20. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    626
    Likes Received:
    511
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    Update 10.11.2017

    I overhauled all my plugins. They are now dependent on my WAY_Core.

    If you find any bugs, please let me know!

    EDIT:
    Update WAY_CustomOnDeathEval v1.0.1
    "user" as a variable inside the notetag was not working.
     
    Last edited: Nov 12, 2017
    #60

Share This Page