1. Remember to check the Simple Questions/Simple Answers , Suggestions , Bug Reports and Technical Support threads before posting. If you have something that warrants extended discussion then post a thread, but when in doubt, please use an already existing thread
  2. New to the forums? Check out our Mentorship Program!
    Our mentors will answer your questions and help you become a part of the community!
  3. Welcome to Smogon Forums! Please take a minute to read the rules.

Own Fakemon in the server

Discussion in 'Pokémon Showdown!' started by Shiyo, Jun 5, 2013.

  1. Shiyo

    Shiyo

    Joined:
    Jan 16, 2006
    Messages:
    11
    I have created a server, and I have erased everything what refers to the CAP of Smogon, adding own Fakemon, but no change takes place.

    Is that not possible?
  2. mikel

    mikel @ air baloon
    is a Contributor to Smogonis a Battle Server Admin Alumnusis a Forum Moderator Alumnus

    Joined:
    Jun 26, 2011
    Messages:
    973
    i'm guessing you changed the local server code? in that case, your new "Fakemon" are present but there's no way to select them in the client, because the client is universal and set up to use Smogon's Pokemon list.
  3. Shiyo

    Shiyo

    Joined:
    Jan 16, 2006
    Messages:
    11
    local server code? I do not know if I have changed it.
    In what file of the folder Pokemon-Showdown-master can I find it?

    There is no script in order that the CAP of Smogon is ignored and allows to put fakemon own?
  4. Joim

    Joim Navigate the pitfalls, cross the great divide!
    is a member of the Site Staffis a Battle Server Administratoris a Programmeris an Administratoris a Tiering Contributor Alumnusis a Contributor Alumnusis a Smogon Media Contributor Alumnus

    Joined:
    Oct 9, 2012
    Messages:
    1,604
    The local server code is that which you have downloaded in order to have your own server. All files related to Pokemon-Showdown-master are your local server. In order to have your own "fakemons", you need to edit the Client and have a Client of your own, which is not easy at all. You can just get rid of CAPmons by deleting them or simply disallowing them in the tiers they appear on changing the server.

    Additionally, by adding fakemons to the servers you can use them writing the name in the Export/Import on teambuilder, they will appear spriteless but they will be usable, only it'll be very ugly in Client.
  5. Shiyo

    Shiyo

    Joined:
    Jan 16, 2006
    Messages:
    11
    This does not work. This does not recognize any added fakemon, seems that everything depends on the official server of the PS.
  6. Monte Cristo

    Monte Cristo Shots fired

    Joined:
    Jul 6, 2013
    Messages:
    1,286
    Uh, What files are you editing and what is the method you are using to use the pokemon in battle.

    To add your own pokemon you have to edit 3 files: pokedex.js and learnsets.js, and formats-data.js

    the edit you have to do to pokedex.js is quite the simple one if you can catch onto patterns, I'll use a *SIMPLIFIED* example from my server's mod: pop culture mons (simplified as in no new types or "formes" that are in my regular mod):
    Code:
    POKEDEX.JS: goku:{num:801,species:"Goku",types:["Fighting","Dragon"],gender:"N",baseStats:{hp:73,atk:145,def:65,spa:145,spd:65,spe:135},abilities:{0:"Moxie",DW:"Iron Fist"},heightm:1.5,weightkg:82.5,color:"Purple",eggGroups:["No Eggs"]};
    ( the ; depends if it the last pokemon in the file o coding or not, if it's the last then no ; if it's not the you put a ; at the end)
    just edit the stats names and typings and other things to your conveinece

    Code:
    LEARNSETS.JS: goku:{learnset:{machpunch:["5L1"],drainpunch:["5L1"],aurasphere:["5L1"],focusblast:["5L1"],closecombat:["5L1"],thunderpunch:["5L1"],icepunch:["5L1"],firepunch:["5L1"],bulkup:["5L1"],megapunch:["5L1"],megakick:["5L1"],suckerpunch:["5L1"],focuspunch:["5L1"],swordsdance:["5L1"]}};
    again the ; matters if it is the last learnset or if it is not.
    once again edit to your convenience

    FORMATS-DATA.JS:
    goku: {
    inherit: true,
    tier: 'PopCulture'
    },

    Honestly that should be it (note: you will find these 3 files in the data folder) I reccomend using git or source tree or even notepad++ to edit them ^_^ (I personally use source tree )

Users Viewing Thread (Users: 0, Guests: 0)