Suggestion Thread!

Discussion in 'Mafia' started by GreenWater10, Jan 3, 2012.

Moderators: Pamitha, Water
  1. JhenMohran

    JhenMohran Random Art Guy

    Joined:
    Jun 2, 2013
    Messages:
    181
    Likes Received:
    0
    PO Trainer Name:
    JhenMohran
    Well yeah, but that would be the easy option :D
     
  2. Yttrium

    Yttrium Well-Known Member Developer Developer

    Joined:
    Sep 29, 2010
    Messages:
    619
    Likes Received:
    283
    PO Trainer Name:
    Yttrium
    Would it be possible to have Millers inspect as a certain role to different inspectors or have an inspect return a certain result depending on the role inspected?
     
  3. Roild

    Roild Member

    Joined:
    Jul 21, 2012
    Messages:
    861
    Likes Received:
    11
    PO Trainer Name:
    Roild
    That can be slightly done with use of sight and revealAs. I think that the use of dummy inspection modes can also do different things for inspections.
     
  4. Scatterbrain

    Scatterbrain You only live once*

    Joined:
    Jul 5, 2012
    Messages:
    865
    Likes Received:
    4
    A spark command (play on words with charges). Gives charges to a player. Attributes are target, common, priority (those three are necessary lol), chargescount (as in how many charges are supposed to be given), and actions (what actions it can affect, like shieldActions for shield). Just my two cents could make themes more oriented around supporting teammates.
     
  5. IceKirby

    IceKirby A.K.A. RiceKirby

    Joined:
    Apr 26, 2011
    Messages:
    2,176
    Likes Received:
    635
    PO Trainer Name:
    RiceKirby
    Or to make roles that drain your charges :3

    I will try coding it whenever I'm not lazy.
     
  6. Sky Sentinel

    Sky Sentinel You see?

    Joined:
    Oct 21, 2012
    Messages:
    814
    Likes Received:
    24
    PO Trainer Name:
    Sky Sentinel
    That could be really cool, you could base a pokemon theme around spite and pressure and moves with charges/PP
     
  7. Fuzzysqurl

    Fuzzysqurl baa baa mareep I do what I want Server Owner Developer I do what I want Server Owner Developer

    Joined:
    Sep 12, 2012
    Messages:
    2,096
    Likes Received:
    967
    I started to code this with "expend" in the Standby actions.

    Also, I had a theme idea that was going to use this, but just more of silent converts and all
     
  8. Scatterbrain

    Scatterbrain You only live once*

    Joined:
    Jul 5, 2012
    Messages:
    865
    Likes Received:
    4
    Roild is already doing things with PP in Clash (which is up for review) with Protect, Toxic, etc. -- I've played it quite a few times on his testing server. To see things like Ether (item), Spite, Pressure (ability), etc. be implemented with the use of convert and "spark" would be pretty powerful in the theme creation community.
     
  9. Roild

    Roild Member

    Joined:
    Jul 21, 2012
    Messages:
    861
    Likes Received:
    11
    PO Trainer Name:
    Roild
    :0 Clash isn't up for review. It's in theme critique. But it does use PP as charges for every action, bar the cutemons. Spite would be pretty cool though.
     
  10. Scatterbrain

    Scatterbrain You only live once*

    Joined:
    Jul 5, 2012
    Messages:
    865
    Likes Received:
    4
    Thought you put it in? Didn't it have like two bolded Tests at the time? Confused, I could have sworn it was up for Review.

    As is the topic on a spark command, I believe there should be a count - be it negative or positive, that gives the user that amount of charges (negative drains, default would be 1).
     
  11. Sky Sentinel

    Sky Sentinel You see?

    Joined:
    Oct 21, 2012
    Messages:
    814
    Likes Received:
    24
    PO Trainer Name:
    Sky Sentinel
    Lum Berry/Grudge anyone?
     
  12. Angel Flonne

    Angel Flonne macaron

    Joined:
    Jan 24, 2013
    Messages:
    509
    Likes Received:
    3
    PO Trainer Name:
    Angel Flonne
    Do you mean... Leppa... Instead of Lum?
    Anyway, this thing is pretty cool, but why would you need to use your command any more than 10 times? lol
     
  13. Scatterbrain

    Scatterbrain You only live once*

    Joined:
    Jul 5, 2012
    Messages:
    865
    Likes Received:
    4
    Just in case there are any big games. ;)

    And I'm pretty sure if we were to have a spark command, there would need to be restrictions like charges on the command itself or at least a recharge, in order to prevent stuff like Ukraine/Russia did (WW3 anyone? I think I had this up).

    Just in case someone wants to know what I'm referring to, Ukraine made Russia more powerful every turn.
     
  14. Sky Sentinel

    Sky Sentinel You see?

    Joined:
    Oct 21, 2012
    Messages:
    814
    Likes Received:
    24
    PO Trainer Name:
    Sky Sentinel
    Er, yeah. Lol.

    Gotta admit Grudge would be kinda cool for any theme, when someone kills you you TAKE AWAY THEIR KILL
     
  15. Scatterbrain

    Scatterbrain You only live once*

    Joined:
    Jul 5, 2012
    Messages:
    865
    Likes Received:
    4
    Can be done with a kill and copy, to a degree, just put that role in canCopy (or whatever it's called).

    I also suggest a convertIfPlayersAlive action, whereas you can define how many players are alive in order to convert.

    Code (text):
    1.  
    2. "actions": {
    3.     "onDeadRoles": {
    4.         "convertifPlayersAlive": 7,
    5.                                         {
    6.             "role1",
    7.             "role2"
    8.         },
    9.         "convertmsg": "The Werewolf gets lonely with only ~PlayersCount~ people left, so he joined the Good Players to keep them company!"
    10.     }
    11. }
    12.  
    ~PlayersCount~ could also be added to display how many people are alive at the moment.
     
  16. Sky Sentinel

    Sky Sentinel You see?

    Joined:
    Oct 21, 2012
    Messages:
    814
    Likes Received:
    24
    PO Trainer Name:
    Sky Sentinel
    But that's complicated and not the point
     
  17. Fuzzysqurl

    Fuzzysqurl baa baa mareep I do what I want Server Owner Developer I do what I want Server Owner Developer

    Joined:
    Sep 12, 2012
    Messages:
    2,096
    Likes Received:
    967

    Wouldn't that just convert night 1 because there are more than 7 players alive? What about if there are 8 people, then 2 die? It completely skips over 7. This wouldn't be plausible without some additional work on the back end.

    EDIT: Nevermind, I think I misunderstood. You mean if there are less than 7 players alive it converts? If so, that should be plausible and probably rather easy to add.
     
  18. IceKirby

    IceKirby A.K.A. RiceKirby

    Joined:
    Apr 26, 2011
    Messages:
    2,176
    Likes Received:
    635
    PO Trainer Name:
    RiceKirby
    Except not with the syntax he proposed, since that's not even a valid JSON.
     
  19. Scatterbrain

    Scatterbrain You only live once*

    Joined:
    Jul 5, 2012
    Messages:
    865
    Likes Received:
    4
    It should resolve at the end of the night like convertIfDeadRoles just in case something...weird...could happen, especially with testing scripts that add players.

    bleh, I'm not an expert at scopes
     
  20. -Mike-

    -Mike- hi

    Joined:
    Sep 5, 2013
    Messages:
    352
    Likes Received:
    5
    PO Trainer Name:
    Mike Jenkins
    just a stupid suggestion with which i cant find any cons

    how about a command /slay if someone wants a slay. then someone who is waiting for joining the game can type /join or something and he will switch the one who wants the slay. it can say something like "player x switched the roles with player y". dont know if possible to code or its a part of the server scripts
     
  21. Roild

    Roild Member

    Joined:
    Jul 21, 2012
    Messages:
    861
    Likes Received:
    11
    PO Trainer Name:
    Roild
    Any way to make Teamtalk a different color or even bolded or something? Making it stick out would be helpful, not to mention it would be easier to distinguish from the faking of it like "[Team] blah".
     
  22. IceKirby

    IceKirby A.K.A. RiceKirby

    Joined:
    Apr 26, 2011
    Messages:
    2,176
    Likes Received:
    635
    PO Trainer Name:
    RiceKirby
    I submitted the code to prevent people from faking Team Talk messages. Changing the formatting, although not hard to code, would require HTML messages, which always annoys me when coding :x
     
  23. Scatterbrain

    Scatterbrain You only live once*

    Joined:
    Jul 5, 2012
    Messages:
    865
    Likes Received:
    4
    Not even a bad idea. This is sort of like RTM/Forum Mafia where you can sub in for a player.
     
  24. Marquis

    Marquis beez in the whazzit??

    Joined:
    Jan 26, 2013
    Messages:
    259
    Likes Received:
    47
    Thinking of making a theme on a whim again. Is packaged spawn a thing yet? As in, sets of random spawn roles rather than just individual random spawn, as a way to give scum clear fakeclaims in hidden current roles lists?
     
  25. Angel Flonne

    Angel Flonne macaron

    Joined:
    Jan 24, 2013
    Messages:
    509
    Likes Received:
    3
    PO Trainer Name:
    Angel Flonne
    I was thinking of the above too.
    Because currently you can only have
    A or B
    C or D
    If you wanted A and C together or B and D together, that would be impossible, so I suggest this is implemented.
     
  26. IceKirby

    IceKirby A.K.A. RiceKirby

    Joined:
    Apr 26, 2011
    Messages:
    2,176
    Likes Received:
    635
    PO Trainer Name:
    RiceKirby
    If you can suggest the syntax for that, I could try coding it.
     
  27. Roild

    Roild Member

    Joined:
    Jul 21, 2012
    Messages:
    861
    Likes Received:
    11
    PO Trainer Name:
    Roild
    How about having multiple sets of roles lists? For example,

    Code (text):
    1.  
    2. "setA": {
    3. "roles1": [
    4. "blah blah",
    5. "blah",
    6. {"blahpoop": 0.1, "blahpee": 0.1},
    7. "blah",
    8. "bloop"
    9. ],
    10. "roles2": [
    11. "etc etc etc"
    12. ]
    13. },
    14. "setB": {
    15. "roles1": [
    16. "blah2",
    17. "blah2",
    18. "bloop2",
    19. {"etc": 0.1, "etcetc": 0.2}
    20. ]
    21. }
    22.  
    23.  
    24.  
     
  28. IceKirby

    IceKirby A.K.A. RiceKirby

    Joined:
    Apr 26, 2011
    Messages:
    2,176
    Likes Received:
    635
    PO Trainer Name:
    RiceKirby
    Where would you set the chances for setA or setB?
    Also, having the Spawn Lists being random is totally going to make the "Players: 5-12 players" part of /roles a pain to adjust/understand :x
     
  29. Roild

    Roild Member

    Joined:
    Jul 21, 2012
    Messages:
    861
    Likes Received:
    11
    PO Trainer Name:
    Roild
    I just assumed it'd all be random. There'd have to be another thing for that

    Code (text):
    1.  
    2. "randomSpawn": {
    3. "setA(or any name for this?)": 0.1,
    4. "setB": 0.1,
    5. "setC": 0.3
    6. }
    7.  
    so 20% setA, 20% setB, 60% setC. Not sure if the name of the sets should be changed. Prob no reason for that and "setX" works for up to 26 sets. Or switch to numbers set1, set2, set3, for an unlimited amount.

    As for the Players thing, :(. Wish I could help.
     
  30. Marquis

    Marquis beez in the whazzit??

    Joined:
    Jan 26, 2013
    Messages:
    259
    Likes Received:
    47
    Roild's idea works and allows for more open-endedness/features than if there were only one "set".
     
  31. Scatterbrain

    Scatterbrain You only live once*

    Joined:
    Jul 5, 2012
    Messages:
    865
    Likes Received:
    4
    And how exactly would you define the sets?
     
  32. IceKirby

    IceKirby A.K.A. RiceKirby

    Joined:
    Apr 26, 2011
    Messages:
    2,176
    Likes Received:
    635
    PO Trainer Name:
    RiceKirby
    Roild's suggestion is something like this:
    Code (text):
    1. "randomSpawn": {
    2.     "set1": 0.5,
    3.     "set2": 0.2,
    4.     "set3": 0.3
    5. },
    6. "set1": {
    7.     "roles1": [
    8.         "insertSpawnHere"
    9.     ],
    10.     "roles2": [
    11.         "insertSpawnHere"
    12.     ]
    13. },
    14. "set2": {
    15.     "roles1": [
    16.         "insertSpawnHere"
    17.     ],
    18.     "roles2": [
    19.         "insertSpawnHere"
    20.     ]
    21. },
    22. "set3": {
    23.     "roles1": [
    24.         "insertSpawnHere"
    25.     ],
    26.     "roles2": [
    27.         "insertSpawnHere"
    28.     ]
    29. }
    This format still have some problem though. Other than the "±Players: 5-15 Players" line that is automatically generated requiring a revamp to support Random Spawn Lists, there are the compatibility with the simple spawn list (what if a theme puts both?) and with the maximum number of players (what if set 1 allows for a different amount of players than set 2?). Of course, they are not impossible to solve, but with so many issues around, I'd rather use a different format that doesn't require multiples sets of spawn lists.
     
  33. Sky Sentinel

    Sky Sentinel You see?

    Joined:
    Oct 21, 2012
    Messages:
    814
    Likes Received:
    24
    PO Trainer Name:
    Sky Sentinel
    Now that there's a rule against team talk faking I don't think the differentiation is needed. Or maybe it's needed even more.
     
  34. -Mike-

    -Mike- hi

    Joined:
    Sep 5, 2013
    Messages:
    352
    Likes Received:
    5
    PO Trainer Name:
    Mike Jenkins
    Yes it is. It would help for larger games or games like Mike wanting to get slayed etc.
     
  35. Roild

    Roild Member

    Joined:
    Jul 21, 2012
    Messages:
    861
    Likes Received:
    11
    PO Trainer Name:
    Roild
    So not full sets then? Then how about something like this for Fruit:

    Code (text):
    1.  
    2.  
    3.  
    4.  
    5.  
    6.    "role1":[
    7.       {
    8.          "split":{
    9.             "set1":{
    10.                "apple":0.4,
    11.                "banana":0.2,
    12.                "grape":0.4
    13.             },
    14.             "set2":"banana"
    15.          }
    16.       },
    17.       "banana",
    18.       {
    19.          "split":{
    20.             "set1":{
    21.                "fish1":0.1,
    22.                "fish2":0.2
    23.             },
    24.             "set2":"chicken"
    25.          }
    26.       },
    27.       {
    28.          "split":{
    29.             "set1":"mango",
    30.             "set2":"pineapple"
    31.          }
    32.       },
    33.       {
    34.          "split":{
    35.             "set1":"rtomato",
    36.             "set2":"rpotato"
    37.          }
    38.       },
    39.       "banana",
    40.       "grape"
    41.    ],
    42.  
    43. "randomSpawn": {
    44.     "set1": 0.5,
    45.     "set2": 0.2
    46. },
    47.  
    48.  
    Allows for a variable per set and also for a direct choice. This one also allows for one role in both sets. If it'd be easier, every role could require a split. Just another example of something. :0
     
  36. Scatterbrain

    Scatterbrain You only live once*

    Joined:
    Jul 5, 2012
    Messages:
    865
    Likes Received:
    4
    I think we need a cooldown on /votetheme. Currently, there's no limit on how long you can start a vote for a theme with this method (without directly starting it), but you have a 5-game cooldown on automatically starting a theme with /starttheme.

    Certain users are doing and the userbase is getting really annoyed about this. I also suggest that you can't vote a theme that you currently voted for.

    If you don't get what I'm trying to say, let me put a log from earlier:

    (14:24:00) ***************************************************************************************
    (14:24:00) ±Game: Redacted username started a voting for next game's theme! You have 20 seconds to vote with /vote or /votetheme!
    (14:24:00) ±Game: Choose from these themes: Default, Zelda, Creatures, Rotom, ss, Lyncher !
    (14:24:00) ***************************************************************************************

    (14:24:00) ±Game: Redacted username voted for Zelda!
    (14:24:00) ±Game: Redacted username changed their vote to Zelda!
    (14:24:00) ±Game: A game is going on. Wait until it's finished before trying to start another one
    (14:24:00) ±Game: You can join the current game by typing /join !
    (14:24:01) ±Game: Redacted username changed their vote to Zelda!
    (14:24:04) Kagari: Redacted username -_-
    (14:24:04) Arid Dream: WHY
    (14:24:04) ±Game: Ghastly voted for Rotom!
    (14:24:09) Matt Ayala: Redacted username, can you please stop spamming your vote?
    (14:24:09) Ghastly: dont vote for what he wants
    (14:24:09) Arid Dream: STOP
    (14:24:09) ±Game: Kagari voted for Zelda!
    (14:24:10) Ghastly: please
    (14:24:12) ±Game: Matt Ayala voted for Zelda!
    (14:24:16) Ghastly: .-.
    (14:24:19) ±Game: Captain Zelgius voted for Zelda!

    (14:24:20) ±Game: Theme Zelda won with 4 votes!
    (14:24:20) ±Game: Type /Join to enter the game!

    With the change, you are no longer allowed to vote a theme you have currently voted. Afaik, there is no variable that defines which theme you've voted for (call it votedTheme perhaps?), but that doesn't stop my suggestion.

    The script basically prevents you from voting a theme that the variable votedTheme is defined as, so for example the redacted user is not allowed to vote Zelda unless he switches his vote to ss, or any other theme.

    Also, excuse my minimodding from the log, but it clutters the chat and is extremely annoying...
     
  37. Hopkirk

    Hopkirk +C

    Joined:
    Jan 30, 2013
    Messages:
    132
    Likes Received:
    18
    PO Trainer Name:
    Hopkirk
    So why is it bad that democracy is trumping over fast individuals.
     
  38. Scatterbrain

    Scatterbrain You only live once*

    Joined:
    Jul 5, 2012
    Messages:
    865
    Likes Received:
    4
    The same person was starting the vote over and over again, and he kept on spamming his vote [he c/ped /votetheme zelda until it wouldn't let him and it flooded the chat up to an extent, he kept on ninja'ing everyone, then some mafia players flipped out etc etc].

    Obviously we don't want the same people starting a vote all over again, especially when theme creators have to start their own themes and test them.
     
  39. Beast

    Beast I do what I want

    Joined:
    Sep 7, 2012
    Messages:
    925
    Likes Received:
    31
    The voting theme is not a problem the spamming thing should be brought to the attention of an MA when it happens and it will be handled there.
     
  40. Withoutatrace

    Withoutatrace im a filthy weeb

    Joined:
    Jun 11, 2013
    Messages:
    563
    Likes Received:
    370
    PO Trainer Name:
    Withoutatrace
    The ability to vote multiple times for that one theme is due to the ability to vote for another theme in the voting theme process, if you wish. You could restrict it to where you can only vote for that theme once, unless you vote another theme, however it wouldn't really be a high priority since, as Beast said, MAs can deal with it.
     
Moderators: Pamitha, Water