| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| Curious about sys op scripts... https://mail.black-squirrel.com/viewtopic.php?f=15&t=20230 |
Page 1 of 1 |
| Author: | Zarkahn [ Sun Jan 13, 2008 12:40 pm ] |
| Post subject: | Curious about sys op scripts... |
I've seen Prom's game stats, and Wotok's Death Report. What other sys ops scripts are out there? What types of scripts would Sys op want? I got one in testing to output all ship stats into a htm file. If interested in testing it futher than I have, let me know. |
|
| Author: | Thrawn [ Sun Jan 13, 2008 1:30 pm ] |
| Post subject: | Re: Curious about sys op scripts... |
Zarkahn wrote: I've seen Prom's game stats, and Wotok's Death Report. What other sys ops scripts are out there? What types of scripts would Sys op want? I got one in testing to output all ship stats into a htm file. If interested in testing it futher than I have, let me know. I use Wotok's script for my daily scores. I am now using Prom's script for game stats. I'd still like to know if a script can be made to post final results after a game. It could list the Traders and scores like Wotok's does, then add the Corp scores, etc. It does not matter if it saves to text file or html. I have my ScoreKeeper now converting Prom's script output (txt) to forum/html so I can do the same for other scripts. |
|
| Author: | Promethius [ Sun Jan 13, 2008 2:28 pm ] |
| Post subject: | Re: Curious about sys op scripts... |
Getting the corp ranks should not be a problem - I am guessing the following structure might work: Log into admin port send game letter go into the user editor - grab experience points, morals ranking and corpID add exp to $exp[$corpID] and morals ranking to $morals[$corpID] increment $corpMembers[$corpID] 1 to have a count of corp members Once you have gone through all players go into the corp editor Get corpname[$corpID] $corpCaptain[$corpID] divide $exp[$corpID] by $corpMembers[$corpID] divide $morals[$corpID] by $corpMembers[$corpID] sort the corpID by $exp[$corpID] Output results This would not include the non-corp players so you would have to assign pseudo corp numbers (use a counter to determine the number of non-corp players) and then include in a sort. If you have 5 non-corp players then the first one found would be assigned $corpID + 1 and so on..... As with all of my script thoughts, this is not a complete 1,2,3 way to write a script, but a vague outline. Of course you could just log into the game and have the game spit out the ranks and it would be a lot simpler as you would just be getting lines of info w/o having to do any calculations. |
|
| Author: | Vid Kid [ Mon Jan 14, 2008 4:10 am ] |
| Post subject: | Re: Curious about sys op scripts... |
I had posted one script at grimmies to move Dock to near tera and change port to a fuel sellimg. This was so I wouldn't have to write a msl sweep. I also started a planet counter for winners , but have since desided to just track alien planet owner to determin game end. If there are other scripts for sysops , I'de like to hear about them too |
|
| Author: | Zarkahn [ Mon Jan 14, 2008 4:03 pm ] |
| Post subject: | Re: Curious about sys op scripts... |
ok, I got 2 scripts wrote for Ships and Planets. they both output a .htm file with tables, question is should tables have borders or not? 2nd question... Should I combine the 2 into 1 script. this is mainly for custom edits and based on the ones I wrote b4 for Data, except his output a txt file, which his forum allows him to just post it in... |
|
| Author: | Thrawn [ Mon Jan 14, 2008 7:43 pm ] |
| Post subject: | Re: Curious about sys op scripts... |
Zarkahn wrote: ok, I got 2 scripts wrote for Ships and Planets. they both output a .htm file with tables, question is should tables have borders or not? 2nd question... Should I combine the 2 into 1 script. this is mainly for custom edits and based on the ones I wrote b4 for Data, except his output a txt file, which his forum allows him to just post it in... Would be nice to have borders to seperate each ship/planet. It does not matter 2 or 1 script. If the concept is to show the ships/planets in a game, combine it into 1. It is easy for me to launch 2 scripts or 1. I run multiple scripts here with the ScoreKeeper on our site. I'd be very interested in seeing this script... |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|