ADM Script
Version: 1.0
Creator/Developer: [VU_R]rObInX / Dany
Credits: sseebbyy, Fuzzie.
Features:
- Register/Login system.
- Auto-Spawn system
- LMS
- Team System
- Votekick
- Admin System
- Aliases
- Multibot Echo System
- Nitro Oxide System
Link: Mediafire (https://www.mediafire.com/?wro6joor8rwqb8b), Mega (https://mega.co.nz/#!QYAVVabI!nQra1NG9OysWmPH0Vjcmtu9dlS7xfqGwnG1nGqRKJnE)
I was waiting for this...Downloading right now :)
Good to see you guys, moving to 0.4 :P
I'm not sure I can really trust an executable file from unknown sources. Don't get me wrong but executable files shouldn't be shared like that. Actually they shouldn't be shared at all here. What if your computer was infected when you created that archive? Wouldn't my computer get infected too?
In this case there was nothing to worry (https://www.virustotal.com/en/file/953416d38f7b795de2d2735c56ee2a0b0d2ef31f4b3c4ef8d4eaf4d00ee44ebf/analysis/1425429800/) but what if?
Server very good! ;)
lol Its Good But Bugs of EMessage Change Them TO Just Message or else Script is best
Quote from: PsyChO_KiLLeR on Mar 04, 2015, 06:54 AMlol Its Good But Bugs of EMessage Change Them TO Just Message or else Script is best
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fwiki.gamergate.me%2Fimages%2F9%2F9b%2FDoes-not-compute.jpg&hash=23a7cf8b767f83c76acc910cc09f9422c36b8076)
Great work
Quote from: S.L.C on Mar 04, 2015, 12:41 AMI'm not sure I can really trust an executable file from unknown sources. Don't get me wrong but executable files shouldn't be shared like that. Actually they shouldn't be shared at all here. What if your computer was infected when you created that archive? Wouldn't my computer get infected too?
In this case there was nothing to worry (https://www.virustotal.com/en/file/953416d38f7b795de2d2735c56ee2a0b0d2ef31f4b3c4ef8d4eaf4d00ee44ebf/analysis/1425429800/) but what if?
I'm well aware of that, but its a rar file not an exe.
I've followed this (http://vcmp.liberty-unleashed.co.uk/forum/index.php?topic=1663.0) while publishing this script.
Quote from: PsyChO_KiLLeR on Mar 04, 2015, 06:54 AMlol Its Good But Bugs of EMessage Change Them TO Just Message or else Script is best
They both have different functions.
Thanks fellas.
Please feel free to report any bug or better method which can be implemented.
Nice work ;)
Quote from: rObInX on Mar 04, 2015, 10:12 AMQuote from: S.L.C on Mar 04, 2015, 12:41 AMI'm not sure I can really trust an executable file from unknown sources. Don't get me wrong but executable files shouldn't be shared like that. Actually they shouldn't be shared at all here. What if your computer was infected when you created that archive? Wouldn't my computer get infected too?
In this case there was nothing to worry (https://www.virustotal.com/en/file/953416d38f7b795de2d2735c56ee2a0b0d2ef31f4b3c4ef8d4eaf4d00ee44ebf/analysis/1425429800/) but what if?
I'm well aware of that, but its a rar file not an exe.
I've followed this (http://vcmp.liberty-unleashed.co.uk/forum/index.php?topic=1663.0) while publishing this script.
S.L.C. pointed towards the fact you shipped the plugins and server itself with it. All you need to add in the zip is your script.
It makes the zip much smaller as well.
Quote from: Thijn on Mar 04, 2015, 06:02 PMQuote from: rObInX on Mar 04, 2015, 10:12 AMQuote from: S.L.C on Mar 04, 2015, 12:41 AMI'm not sure I can really trust an executable file from unknown sources. Don't get me wrong but executable files shouldn't be shared like that. Actually they shouldn't be shared at all here. What if your computer was infected when you created that archive? Wouldn't my computer get infected too?
In this case there was nothing to worry (https://www.virustotal.com/en/file/953416d38f7b795de2d2735c56ee2a0b0d2ef31f4b3c4ef8d4eaf4d00ee44ebf/analysis/1425429800/) but what if?
I'm well aware of that, but its a rar file not an exe.
I've followed this (http://vcmp.liberty-unleashed.co.uk/forum/index.php?topic=1663.0) while publishing this script.
S.L.C. pointed towards the fact you shipped the plugins and server itself with it. All you need to add in the zip is your script.
It makes the zip much smaller as well.
I just added the plugins, not the server.
Would prevent it in the future. Thanks for informing :D
GooD Script :) :)
I like it ;) Keep it up!!!
I get this error.
---------------------------
server.exe - Entry Point Not Found
---------------------------
The procedure entry point InitializeConditionVariable could not be located in the dynamic link library KERNEL32.dll.
---------------------------
OK
---------------------------
Quote from: Omair on Jun 12, 2015, 05:43 PMI get this error.
---------------------------
server.exe - Entry Point Not Found
---------------------------
The procedure entry point InitializeConditionVariable could not be located in the dynamic link library KERNEL32.dll.
---------------------------
OK
---------------------------
Which OS and ServicePack are you using?
If you are using Xp Sp2 then try my suggestion that i posted Here (http://forum.vc-mp.org/?topic=761.0)
Quote from: Omair on Jun 12, 2015, 05:43 PMI get this error.
---------------------------
server.exe - Entry Point Not Found
---------------------------
The procedure entry point InitializeConditionVariable could not be located in the dynamic link library KERNEL32.dll.
---------------------------
OK
---------------------------
Try redownloading the latest server. Seems you're on XP and something was compiled for Vista and higher.
Speaking of which, you should upgrade to at least Vista or 7 if this is the case.
I'm using windows XP Service pack 3.
Can i use this script on my server?
And please tell me how to set admin.
Nice bump
from database goto accounts table in database and change your level to 5 or any you want
(https://lh3.googleusercontent.com/pycEficY0AW8Fv19Q5uYNcZO5sKv96yliI6oOGYeif7kd8NKKtiL5H81YnvUZazUHIc49HFVE2U-W5DNkfpuGlqossUJXluSXth6zt9i8suhKE0VicqZzmae-ZBOZP5QCIjMohsr6V5f4D0OG_95_jHl6u7LReAf_h7W7MgREVlhADTVXebUQqSt2X_mfjMo-gak66-K0Aiq6w3PxZFcCXf-a0KUBWeZvg8lAMqSNRnV-sTEQGLGf20tTG-di4KyZJbl5nkoF46dbwOWLQyLj23xRBPdIDmaFMGv0L7prvCjxHZi8IGyETMnKYVGP0Kdbo_Ksp_e1IEXH13v6sl86hVvpgaP7coW2UNfdngDeCgNO8OhkM-Gx7LBMcjzvPXjmdXUAPdlch1A4Hef7bH9RyEbHbbRKxQF1dzP5HheAwD6jblRp7sliHzmIzM3LSVTHh0UCU10nzuy9pHT1hA2oSiOEmSw2Uawc-n7Y8zVMzrMZXem0q9y69yWfjIFhnGBs1Sj_HAUzuH5Hm2hKyovpDMnIyjNCB6geto8f_siZg=w640-h480-no)
there was 3 players in my server and i use command /admin its showing all players admin like this Admins online ;3
Its not showing admins name and there are no cmds for admin what i do to for make that work?
And how to remove this logo ? you can see logo in pic
In your server files,goto store->sprite.Search for this logo and remove a code from your script.
The admin cmd must be there in any file..Search it and post here.
function AdminCmds( player, command, text )
{
local cmd = command.tolower();
if ( cmd == "exec" )
{
if ( stats[ player.ID ].Level < 5 ) MessagePlayer( "Error - You don't have access to it.", player);
else if( !text ) MessagePlayer( "Error - Syntax: /exec <Squirrel code>", player);
else
{
try
{
local script = compilestring( text );
script();
}
catch(e) MessagePlayer( "Error: " + e, player);
}
}
else if ( cmd == "kick" )
{
if ( stats[ player.ID ].Level < 3 ) MessagePlayer( "Error - You don't have access to it.", player);
else if ( !text ) MessagePlayer( "Error - Syntax: /kick <player> <reason>", player);
else
{
local plr = GetPlayer( GetTok( text, " ", 1 ) );
if ( !plr ) MessagePlayer( "Error - Unknown player.", player);
else
{
local reason = GetTok( text, " ", 2 );
if ( !reason ) reason = "None";
EMessage( "" + plr.Name + " have been kicked. Reason: " + reason + "" );
plr.Kick();
}
}
}
else if ( cmd == "ban" )
{
if ( stats[ player.ID ].Level < 4 ) MessagePlayer( "Error - You don't have access to it.", player);
else if ( !text ) MessagePlayer( "Error - Syntax: /ban <player> <reason>", player);
else
{
local plr = GetPlayer( GetTok( text, " ", 1 ) );
if ( !plr ) MessagePlayer( "Error - Unknown player.", player);
else
{
local reason = GetTok( text, " ", 2 );
if ( !reason ) reason = "None";
Ban( plr, reason );
}
}
}
else if ( cmd == "unban" )
{
if ( stats[ player.ID ].Level < 4 ) MessagePlayer( "Error - You don't have access to it.", player);
else if ( !text ) MessagePlayer( "Error - Syntax: /unban <player name>", player);
else
{
local query = QuerySQL( sqliteDB, "SELECT * FROM Bans WHERE Name='" + text + "'" );
if( GetSQLColumnData( query, 0 ) ) Unban( text );
else MessagePlayer( "This nick isn't banned. Please type the banned nick.", player );
FreeSQLQuery( query );
}
}
else if ( cmd == "alias" )
{
if ( stats[ player.ID ].Level < 3 ) MessagePlayer( "Error - You don't have access to it.", player);
else if ( !text ) MessagePlayer( "Error - Syntax: /alias <player>", player);
else
{
local plr = GetPlayer( GetTok( text, " ", 1 ) );
if ( !plr ) MessagePlayer( "Error - Unknown player.", player);
else MessagePlayer( "" + plr.Name + "(" + plr.IP + ")'s aliases: " + GetAlias( plr.IP ) + ".", player );
}
}
else if ( cmd == "salias" )
{
if ( stats[ player.ID ].Level < 3 ) MessagePlayer( "Error - You don't have access to it.", player);
else if ( !text ) MessagePlayer( "Error - Syntax: /salias <subnet>", player);
else
{
local ip = split(text, "."), length = NumTok(text, ".").tointeger();
if ( length < 2 ) PrivMessage( player, "Invalid IP" );
else if (!IsNum( ip[0] )) MessagePlayer( "Error - Unknown IP.", player);
else if (!IsNum( ip[1] )) MessagePlayer( "Error - Unknown IP.", player);
else MessagePlayer( "Subnet(" + text + ")'s aliases: " + GetAlias( text ) + ".", player );
}
}
else if ( cmd == "ip" )
{
if ( stats[ player.ID ].Level < 3 ) MessagePlayer( "Error - You don't have access to it.", player);
else if ( !text ) MessagePlayer( "Error - Syntax: /ip <player/nick>", player);
else
{
local query, _ip, plr;
plr = GetPlayer( text );
if ( plr ) MessagePlayer( "IP: " + plr.IP, player );
else
{
query = QuerySQL( sqliteDB, "SELECT LastUsedIP FROM Accounts WHERE Name='" + text.tolower() + "'" );
if( GetSQLColumnData( query, 0 ) ) _ip = GGetSQLColumnData( query, 0 );
else _ip = "Unknown";
MessagePlayer( "" + text + "'s IP: " + _ip, player );
PrivMessage( player, "You may get the alias list by /salias <subnet>" );
FreeSQLQuery( query );
}
}
}
else if ( cmd == "acmds" )
{
PrivMessage( player, "Admin Commands: (/) exec, kick, ban, alias, salias, ip, unban" );
}
}
lol nice one xD
This is my my admin.nut file but how its work i didn't do onscriptload becuz i dont know how i make .
function AdminCmds( player, command, text )
{
local cmd = command.tolower();
if ( cmd == "exec" )
{
if ( stats[ player.ID ].Level < 5 ) MessagePlayer( "Error - You don't have access to it.", player);
else if( !text ) MessagePlayer( "Error - Syntax: /exec <Squirrel code>", player);
else
{
try
{
local script = compilestring( text );
script();
}
catch(e) MessagePlayer( "Error: " + e, player);
}
}
else if ( cmd == "kick" )
{
if ( stats[ player.ID ].Level < 3 ) MessagePlayer( "Error - You don't have access to it.", player);
else if ( !text ) MessagePlayer( "Error - Syntax: /kick <player> <reason>", player);
else
{
local plr = GetPlayer( GetTok( text, " ", 1 ) );
if ( !plr ) MessagePlayer( "Error - Unknown player.", player);
else
{
local reason = GetTok( text, " ", 2 );
if ( !reason ) reason = "None";
EMessage( "" + plr.Name + " have been kicked. Reason: " + reason + "" );
plr.Kick();
}
}
}
else if ( cmd == "ban" )
{
if ( stats[ player.ID ].Level < 4 ) MessagePlayer( "Error - You don't have access to it.", player);
else if ( !text ) MessagePlayer( "Error - Syntax: /ban <player> <reason>", player);
else
{
local plr = GetPlayer( GetTok( text, " ", 1 ) );
if ( !plr ) MessagePlayer( "Error - Unknown player.", player);
else
{
local reason = GetTok( text, " ", 2 );
if ( !reason ) reason = "None";
Ban( plr, reason );
}
}
}
else if ( cmd == "unban" )
{
if ( stats[ player.ID ].Level < 4 ) MessagePlayer( "Error - You don't have access to it.", player);
else if ( !text ) MessagePlayer( "Error - Syntax: /unban <player name>", player);
else
{
local query = QuerySQL( sqliteDB, "SELECT * FROM Bans WHERE Name='" + text + "'" );
if( GetSQLColumnData( query, 0 ) ) Unban( text );
else MessagePlayer( "This nick isn't banned. Please type the banned nick.", player );
FreeSQLQuery( query );
}
}
else if ( cmd == "alias" )
{
if ( stats[ player.ID ].Level < 3 ) MessagePlayer( "Error - You don't have access to it.", player);
else if ( !text ) MessagePlayer( "Error - Syntax: /alias <player>", player);
else
{
local plr = GetPlayer( GetTok( text, " ", 1 ) );
if ( !plr ) MessagePlayer( "Error - Unknown player.", player);
else MessagePlayer( "" + plr.Name + "(" + plr.IP + ")'s aliases: " + GetAlias( plr.IP ) + ".", player );
}
}
else if ( cmd == "salias" )
{
if ( stats[ player.ID ].Level < 3 ) MessagePlayer( "Error - You don't have access to it.", player);
else if ( !text ) MessagePlayer( "Error - Syntax: /salias <subnet>", player);
else
{
local ip = split(text, "."), length = NumTok(text, ".").tointeger();
if ( length < 2 ) PrivMessage( player, "Invalid IP" );
else if (!IsNum( ip[0] )) MessagePlayer( "Error - Unknown IP.", player);
else if (!IsNum( ip[1] )) MessagePlayer( "Error - Unknown IP.", player);
else MessagePlayer( "Subnet(" + text + ")'s aliases: " + GetAlias( text ) + ".", player );
}
}
else if ( cmd == "ip" )
{
if ( stats[ player.ID ].Level < 3 ) MessagePlayer( "Error - You don't have access to it.", player);
else if ( !text ) MessagePlayer( "Error - Syntax: /ip <player/nick>", player);
else
{
local query, _ip, plr;
plr = GetPlayer( text );
if ( plr ) MessagePlayer( "IP: " + plr.IP, player );
else
{
query = QuerySQL( sqliteDB, "SELECT LastUsedIP FROM Accounts WHERE Name='" + text.tolower() + "'" );
if( GetSQLColumnData( query, 0 ) ) _ip = GGetSQLColumnData( query, 0 );
else _ip = "Unknown";
MessagePlayer( "" + text + "'s IP: " + _ip, player );
PrivMessage( player, "You may get the alias list by /salias <subnet>" );
FreeSQLQuery( query );
}
}
}
else if ( cmd == "acmds" )
{
PrivMessage( player, "Admin Commands: (/) exec, kick, ban, alias, salias, ip, unban" );
}
}
Stick to playing.
@jayant meant to show your admin "cmd", not your shitty admin.nut( or butt whatever )
Nice script
funcion register is error
hmmm! can i add Announcment system
and can i get how to be an admin??
If I open browser.exe then it shows MSVCR71.dll not found how to fix it?
you can download file MSVCR71.dll in internet :v
sorry language of my :v
Quote from: longhackmc on Jun 07, 2016, 11:11 AMyou can download file MSVCR71.dll in internet :v
sorry language of my :v
No.
Download Visual C++ redistributable packages.( 2015 to be more precise )
AN ERROR HAS OCCURED [the index 'CreateSprite' does not exist]
Quote from: Auron on Jun 11, 2016, 01:08 PMAN ERROR HAS OCCURED [the index 'CreateSprite' does not exist]
You're late http://forum.vc-mp.org/?topic=2719.0
Quote from: maxorator on Apr 25, 2016, 07:47 PMServer Update 04rel004
- Removed server-side sprites. Use client-side sprites instead.
- Removed server-side textdraws. Use client-side GUI labels instead.
Hey this dint work.....theres showing error............can load script
Help! how to login as Admin?
How to use this script???
nice Bump
WTF, Script loaded as default server, lol
Helpp (https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FtwEccOL.png&hash=0aa5dcdf5a4b3f2c22f1b3972ddb24553ec5bd92)
the gamemode is ADM, so, no. You forgot to change the server name.
Quote from: KAKAN on Apr 02, 2017, 05:07 PMthe gamemode is ADM, so, no. You forgot to change the server name.
Nope, Script not working, ADM scripts have 64 bits plugins, after change on server.cfg 32 bits plugins and started server, script not works.
You can make tutorial?
Quote from: =UKZ=Razor5K. on Apr 02, 2017, 06:45 PMQuote from: KAKAN on Apr 02, 2017, 05:07 PMthe gamemode is ADM, so, no. You forgot to change the server name.
Nope, Script not working, ADM scripts have 64 bits plugins, after change on server.cfg 32 bits plugins and started server, script not works.
You can make tutorial?
Dafuq looks like we are here providing service to make tutorial for non scripters(n**bs).
Quote from: zeus on Apr 03, 2017, 07:49 AMQuote from: =UKZ=Razor5K. on Apr 02, 2017, 06:45 PMQuote from: KAKAN on Apr 02, 2017, 05:07 PMthe gamemode is ADM, so, no. You forgot to change the server name.
Nope, Script not working, ADM scripts have 64 bits plugins, after change on server.cfg 32 bits plugins and started server, script not works.
You can make tutorial?
Dafuq looks like we are here providing service to make tutorial for non scripters(n**bs).
Where I learn Siquirrel?
Apologizes for bumping, but I'm having some plugin errors at begging...
Plugin error >> LoadLibrary() 'plugins/sqlite04rel32.dll' failed: Code 126
Failed to load plugin: sqlite04rel32
What could be caused from? Incompatible scripts?
If you are intrested in reading & bumping old topics why not use the search button on the top left side of forum.
+ Open your eyes and read your post carefully,
Quote from: Radon on May 06, 2017, 05:44 PMI'm having some plugin errors
Plugin error >> LoadLibrary() 'plugins/sqlite04rel32.dll' failed: Code 126
Failed to load plugin: sqlite04rel32
Quote from: Radon on May 06, 2017, 05:44 PMWhat could be caused from? Incompatible scripts?
It doesn't matter your script is incompatable or not when you get such type of error.
Change the plugins
Erorr Plugin's
Haa
It also does not works on my server so i deleted the old plugins and downloaded&pasted the new plugins ,I recommend you to download this Plugins (http://v04.thijn.ovh/allplugins_04rel004_patch7.7z)
Give Register Or login :D ;D
Code 126 means that the file was not found. The SQLite DLL is usually deleted by Windows Defender or the likes because for some reason it is considered a virus. Either use SLC's SQLite plugin which isn't detected or whitelist it and install the official plugin again.
Where i put this on my server?
The ADm Script Save Player Data ??? ???
Quote from: [MCO]We3da on Nov 04, 2017, 12:27 PMThe ADm Script Save Player Data ??? ???
And what was the reason for bumping like this?
Not Working .WTF I am tried :-[
lolwut?
Quote from: =RK=MarineForce on Nov 06, 2017, 04:29 PMNot Working .WTF I am tried :-[
Simple solution: Kill your self please
Quote from: r4d0n on May 06, 2017, 05:44 PMApologizes for bumping, but I'm having some plugin errors at begging...
Plugin error >> LoadLibrary() 'plugins/sqlite04rel32.dll' failed: Code 126
Failed to load plugin: sqlite04rel32
What could be caused from? Incompatible scripts?
It is a 32 bit plugin. Are you aldo working on 32 bit server? Do you have that pligin?
Quote from: umar4911 on Nov 07, 2017, 01:47 AMQuote from: r4d0n on May 06, 2017, 05:44 PMApologizes for bumping, but I'm having some plugin errors at begging...
Plugin error >> LoadLibrary() 'plugins/sqlite04rel32.dll' failed: Code 126
Failed to load plugin: sqlite04rel32
What could be caused from? Incompatible scripts?
It is a 32 bit plugin. Are you aldo working on 32 bit server? Do you have that pligin?
What the f**k happens to people.**** the post is 6 months old >:( and you just realize after 6 months to give the guy a solution. I must have to say **** **u >:( (if you get it) and those who are doing shits like this ****.
Your post made me to spam like this ****.
Zesu don't angry.
Give me The Plugins OF Your Server :D
Quote from: =RK=MarineForce on Nov 08, 2017, 03:18 PMZesu don't angry.
Give me The Plugins OF Your Server :D
They are archieved in a folder inside idk which directory in my gmail mydrive and I don't have time to get them for you sorry.
So These is Not Good Script Not Working.
Major bump.
Looking back to what I created as a kid, I'm super proud and happy. I don't know what is the current condition of 0.4 or if the script works at all. And I'm sure there are plenty of better code out there. But if you guys need this old script, I can try rewrite it in my free time. Or maybe we could all do it as a project, on a github repo.
Let me know your opinion. :)