[Resolved] Adding More Pokemon to the Simulator

Discussion in 'Database Modifications' started by MysteryMan, Jul 8, 2012.

  1. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Oh? Are you sure? You actually used it in battle? I'm not talking TeamBuilder; that works fine. It wouldn't let me use it in battle.
     
  2. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Yea, dark electrode ftw
     
  3. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    lol okay. Then that means I need to focus on the server problem. Thank you.
     
  4. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Hey coyotte. Thanks for your help, but I ran into two problems.

    1. Battling is still a bit glitchy. Sometimes the correct sprites don't show up. I even had an opponenta who "sent out Dragon4" when it was actually Hariru.

    2. Random battles are really fun, but Pokemon #650 and higher are all level 0. How do you edit the settings for them?
     
    Last edited: Jul 19, 2012
  5. eric the espeon

    eric the espeon is an espeon.

    Joined:
    Apr 21, 2010
    Messages:
    854
    Likes Received:
    1
    For #2, use a level_balance.txt mod. Format is pretty straightforward.
     
  6. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    For #1 I don't really know, maybe you guys had two different mods?
     
  7. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    1. I doubt it. But it's minor really.

    2. Oh so that's what that's for. Okay, I think I got it.


    So I was battling people and I found something kinda disturbing. The movesets are very limited. For example, for some reason Delta Blastoise can't learn Avalanche. For some reason, Fake Groudon can't use any of it's 3G or 4G moves. And there's a whole bunch that are like that, but there's seemingly no pattern to it. Delta Charmander's moveset is messed up, but Delta Pidgeot is fine. I thought it might be legal_combinations, but that's already taken care of.
     
  8. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Delta blastoise can't learn avalanche:

    Delta blastoise is a 5th gen pokemon, avalanche is 4G. If you want it to learn 4th gen moves, add it to the released.txt files of 4th gen.
     
  9. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    D'oh *hits head on table* Should've known that. Thank you.

    But why is MissingNo. only able to learn one Pre-Evo move at any given time?
     
    Last edited: Jul 19, 2012
  10. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    What pokemon did you make it evolve from?
     
  11. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    MissingNo. can learn a dozen moves that it inherits from its pre-evolution, Z-Katakana. For example: Leech Seed and Transform. But it won't let me put those two together in the same moveset, or with any other Pre-Evo move for that matter.

    MissingNo. is #671 while Z-Katakana is #670
     
  12. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    You need to add db/pokes/evos.txt in your mod, and add a line "670 671"

    Then MoveMachine would automatically deduce pre evo moves, but you already did all the work!
     
  13. TrainerTysen

    TrainerTysen New Member

    Joined:
    Sep 27, 2010
    Messages:
    24
    Likes Received:
    0
    So you would have to edit PO's core files too? Not just what gets zipped up in the patch?
    Because the same thing is happening to one of my added Pokemon. It randomly can't use psyshock or earth power but it can use slack off and calm mind.

    There is also a Pokemon of mine that will not show up in battles even though all of the other added pokemon show up. I've checked my .txts over and over so I'm not sure whats wrong.

    Any help is appreciated :)
     
  14. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    No, just add Delta-Blastoise to your mod's db/pokes/4G/released.txt and db/pokes/4G/Subgen 0/released.txt

    Upload your mod, tell the problem, and i'll find what's wrong.
     
  15. TrainerTysen

    TrainerTysen New Member

    Joined:
    Sep 27, 2010
    Messages:
    24
    Likes Received:
    0
  16. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    But I'm gonna go on a limb and say that Pegadon wasn't added to db/pokes/5G/Subgen 0/released.txt
     
  17. TrainerTysen

    TrainerTysen New Member

    Joined:
    Sep 27, 2010
    Messages:
    24
    Likes Received:
    0
  18. Arceus

    Arceus Member

    Joined:
    May 20, 2010
    Messages:
    238
    Likes Received:
    0
    You need to make a folder in 5G called Subgen 0. Once you do that, make a released.txt file just like you did in Subgen 1 and add your Pokemon to that file.
     
  19. TrainerTysen

    TrainerTysen New Member

    Joined:
    Sep 27, 2010
    Messages:
    24
    Likes Received:
    0
    In the server I just changed it to no mods, clicked ok, then changed it back to my mod and clicked ok.

    So far everything is working as it should I appreciate all of the help! :D
     
  20. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Hey, how does one mandate an item be used for a form? For example, if you pick Arceus (Electric), then it will automatically have the Zap Plate. If you remove the Zap Plate, it reverts to Arceus [Normal form]. I added ???-Type Arceus, and I believe I can make new items. The only thing I can't find is the coding for them. Is there a way I can edit and splice other items to make my own items, like moves? I want to make a "plate" for the ???-Type Arceus. And I have other uses for it too. I want Mirage Mewtwo to have to hold a HologramPyre and for Bad Egg have to hold ?????.
     
    Last edited: Jul 21, 2012
  21. Arceus

    Arceus Member

    Joined:
    May 20, 2010
    Messages:
    238
    Likes Received:
    0
    It is hard coded. If you want to do this kind of change, you will need to modify the source.
     
  22. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Aw... that's disappointing... I even had an cool idea too. There is no ??? Plate. So I was going to make a new item called ActionReplay and if an Arceus holds it, it turn ???-type. : /
     
  23. Arceus

    Arceus Member

    Joined:
    May 20, 2010
    Messages:
    238
    Likes Received:
    0
    The ??? type is a place holder anyway. You will notice it in the type2.txt file of Pokemon that are only one type.
     
  24. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    No, it is not. The ???-type is a full-fledged* but overlooked type. In the coding of this simulator, you have it set that a secondary ???-type will result in a monotype Pokemon, but it has no degredation to the type itself. In my mod, I have several Pure-???-type Pokemon.

    * Curse was ???-type, Struggle STILL is ???-type, Shadow moves were a form of ???-type, Eggs used to be ???-type, etc. And I actually used an Action Replay to obtain a ???-Type Arceus on my Platinum version. It was quite cool.
     
  25. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Hey guys, I have another problem. I was trying to add custom items.

    First, I edited item #304, the Berserk Gene, in an attempt to try to be usable in 5th Gen. I even gave it a sprite. So for the item sprites, there are sprites numbered from 1 to 279 plus 304. For some reason though, the sprite doesn't appear in TeamBuilder.

    Secondly, I added several new Berries, #'s 64 to 86. However, only 74 to 86 even show up in TeamBuilder. And none of their sprites show up. AND #78 appears twice. fixed this part

    What's going on here?
     
    Last edited: Jul 22, 2012
  26. Arceus

    Arceus Member

    Joined:
    May 20, 2010
    Messages:
    238
    Likes Received:
    0
    In regards to adding the items, did you make sure to add them to the items_gen5.txt file? This file controls what items are usable in Gen 5. If they aren't in that file you won't be able to choose them nor will their sprite show up.

    When you added the berries did you make sure to not only add it to berries.txt, but also to berries_gen5.txt?
     
  27. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Yes to both.
     
  28. Arceus

    Arceus Member

    Joined:
    May 20, 2010
    Messages:
    238
    Likes Received:
    0
    Do you have a download version of the mod to take a look at?
     
  29. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
  30. Arceus

    Arceus Member

    Joined:
    May 20, 2010
    Messages:
    238
    Likes Received:
    0
    Other than not adding berry messages, everything looks right. Berry messages shouldn't be stopping them from appearing in Team Builder, but they would need to be added so it gets them right in battles. I'm not sure why they aren't showing up.
     
  31. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Since none of the effects I added were new, I didn't see a reason to add any. But thanks anyway...

    EDIT: I don't know if anyone is going to look at this. But I'm looking for spriters for my server. Mod status is the reward.
     
    Last edited: Jul 23, 2012
  32. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    I ran into another problem. Just thought I'd ask again, see if I can get some help. I added a move that lowers defense by 2 stages. I tried using it in battle. I assume that its effect still works, but I do not get the message that blah blah had "his Defense lowered!" So even if it is doing something, it looks like it is not. Why does the message not shwow up? I thought it might be special_effects.txt, but I based this move off of Screech, which has the same effect. Screech has no entry in special_effects.txt.
     
  33. Arceus

    Arceus Member

    Joined:
    May 20, 2010
    Messages:
    238
    Likes Received:
    0
    Stat changes use the following files: stataffected.txt, statboost.txt, and statrate.txt. You can find extended documentation here. I try and keep that page up to date. Messages for moves that only affect stats are done automatically based on what stat(s) are affected and by how many levels it increases or decreases.
     
  34. KrisTami

    KrisTami How much is that Mew in the water?

    Joined:
    Dec 13, 2012
    Messages:
    24
    Likes Received:
    2
    PO Trainer Name:
    KrisTami
    I just added new plates for Arceus, types and items. But I hey, I also had a same problem. Customized items sprites in Teambuilder won't show up. Any way to fix it?