Why not use C#?

Discussion in 'Development General' started by Achilles, Jul 15, 2010.

Thread Status:
Not open for further replies.
  1. Achilles

    Achilles Guest

    Hey guys,

    I'm interested in becoming a developer for Pokemon Online. I don't know C++, but I have a good knowledge of C# and I'm learning how to develop using Visual Studio. I was wondering why you guys don't use C#, since most people tend to prefer it over C++.

    Also, if you're going to stick to C++, can I help out anyways? I think the languages are pretty similar and I'd be interested in increasing my programming knowledge.

    Thanks.
     
  2. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Because C# needs a virtual machine, and C# is designed for windows, not linux or mac. (if i remember correctly)

    Anyway, if you want to program, we'd be glad :)

    We can help you out too if you have troubles, and i'd explain / comment any part of the code that's not clear if you asked.
     
  3. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    C# can run on Mac / Linux with mono, but it doesn't always work. It's true that C# can run on most people PCs since they have Windows

    Qt is a very good platform to work with, it can run on Windows/Mac/Linux/Symbian at least
     
  4. Mystra

    Mystra Active Member

    Joined:
    Jul 12, 2010
    Messages:
    1,389
    Likes Received:
    4
    However Mono is behind .NET and Linux users (dunno about Mac users) don't really fond of installing Mono which is slow to start and eats more memory.

    Qt is a pretty solid choice. One of the reaseons I actually like this project - it's cross platform and not run in a virtual machine (which is OS in OS by itself). I didn't hope to see native application for my Linux system. And found this one mentioned on 4chan. Nice :)
     
  5. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    It's like using Java, only probably worse on non-windows-machines.... Thought on Windows it has good integration.

    I'll bet coyotte will get a nice job when he mentions Pokemon Online ...
     
  6. Achilles

    Achilles Guest

    Yeah, I'm eager to learn and help out. Awaiting first assignment!
     
  7. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    First assignment: download the source using git and compile it. We can help.
     
  8. Achilles

    Achilles Guest

    Source downloaded and compiled. I'm using QtCreator. What's next boss?
     
  9. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    You can take something from the todo list. If you wish to do something particular, i'd prefer you'd tell me what part you are unsure about or what you would want to be explained in the source first. You can also join #po on irc.freenode.net if you want to talk about development in real time.

    Also, i don't know your level yet =). You can also try, if you want, creating an output file of all the pokémons and their associated attacks of 4th gen (and 4th gen only), like so:

    Code (text):
    1. Bulbasaur: Move 1
    2. Bulbasaur: Move 2
    3. ...
    4. Ivysaur: Move 1
    5. Ivysaur: Move 2
    6. ...
    I'd do it otherwise, it will be used to compare the database with other website's databases and see wrong moves.

    You can also look at the suggestions in the forums (like being able to change the css file location, ...)

    Well, do whatever you want most, and if you want any explanation to go faster don't hesitate. As said earlier, i can clean up / comment some code too to make it more understandable, no problems.
     
  10. eric the espeon

    eric the espeon is an espeon.

    Joined:
    Apr 21, 2010
    Messages:
    854
    Likes Received:
    1
    one for 4th gen and one for third would be what i'd need to fix everything (it makes sense to do third gen first since move transfer to the 4th gen from there). But I'd guess the same process could be run twice on different files?
     
  11. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    With the sim as is, doing 4th gen first is more simple. (Because TMs aren't gen specific)
     
  12. eric the espeon

    eric the espeon is an espeon.

    Joined:
    Apr 21, 2010
    Messages:
    854
    Likes Received:
    1
    Other than adding new Pokemon and TMs, the only changes to the TM learnsets are as follows:
    Gen 3 only:
    Kabuto:Aerial Ace

    Hoothoot:Flash (Pal Park Restriction)
    Noctowl:Flash (Pal Park Restriction)

    Gen 4 only:
    Magmar:Overheat
    Magby:Overheat
    Entei:Overheat
    Manectric:Overheat

    Mr. Mime:Aerial Ace
    Heracross:Aerial Ace
    Hitmontop:Aerial Ace
    Flygon:Aerial Ace

    Sudowoodo:Torment
    Gligar:Torment

    Ninetales:Calm Mind
    Baltoy:Calm Mind
    Claydol:Calm Mind

    Remoraid:Bullet Seed
    Mantine:Bullet Seed

    Gligar:Taunt
    Qwilfish:Taunt

    Lunatone:Blizzard

    Mantine:Hyper Beam
    Torkoal:Hyper Beam

    Slowpoke:Light Screen
    Slowbro:Light Screen
    Magnemite:Light Screen
    Magneton:Light Screen
    Jolteon:Light Screen
    Slowking:Light Screen
    Raikou:Light Screen
    Electrike:Light Screen
    Manectric:Light Screen

    Roselia:Rain Dance

    Baltoy:Safeguard
    Claydol:Safeguard

    Magcargo:SolarBeam
    Blaziken:SolarBeam
    Camerupt:SolarBeam
    Torkoal:SolarBeam
    Charizard:SolarBeam
    Ninetales:SolarBeam
    Arcanine:SolarBeam
    Moltres:SolarBeam
    Typhlosion:SolarBeam

    Swalot:Earthquake
    Torkoal:Earthquake

    Psyduck:Psychic
    Golduck:Psychic
    Murkrow:Psychic

    Diglett:Sandstorm
    Dugtrio:Sandstorm

    Charmander:Rock Tomb
    Charmeleon:Rock Tomb
    Charizard:Rock Tomb
    Squirtle:Rock Tomb
    Wartortle:Rock Tomb
    Blastoise:Rock Tomb
    Arbok:Rock Tomb
    Typhlosion:Rock Tomb
    Totodile:Rock Tomb
    Croconaw:Rock Tomb
    Feraligatr:Rock Tomb
    Pineco:Rock Tomb
    Forretress:Rock Tomb
    Teddiursa:Rock Tomb
    Mantine:Rock Tomb
    Skarmory:Rock Tomb
    Larvitar:Rock Tomb
    Pupitar:Rock Tomb
    Breloom:Rock Tomb
    Slakoth:Rock Tomb
    Vigoroth:Rock Tomb
    Slaking:Rock Tomb
    Loudred:Rock Tomb
    Exploud:Rock Tomb
    Torkoal:Rock Tomb
    Zangoose:Rock Tomb
    Lileep:Rock Tomb
    Absol:Rock Tomb
    Regice:Rock Tomb
    Rayquaza:Rock Tomb

    Electrike:Flamethrower
    Manectric:Flamethrower

    Tangela:Shock Wave

    Grimer:Shadow Ball
    Muk:Shadow Ball
    Raikou:Shadow Ball
    Entei:Shadow Ball
    Suicune:Shadow Ball
    Mawile:Shadow Ball

    Paras:Brick Break
    Parasect:Brick Break
    Krabby:Brick Break
    Kingler:Brick Break
    Scyther:Brick Break
    Gligar:Brick Break
    Scizor:Brick Break
    Delibird:Brick Break
    Marshtomp:Brick Break
    Grumpig:Brick Break
    Cacnea:Brick Break
    Cacturne:Brick Break
    Dusclops:Brick Break

    Tangela:Reflect

    Zubat:Fly
    Golbat:Fly

    Exploud:Surf

    Grimer:Strength
    Vaporeon:Strength
    Jolteon:Strength
    Flareon:Strength
    Ledian:Strength

    Beedrill:Flash
    Skarmory:Flash
    Lugia:Flash
    Lileep:Flash
    Cradily:Flash

    Clefairy:Rock Smash
    Clefable:Rock Smash
    Vaporeon:Rock Smash
    Jolteon:Rock Smash
    Flareon:Rock Smash
    Snorlax:Rock Smash
    Ledian:Rock Smash
    thanks to wild eep for checking the first 30 TMs and the HMs. And apparently TM ripping is apparently fairly easy/accurate compared to tutors and the like, so it should not be too hard to deal with.
     
    Last edited: Aug 18, 2010
  13. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Alright. Then in the future i'll make two separate TM files.
     
  14. eric the espeon

    eric the espeon is an espeon.

    Joined:
    Apr 21, 2010
    Messages:
    854
    Likes Received:
    1
    Updated list of TM/HM changes with HMs. If you like, I can make a 3rd gen TM/HM file with the move machine.
     
  15. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    No... PO doesn't manage different TM/HMs for now.
     
  16. eric the espeon

    eric the espeon is an espeon.

    Joined:
    Apr 21, 2010
    Messages:
    854
    Likes Received:
    1
    Not for right now, but for the future. In the post above you said that in future they would be separate. I could edit the current 4th gen TM/HM list to become a 3rd gen one, then give you that.
     
  17. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Alright. I'll ask you when i'll be doing 3rd gen then =)
     
Thread Status:
Not open for further replies.