NevoAI is a C++ library that enables seamless AI integration into GTPS (Growtopia Private Server) with efficiency and ease.
NevoAI leverages an external API to provide quick and accurate AI responses. The library is designed to work asynchronously, ensuring optimal game server performance without sacrificing responsiveness.
- libcurl
- nlohmann/json
- Multithreading
- HTTPS API
- Seamless AI integration for GTPS
- Asynchronous operations for optimal performance
- Robust error handling
- Thread-safe packet sending
- AI requests are sent to an external API asynchronously
- Responses are processed in a separate thread
- Callbacks are invoked with AI results
- Game packets are sent safely using a mutex
- Move
NevoAI.h
andlibcurl.lib
to your source folder (alongsideSource.cpp
) - Extract
curl.zip
, then move the extracted folder into the include folder (within your source folder) - Add the following include statement at the top of your
World.h
file, below thePacket.h
include:
// Add this at the top of your World.h file
// below the #include "Packet.h"
#include "NevoAI.h"
- Ensure you fill in the
APIKEY
inNevoAI.h
with a valid API key
To use NevoAI, add the necessary code to your command handling function in World.h
. Refer to the example implementation within the World.h
file for more details on how to integrate NevoAI into your GTPS project.
NevoAI is designed to work asynchronously, ensuring smooth gameplay while waiting for AI responses.
This library is free to be included and resold as part of GTPS source code packages without the need for attribution. GTPS source sellers are permitted to incorporate NevoAI into their products without providing credit to the original authors.
For questions or support, contact us on WhatsApp