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 - Shy
1
General Discussion / Re: Spamming the server list
« Today at 10:27 AM »
Quote from AdTec_224 Today at 06:54 AM
The IP address has now been banned. Thank you for your report :)
There're also someother servers maybe the same guy is doing this, this time two different IPs. Please ban them asap.

https://ibb.co/nDM6MGP
https://ibb.co/5vfT8K2
2
Quote from shaddam17 Today at 09:29 AM
I wonder if somebody have the 32bit linux server version. All I can find are dead links
Hi, create a new topic than bumping :)
3
Script Showroom / [GAMEMODE] Re: DeathMatch v1.1
« Yesterday at 02:47 AM »
Post error screenshot & line
4
Snippet Showroom / Mute System with timers
« on September 21st, 06:36 PM »
Well, just learned table today so thought to make a something so I decided to make mute system, tested it and sharing it with 0 errors as I tested. ;D

(click to show/hide)

In top of script:
Code: [Select]
mute <- {};

onPlayerJoin:
Code: [Select]
mute.rawset( player.ID, {} );

onPlayerChat:
Code: [Select]
if ( mute.rawget(player.ID).rawin("muted") ) return MessagePlayer("[#ff0000]Error! You're muted, wait mute to expire.", player);

onPlayerPart:
Code: [Select]
if ( mute.rawget(player.ID).rawin("muted")) mute.rawget(playerr.ID).rawdelete("muted");

Function:
Code: [Select]
function Unmute(p)
{
local plr = FindPlayer(p);
if ( plr && mute.rawget(plr.ID).rawin("muted"))
{
mute.rawget(plr.ID).rawdelete("muted");
Message(format("Automuted %s Reason: Mute time expired!", plr.Name));
}
}

onPlayerCommand:
Code: [Select]
if ( cmd == "mute")
{
if (!text) return MessagePlayer("Error - use /mute <player> <min:sec> <reason>.", player);
else
{
         local plr = GetPlayer( GetTok(text, " ", 1));
         local tym =  GetTok(text, " ", 2);
         local reason = GetTok(text, " ", 3, NumTok(text, " "));
if ( !plr) return MessagePlayer("Error - unknown plr.", player);
else if (!tym) return MessagePlayer("Error - use /mute <player> <sec> <reason>.", player);
else if (!reason) return MessagePlayer("Error - use /mute <player> <sec> <reason>.", player);
else if ( !IsNum(tym)) return MessagePlayer("Input secs as integer or float, noob.", player);
else if ( tym.tointeger() < 15 ) return MessagePlayer("Error! Minimum secs are 15.", player);
else if ( mute.rawget(plr.ID).rawin("muted") ) return MessagePlayer("Error! Requested plr already muted.", player);
else
{
         mute.rawget(plr.ID).rawset("muted", true);
UnmuteTimer <-  NewTimer("Unmute", tym.tointeger()*1000, 1, plr.ID);
Message("Admin "+player.Name+" muted "+plr.Name+" Time: "+tym.tointeger()+" seconds, Reason added: "+reason+"");
}
}
}
else if ( cmd == "unmute")
{
if (!text) return MessagePlayer("Error - use /unmute <player> .", player);
else
{
local plr = FindPlayer(text);
if (!plr) return MessagePlayer("Error - unknown plr.", player);
else if ( !mute.rawget(plr.ID).rawin("muted")) return MessagePlayer("Error! requested plr not muted.", player);
else
{
            mute.rawget(plr.ID).rawdelete("muted");
UnmuteTimer.Stop();
Message(format("Admin %s unmuted %s", player.Name, plr.Name));
}
}
}

If you find any bug from somewhere, report it to me in PM and I'll try to fix it immediately. ::)

Note: Due to lack of time, I didn't add GetTok, NumTok & GetPlayer functions. Search on the forum & you'll find it.
5
Quote from Shy on September 19th, 03:21 PM
@MEGAMIND,can you grant access if repo is setup, 'SHy353' or 'Shy353'.
6
1: What does this basically does( I understand but noobs won't)? We can also add the same sentence in ScriptLoad rather than database. So elaborate more what's the ease of it rather than putting in onScriptLoad( for noobs).

2: You have added stats[ player.ID ].Level, so if someone directly copy pastes the script so he/she will get errors about it. ( ex blank vcmp server ) so better remove it.

3: You haven't provided the requires function which you used ( GetTok ) so if someone directly copy pastes, he'll get the GetTok index error.

After all that, nice work.
7
Drake's Free Host / Re: Pl Free Hosting.
« on September 17th, 07:03 PM »
Ofcourse, they do.
8
Drake's Free Host / Re: Pl Free Hosting.
« on September 17th, 02:57 AM »
Quote from Athanatos on September 16th, 08:10 PM
I don't care about bumping, but the video is dead. Wtf happened?
That's because the host ended up.
9
I'll if I can.
10
Off-Topic General / Re: somebody multiple accounts
« on September 15th, 05:50 PM »
Forum bots? Maybe.
11
Snippet Showroom / Re: Spawnwep System by Mack
« on September 15th, 09:33 AM »
Quote from Arshh on September 14th, 03:31 PM
I'm sorry for bumping old topic, but i need some help, I'm getting this error in console and the cmd is not working.

AN ERROR HAS OCCURED [cannot convert the string]
Hi, would you like to input the error line given below below the error? I suggest you to post not one line and atleast 5 lines(above & down the error line) and make a new topic instead of bumping :)
12
Community Plugins / Re: create bots with this plugin
« on September 14th, 07:24 PM »
Anytime.

P.S: Update the first post with fresh dll file ;D
13
Community Plugins / Re: create bots with this plugin
« on September 14th, 05:37 AM »
@habi , I found some sort of bug? I tried talking in the chat and the bot did actually the same but if you do repeat with /play , the bot performs same actions but doesn't talk. It only does talk on first play.
14
Community Plugins / Re: create bots with this plugin
« on September 13th, 03:42 PM »
Ops my bad, I found the problem, it was actually 'anitcheat 0' so I corrected it :p thanks and ok I'll do it :P
15
Community Plugins / Re: create bots with this plugin
« on September 13th, 02:39 PM »
Alright, I'll check the spellings again, there might be problem with spellings. Also do bots only join servers with port 8192?