Problem with specialstat.txt in rby mod

Discussion in 'Database Modifications' started by Crystal_, Feb 23, 2013.

  1. Crystal_

    Crystal_ Active Member

    Joined:
    Mar 5, 2011
    Messages:
    187
    Likes Received:
    29
    I have made a rby mod where all 251 gsc pokemon are available. Everything seems to work well except for one thing: The special stat of the new Pokemon taken from GSC.
    I have edited specialstat.txt to add the new Pokemon and now the file looks like this:
    0:0 80
    1:0 65
    2:0 80
    3:0 200
    4:0 50
    5:0 65
    6:0 85
    7:0 50
    8:0 65
    9:0 85
    10:0 20
    ...
    140:0 45
    141:0 70
    142:0 60
    143:0 65
    144:0 125
    145:0 125
    146:0 125
    147:0 50
    148:0 70
    149:0 100
    150:0 154
    151:0 100
    152:0 49
    153:0 63
    154:0 83
    155:0 50
    156:0 65
    157:0 85
    158:0 44
    159:0 59
    160:0 79
    161:0 35
    162:0 45
    163:0 56
    164:0 96
    165:0 80
    166:0 110
    167:0 40
    168:0 60
    169:0 80
    170:0 56
    ...
    240:0 55
    241:0 70
    242:0 135
    243:0 125
    244:0 75
    245:0 115
    246:0 45
    247:0 65
    248:0 95
    249:0 154
    250:0 174
    251:0 100

    However, as shown in the image below, when I start battling, the special stat of every Pokemon from #152 to #251 is reseted to 98 (which means a base special stat of 0) and every damage calc is done as if the Pokemon had a special stat of 98.

    [​IMG]

    Does anybody know how can I fix that? Any help is appreciated. Thanks!
     
    Last edited: Feb 23, 2013
  2. sulcata

    sulcata stéphane curry best waifu Forum Moderator Server Administrator Forum Moderator Server Administrator

    Joined:
    Jun 13, 2012
    Messages:
    968
    Likes Received:
    744
    Try copying the "released.txt" file from the database to your mod folder. All gens but gen 1 have this file which seems to indicate which pokemon are allowed in each gen (gen 1 not needing it due to having everything below 151).

    db/pokes/2G/released.txt
     
  3. Crystal_

    Crystal_ Active Member

    Joined:
    Mar 5, 2011
    Messages:
    187
    Likes Received:
    29
    Yeah, I already have a released.txt file in 1G with Pokemon from 0 to 251. Anyway, if I didn't have that file the mod just wouldn't read the gen 2 pokemon and their moves either.

    I think my problem may have to do with the fact that specialstat.txt is not compatible with Pokemon other than the first 151, but hopefully there's a solution...
     
  4. GotThatPopcorn

    GotThatPopcorn Banned

    Joined:
    Jan 30, 2013
    Messages:
    177
    Likes Received:
    0
    PO Trainer Name:
    GTP
    I would suggest trying to get hold of one of the many administrators of the forums, they are sure to be able to help you with this issue you are having uprise, so by what I hear you don't get stats at all?
     
  5. Crystal_

    Crystal_ Active Member

    Joined:
    Mar 5, 2011
    Messages:
    187
    Likes Received:
    29
    Yeah, it is as if text from Pokemon #152 onwards was completely ignored and the base special stat was just defaulted with a 0.
     
  6. GotThatPopcorn

    GotThatPopcorn Banned

    Joined:
    Jan 30, 2013
    Messages:
    177
    Likes Received:
    0
    PO Trainer Name:
    GTP
    Well, since the pokemon (Other Than Gen.1) were added, try making a separate text file for the rest of the pokemon. If that doesn't work, I do not know what to tell you.
     
  7. Crystal_

    Crystal_ Active Member

    Joined:
    Mar 5, 2011
    Messages:
    187
    Likes Received:
    29
    Nah this won't work. The server will only read the file named specialstat.txt so it is not possible to have two separate files. I've tried removing the rby pokemon from the file and keeping only the gsc pokemon, but it didn't work.
     
  8. GotThatPopcorn

    GotThatPopcorn Banned

    Joined:
    Jan 30, 2013
    Messages:
    177
    Likes Received:
    0
    PO Trainer Name:
    GTP
    Did you read the mod thread through? Because maybe you're forgetting a step, and you message me the download.
     
  9. Crystal_

    Crystal_ Active Member

    Joined:
    Mar 5, 2011
    Messages:
    187
    Likes Received:
    29
    Yeah, of course I have read both sticky threads. I have also looked at all the other mod threads but I did not find a solution.