GrowtopiaAI 1.0.1

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package GrowtopiaAI --version 1.0.1
                    
NuGet\Install-Package GrowtopiaAI -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GrowtopiaAI" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GrowtopiaAI" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="GrowtopiaAI" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GrowtopiaAI --version 1.0.1
                    
#r "nuget: GrowtopiaAI, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package GrowtopiaAI@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=GrowtopiaAI&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=GrowtopiaAI&version=1.0.1
                    
Install as a Cake Tool

About

Welcome to the README.md of the GTPS Anti-crash repository. GTPS Anti-crash is a C# anti-crash software created for GTPSes. This Anti-crash has 2 versions. Simple and advanced. The exe (not the source) is the simple one. When using the simple one, your server executable must be named server.exe. However, the source code has a primary option to choose the file path + name & executable type. You can check the code out and upgradeit/change it.

GrowtopiAI.dll

GrowtopiaAI.dll is a Library created for Growtopia C# projects. It will have such methods like checking your gtps status (LOCAL), starting your gtps, etc. It is currently open-source and is in the solution for the anti-crash. GrowtopiaAI is 30% complete and is still under development. Want to add some stuff? Feel free to do so.

Credits

If you're thinking of using the anti-crash's code for your own project, please consider crediting me for the code. I'd really appreciate it.

GrowtopiaAI.dll current codes
 static void GTPSChecker(string gtpsName)  // Include executable type (e.g. ".exe", ".py").
        {
            int counter = 0;
            foreach (Process process in Process.GetProcessesByName(gtpsName))
            {
                counter++;
            }
            if (counter > 0)
            {
                Console.WriteLine("Server is currently online.");
            }
            else
            {

                Console.WriteLine("Server is currently offline.");

            }
        }
 static void GTPSStarter(string gtpsName)
        {
            Console.WriteLine("Request to start growtopia private server");
            try
            {
                Process.Start(gtpsName);

                Console.WriteLine("Growtopia server has successfully started.");

            }
            catch
            {
                string msg = "There was a problem starting the server...";

                Console.WriteLine(msg);
            }
        }
Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated

GTPS Anti-crash is a C# anti-crash software created for GTPSes. This is currently the first version.