Random Generator (Mafia Scum Tools) is complete!

This forum is for discussion related to the game.
User avatar
NerdNetworkAdmin
NerdNetworkAdmin
Townie
User avatar
User avatar
NerdNetworkAdmin
Townie
Townie
Posts: 26
Joined: May 26, 2004
Location: Australia

Post Post #25 (ISO) » Tue Dec 07, 2004 6:32 pm

Post by NerdNetworkAdmin »

Hmmm... I just noticed something.

Parts of the Mafia Scum Tools Generator are now failing to work - regarding sorting by name or entering player names at the front page :(

Maybe it is because of SourceForge.net updates in PHP and so on. Does anyone else experience these problems?

Regards,
Matthew (Nerd Nation Admin)
Mafia Scum Tools is now available at: http://adv-random-gen.sf.net/rand-gen/mafia/ .
User avatar
Mastermind of Sin
Mastermind of Sin
Cassandra Complex
User avatar
User avatar
Mastermind of Sin
Cassandra Complex
Cassandra Complex
Posts: 15163
Joined: October 30, 2004
Location: Sleeping with the Godfather's Daughter

Post Post #26 (ISO) » Wed Dec 08, 2004 5:30 pm

Post by Mastermind of Sin »

this url leads to a working download

http://sourceforge.net/projects/adv-random-gen

however, my computer can't recognize any of the files I downloaded...is there a certain program I need to be able to run them?
Permanent V/LA.
User avatar
NerdNetworkAdmin
NerdNetworkAdmin
Townie
User avatar
User avatar
NerdNetworkAdmin
Townie
Townie
Posts: 26
Joined: May 26, 2004
Location: Australia

Post Post #27 (ISO) » Wed Dec 08, 2004 10:53 pm

Post by NerdNetworkAdmin »

Hmmm.... Can you give me any more information... For instance: Which file you downloaded?

There are three file formats:
.zip
.tar.gz
.tar.bz2

Windows only natively supports zip. Linux supports all three.

Perhaps that answers your question. If not, please reply ;).

Thanks,
Nerd Nation Admin
Mafia Scum Tools is now available at: http://adv-random-gen.sf.net/rand-gen/mafia/ .
User avatar
Mastermind of Sin
Mastermind of Sin
Cassandra Complex
User avatar
User avatar
Mastermind of Sin
Cassandra Complex
Cassandra Complex
Posts: 15163
Joined: October 30, 2004
Location: Sleeping with the Godfather's Daughter

Post Post #28 (ISO) » Thu Dec 09, 2004 6:54 am

Post by Mastermind of Sin »

.zip

I use Windows XP Pro

it unzipped fine...it was the files inside I couldn't run...
Permanent V/LA.
User avatar
NerdNetworkAdmin
NerdNetworkAdmin
Townie
User avatar
User avatar
NerdNetworkAdmin
Townie
Townie
Posts: 26
Joined: May 26, 2004
Location: Australia

Post Post #29 (ISO) » Sun Dec 12, 2004 5:04 pm

Post by NerdNetworkAdmin »

Ah...

I take it you tried to execute the *.php files? These files are designed to be run from an http server, not as a stand alone application. To use it, you must visit a site that has downloaded and added to the tool to their website. The official server is located @: http://adv-random-gen.sf.net/rand-gen/.

However, if the demand is high enough, I shall try to create a standalone (*.exe for windows, and one for linux as well) application version of this tool.

P.S. Can anyone confirm errors when using the enter name instead of numbers in front screen:
Fatal error: [] operator not supported for strings in /var/local/home/groups/a/ad/adv-random-gen/htdocs/rand-gen/index.php on line 74?

Regards,
Matthew (Nerd Nation Admin)
User avatar
Stewie
Stewie
Mafia Scum
User avatar
User avatar
Stewie
Mafia Scum
Mafia Scum
Posts: 2567
Joined: July 16, 2003
Location: Canada

Post Post #30 (ISO) » Sun Dec 12, 2004 5:13 pm

Post by Stewie »

If I'd know what this tool does, I'd try to make an exe myself, just for fun. Do you know any website that already installed this program, so I can check it out?
User avatar
Mastermind of Sin
Mastermind of Sin
Cassandra Complex
User avatar
User avatar
Mastermind of Sin
Cassandra Complex
Cassandra Complex
Posts: 15163
Joined: October 30, 2004
Location: Sleeping with the Godfather's Daughter

