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?
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?
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.
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.
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.
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
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.
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.
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.