| Author |
Message |
|
Scintillect
Sergeant
Joined: Sat Nov 13, 2004 3:00 am Posts: 9 Location: Canada
|
As the sysop of a TW game running out of the Apolyton Civilization Site, I had the idea of writing a script to generate a powergraph a la Civilization 2, if any of you remember what that was like.
Basically, it would be a TEDIT script that would collect information on all personal and corporate assets, run it through a scoring algorithm, and render the results in a graph akin to what Kokua-bot generates for high-score and alignment histories.
I'm not quite sure what the best way to proceed is; I have some knowledge of Java and am thinking of writing it for Kokua-bot, but I thought y'all might have some suggestions about how to go about setting this up. Fire away!
|
| Sun Nov 14, 2004 2:55 am |
|
 |
|
Vid Kid
Commander
Joined: Sun Feb 25, 2001 3:00 am Posts: 1838 Location: Guam USA
|
I have writen a SysOp script to count all planets to see who owns most planets over Level 2 to determine a win by that cratique.
I try to determine winners with highist exp for both red and blue.
As well as who owns alien planet(s).
Not sure if this is what your looking for.
Requires twx proxy to use.
_________________ 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
|
| Sun Nov 14, 2004 8:46 am |
|
 |
|
Scintillect
Sergeant
Joined: Sat Nov 13, 2004 3:00 am Posts: 9 Location: Canada
|
quote:Originally posted by Vid Kid
I have writen a SysOp script to count all planets to see who owns most planets over Level 2 to determine a win by that cratique.
I try to determine winners with highist exp for both red and blue.
As well as who owns alien planet(s).
I'm very interested; email it to me and I'll have a look.
Right now I'm hoping to ultimately include all credits, fighters, shields, ships, and citadels, and give all a (configurable) approximate credit value. Then I want to make two graphs: trader power, which will graph the total value of personal assets plus the value of corporate assets divided by the number of people in the corp, and corporate power, which will graph the total assets of each corporation plus the total personal assets of all its members.
|
| Sun Nov 14, 2004 5:59 pm |
|
 |
|
Slim Shady
Gameop
Joined: Thu Jun 06, 2002 2:00 am Posts: 2371 Location: USA
|
i assume this is to be used in a stalemate type of situation?
(as i wouldn't want people to know my assets in the middle of the game)
heh
Slim
_________________ Ask Slim!
--==[The Outfit]==--
|
| Sun Nov 14, 2004 7:03 pm |
|
 |
|
Silence
Commander
Joined: Tue Mar 26, 2002 3:00 am Posts: 1416 Location: Canada
|
I dont think he intends to show any of the data, only a colored powergraph like the one in civ. just to show you exactly where you stand against the rest of the game, but not where you come up short 
|
| Sun Nov 14, 2004 8:03 pm |
|
 |
|
Scintillect
Sergeant
Joined: Sat Nov 13, 2004 3:00 am Posts: 9 Location: Canada
|
quote: Originally posted by Silence
I dont think he intends to show any of the data, only a colored powergraph like the one in civ. just to show you exactly where you stand against the rest of the game, but not where you come up short
That's pretty much the idea - everything is assigned a configurable credit value, which should be ambiguous enough to prevent people reverse engineering the graph to see exactly what someone is doing. I may also round off values to smooth out the graph and make it more difficult to reverse engineer the algorithm.
In my game there are a wide range of skill levels. These power rankings will help encourage people to pick on someone their own size, and keep newbies interested, with the possibility of at least gaining ground on other players even if they are unable to win the game.
I'm digging into the Kokua kode, and it looks workable so I'm just going to go ahead and write some class definitions, a lexer and script for it.
I'll let y'all know how it goes [8]
|
| Sun Nov 14, 2004 10:43 pm |
|
 |
|
mrdon
Chief Warrant Officer
Joined: Sat Nov 17, 2001 3:00 am Posts: 175
|
Hey, glad to hear you are finding Kokua-bot useful. Let me know if you have any questions.
|
| Mon Nov 15, 2004 4:22 am |
|
 |
|
Draconis
Lieutenant J.G.
Joined: Wed Oct 15, 2003 2:00 am Posts: 437 Location: USA
|
Personally as a player, I would never want that data available during play. Part of the game is that you don't know the power of your enemies.
Jhereg
|
| Mon Nov 15, 2004 12:21 pm |
|
 |
|
Slim Shady
Gameop
Joined: Thu Jun 06, 2002 2:00 am Posts: 2371 Location: USA
|
well, a half decent player can hit things like CLV, V, TA, TL etc... and figure out what other people have (with like 10 other corps it becomes slightly more difficult) compared to you. but either way, if there are 10 corps, and you have 33% of all figs/cits odds are good that you are the #1 corp (if another corp had more.. you would know, cause everyone else would pretty much be dead.)
but, i agree with jher, i wouldnt want it made easy for people to know what i have.
Slim
_________________ Ask Slim!
--==[The Outfit]==--
|
| Mon Nov 15, 2004 9:38 pm |
|
 |
|