Post Post #31 (ISO) » Sun Dec 12, 2004 5:18 pm

Post by Mastermind of Sin »

Fatal error: [] operator not supported for strings in /var/local/home/groups/a/ad/adv-random-gen/htdocs/rand-gen/index.php on line 74

confirmed...
Permanent V/LA.
User avatar
NerdNetworkAdmin
NerdNetworkAdmin
Townie
User avatar
User avatar
NerdNetworkAdmin
Townie
Townie
Posts: 26
Joined: May 26, 2004
Location: Australia

Post Post #32 (ISO) » Mon Dec 13, 2004 6:41 pm

Post by NerdNetworkAdmin »

Hurrah:- I have isolated the problem. The shell and the mafia scum tools php scripts had a variable which had doubled up. Despite the lack of my computer, I shall try to release a fix for that.

i.e. shell-1.0

The changes will be effective immediately on the official site.

Stewie -> The official site for it is: http://adv-random-gen.sf.net/rand-gen/.

NOTE: BUG HAS BEEN FIXED AS OF NOW
Mafia Scum Tools is now available at: http://adv-random-gen.sf.net/rand-gen/mafia/ .
User avatar
Stewie
Stewie
Mafia Scum
User avatar
User avatar
Stewie
Mafia Scum
Mafia Scum
Posts: 2567
Joined: July 16, 2003
Location: Canada

Post Post #33 (ISO) » Tue Dec 14, 2004 4:51 pm

Post by Stewie »

Oh, that one works.

One problem (minor) is that when I ask to put 12 players, I have text boxes for 13, and when I randomize it, it omits one, which is not always the last one. This is not a big problem because you can put "wildcard" for the extra spot, and give that spot to someone who was left out, but it's something that you may want to look into.
User avatar
NerdNetworkAdmin
NerdNetworkAdmin
Townie
User avatar
User avatar
NerdNetworkAdmin
Townie
Townie
Posts: 26
Joined: May 26, 2004
Location: Australia

Post Post #34 (ISO) » Tue Dec 14, 2004 10:10 pm

Post by NerdNetworkAdmin »

Hmmm... I can't reproduce that.

But I have made it easier to read with a better layout.

Perhaps this has remedied the problem. Please check it out.

Thankyou,
Matthew (Nerd Nation Administrator)
Mafia Scum Tools is now available at: http://adv-random-gen.sf.net/rand-gen/mafia/ .
User avatar
Mastermind of Sin
Mastermind of Sin
Cassandra Complex
User avatar
User avatar
Mastermind of Sin
Cassandra Complex
Cassandra Complex
Posts: 15163
Joined: October 30, 2004
Location: Sleeping with the Godfather's Daughter

Post Post #35 (ISO) » Sat Feb 05, 2005 2:00 pm

Post by Mastermind of Sin »

yay I finally get to use this for a game!
Permanent V/LA.
User avatar
NerdNetworkAdmin
NerdNetworkAdmin
Townie
User avatar
User avatar
NerdNetworkAdmin
Townie
Townie
Posts: 26
Joined: May 26, 2004
Location: Australia

Post Post #36 (ISO) » Sat Feb 12, 2005 7:10 pm

Post by NerdNetworkAdmin »

I'm glad that someone is - although statistics seem to suggest that quite a few are.

Hmmm... Another error:
Fatal error: [] operator not supported for strings in /home/groups/a/ad/adv-random-gen/htdocs/rand-gen/mafia/3.php on line 120
Sorry... Although I still am not sure *exactly* what the problem is. I will take a quick look now. This problem arises only when you select "Sort By Name". I will try to fix it soon, if not immediately.

I shall post here when I am done.

Is there anything at all that it is lacking?
User avatar
NerdNetworkAdmin
NerdNetworkAdmin
Townie
User avatar
User avatar
NerdNetworkAdmin
Townie
Townie
Posts: 26
Joined: May 26, 2004
Location: Australia

Post Post #37 (ISO) » Sat Feb 12, 2005 7:47 pm

Post by NerdNetworkAdmin »

Hooray! I fixed it -> and you will not believe it. It was ANOTHER overlapping variable.

I really do need to do another variable checkover ;).

Any other features to add, or fix?

