Thread: [Essentials Script] Ho-oh 112's Mystery gift system
View Single Post
  #13    
Old January 9th, 2012 (10:05 AM).
Ho-oh 112's Avatar
Ho-oh 112 Ho-oh 112 is offline
Advance Scripter
     
    Join Date: Feb 2011
    Age: 21
    Gender: Male
    Nature: Hasty
    Posts: 311
    Quote:
    Originally Posted by P-Sign View Post
    I love this new update, it's great. It all works well, except for the items and the eggs. When I set a gift's type to 1 or 2, it keeps giving me the Pokémon I'd get when type was set to 0. It's like the Type field is completely ignored. If you want the text file of the Item:
    Spoiler:

    Test.
    2
    1
    1
    0
    1
    1
    2
    3
    4
    TEST
    98765
    4
    1
    1
    1
    0
    5
    5
    5
    5
    5
    5

    I don't think they work yet, but that aside, this is a fantastic script. I'm definitely using this.

    Fixed (I think)
    added:
    type = type.to_i + 1 - 1

    which will change it to an integer...
    __________________
    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