Jump to content

LFA

TCAdmin Developer
  • Posts

    2,133
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by LFA

  1. You need to place the rar in c:/GameInstalls/COD4.rar not c:/GameInstalls/COD4/COD4.rar The server is not running because it does not extract the file if you place it inside the folder.
  2. Those of you having problems importing the file download the updated version from ECF's post and try again.
  3. If you want you can upload them in this forum so others can use them.
  4. Since so may people like this script the next update will include an icon to delete the pb logs and screenshots.
  5. That means the windows user named TCAdminWeb does not have permissions to read the file you created.
  6. You need to change the relative path because logs and images are stored in a different folder. Dim relativePath As String = "pb" And each command needs a new line: Dim newline as String = chr(13) & chr(10) Dim command As String = "del %path%\svlogs\*.log" & newline & "del %path%\svss\*.png"
  7. You can modify the script so it generates 2 del commands instead of one.
  8. To see the complete command being executed you can change: serverplugin.Execute(New Object() {"ExecuteScript", service.WorkingDirectory, command}) to: Response.Write("Command: " & command & "<br>") serverplugin.Execute(New Object() {"ExecuteScript", service.WorkingDirectory, command}) Then you can run the command shown from a command prompt on the server to see if there is any error shown.
  9. *** This script has been tested with version 1.0.2753.32400. It might not work with older versions. *** To edit this script so it executes a different command or deletes files in a different folder just edit the values of each variable in the Variables section. You can also set stopGameServer = True if you want it to stop the game server before executing the command. 1- Create a text file named deletepblogs.aspx in C:\program Files\TCAdmin Control Panel\Web\Templates\Default with the following code: <% [b]''''''''''''''''''''''''''''''''''''''''''' 'Variables ''''''''''''''''''''''''''''''''''''''''''' Dim pageTitle As String = "Delete Punkbuster Logs" Dim stopGameServer As Boolean = False Dim relativePath As String = "pb\svlogs" Dim command As String = "del %path%\*.log" Dim startMessage As String = "Deleting log files...<br>" Dim endMessage As String = "Log files have been deleted.<br>You can close this window." ''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''''''''''''[/b] Response.Write("<!DOCTYPE HTML PUBLIC ""-//W3C//DTD HTML 4.0 Transitional//EN"">") Response.Write("<HTML><TITLE>" & pageTitle & "</TITLE><BODY bgcolor=""#000000""><font face=""Lucida Console"" size=""2"" color=""#FFFFFF"">") If TCAdminSDK.Web.Session.IsAuthenticated Then Dim serviceid As String = Request.QueryString("serviceid") Dim service As New TCAdminSDK.Objects.Service service.ServiceID = serviceid If service.Find Then Dim path As String = System.IO.Path.Combine(service.AutomationFilesPath, relativePath) command = command.Replace("%path%", path) Response.Write(startMessage) Response.Flush() If service.UserID = TCAdminSDK.Web.Session.CurrentUser Or TCAdminSDK.Web.Session.CurrentUserType = TCAdminSDK.Objects.UserType.Admin Or TCAdminSDK.Web.Session.CurrentUserType = TCAdminSDK.Objects.UserType.SubAdmin Then Dim serviceWasRunning As Boolean = False If stopGameServer And service.CurrentStatus = TCAdminSDK.Objects.ServiceStatus.Running Then Response.Write("Stopping the game server...") Response.Flush() service.Stop() serviceWasRunning = True End If Dim serverplugin As TCAdminBase.Plugins.IGenericPlugIn = TCAdminSDK.Remote.InstanceCreator.GetPluginFromServer(service.ServerID, "TCAdminMonitor.StandardPlugins.RemoteServers.ServerUtilities") serverplugin.Execute(New Object() {"ExecuteScript", service.WorkingDirectory, command}) If serviceWasRunning Then Response.Write("Starting the game server...") Response.Flush() service.Start() End If End If Response.Write(endMessage) Response.Flush() End If End If Response.Write("</font></BODY></HTML>") %>2- Create a custom link in System Settings > Custom Links with the following information: [b]Page:[/b] Game Server Home Page [b]Visible For:[/b] Any game that uses Punkbuster [b]URL:[/b] javascript:void OpenConsoleWindow('deletepblogs.aspx?serviceid=%serviceid%','deletepblogs%serviceid%','This will delete the Punkbuster log files. Do you want to continue?') [b]Icon Text:[/b] Delete Punkbuster Logs [b]Image URL[/b] Images/MenuIcons/PunkBuster.png [b]Mouse Over Text:[/b] Delete this game server's Punkbuster logs. [b]Place After Icon:[/b] Update PunkbusterIf you select a game server of that game type you should see the delte pb logs icon. Important information if you add more than one of these icons Since the URL is the table's key it should be different for every icon you create. To work around this problem you can make each URL slightly different. For example: javascript:void OpenConsoleWindow('deletepblogs.aspx?serviceid=%serviceid%&1','deletepblogs%serviceid%','This will delete the Punkbuster log files. Do you want to continue?') javascript:void OpenConsoleWindow('deletepblogs.aspx?serviceid=%serviceid%&2','deletepblogs%serviceid%','This will delete the Punkbuster log files. Do you want to continue?') javascript:void OpenConsoleWindow('deletepblogs.aspx?serviceid=%serviceid%&3','deletepblogs%serviceid%','This will delete the Punkbuster log files. Do you want to continue?')
  10. For ET Admin mod you need to install cygwin. In TCAdmin the service settings would like this: Application: C:/cygwin/bin/perl.exe Game Root Dir: C:/path/to/etadmin_mod User Dir: C:/path/to/etadmin_mod Additional arguments: bin/etadmin_mod.pl etc/etadmin.cfg
  11. LFA

    Classic Template

    Import this zip in System Settings > Template Configuration. The is the original template. Classic.zip
  12. You can get ET Pro here: http://etpro.anime.net/ True Combat here: http://www.truecombat.com/intro.php
  13. This zip has the COD 2 configuration we use in the installer: http://www.tcadmin.com/forum/index.php?t=msg&th=1500&amp ;start=0&rid=3
  14. I just created this topic with all the game configs included in the new installer. AA is included. http://www.tcadmin.com/forum/index.php?t=msg&goto=9006&a mp;rid=3#msg_9006
  15. These are the game config files included by default in the TCAdmin installation. America's Army Battlefield 2 - Special Forces Battlefield 2 Non Ranked Battlefield Vietnam Call of Duty 2 Call of Duty Call of Duty_ United Offensive Counterstrike Source Day of Defeat Source F.E.A.R Half Life - Condition Zero Half Life - Counterstrike Half Life - Day of Defeat Half Life - Deathmatch Classic Half Life - Ricochet Half Life - Team Fortress Classic Half Life 2 Deathmatch Half Life Halo Medal of Honor - Allied Assault Medal of Honor - Spearhead NeverWinterNights Ravenshield Red Orchestra RENEGADE SIN Star Wars Jedi Academy Unreal Tournament 2003 Unreal Tournament 2004 Ventrilo Wolfenstein Enemy Territory tcadmin_installer_configs.zip
  16. Add the a template for that config file if it's not added already, and use the %rconpassword% variable to set a value for it. When the game server is created %rconpassword% is replaced with the rcon password typed by the person creating the game server.
  17. sorry not yet. working on other stuff.
  18. those are the games supported by the server query but if the game doesn't have a dedicated mode it can't be supported.
  19. Teamspeak servers are setup in System Settings > Voice Server Settings. If you want server_windows.exe to run as a service just create a manual service for it.
  20. LFA

    F.E.A.R.

    if you want it done right you have to do it yourself
  21. LFA

    F.E.A.R.

    If anyone decides to make a config for this game the status page should work if you set the compatibility to Gamespy.
  22. The only thing that won't work is th query. Everything else should work. Setting it as a voice server will just make it show up under voice servers instead of game servers.
  23. This will work but the free version has a lot of limitations. Slots is hardcoded to 8. Port is hardcoded to 3784. It will also bind all ips so you can only run one 8 slot server on each machine. It is also agains their licensing to sell the free version.
  24. when I checked the admin panel there was a big sign that said "Rebuild Search Index" Guess that was it.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use