Kind Regards,
Nerd Nation Admin
Mafia Scum Tools is now available at: http://adv-random-gen.sf.net/rand-gen/mafia/ .
User avatar
Mastermind of Sin
Mastermind of Sin
Cassandra Complex
User avatar
User avatar
Mastermind of Sin
Cassandra Complex
Cassandra Complex
Posts: 15163
Joined: October 30, 2004
Location: Sleeping with the Godfather's Daughter

Post Post #38 (ISO) » Sun Feb 13, 2005 2:37 pm

Post by Mastermind of Sin »

here's a thought...help with the mafia research project, and when they've got pretty decent predictions for different setups, incorporate itinto your program so that it will tell them what the cahnces are that town/scum will win in the setup they have
Permanent V/LA.
User avatar
NerdNetworkAdmin
NerdNetworkAdmin
Townie
User avatar
User avatar
NerdNetworkAdmin
Townie
Townie
Posts: 26
Joined: May 26, 2004
Location: Australia

Post Post #39 (ISO) » Fri Oct 07, 2005 5:20 pm

Post by NerdNetworkAdmin »

Hey everyone!

If anyone is still interested, the one outstanding bug (inverted commas) has now be corrected, with the loss of the use of the "\" character. If you had intended to use it, my advice is - use "/" instead.

Remember too, that if there are any specific features you would like to see added, let me know.

URL = http://adv-random-gen.sourceforge.net/r ... ?gen=mafia

Kind Regards,
Matthew
Mafia Scum Tools is now available at: http://adv-random-gen.sf.net/rand-gen/mafia/ .
User avatar
inHimshallibe
inHimshallibe
SmartyPants
User avatar
User avatar
inHimshallibe
SmartyPants
SmartyPants
Posts: 7070
Joined: August 28, 2004
Location: Music City, USA

Post Post #40 (ISO) » Fri Oct 07, 2005 7:41 pm

Post by inHimshallibe »

Whoa, that's neat.
Show
"I'm from Indiana. I know what you're thinking: Indiana... Mafia." - Jim Gaffigan

Mod of the continuing World of Warcraft Dungeon Run series
:

Mini 1135 - Mafia in the Deadmines
Mini 1208 - Mafia in the Scarlet Monastery
User avatar
Stewie
Stewie
Mafia Scum
User avatar
User avatar
Stewie
Mafia Scum
Mafia Scum
Posts: 2567
Joined: July 16, 2003
Location: Canada

Post Post #41 (ISO) » Sat Oct 08, 2005 6:01 am

Post by Stewie »

Perhaps you could make it so that you can give out more roles than there are players. This way, while you would be inserting the same ammount each time you use the generator, you'd be getting a different setup each time. If you do this, however, you would need two fields, one for maximum number of roles of this type, and one for minimum, so that there isn't a game with no mafia. The minimum field should not add up to more than the number of players, but the maximum can add up to anything.

Reply if you need any clarification.
User avatar
Blackberry
Blackberry
berry
User avatar
User avatar
Blackberry
berry
berry
Posts: 3158
Joined: June 18, 2005
Location: Ohio

Post Post #42 (ISO) » Sun Oct 09, 2005 3:42 am

Post by Blackberry »

I LOVE IT <3
User avatar
rolandofthewhite
rolandofthewhite
F. the White!
User avatar
User avatar
rolandofthewhite
F. the White!
F. the White!
Posts: 1721
Joined: August 28, 2004
Location: hither and thither

Post Post #43 (ISO) » Sun Oct 09, 2005 4:47 am

Post by rolandofthewhite »

I thought that everyone knew about this. :o

I've been using it since I came to the site. I'd like to second the ideas for a stand-alone .exe file, as well as some sort of prediction system like MoS suggested, and a way to insert more roles than players.

Also, this is what I get whenever I click on the newest link that you've posted:
The newest link you posted wrote:Warning: main(mafiaconfiguration.php): failed to open stream: No such file or directory in /home/groups/a/ad/adv-random-gen/htdocs/rand-gen/mafia/index.php on line 14

Warning: main(): Failed opening 'mafiaconfiguration.php' for inclusion (include_path='.:/usr/local/share/pear') in /home/groups/a/ad/adv-random-gen/htdocs/rand-gen/mafia/index.php on line 14

Warning: main(mafiaheader.php): failed to open stream: No such file or directory in /home/groups/a/ad/adv-random-gen/htdocs/rand-gen/mafia/index.php on line 15

