Mafia Theming/Coding Tutoring - Wanna learn to write your own themes?

Discussion in 'Mafia' started by Solace, Nov 5, 2013.

Thread Status:
Not open for further replies.
Moderators: Pamitha, Water
  1. Solace

    Solace Member

    Joined:
    Jun 6, 2013
    Messages:
    282
    Likes Received:
    15
    PO Trainer Name:
    Solace
    CURRENTLY NOT ACCEPTING NEW TUTEES. PLEASE PM ME TO RESERVE A SLOT IN THE NEXT ROUND OF TUTORING. THANKS.

    If you're interested in becoming a tutor, PM me either on here or on the server. I'm not going to make you fill out an application or some nonsense. I know who the coders in the community are.

    If you've ever wanted to code your own Mafia theme for the server but looked a mess like this and gave up
    Code (text):
    1. {
    2.             "role": "villager2",
    3.             "translation": "Pidgeotto",
    4.             "side": "village",
    5.             "help": "You've evolved into a Pigeotto! You still can't fight but your vote now counts as two! You can still use /train [your name] at night to have a chance at becoming stronger!",
    6.             "info": "Vote counts as 2. Has a 15% chance of evolving at night. Sided with the Friendly Birds.",
    7.             "actions": {
    8.             "vote": 2,
    9.                   "night" : {
    10.                         "train": {
    11.                         "failChance": 0.85,
    12.                         "command": "convert",
    13.                         "target": "OnlySelf",
    14.                         "common": "Self",
    15.                         "pierce": true,
    16.                         "priority": 42,
    17.                         "canConvert": ["villager2"],
    18.                         "newRole": "villager3",
    19.                         "convertmsg": "A Pidgeotto has evolved!"
    20.                         }}}
    21.         },
    then this thread is for you!

    If you're new to coding and have a true desire to learn how to to so, fill out the form below to enroll yourself into 1-on-1 tutoring with one of the grizzled coding veterans in the PO community who can teach you the ropes and have you cranking out your own masterworks in no time!
    That chunk of code up there is far less imposing than it looks on the surface and we can help you unpack every line of it and teach you to reassemble it in your own themes.

    But, wait! Before you sign-up, there are few requirements for becoming a tutee:
    • 1- You must already know how to play Mafia. If you don't know how the game works, I find it highly unlikely that you'll know how to script the mechanics for it. If you're looking to learn how to play the game, see the Mafia Tutoring thread here: http://pokemon-online.eu/forums/showthread.php?22954-Mafia-Tutoring-Round-3-Tutee-Signups
    • 2- You MUST be an active Mafian. If you're truly committed, we are more than willing to teach you. However, we don't need folks signing up and then never showing up again.
    • 3- You need to have downloaded and installed Notepad++. It is the primary program used by coders. You can find it here: http://notepad-plus-plus.org/

    How will the tutoring sessions work?
    Personally, I like Stypi https://code.stypi.com/gjt8qnmi for collaborative coding work so most of my sessions will use that site. I'm also open to giving out my Skype for anyone who's comfortable with that avenue of communication.
    We'll meet whenever it's convenient for both us and as often as possible. Some self-study using the resources on the forums will be expected (just to familiarize yourself with what all is possible within the code) in-between sessions.

    What will you learn?
    You'll learn how to work with JSON format, the different components of a theme's code, how to code those different components, and how to handle the QC Review process required to have a theme approved for playing on the server.

    Important Resources:
    How to Make Mafia Themes - http://pokemon-online.eu/forums/showthread.php?9793-How-To-Make-Mafia-Themes-(v2-0)
    Mafia Theme Documentation - http://pokemon-online.eu/forums/sho...eme-Documentation-2-0-(Updated-as-of-7-29-13)
    Pastebin - http://pastebin.com/
    JSONLine Code Validator - http://jsonlint.com/
    JSON Formatter (for arrays Lint can't handle) - http://jsonformatter.curiousconcept.com/
    RiceKriby's Theme Checker - http://icekirby.github.io/PO-stuff/mafiachecker/
    NP++ - Link above.
    Stypi - Link above.

    All right, now that you've (hopefully) read all of that, here's how you can apply to become a tutee:

    Server Name used most frequently:
    Time Zone:
    Usual Activity time:
    Do you have any experience working with JSON?:
    What experience do you have playing Mafia?:
    Have you taken part in a Theme Creation Competition on PO?:


    ---

    Current Tutors
    -Solace
    -Roild
     
    Last edited: Nov 24, 2013
  2. Epikhairz

    Epikhairz Delta Stream

    Joined:
    Mar 15, 2013
    Messages:
    929
    Likes Received:
    102
    PO Trainer Name:
    Epikhairz
    Server Name used most frequently: Epikhairz0603
    Time Zone: GMT -8
    Usual Activity time: Weekdays 3-5pm my time / erratic weekend schedule
    Do you have any experience working with JSON?: Little bit but not really
    What experience do you have playing Mafia?: Lol I used to be a Mafia regular and whatnot played for a whole year
    Have you taken part in a Theme Creation Competition on PO?: nope missed BOTH of them fml

    I'm already familiar with the QC process, having sent the once popular Juggernaut through review and then getting rejected

    just shut up and teach me to code lol
     
  3. Beast

    Beast I do what I want

    Joined:
    Sep 7, 2012
    Messages:
    925
    Likes Received:
    31
    3- You need to have downloaded and installed Notepad++. It is the primary program used by coders. You can find it here: http://notepad-plus-plus.org/

    I do not agree with this part of the requirements. It should say you need some thing that you can code in. Requiring a specific product is not fair and will probably lower the amount of people who want to be tutored.
     
  4. RudeStyle

    RudeStyle A year late x D

    Joined:
    May 21, 2011
    Messages:
    197
    Likes Received:
    36
    PO Trainer Name:
    RudeStyle
    Server Name used most frequently: RudeStyle
    Time Zone: GMT
    Usual Activity time: Basically between 4pm and 12am weekdays and anytime on the weekends.
    Do you have any experience working with JSON?: nop
    What experience do you have playing Mafia?: playing since 2011, time to start making my own themes :P
    Have you taken part in a Theme Creation Competition on PO?: No, since I was barely active on the forum.
     
  5. Solace

    Solace Member

    Joined:
    Jun 6, 2013
    Messages:
    282
    Likes Received:
    15
    PO Trainer Name:
    Solace
    NP++ is the easiest, least space-occupying downloadable script software there is, it's the only one I've ever seen anyone in this community use, and it's the one I'm most familiar with. For the sake of congruity whilst teaching, it feel that it's best that everyone be working with the same software so we can focus on the actual coding and not learning the differences and similarities between NP++ and all other script softwares and how to work those. The requirement is really asking for next nothing and and no one really has to abide by it since I can't prove it and our only interaction coding-wise will be through Stypi.
     
  6. Silone

    Silone Kanade <3

    Joined:
    Jul 31, 2013
    Messages:
    265
    Likes Received:
    3
    PO Trainer Name:
    Silone
    Server Name used most frequently:Silone
    Time Zone:GMT -6
    Usual Activity time:GMT -6 [4:30-6 or 7]
    Do you have any experience working with JSON?:Yes look down
    What experience do you have playing Mafia?:I don't get this one. I like to claim BG and get hatekilled. Knows how roles stuff and things
    Have you taken part in a Theme Creation Competition on PO?:Yep the current one
    Comment:Teach me how to code the hard stuff or a quit lol and I made some themes. Don't walk me through like a dummy lol
     
  7. Solace

    Solace Member

    Joined:
    Jun 6, 2013
    Messages:
    282
    Likes Received:
    15
    PO Trainer Name:
    Solace
    Ok, until I have more tutors, I can accept no more tutees. Three is the most I can handle at once alone.
     
  8. Roild

    Roild Member

    Joined:
    Jul 21, 2012
    Messages:
    861
    Likes Received:
    11
    PO Trainer Name:
    Roild
    I can teach people how to code, btw. I won't do it for them. I usually just let people ask me, but add my name to wherever if it helps. I also use Notepad++ and would recommend it's general use for mafia themes.
     
  9. Scatterbrain

    Scatterbrain You only live once*

    Joined:
    Jul 5, 2012
    Messages:
    865
    Likes Received:
    4
    NP++ is also free. Though I usually build my themes in Rice's checker themselves I wouldn't say it's useless.
     
  10. Sky Sentinel

    Sky Sentinel You see?

    Joined:
    Oct 21, 2012
    Messages:
    814
    Likes Received:
    24
    PO Trainer Name:
    Sky Sentinel
    I have never used NP++ to code anything at all, so I have to agree. So if I tutor someone it's never going to be dealing with it.
     
  11. inigomontoya

    inigomontoya Slightly Less Well-Known Member

    Joined:
    May 13, 2012
    Messages:
    344
    Likes Received:
    56
    PO Trainer Name:
    Yveltal / ddrox13
    Server Name used most frequently: Yveltal the BOLT
    Time Zone:GMT-5
    Usual Activity time:errrr... 5-9 PM (Not that whole time) And weekends
    Do you have any experience working with JSON?: I tried coding a theme before...
    What experience do you have playing Mafia?: A good bit (I spend 1-3 hrs online 5-6 days a week, and about 1/3 of it is mafia)
    Have you taken part in a Theme Creation Competition on PO?: Yes, The team one (Was on the Skillful Samurais team)
    Extra comment: I cannot use Skype for collaboration, or anything that uses voice. all chatrooms here. Also, N++ is causing me problems, but i should be able to fix it.
     
    Last edited: Nov 14, 2013
  12. pokemonwelove

    pokemonwelove New Member

    Joined:
    Nov 20, 2013
    Messages:
    3
    Likes Received:
    0
    Server Name used most frequently: Pokemonwelove
    Time Zone: EST
    Usual Activity time: 7:00-12:00 EST Mon-Fri, Random Weekend Times
    Do you have any experience working with JSON?: What is JSON?
    What experience do you have playing Mafia?: Lots, I guess
    Have you taken part in a Theme Creation Competition on PO?: Nope.
    Side Note: If I make a theme, it will be by myself, with no collaboration. I cannot use voice chat/Skype
     
  13. ZeUnholyBurger

    ZeUnholyBurger New Member

    Joined:
    Nov 18, 2013
    Messages:
    1
    Likes Received:
    0
    Server Name used most frequently: ZeUnholyBurger
    Time Zone: GMT
    Usual Activity time: Anytime after 5PM-11PM
    Do you have any experience working with JSON?: Very basic
    What experience do you have playing Mafia?: Been playing Mafia on PO for a few months but have been familiar with the concept for about 10 years+
    Have you taken part in a Theme Creation Competition on PO?: No
     
  14. Solace

    Solace Member

    Joined:
    Jun 6, 2013
    Messages:
    282
    Likes Received:
    15
    PO Trainer Name:
    Solace
    @EVERYONE who has applied up to this point:

    If you see me on the server, PM me, please.
     
  15. TheMarineRaccoon

    TheMarineRaccoon New Member

    Joined:
    Dec 7, 2013
    Messages:
    1
    Likes Received:
    0
    PO Trainer Name:
    TheMarineRaccoon
    Server Name used frequently: TheMarineRaccoon
    Time Zone: Central Time
    Usual Activity Time: Weekdays from 4:00 to 9:00 and I sometimes have time on weekends as well.
    Experience working with JSON: No experience at all =(
    Experience Playing Mafia: I have only been playing it on PO for the last 3 days, but I knew how to play Mafia for a while now.
    Have you taken part in a Theme Creation Competition on PO?: Nope
    I would love to learn how to code themes for Mafia because I have alot of great ideas =D
     
  16. GotchaBeyotch

    GotchaBeyotch Newbie ?

    Joined:
    Dec 19, 2013
    Messages:
    3
    Likes Received:
    0
    PO Trainer Name:
    GotchaBeyotch
    Server Name used most frequently: GotchaBeyotch
    Time Zone: IST +5:30
    Usual Activity time: IST 23:00 - 02:00
    Do you have any experience working with JSON?: Very very little
    What experience do you have playing Mafia?: Been playing hours for everyday for the better part of 2 months
    Have you taken part in a Theme Creation Competition on PO?: No

    Have started work on one but some guidance would be much appreciated.
     
Moderators: Pamitha, Water
Thread Status:
Not open for further replies.