|
|
Register •
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 6 posts ] |
|
Curious about sys op scripts...
| Author |
Message |
|
Zarkahn
Lieutenant
Joined: Sat Nov 06, 2004 3:00 am Posts: 600 Location: USA
|
 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.
_________________ Its not the Kill, Its the Thrill of the Chase
S: Min: 297 Max: 437 Average: 410 -- Just here to attack aliens
S: High/Low Removed Average: 421
|
| Sun Jan 13, 2008 12:40 pm |
|
 |
|
Thrawn
Commander
Joined: Fri Aug 20, 2004 2:00 am Posts: 1801 Location: Outer Rims
|
 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.
_________________ -Thrawn
But risk has always been an inescapable part of warfare.
--
Knight to Queen's Bishop 3
|
| Sun Jan 13, 2008 1:30 pm |
|
 |
|
Promethius
Ambassador
Joined: Mon Feb 09, 2004 3:00 am Posts: 3141 Location: Kansas
|
 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.
_________________
/ Promethius / Enigma / Wolfen /
"A man who has no skills can be taught, a man who has no honor has nothing."
|
| Sun Jan 13, 2008 2:28 pm |
|
 |
|
Vid Kid
Commander
Joined: Sun Feb 25, 2001 3:00 am Posts: 1838 Location: Guam USA
|
 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 
_________________ TWGS V2 Vids World on Guam Port 2002 Telnet://vkworld.ddns.net:2002 Discord @ DiverDave#8374 Vid's World Discord
Founding Member -=[Team Kraaken]=- Ka Pla
 Winners of Gridwars 2010 MBN Fall Tournament 2011 winners Team Kraaken Undisputed Champions of 2019 HHT Just for showing up!
The Oldist , Longist Running , Orginal Registered Owner of a TWGS server : Vids World On Guam
|
| Mon Jan 14, 2008 4:10 am |
|
 |
|
Zarkahn
Lieutenant
Joined: Sat Nov 06, 2004 3:00 am Posts: 600 Location: USA
|
 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...
_________________ Its not the Kill, Its the Thrill of the Chase
S: Min: 297 Max: 437 Average: 410 -- Just here to attack aliens
S: High/Low Removed Average: 421
|
| Mon Jan 14, 2008 4:03 pm |
|
 |
|
Thrawn
Commander
Joined: Fri Aug 20, 2004 2:00 am Posts: 1801 Location: Outer Rims
|
 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... 
_________________ -Thrawn
But risk has always been an inescapable part of warfare.
--
Knight to Queen's Bishop 3
|
| Mon Jan 14, 2008 7:43 pm |
|
 |
|
|
Page 1 of 1
|
[ 6 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 19 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|