Warning: main(): Failed opening 'mafiaheader.php' for inclusion (include_path='.:/usr/local/share/pear') in /home/groups/a/ad/adv-random-gen/htdocs/rand-gen/mafia/index.php on line 15

Warning: main(mafiaslashes.php): failed to open stream: No such file or directory in /home/groups/a/ad/adv-random-gen/htdocs/rand-gen/mafia/index.php on line 16

Warning: main(): Failed opening 'mafiaslashes.php' for inclusion (include_path='.:/usr/local/share/pear') in /home/groups/a/ad/adv-random-gen/htdocs/rand-gen/mafia/index.php on line 16

Warning: main(mafia1.php): failed to open stream: No such file or directory in /home/groups/a/ad/adv-random-gen/htdocs/rand-gen/mafia/index.php on line 18

Warning: main(): Failed opening 'mafia1.php' for inclusion (include_path='.:/usr/local/share/pear') in /home/groups/a/ad/adv-random-gen/htdocs/rand-gen/mafia/index.php on line 18

Warning: main(mafiafooter.php): failed to open stream: No such file or directory in /home/groups/a/ad/adv-random-gen/htdocs/rand-gen/mafia/index.php on line 20

Warning: main(): Failed opening 'mafiafooter.php' for inclusion (include_path='.:/usr/local/share/pear') in /home/groups/a/ad/adv-random-gen/htdocs/rand-gen/mafia/index.php on line 20
Quiero hacer contigo lo que la primavera hace con los cerezos.
User avatar
Stewie
Stewie
Mafia Scum
User avatar
User avatar
Stewie
Mafia Scum
Mafia Scum
Posts: 2567
Joined: July 16, 2003
Location: Canada

Post Post #44 (ISO) » Sun Oct 09, 2005 7:34 am

Post by Stewie »

go to the main page, then click on the link to go to the mafiascum tools, then it should work.
User avatar
NerdNetworkAdmin
NerdNetworkAdmin
Townie
User avatar
User avatar
NerdNetworkAdmin
Townie
Townie
Posts: 26
Joined: May 26, 2004
Location: Australia

Post Post #45 (ISO) » Wed Mar 29, 2006 10:42 pm

Post by NerdNetworkAdmin »

Sorry for my long period of inactivity :oops: .

The proper url is: http://adv-random-gen.sourceforge.net/r ... gen=mafia/ , but I am sure that you are all aware of this.

I shall attempt to update the wiki site.

More features may be forthcoming if I can find the time ;).

Kind Regards,
Matthew
User avatar
Mr. Flay
Mr. Flay
Metatron
User avatar
User avatar
Mr. Flay
Metatron
Metatron
Posts: 24969
Joined: March 12, 2004
Location: Gormenghast

Post Post #46 (ISO) » Thu Mar 30, 2006 6:12 pm

Post by Mr. Flay »

Very cool toy, Matthew. How hard do you think it will be to allow ranges (1-3 cops, for example, or 0-2 masons)?
Retired as of October 2014.
User avatar
NerdNetworkAdmin
NerdNetworkAdmin
Townie
User avatar
User avatar
NerdNetworkAdmin
Townie
Townie
Posts: 26
Joined: May 26, 2004
Location: Australia

Post Post #47 (ISO) » Wed Apr 26, 2006 1:46 pm

Post by NerdNetworkAdmin »

Hey... I'll attempt to include that!

I'll post here when I'm done.

Still a month late - but better than never :).
Mafia Scum Tools is now available at: http://adv-random-gen.sf.net/rand-gen/mafia/ .
User avatar
Max
Max
Mafia Scum
User avatar
User avatar
Max
Mafia Scum
Mafia Scum
Posts: 2280
Joined: April 11, 2006

Post Post #48 (ISO) » Sun Apr 30, 2006 5:48 am

Post by Max »

Maybe you can make it possible to have more roles than players so then you may have a parronoid cop but may not.
User avatar
Mastermind of Sin
Mastermind of Sin
Cassandra Complex
User avatar
User avatar
Mastermind of Sin
Cassandra Complex
Cassandra Complex
Posts: 15163
Joined: October 30, 2004
Location: Sleeping with the Godfather's Daughter

Post Post #49 (ISO) » Tue Jul 04, 2006 3:13 pm

Post by Mastermind of Sin »

I'd still like to see a stand-alone .exe if you could make it.
Permanent V/LA.

Return to “Mafia Discussion”