Recent posts

#1
Script Showroom / Re: Modular Support
Last post by Sebastian - Apr 18, 2026, 10:19 PM
This looks really good, and would have helped a lot the younger me.
Beginners should try to get used to this, as will make everything more clear in their scripts, and easier to debug. (especially when about leaks)

Great job!

PS:
There are some things you might want to re-check :D
1. The filePath in ModuleManager is looking for directory "modules", while in your .zip you have "module" directory
2. The newTimer function should use funcName instead of this.funcName
3. onPlayerActionChange parameters are wrong
4. In debug.nut you are missing .len() in cmd "modules" for(), and the player argument in MessagePlayer

PS2:
Ah, I thought it allows using same event in multiple modules

EDIT:
Seems like there is a bigger problem with your newTimer - passing vargv to NewTimer.
I remember somebody created one which accepts all types of data; you should check that out.
The very sample you provided isn't working due to that reason..

EDIT2: Ah, ofc was the lord @. S.L.C. Extended Timers
#2
General Discussion / Re: VCMP A.I SCRIPT ASSISTANT
Last post by MEGAMIND - Apr 15, 2026, 12:47 PM
Quote from: (vG)DesTroYeR^ on Apr 15, 2026, 12:35 PMthats very helpful for newbie people or if you wanna fix an unnoticeable error in your scripts.

but it just works same as ChatGPT and other AIs, its not precise as u said

(but the good thing is that it doesn't call functions out of nowhere, but it might mistakenly do that ig)
actually its more then a normal day chatgpt.. This a.i has all the info of wiki like its kinda trained on that wiki..  8) but yes yet again its an a.i it can make mistakes
#3
General Discussion / Re: VCMP A.I SCRIPT ASSISTANT
Last post by (vG)DesTroYeR^ - Apr 15, 2026, 12:35 PM
thats very helpful for newbie people or if you wanna fix an unnoticeable error in your scripts.

but it just works same as ChatGPT and other AIs, its not precise as u said

(but the good thing is that it doesn't call functions out of nowhere, but it might mistakenly do that ig)
#4
General Discussion / VCMP A.I SCRIPT ASSISTANT
Last post by MEGAMIND - Apr 15, 2026, 09:53 AM

VCMP AI Script Assistant is an advanced AI system designed to interpret VCMP wiki functions, documentation, and usage examples. It intelligently combines structured knowledge to generate custom scripts based on user queries, transforming ideas into functional VCMP code with accuracy and efficiency.

Examples



Launch

How it works?
You need to get an api key first from GROQ
 then you simply ask it anything.. it will display you your answers according to query (Dont expect it to be perfect) as its an A.I After each answer you will simply get a new asnwer to question after 30 sec so that the A.I model doesnt get hog and ban you evenutally  8)

I'll try my best to update it to more efficient and with good results when i get time..!

#5
Bugs and Crashes / Re: No squirrel game mode was ...
Last post by MEGAMIND - Apr 14, 2026, 12:16 PM
Quote from: DNeep on Apr 14, 2026, 12:08 PM
Quote from: MEGAMIND on Apr 14, 2026, 12:01 PM
Quote from: DNeep on Apr 14, 2026, 11:49 AM

Here are the files present in the plugins folder
Download and run pls Server

The link is not working
works fine make sure ur not under some blocking system example vpn or ur isp or antivirus other then that pls visit vcmp discord to get more help
#6
Bugs and Crashes / Re: No squirrel game mode was ...
Last post by DNeep - Apr 14, 2026, 12:08 PM
Quote from: MEGAMIND on Apr 14, 2026, 12:01 PM
Quote from: DNeep on Apr 14, 2026, 11:49 AM

Here are the files present in the plugins folder
Download and run pls Server

The link is not working
#7
Bugs and Crashes / Re: No squirrel game mode was ...
Last post by MEGAMIND - Apr 14, 2026, 12:01 PM
Quote from: DNeep on Apr 14, 2026, 11:49 AM

Here are the files present in the plugins folder
Download and run pls Server
#8
Bugs and Crashes / Re: No squirrel game mode was ...
Last post by DNeep - Apr 14, 2026, 11:49 AM


Here are the files present in the plugins folder
#9
Script Showroom / Modular Support
Last post by PSL - Apr 14, 2026, 11:07 AM
This is a lightweight, modular management framework designed specifically for the Squirrel language. With zero dependencies and ready to use right out of the box, it comprehensively resolves the issues inherent in traditional single-script architectures—such as disorganization, difficulty in maintenance, lack of hot-updating capabilities, and event conflicts.

Through a unified module manager, the framework facilitates module loading, unloading, dependency management, lifecycle control, automatic global event dispatch, and secure timer isolation—thereby enabling your server scripts to truly achieve an engineered, modular, and extensible architecture.

  • Each module resides in a separate file with its own isolated scope, ensuring no mutual interference and resulting in a clean, easily maintainable code structure.
  • Supports single-module loading, batch loading, and dependency-aware loading; automatically detects whether a module has already been loaded to prevent redundant execution.
  • Features built-in `onScriptLoad` and `onScriptUnload` lifecycle hooks, which execute automatically whenever a module is loaded or unloaded.
  • Covers events across all scenarios—including server, player, vehicle, item, command, and chat interactions—with all modules automatically listening for these events, eliminating the need for manual hook binding.
  • Includes a dedicated `newTimer` function that binds timers directly to their respective modules; timers are automatically destroyed when a module is unloaded, effectively preventing memory leaks.
  • Enables cross-module function calls and variable access via `getModule()`, facilitating seamless functional interoperability between modules.
  • Supports the unloading of individual modules as well as a one-click option to clear all modules, allowing for hot-reloading without requiring a server restart.
  • Avoids polluting the global scope and leaves native logic unmodified; integration is straightforward and compatible with all standard Squirrel environments.

Here is a simple example.

function onPlayerJoin(player) {
MessagePlayer("[#FFFF00]Hello " + player.Name, player);
}

function onScriptLoad() {
print("onScriptLoad: " + moduleName);
}

function onScriptUnload() {
print("onScriptUnload: " + moduleName);

a.Delete();
}

function hello(value) {
print("hello " + value);
}

a <- newTimer("hello", 1000, 0);

Place the script file into the "module" folder, then load the filename to add the script's functionality to the server.

ModuleManager.load("testModule");

#10
Bugs and Crashes / Re: No squirrel game mode was ...
Last post by MEGAMIND - Apr 14, 2026, 11:05 AM
Quote from: DNeep on Apr 14, 2026, 10:18 AM

I did it, but the same error is still coming  :o

Make sure your directory is like this



and inside scripts folder you have



if you still get there error you main.nut could be the problem