Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - ToyDragon

#1
Quote from: Nihongo^ on Jul 30, 2023, 02:47 PMHy, every time I lose my players, whenever I restart my server from the control panel.

So I found this script in the forum, thinking it would help me to reload the script without losing players

But it gives me an error
case "reload":
                            if (highestRole.GetLevel() < 2) sendMessage(channels["staffchat"], "You do not have permission to use this command.");
                            else
                             {
                            ::onScriptUnload();
                            ::ReloadScripts()
                            }   
Fu error The index Disconnect SQL: does not exist



Bro,I think is easy, just u need split ur script for example: main.nut & main2.nut ,and if u want to reload ur server just let the server dofile("main2.nut"); in fact our problem is that something can't do twice ,if do ,them will make error,so put that script in main.nut , just onServer first start to load that  and  put other thing in   main2.nut ,use dofile we can reload that main2.nut  script.
#2
Yyg once encountered this problem. In his CNInputManager (a script that allows vcmp to display more languages in chat boxes), he used thousands of sprites and encountered the same situation as you. In fact, he only needed to compress them into 7z files and add _unp.
#3
Hi, I'm Chinese and use AI translation to communicate due to limited English fluency. Based on your description, I suspect the issue stems from the function onPlayerKill event, which triggers when a player eliminates another player.

In the "Racing System (with checkpoints)" script:

The onPlayerKill function calls QuitTrack.
In "Racing System.nut", QuitTrack first checks if a race is ongoing. If not, it sends the killer a message: "QuitTrack( [Player Name] ) failed. There is no race taking place."
My analysis:
This error message seems inappropriate when triggered by a player killing others, as killing doesn't necessarily indicate an intent to quit the race. A better fix might involve modifying QuitTrack—for example, removing the devprint and pmsg notifications (adjust based on specific needs). The core idea is: player kills ≠ race quit intent, so such prompts shouldn't appear here.
#4
Script Showroom / Re: Vcmp my new script
Mar 20, 2025, 05:58 PM
Hello, I don't know much about it, but your script looks more like C + + or java, not the common Java language of vcmp, so I guess if you want to run this script, you need other plugin support, and I noticed that most of the functions are not official events of vcmp, and some of them are similar to letting the server-side script display GUI to the client?  ?  In my opinion, this seems to need the support of client script. If there is no support of client script, the server should not be able to display GUI directly to the client. Therefore, based on the above situation, I think this script should not run. I come from China, so my English may not be very good. Please be tolerant.