916
General Chat / Re: Admin forceclassing with scripts
« on: Tuesday, September 08, 2015, 06:54:47 AM »
I made a AFC Generator, that allows you to write totally random forceclass scripts or you can give every player the same weapon and if you want you can leave VIP out of the loop:
AFC Generator
To be able to use the script: type playerlist on console in game. Check out what is the lowest Player ID and if you don't want to force class VIP, check his PLayer ID too. The generator makes 2000 rows of afc rules. We need to know what is the lowest player ID on server, then we can generate enough rows starting from his ID, so it doesn't matter will server be restarted once a day / week / month / year etc. It still works.
Now it's quite clumsy since it's made with .php, you need to generate the script in browser and copy paste the script to your .txt file. Im looking forward to do the same with javascript so all you'd need to do is save afc-generator.html file to armyops/System -folder, run the file in browser and the generator would update your .txt which includes generated scripts.
AFC Generator
To be able to use the script: type playerlist on console in game. Check out what is the lowest Player ID and if you don't want to force class VIP, check his PLayer ID too. The generator makes 2000 rows of afc rules. We need to know what is the lowest player ID on server, then we can generate enough rows starting from his ID, so it doesn't matter will server be restarted once a day / week / month / year etc. It still works.
Now it's quite clumsy since it's made with .php, you need to generate the script in browser and copy paste the script to your .txt file. Im looking forward to do the same with javascript so all you'd need to do is save afc-generator.html file to armyops/System -folder, run the file in browser and the generator would update your .txt which includes generated scripts.