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.

Messages - Anish87
1
Script Showroom / [Squirrel] Re: Discord Bot Script
« on May 3rd, 09:27 AM »
Update:
  • Added a role class to call for roles with a better approach.
  • Did major update in the structure and explanation.
Click here to check the script out.
2
Script Showroom / Re: Sonmez's Register & Ban & Admin System
« on February 9th, 08:30 AM »
Quote from Xmair on February 9th, 05:31 AM
Quote from Athanatos on February 7th, 09:09 PM
(except I don't think regex exists in Squirreil).
It does.
yes and also Squirrel*
3
Support / Re: is there any other vcmp browser?
« on February 9th, 08:28 AM »
Well, there's this:
ysc's Launcher
and Xmair is making one, which will be released soon...
4
SLC's Squirrel Plugin / [Script Module] Re: Custom Spawn Selection
« on December 27th, 2020, 07:30 AM »
Quote from NewK on April 8th, 2020, 09:46 PM
It would seem this (memory leak) can't be reproduced on a blank server with an empty script, which makes me think this is somehow related to some vcmp entity (player, vehicle, pickup, sphere, checkpoint, etc...) and sitting on the spawn screen. 

If anyone can reproduce it on a blank script let us know.
Well, I guess I am bumping into the topic unnecessarily but the memory leak happens only when there is other stuff in the server like when an entity's data is being saved in arrays/tables/classes...
5
Snippet Showroom / Re: Basic Near Player Chat For RP Servers
« on December 27th, 2020, 07:27 AM »
Code: [Select]
            for(local i = 0; i < 100; i++)
            {
                local nearplr = FindPlayer(i);
                if (nearplr)
                {
                    MessagePlayer(pcolor+""+player.Name+"[#ffffff]: " + text + "", nearplr);
                }
            }
I think this code is mistaken, this will send a message to all the players in the server instead of anyone standing nearby... I might be wrong but check it once again...
6
SLC's Squirrel Plugin / [Sample] Re: Sample SqMod Script
« on November 23rd, 2020, 09:38 AM »
Quote from . on November 22nd, 2020, 12:18 PM
As for runtime dependencies. People should learn that they need Visual C++ Redistributable Runtimes All-in-One for any kind of program. Not just this.
Yes, people just come and keep on bugging that the scripts won't work LOL.
7
SLC's Squirrel Plugin / [Sample] Re: Sample SqMod Script
« on November 19th, 2020, 03:03 AM »
Quote from DizzasTeR on November 18th, 2020, 03:46 PM
Why is everything set to Execute in the ini file, just use Compile if you don't need a script to add new fields to entity classes.
Um yeah, I just used Execute because I executed one event at first and later I copied it to load other scripts as well...
8
SLC's Squirrel Plugin / [Sample] Re: Sample SqMod Script
« on November 19th, 2020, 03:01 AM »
You need to have necessary dependencies to run the plugin... Download all vcredist versions and try. You will need the MySQL libraries as well.
9
SLC's Squirrel Plugin / [Sample] Sample SqMod Script
« on November 18th, 2020, 01:06 PM »
I had been learning SqMod lately, so I thought why not create a sample script to make it easier for those who wanna start using SqMod but don't know where to start. So, I created this...

About
Database: MySQL
Scripter: Anish
Thanks to: SLC, Xmair, Dizzaster, Spiller and Luckshya
The scripts don't contain much features basic features and most events, necessary ones, related to player, vehicle entities. Commands like register, login, autologin and stats. I added the commands just to give an idea of creating commands in the native squirrel plugin style.

Here's the link to the repository: SqDM

10
Script Showroom / [Squirrel] Discord Bot Script
« on October 25th, 2020, 02:59 PM »
Discord Bot - Squirrel

Author: Anish87 (Me)
Modules used: Sleepy Discord Module for VC:MP(Squirrel) by Luckshya
Thanks to:
Luckshya(for listening to my similar queries again and again),
Spiller(for giving me perfect idea for implementation)

I was messing with the new plugin as the old one stopped supporting any new channels I made, IDK why. Thus, I thought of remaking my old Discord script for the new module. I was having a lil bit of difficulties but Spiller and Luckshya helped me through.
A friend of mine was also confused about the usage of the new module... So, I thought I shall upload this for everyone, to clear the difficulties.
Here's the link to the GitHub repository where I have uploaded the script along with the plugins for 64-bit systems.
Discord Bot - Squirrel
11
Community Plugins / Re: logfile maker
« on October 21st, 2020, 03:33 AM »
Nice work! Amazing people like always, but can you make one for Linux as well?
12
Servers / Re: • Vice Freeroam Server - VFS v1.3 •
« on October 18th, 2020, 08:28 PM »
Hi guys!, so I think I might be bumping this topic but there have been some edits to the description, the bugs some people were experiencing. Like Eva reported, have been fixed. The server has majorly changed, do join us soon!
Regards,
Anish87 :))
13
Community Plugins / Re: Discord Plugin
« on July 30th, 2020, 09:28 AM »
I have a suggestion Luckshya... Please add the SetPresence parameter for the bot and AvatarURL for SqDiscord.User.
14
Community Plugins / Re: Discord Plugin
« on July 24th, 2020, 12:56 PM »
Quote from Razor. on July 10th, 2020, 08:03 PM
I think it would be a type of event callback used in Discord. Try:
Code: [Select]
function onDiscordUpdate(connID, eventType, ...)
{
switch(eventType)
{
case SqDiscordEvent.Message:
print( "lol" );
break;
}
}
If i'm wrong, correct me.
no you're not wrong. I got in touch with Luckshya after that reply and understood the thing.
15
Community Plugins / Re: Discord Plugin
« on July 10th, 2020, 10:13 AM »
Nice! :)
Major update, really useful. Can you further explain the onDiscordUpdate though?