Vice City: Multiplayer

Server Development => Scripting and Server Management => Script Showroom => Topic started by: Mack on Jan 12, 2016, 04:58 AM

Title: [Remake] Attack/Defend Server - Script
Post by: Mack on Jan 12, 2016, 04:58 AM
A few days ago I decided to make an updated version of this script:
http://vcmp.liberty-unleashed.co.uk/forum/index.php?topic=555.0
well....

>> Attack & Defend Server 0.4
>> Remake by: Mack
>> Credit to Murid (original script) & [VU]Cutton (Script SQ vcmp 0.3)


Download Server: Mediafire (http://www.mediafire.com/download/fv84va5rck0w408/Attack-Defend+Server+0.4.rar) Google Drive (https://drive.google.com/file/d/0B4dnZWX_v4kwOGhwUk5ndnpaSE0/view)
Virus Scam: Virus Scam (https://www.virustotal.com/es/file/421dd8a29660cff590ff65db3483a641afe9f426d508532630526abdfd8b2b5c/analysis/1452573536/)

Plugins required: announce04rel, sqlite04rel, squirrel04rel.

Download Plugins.
Windows x86 (http://v04.maxorator.com/files/plugins/mp04rc2_plugins32_windows.zip)
Windows x64 (http://v04.maxorator.com/files/plugins/mp04rc2_plugins64_windows.zip)
Linux x86 (http://v04.maxorator.com/files/plugins/mp04rc2_plugins32_linux.zip)
Linux x64 (http://v04.maxorator.com/files/plugins/mp04rc2_plugins64_linux.zip)

Server:
Windows 32Bits (http://wiki.vc-mp.org/images/d/db/Download-windows-32.png)
Windows 64Bits (http://v04.maxorator.com/server/VCMP04_server_v15_win64.zip)
Linux 32Bits (http://v04.maxorator.com/server/VCMP04_server_v15_linux32.zip)
Linux 64Bits (http://v04.maxorator.com/server/VCMP04_server_v15_linux64.zip)

Commands
General Cmds: /score, /stats, /base, /set, /side, /setlist, /teamhp, /help, /credits.
Admin Cmds: /startbase, /end, /add, /remove, /switchteams, /pause, /unpause, /ann, /setchoice, /kick,/exec.

¿How to configure?
1-Open Main.nut and edit.
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffotos.subefotos.com%2F9c06c3eb0ab22c0f347f5f897900ea28o.png&hash=2cb9c56d5ba7c22524d12b60da4963afe7530f9c)

¿How to be admin?
1- Type /admin <admin password>
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffotos.subefotos.com%2F7c759c00bed85213c92dc6752fdad349o.png&hash=2413dc40f2fa77664f6e5c0ed48db2c5e84858ff)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffotos.subefotos.com%2F4611d98f830ce616b9ade44a156d6ddao.png&hash=3cbff141a3d99eb1385f79cbbffdbf30b2f467de)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffotos.subefotos.com%2F123c51ee612b851f4ab9389715191d74o.png&hash=3838d943d313951d8a52085d136fbcc5209049f7)





Title: Re: [Remake] Attack/Defend Server - Script
Post by: MatheuS on Jan 12, 2016, 05:53 AM
good...
Title: Re: [Remake] Attack/Defend Server - Script
Post by: KAKAN on Jan 12, 2016, 08:37 AM
Quote from: MatheuS on Jan 12, 2016, 05:53 AMgood...
Title: Re: [Remake] Attack/Defend Server - Script
Post by: SAzEe21 on Jan 12, 2016, 10:23 AM
Quote from: MatheuS on Jan 12, 2016, 05:53 AMv.good...
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Buddy on Jan 12, 2016, 03:50 PM
Good Job but its difficult to find other team.
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Klaus on Jan 14, 2016, 05:05 PM
One of the best gamemodes
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Human on Jan 15, 2016, 09:23 AM
Good  And  Nice Script How To   Save Admin Level??
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Mack on Jan 15, 2016, 07:44 PM
every time you join type /admin password
Title: Re: [Remake] Attack/Defend Server - Script
Post by: [VM_U]Spectra.PhantoM^ on Jan 17, 2016, 04:47 PM
Good Script..... But.
Instead of ClientMessage("", player,255,0,102);
Why Not MessagePlayer("", player);
Way Much easier for newbies...
BTW. Awesome Script Yo.
Title: Re: [Remake] Attack/Defend Server - Script
Post by: MacTavish on Jan 17, 2016, 07:04 PM
Quote from: {ultimatejugo] on Jan 17, 2016, 04:47 PMInstead of ClientMessage("", player,255,0,102);
Why Not MessagePlayer("", player);
ClientMessage is an builtin squirrel function and it has ability of RGB colors
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Saiyan Attack on Jan 17, 2016, 11:25 PM
Nice Script In Previous Days I Was Thinking That I Will Make a Script Like Counter Strike Server Script So That's Give Me Great Idea About How To Make .... Thnks :P
Title: Re: [Remake] Attack/Defend Server - Script
Post by: hydewhyd on Jan 19, 2016, 02:25 PM
Nice work.
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Warner on Apr 17, 2016, 01:45 PM
this error occurs can anyone solve it i have inserted plugins
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi66.tinypic.com%2F2jcwms4.png&hash=a66dd5b23d34096288e4bbbca50489764abd80c7)
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Thijn on Apr 17, 2016, 04:31 PM
You'd need the 32bit plugins.
Title: Re: [Remake] Attack/Defend Server - Script
Post by: MD619 on Jun 18, 2016, 11:25 AM
My computer detected virus in plugin
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Finch Real on Jun 18, 2016, 01:32 PM
There are no Plugins Provided by Script Shut Down your Anti virus in order to Use Scripts
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Kewun on Jun 18, 2016, 03:44 PM
Quote from: Mack on Jan 12, 2016, 04:58 AMVirus Scam: Virus Scam (https://www.virustotal.com/es/file/421dd8a29660cff590ff65db3483a641afe9f426d508532630526abdfd8b2b5c/analysis/1452573536/)



virus scammed me

btw good gamemode ;)
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Thijn on Jun 18, 2016, 04:35 PM
Quote from: Finch Real on Jun 18, 2016, 01:32 PMThere are no Plugins Provided by Script Shut Down your Anti virus in order to Use Scripts
Most certainly not. If you downloaded plugins that contain a virus it's best to scan your own computer for viruses.
The official plugin packages do not contain viruses.
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Dhrubo on Jun 19, 2016, 05:03 PM
Thanks for the script :D worked for me fine and no virus because I downloaded the official script.
Title: Re: [Remake] Attack/Defend Server - Script
Post by: ahmedzead on Feb 06, 2017, 05:24 PM
how to change admin password???
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Hazard on Feb 12, 2017, 07:15 AM
In which language you made it, #Mack ?
Title: Re: [Remake] Attack/Defend Server - Script
Post by: KAKAN on Feb 12, 2017, 11:15 AM
Quote from: Lion on Feb 12, 2017, 07:15 AMIn which language you made it, #Mack ?
English.
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Cool on Feb 12, 2017, 12:51 PM
Quote from: Lion on Feb 12, 2017, 07:15 AMIn which language you made it, #Mack ?
Spanish
Title: Re: [Remake] Attack/Defend Server - Script
Post by: MatheuS on Feb 12, 2017, 10:08 PM
Quote from: Lion on Feb 12, 2017, 07:15 AMIn which language you made it, #Mack ?

Portuguese
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Xmair on Feb 13, 2017, 07:04 AM
Squirrel.
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Adrenaline on Mar 10, 2017, 03:07 AM
help me pls, plugin 0.0 downloand link???
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fimage.prntscr.com%2Fimage%2Fd1c14682881344ef99d9a7e4802b308b.png&hash=4bb1058501c4bb993bd0b898ceb5470adca5550b)
Title: Re: [Remake] Attack/Defend Server - Script
Post by: KAKAN on Mar 10, 2017, 04:34 AM
you updated the server but forgot to update the plugins. That's the problem.
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Adrenaline on Mar 10, 2017, 04:56 AM
Quote from: KAKAN on Mar 10, 2017, 04:34 AMyou updated the server but forgot to update the plugins. That's the problem.
There is no solution?
Title: Re: [Remake] Attack/Defend Server - Script
Post by: KAKAN on Mar 10, 2017, 06:01 AM
Quote from: AdrenAline on Mar 10, 2017, 04:56 AM
Quote from: KAKAN on Mar 10, 2017, 04:34 AMyou updated the server but forgot to update the plugins. That's the problem.
There is no solution?
http://forum.vc-mp.org/?board=4.0
Keep an eye there for updates.
The plugin updates are located here:- http://forum.vc-mp.org/?topic=2719.0
Title: Re: [Remake] Attack/Defend Server - Script
Post by: kennedyarz on Mar 10, 2017, 10:43 AM
O.o OMG
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Adrenaline on Mar 10, 2017, 02:48 PM
Quote from: KAKAN on Mar 10, 2017, 06:01 AM
Quote from: AdrenAline on Mar 10, 2017, 04:56 AM
Quote from: KAKAN on Mar 10, 2017, 04:34 AMyou updated the server but forgot to update the plugins. That's the problem.
There is no solution?
http://forum.vc-mp.org/?board=4.0
Keep an eye there for updates.
The plugin updates are located here:- http://forum.vc-mp.org/?topic=2719.0
ty
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fimage.prntscr.com%2Fimage%2F59fe2058ff86499cbc549097d08f665e.png&hash=254e721aedaac8f24b39d0e631b3bc641c5ef15a)
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Demoncious on Mar 15, 2017, 08:07 PM
It is way too Difficult to find the Other team

Any way to set a Barrier (Like Battlefield's Maps)
Also How do I edit the Weapon Sets ?
I know how to edit the Character Skins but I have no idea about the Weapon Sets.
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Adrenaline on Mar 15, 2017, 10:12 PM
Quote from: Demoncious on Mar 15, 2017, 08:07 PMIt is way too Difficult to find the Other team

Any way to set a Barrier (Like Battlefield's Maps)
Also How do I edit the Weapon Sets ?
I know how to edit the Character Skins but I have no idea about the Weapon Sets.

weapons id -> http://murdock.in/wiki/index.php/Weapon_IDs

modify in main.nut

function GiveWeapons(player, id)
{
player.SetWeapon(1, 1);
player.SetWeapon(10, 1);
player.SetWeapon(18, 9999);
player.SetWeapon(24, 9999);
switch(id)
{
case 0:
{
player.SetWeapon(21, 9999);
player.SetWeapon(26, 9999);
break;
}
case 1:
{
player.SetWeapon(21, 9999);
player.SetWeapon(27, 9999);
player.SetWeapon(12, 5);
break;
}
case 2:
{
player.SetWeapon(20, 9999);

break;
}
case 3:
{
player.SetWeapon(21, 9999);
player.SetWeapon(29, 9999);

break;
}
case 4:
{
player.SetWeapon(19, 9999);
player.SetWeapon(32, 9999);
break;
}
case 5:
{
player.SetWeapon(21, 9999);
player.SetWeapon(28, 9999);
player.SetWeapon(15, 3);
break;
}
case 6:
{
player.SetWeapon(21, 9999);
player.SetWeapon(30, 4);
break;
}
}
}
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Demoncious on Mar 16, 2017, 05:14 AM
Quote from: AdrenAline on Mar 15, 2017, 10:12 PM
Quote from: Demoncious on Mar 15, 2017, 08:07 PMIt is way too Difficult to find the Other team

Any way to set a Barrier (Like Battlefield's Maps)
Also How do I edit the Weapon Sets ?
I know how to edit the Character Skins but I have no idea about the Weapon Sets.

weapons id -> http://murdock.in/wiki/index.php/Weapon_IDs

modify in main.nut

function GiveWeapons(player, id)
{
player.SetWeapon(1, 1);
player.SetWeapon(10, 1);
player.SetWeapon(18, 9999);
player.SetWeapon(24, 9999);
switch(id)
{
case 0:
{
player.SetWeapon(21, 9999);
player.SetWeapon(26, 9999);
break;
}
case 1:
{
player.SetWeapon(21, 9999);
player.SetWeapon(27, 9999);
player.SetWeapon(12, 5);
break;
}
case 2:
{
player.SetWeapon(20, 9999);

break;
}
case 3:
{
player.SetWeapon(21, 9999);
player.SetWeapon(29, 9999);

break;
}
case 4:
{
player.SetWeapon(19, 9999);
player.SetWeapon(32, 9999);
break;
}
case 5:
{
player.SetWeapon(21, 9999);
player.SetWeapon(28, 9999);
player.SetWeapon(15, 3);
break;
}
case 6:
{
player.SetWeapon(21, 9999);
player.SetWeapon(30, 4);
break;
}
}
}

Okay thanks for The Information I changed the ID's just as you said and It worked Perfectly.

Also Anyway To Change the Round Time ?

And For Anyone Wondering how to Edit the Vehicle Spawn Points

Just Open up the database.db file using any Sqlite Editor, I used Sqlite Studio for Windows.
Open up the Vehicles table and Add/Remove/Edit Vehicle Spawn points in the Format

Vehicle Reference ID / Position (x,y,z) / Angle / Color (x,y)

Same Goes for Attacker and Defender Bases
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Nimitz on Jan 26, 2018, 05:42 AM
Any can gave me new links for plugins 32bits pls? link no work ;(
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Retard on Jan 26, 2018, 09:19 AM
Quote from: Nimitz on Jan 26, 2018, 05:42 AMAny can gave me new links for plugins 32bits pls? link no work ;(
Download Seby's blank script it contains 64 & 32 plugins
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Nimitz on Jan 26, 2018, 03:38 PM
but i no need Special A/D Plugins ?
Title: Re: [Remake] Attack/Defend Server - Script
Post by: Retard on Jan 26, 2018, 03:51 PM
You can download the plugins from Here (http://v04.thijn.ovh/allplugins_04rel004_patch7.7z)