LFA Posted August 13, 2005 Share Posted August 13, 2005 Requires TCAdmin version 1.0.2051.22937 or greater See the attached files You have 2 options. 1- Generate the images with the script and tell your clients the links to their game server's charts. Tip: Run it as a scheduled task. 2- Allow them to generate the chart for their game server by linking to a web page from their site. for example: http://tcadmin.yourdomain.com/playeractivity.aspx?ip=127.0.0.1&port=27960&days=0&showtitle=1 This will return the generated image. How to use the script file (GenerateCharts.tcascript): Open it with notepad. Under CONFIGURATION Change the settings you want to change. Most importantly the path where the charts are generated (SaveDirectory) This path should point to a folder that is available from the web, for example C:\Program Files\TCAdmin Control Panel\Web\Charts\ make sure the specified folder exists. How to use the webpage (playeractivity.aspx): Save the file to your TCAdmin Web folder. (C:\Program Files\TCAdmin Control Panel\Web) Open with notepad and make any configuration changes (under CONFIGURATION) To access the image, you client will have to link to the web page in an image tag like this: <img src="http://tcadmin.yourdomain.com/playeractivity.aspx?ip=127.0.0.1&port=27960" /> The web page has 6 possible parameters: ip: the ip that the game server is using (required) port: the port that the game server is using (required) width: The width of the generated chart (optional) height: The height of the generated chart (optional) days: The number of days the chart will show. (optional) Default value is 0. 0 means today only, 1 Day means today and yesterday, 7 days means today + last 7 days, etc showtitle: Specify if the chart should have a title. (optional, 1 or 0, default value is 1) Advanced Configuration To make advanced changes, like colors, fonts, etc, you will have to check the SDK documentation for TCAdminSDK.Util.ChartGenerator.ChartProperties. Here is an example than modifies the chart color and font. This would be placed right after the CONFIGURATION section in the scripts: ChartProperties.BackColor = System.Drawing.Color.SeaShell ChartProperties.MainPenColor = System.Drawing.Color.HotPink ChartProperties.WaterMarkColor = System.Drawing.Color.SpringGreen ChartProperties.TitleFont = New System.Drawing.Font("Arial Black", 10, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point) ChartProperties.LabelFont = New System.Drawing.Font("Arial", 10, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point) GenerateCharts.tcascriptplayeractivity.aspx Link to comment Share on other sites More sharing options...
LFA Posted August 13, 2005 Author Share Posted August 13, 2005 here is a real life sample generated directly with the web page with a custom watermark image. Link to comment Share on other sites More sharing options...
Chew Posted October 21, 2005 Share Posted October 21, 2005 With this, is it possible to display all gameservers current connected players? Thanks Chew Link to comment Share on other sites More sharing options...
LFA Posted October 21, 2005 Author Share Posted October 21, 2005 In Admin Home > Reports > Game Server Reports if you leave Game server with the default value it will show the total players, memory and CPU usage on that machine. Link to comment Share on other sites More sharing options...
chris666uk1 Posted January 22, 2006 Share Posted January 22, 2006 i cant get this thing work just got blank pages any ideas Link to comment Share on other sites More sharing options...
ECF Posted January 22, 2006 Share Posted January 22, 2006 Did you make sure that the acual graphs have been setup correctly within TCAdmin? In other words, can you login to TCA and see Activity graphs for each individual game? Link to comment Share on other sites More sharing options...
chris666uk1 Posted January 23, 2006 Share Posted January 23, 2006 yes if i go in the admin of tcadmin and go to reoprts game servers i can see the graphs ok with no problems Link to comment Share on other sites More sharing options...
ECF Posted January 23, 2006 Share Posted January 23, 2006 I would suggest putting in a support ticket, and I can have Luis take a look at your setup. Link to comment Share on other sites More sharing options...
julian Posted February 10, 2006 Share Posted February 10, 2006 Is there a way to create a single playergraph for all gameservrs on all mashines? Link to comment Share on other sites More sharing options...
ECF Posted February 10, 2006 Share Posted February 10, 2006 I am sure there is. but it would involve you coding a script to do it. You can try the LGS script located here, and modify it. http://www.tcadmin.com/forum/index.php?t=msg&goto=3641&a mp;a mp;rid=3&srch=lgsl#msg_3641 Link to comment Share on other sites More sharing options...
julian Posted February 10, 2006 Share Posted February 10, 2006 Yes, I already read this, but I'm not sure if the LGSL script can create graphs? Link to comment Share on other sites More sharing options...
ECF Posted February 10, 2006 Share Posted February 10, 2006 No idea if it will. Maybe someone that has used it will post some info on it. Link to comment Share on other sites More sharing options...
julian Posted February 10, 2006 Share Posted February 10, 2006 It would be nice if someone can do so, or post a script, that can do so. Link to comment Share on other sites More sharing options...
G3mInI Posted April 21, 2006 Share Posted April 21, 2006 Where can we find the possible values for the chart properties fields? For example, is it possible to use Hex for color instead of color names? And what field controls the background of the graph itself? I can find what controls the background of the entire image, but I cannot seem to change the white background on the chart itself. I was also wondering if it was possible to turn off the white background for the chart and turn off the background for the entire image, thus in a sense, making it a transparent image of just the text and the graph. Is this possible? G3mInI Link to comment Share on other sites More sharing options...
TheHeartSmasher Posted December 11, 2006 Share Posted December 11, 2006 How would I display RAM, Processor, usage, etc. Link to comment Share on other sites More sharing options...
LFA Posted December 11, 2006 Author Share Posted December 11, 2006 You can only create graphs for game servers right now. Server graphs can only be viewed in the control panel. Link to comment Share on other sites More sharing options...
TheHeartSmasher Posted December 14, 2006 Share Posted December 14, 2006 Ok thank you. Will it be a feature some time in the future? Link to comment Share on other sites More sharing options...
LFA Posted December 17, 2006 Author Share Posted December 17, 2006 Not right now. In a future update you will be able to create game graphs for a datacenter or server. Link to comment Share on other sites More sharing options...
TheHeartSmasher Posted December 17, 2006 Share Posted December 17, 2006 Sounds good to me. Link to comment Share on other sites More sharing options...
swish Posted January 5, 2007 Share Posted January 5, 2007 Since it looks like the forum transfer messed up all the links...can we repost this so it readable? Also is it possible to create a graph for the playerslots? Its in the reports area but i wanna see if maybe i can pull a copy of it out. Link to comment Share on other sites More sharing options...
Todd Holley Posted January 6, 2007 Share Posted January 6, 2007 I am sure there is. but it would involve you coding a script to do it. You can try the LGS script located here, and modify it. http://www.tcadmin.com/forum/index.php?t=msg&goto=3641&a mp;a mp;rid=3&srch=lgsl#msg_3641 Is that how they make they "slots used" and slots available on some gsp websites?... I honestly don't know a thing about "lgs script". That link is also borken. Link to comment Share on other sites More sharing options...
swish Posted January 6, 2007 Share Posted January 6, 2007 Spitfire...I am writing a custom script for the LGSL but its proving to be a bit of a pain....i was just wondering if maybe we can pull the graph from tcadmin directly. If not i guess ill keep workin on this script here. Link to comment Share on other sites More sharing options...
franky500 Posted January 31, 2007 Share Posted January 31, 2007 am i right in thinking this will only work with the games on the supported games list? Link to comment Share on other sites More sharing options...
LFA Posted February 1, 2007 Author Share Posted February 1, 2007 Yes. Only if TCAdmin is able to query the game server type. Link to comment Share on other sites More sharing options...
matrix4583 Posted July 20, 2007 Share Posted July 20, 2007 i can't see the graph. All i see is a blan page. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.