Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Sorunome

Pages: 1 ... 531 532 [533] 534 535 ... 591
7981
Computer Projects and Ideas / Re: [contest] MafiaBot
« on: August 06, 2012, 07:09:43 am »
What's a good number of people who are mafia compared to citizens?
I made now that max 25% of all users can be mafia
EDIT: for those who haven't noticed, atm MafiaBot is running on #omnimaga-spam for some testing :D
usage (need to program a help section, lol (if you are on OmnomIRC replace /msg MafiaBot with /msg Sorunome):
general:
creating new account: /msg MafiaBot new user <username> <password>
logging in: /msg MafiaBot login <username> <password>
logging out: /msg MafiaBot logout

joining game (not working if a game is running):
joining: >join
leaving: >leave
display users joined: >users
start the game: >start

in-game:
find out username of irc nick: /msg MafiaBot whois <nick>
>whois <nick>
find out irc nick of username: /msg MafiaBot whoisirc <nick>
>whoisirc <nick>
your role: /msg MafiaBot whoami
night (mafia only):
Display users: /msg MafiaBot users
Vote for user to be killed: /msg MafiaBot vote <user>
Display number of votes: /msg MafiaBot votes <user>
day (everyone):
Display users: >users
Vote for user to be killed: >vote <user>
Display number of votes: >votes <user>

things to add:
changing username, changing password, deleting account, cool stuff :D

7982
Site Feedback and Questions / Re: \" fail on login page?
« on: August 06, 2012, 04:27:16 am »
You could write a program to mod the database correctly :P
(and of course, first copy it and then mod the copied database to prevent data loss)

7983
That sounds interesting! :D

7984
Computer Projects and Ideas / Re: [Contest] IRC quizzer bot
« on: August 05, 2012, 03:51:12 pm »
Nice, in which directions will the questions go? Programming? or what? :P
And will users be able to add questions?

7985
Computer Projects and Ideas / Re: [Contest] Dungeons & Dragons Bot
« on: August 05, 2012, 03:33:03 pm »
Nice, can't wait to see first results :P

7986
Computer Projects and Ideas / Re: Contest: Coding Battles Topic Poll
« on: August 05, 2012, 03:18:59 pm »
here it's same time and i program anyways :P
for anyone who's looking for a server that allows fast reconnection, I use this one: efnet.port80.se

7987
Computer Projects and Ideas / MafiaBot - A IRC bot to play mafia
« on: August 05, 2012, 03:11:29 pm »
MafiaBot
Online on #omnimaga-games
So, what is it about? It's all about playing mafia! If you don't know the game then check out http://en.wikipedia.org/wiki/Mafia_(game)
Now, this bot plays the game manager/narrator.
So now, how do I use this bot?
Spoiler For Commands:
CommandDescription
new userCreates a new user: /msg MafiaBot new user <username> <password>
loginLogs into a account: /msg MafiaBot login <username> <password>
logoutLogs out: /msg MafiaBot logout
set passwordChanges password: /msg MafiaBot set password <oldpasswd> <newpasswd>
set usernameChanges username: /msg MafiaBot set username <newUsername>
set emailSets a email to a account: /msg MafiaBot set email <email>
recoverpasswdRecovers a password of a account via email: /msg MafiaBot recoverpasswd <username>
whoisReturns which username has the irc user: (/msg MafiaBot whois|>whois) <nickOnIRC>
whoisircReturns irc user has the username: (/msg MafiaBot whois|>whois) <nickForBot>
whoamiReturns your user role: /msg MafiaBot whoami
usersReturns the users which have currently joined the game: (/msg MafiaBot users|>users)
voteVote for a person to be killed (pm mafia only at night): (/msg MafiaBot vote|>vote) <username>
votesReturns the current votes for someone (pm mafia only at night): (/msg MafiaBot votes|>votes) <username>
votedReturns the users which already have voted: >voted
notvotedReturns the uers which haven't voted yet: >notvoted
bombBombs a person, terrorist only. You will die too: >bomb <username>
saveSave a person at night (doctor only): /msg MafiaBot save <username>
joinJoins the game, only possible if not in-game:  >join
leaveLeaves the game, only possible if not in-game: >leave
startStarts a game with <args> special users, seperated with comma (,): >start <args>
specialCharactersIf in-game it displays the special characters used, else the ones available. >specialCharacters
timeOutputs the current time (day/night): >time
So, now that we have all commands it would be awesome to know each character:
Spoiler For Characters:
CharacterDescription
CitizenYou are citizen, you can just vote at day who to kill, your goal is to kill all mafia.
DetectiveYou are detective, part of the citizen community. During night you can find out who is mafia and who not.
DoctorYou are doctor, part of the citizen community. During night you can save a person from death, but you don't know who will die.
JustinYou are justin. If you manage to be killed in the first round you win the game, otherwise you are a normal citizen.
HunterYou are hunter, part of the citizen community. If you are killed you can kill immidatley one other person.
GardenerYou are gardener, part of the citizen community. If the detective spys on you he thinks you are for the mafia.
FoolYou are fool, your own party. If you are killed in the night you don't die, you are 'sharpened'. If you are voted to death during day and are 'sharpened' you win. If you die in other ways you lose.
FreemasonYou are a freemason, part of the citizen community. You know all other freemasons and know for sure that they are not mafia.
MatchmakerYou are matchmaker, part of the citizen community. During nighttimes must choose two people and it returns if they are in the same group or not.
MafiaYou are mafia. Your gole is it to kill all citizens. You can kill a citizen at nighttime!
TerroristYou are terrorist, part of the mafia community. You can't vote during night-time as the other mafia, you don't even know who the other mafia is. The other mafia also don't know who you are. During daytime you can bomb a person, that person will die immediately, so will you.
GodfatherYou are godfather, part of the mafia community. If the detective spys on you he thinks you are for the citizens.
About starting the game - I tried to make it as user-friendly as possible so when starting the game you can choose which special characters to use. You have to have at least 4 users joined the game to be able to start it. Then, you can type ">start" to start without any special characters, or, if you prefer with special characters you can do stuff like this (now for doctor and detective as special characters) ">start doctor,detective". If you enter some stuff invalid like to many special characters etc. it will only display that it is invalid, not why, as that would have been a LOT more complex. If your type-lazy you can also only type the first three letters of a character, so for doctor and detective it would be ">start doc,det".

Admin-stuff:
MafiaBot features also a user-right system, it is only there to prevent if someone blocks a game or something like that.
Spoiler For admin-commands:
CommandDescription
set adminSets a person as admin. Admin only: /msg MafiaBot set admin (true|false) <user>
kickKicks a user if not in-game. Admin only: >kick <user>
quitgameQuits the current game. Admin only: >quitgame
So, have fun playing mafia!
And if you have any problems or found any bug feel free to email me!
Spoiler For original message:
My entry for coding battles is....a mafia bot!
Yes, the classic game mafia. It will manage everything.
Just thought I'll post this so that no one will steal my idea :P

7988
Computer Projects and Ideas / Re: Contest: Coding Battles Topic Poll
« on: August 05, 2012, 02:54:56 pm »
It isn't over yet, in 5 mins (if my clock is correctly)

7989
OmnomIRC Development / Sorunome bug
« on: August 05, 2012, 02:32:23 pm »
D: I am a bug D:
Well, I noticed that I was 5 times in the list, 4 of 'em from irc, but I was just twice on irc, and the irc ones were all named "Sorunome_" instead of "Sorunome"


7990
Computer Projects and Ideas / Re: Contest: Coding Battles Topic Poll
« on: August 05, 2012, 12:13:51 pm »
Will we be allowed to reuse some old code we made (like the basic irc connection) or shall we start everything from scratch?

7991
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: August 05, 2012, 11:13:40 am »
3168: You try to get other people interested in omnimaga

7992
Computer Projects and Ideas / Re: Contest: Coding Battles Topic Poll
« on: August 05, 2012, 04:23:37 am »
Just noticed, suddenly the irc bots are leading, maybe we won't have a tie :P
EDIT: How much time will we have again for coding?

7993
Site Feedback and Questions / Quote fail on minus world?
« on: August 05, 2012, 04:20:42 am »
Just noticed that on a topic from the minus world the links for quotes don't appear correctly. I don't know if it has to do with the minus world or not, but i think it does.

topic: http://www.omnimaga.org/index.php?topic=-1790.msg258613;topicseen#new

7994
Computer Projects and Ideas / Re: Contest: Coding Battles Topic Poll
« on: August 05, 2012, 04:20:24 am »
^you stole my idea! >:(
Well, i'd do it that way too :P

7995
Site Feedback and Questions / Re: \" fail on login page?
« on: August 05, 2012, 04:16:51 am »
(and we're way behind in updates).
Why not update then the software?

Pages: 1 ... 531 532 [533] 534 535 ... 591