Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Script Showroom => Topic started by: Windlord on July 07, 2008, 08:09:08 PM

Title: WSV v0.2 by Windlord, VRocker, and damo
Post by: Windlord on July 07, 2008, 08:09:08 PM
http://downloads.windlord.co.cc/

==================================================================
==================================================================
======================= WorkSheet Scripts v0.2 ========================
==================================================================
==================== by Windlord, VRocker, and damo =====================
==================================================================
======== mIRC Admin by VRocker, Scripts by Windlord, mirc_run.dll by damo ========
==================================================================
==================================================================

   I have only started scripting recently and have heard of many newbie scripters that
wanted to use VRocker's brilliant mIRC Admin but could not as they did not or could not
script everything from scratch. I have created a basic script to use with VRocker's mIRC
Admin and would like to share it with everyone in the VC:MP community. Thank you for downloading this script!
                                                                       ----  Windlord  ----
====-------------------------------------------------------------------------------====
Thanks to: Juppi, Murdock, FoRcE, Orpheus, Ry5a, jc18 for testing and helping to debug
           this script!
====-------------------------------------------------------------------------------====

--< Instructions >--
  1. Extract folder to C:\WSV\ so that WSV.Startup.mrc is in; C:\WSV\WSV.Startup.mrc
     (ie. Your drive does not have to be named C. It can be named D or E as long as mIRC
          is installed in the drive)
  2. Open mIRC and connect to IRC://irc.gtanet.com
  3. Type in //load -rs C:\WSV\WSV.Startup.mrc
  4. The start-up script will load. Please press OK if a dialog box appears.
  4. A channel will open up. Please follow the on-screen instructions.
  5. After the start-up procedure, you will be re-directed to your echo channel.
  6. Get scripting! And Enjoy!

Info: Your config.ini file for the server must not have any pickups on it.

--< Updates from v0.1 >--
**  Cars and Props have been optimised. They now use hashes. Prop icon changes when it becomes sold or bought.

**  Props can be deleted as well as being added. You can now spawn at props with /c propspawn on <id>

**  An irc cmd, !bans has been added. It gives you the most recent 20 bans with dates, times, ip and all. !bans <n> will give you the n most recent bans

**  An awesome race mode has been added. !addraceloc adds a race location. !makerace makes a race and !race lets you enter a race with !start letting the race host start the race.

**  IRC admins are now shown on echo. A loop with $nick(%Echochan,%a) was used with separate admin signals.

**  Starter Script is now more user-friendly. If a dll error occurs, please use WSV.Startup2.mrc

** Try !ap info ;)

--< Some useful/interesting info >--
**  This script was done so that you do not have to open up two mIRC clients for a server like you did before for other released scripts. The text that is typed in by you and those on the channel will automatically be re-directed to the server script, thus enabling you to test the commands that you have created, and control/utilise the script with just one mIRC client.

**  Some popular commands such as !buycar !sharecar !buyprop have already been implemented into WSV v0.2 as nearly all scripters tend to try and add that command into their server.
**  However, some basic commands are not evident in the server scripts. These will be added later (For example, commands such as !tban, etc.)

** I recommend you to use the Startup script as it allows you to connect and load up your server with much ease. I myself use it everytime I turn on IRC.

**  Some of the aliases can be very useful. For example, the $WSV.pickupid($1) tells you the pickup id of a pickup regardless of what you type in.

** A News system is implemented which activates when a player enters an empty server. It'll PM all of the players every few ten seconds.

** Commands are shown depending on the level of the player. New commands should be added to Commands.txt

** As SetCarHealth does not work, !fix has been added. !fix sends your car away and sets it on fire and then returns the car when it re-spawns. This does not always work as some cars burn for a longer amount of time, or does not burn at all.

** Passengers are detected with the vehicle that they get in to.

** Switching your weapon to a minigun gives you an instant ban.

** You can communicate better with IRC. "!onirc" tells you who's on the channel. "!irc on" echoes the channel's chat details to you. "!msg <nick> <message>" lets you pm a person on IRC.

** gotoc and getc are goto and get cmds with cars.

** !Danger finds out the player with the highest ratio for you.

--< Commands >--
[Echo Channel Commands]
  >> By sending a pm to the echo bot/yourself
    !Ghost <nick/id> <password> : Lets you kick a nickname if it is yours.
    !Pm <nick/id> : Lets you PM a player
 
  >> By typing into the channel.
    :: If your text has . in front of the first word, (ie. ".Hi") it will echo into the server.
    !Pm <nick/id> : Let's you PM a player
    !Players !me !echo
    Most in-game commands

[In-game Commands]
    info
    script
    irc
    help
    rules
    stat
    addnews
    comments
    hp
    armour
    money
    bank
    loc
    coord
    distance
    level
    cd
    spree
    danger
    baninfo
    onirc
    admins
    deposit
    withdraw
    mute
    unmute
    car
    getcar
    spawn
    fix
    buycar
    sellcar
    sharecar
    delsharecar
    mycars
    makerace
    race
    racers
    start
    cancelrace
    buyprop
    sellprop
    shareprop
    delshareprop
    heal
    myprops
    propspawn
    alias
    warns
    freeze
    unfreeze
    kick
    ban
    login
    register
    givemoney
    goto
    gotoc
    sethp
    irckick
    votekick
    vote
    cancelvotekick
    get
    getc
    msg
    setlevel
    ac
    ap
    dp
    addprop
    delprop
    setcarprice
    resetmoney
    resetstats
    delaccount

--< Questions and Answers >--
  1. Can't I move this around elsewhere? Does it have to be in the root folder of my hard drive?
     -Answer- Unless you are willing to edit the whole script in vcmp.mrc I do not
              suggest that you execute this script from elsewhere.

  2. I need some commands which are not existent in this script. Can you send me a script for it?
     -Answer- I may be able to. However, please post the needed commands on the forum. I will add it for my next release.

  3. Are all the files necessary? Your script seems to use too many files.
     -Answer- Yes the files are all needed. I will re-structure the script later on to make it work better.

  4. Do I need that WSV.Startup.mrc script?
     -Answer- No you do not. You can set the variables manually. The startup script was designed to make it more convenient for the scripter to set up the server and run the scripts.

  5. How do you use the startup script again?
     -Answer- Typing /WSV.start on mIRC will open up a dialog box for you where you can set your variables, or start up the server by clicking 'Yes'.
              Typing /WSV.end on mIRC will close down the server; vcmp-svr.exe and will also unload the script, vcmp.mrc.

  6. Can I still use this when Vice City Multiplayer 0.4 comes out? And when will it come out?
     -Answer- I cannot answer this question as I am not a vcmp developer. Please wait till 0.4 is actually released.
Title: Re: WSV v0.1 by Windlord, VRocker, and damo
Post by: GTA-Roloboy on July 07, 2008, 08:16:19 PM
NICE JOB! :D

It's a great script ;)
Title: Re: WSV v0.1 by Windlord, VRocker, and damo
Post by: Mattz on July 07, 2008, 08:19:45 PM
Nice work mate  ;D
Title: Re: WSV v0.1 by Windlord, VRocker, and damo
Post by: Force on July 07, 2008, 08:20:01 PM
This is a great script and it has been a pleasure for me to help you test this script.

Good Job :D
Title: Re: WSV v0.1 by Windlord, VRocker, and damo
Post by: VRocker on July 07, 2008, 08:22:57 PM
Ooo nice script :) Not tried it personally but it sounds cool :)
Glad to have helped out a lil bit on this too :)

Well done ;D
Title: Re: WSV v0.1 by Windlord, VRocker, and damo
Post by: Windlord on July 07, 2008, 08:25:29 PM
Thank you very much indeed.
This is my first server script and I know there are probably bugs lounging in it...
Please inform me if you find any. Thank you :)

Also, some of the aliases are working in a very inefficient way currently.
I will change those asap.

Thank you again!
Title: Re: WSV v0.1 by Windlord, VRocker, and damo
Post by: ReVilo on July 07, 2008, 09:48:24 PM
*cough*
Great awesome script! Well done!!
@ the !ghost command, everyone in the channel will see your pass :p
Perhaps make it so you have to PM the bot.
Title: Re: WSV v0.1 by Windlord, VRocker, and damo
Post by: TanaX01 on July 07, 2008, 10:10:45 PM
Nice Wind  :D :D :D :D :D 
Title: Re: WSV v0.1 by Windlord, VRocker, and damo
Post by: Windlord on July 07, 2008, 10:20:50 PM
ReVilo: Of course I have done that ;)

Quote
  >> By sending a pm to the echo bot/yourself
    !Ghost <nick/id> <password> : Lets you kick a nickname if it is yours.
    !Pm <nick/id> : Lets you PM a player

Thank you, Tanax and ReVilo
Title: Re: WSV v0.1 by Windlord, VRocker, and damo
Post by: TanaX01 on July 07, 2008, 10:41:10 PM
Help

nice script one error ?

Quote<@VC-MP> 12Your maximum number of players is 25. Confirm? <Yes/No>
<@VC-MP> yes
<@VC-MP> 12________________________________________________________
<@VC-MP> 12Confirmed.
<@VC-MP> 12________________________________________________________
<@VC-MP> 12Please enter your script's information


<@VC-MP> WorkSheet Scripts v0.1
<@VC-MP> 12________________________________________________________
<@VC-MP> 12Your script's information is WorkSheet Scripts v0.1. Confirm? <Yes/No>
<@VC-MP> yes
<@VC-MP> 12________________________________________________________
<@VC-MP> 12Confirmed.
<@VC-MP> 12________________________________________________________
<@VC-MP> 12Please enter your script's information

EDIT:Help my in Please enter your script's information
Title: Re: WSV v0.1 by Windlord, VRocker, and damo
Post by: Windlord on July 07, 2008, 10:52:15 PM
I am sorry for the inconvenience.
It has now been fixed.
thank you
Title: Re: WSV v0.1 by Windlord, VRocker, and damo
Post by: TanaX01 on July 07, 2008, 11:42:53 PM
Quote from: Windlord on July 07, 2008, 10:52:15 PM
I am sorry for the inconvenience.
It has now been fixed.
thank you

Ok Not Problem Friend WindLord  8)
Title: Re: WSV v0.1 by Windlord, VRocker, and damo
Post by: TanaX01 on July 08, 2008, 03:59:44 AM
Please Post Problem WindLord :S
Title: Re: WSV v0.1 by Windlord, VRocker, and damo
Post by: Nemesis2500 on July 08, 2008, 01:15:53 PM
awesome script windlord!  ;)  :P
Title: Re: WSV v0.1 by Windlord, VRocker, and damo
Post by: Juppi on July 12, 2008, 07:22:59 PM
This has been said already a few times, but.. Great work ;) Hopefully this will get more scripters to at least try VRockers dll
Title: Re: WSV v0.1 by Windlord, VRocker, and damo
Post by: TanaX01 on July 15, 2008, 07:41:14 PM
Quote from: Chnelite on July 15, 2008, 04:49:14 PM
its works all perfect!!! it starts my server and everything
but one simple problem
after i enter the game first time,how do i make myself as admin?



yea one questioand in load script you nick in game and level in login automatic admin level 10  ;)
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: Windlord on July 18, 2008, 12:02:26 AM
I have updated the script to v0.2
Lots of bugs from v0.1 have been fixed and lots of unique new features have been added.

--< Updates from v0.1 >--
**  Cars and Props have been optimised. They now use hashes. Prop icon colour changes when it becomes sold or bought.

**  Props can be deleted as well as being added. You can now spawn at props with /c propspawn on <id>

**  An irc cmd, !bans has been added. It gives you the most recent 20 bans with dates, times, ip and all. !bans <n> will give you the n most recent bans

**  An awesome race mode has been added. !addraceloc adds a race location. !makerace makes a race and !race lets you enter a race with !start letting the race host start the race.

**  IRC admins are now shown on echo. A loop with $nick(%Echochan,%a) was used with separate admin signals.

**  Starter Script is now more user-friendly. If a dll error occurs, please use WSV.Startup2.mrc

** Try !ap info ;)

Regards to Juppi and Chnelite. My script was too full of bugs so I did not post a reply, afraid of being bombarded by accusations and questions. Thank you!
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: bakasan on July 18, 2008, 03:21:52 AM
pre-pinned ;D

nice work -_-
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: TanaX01 on July 18, 2008, 03:29:11 AM
Quote from: bakasan on July 18, 2008, 03:21:52 AM
pre-pinned ;D

nice work -_-

yea :D new edition in script cool  8)      ;)

EDIT:
Please Change Downloand Web is Lag.  ;)

New Edit: Hey Omg Web 2shared Problem in DownLoand Link please uploan in rapidshare o megaploud Thx  ;)
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: Windlord on July 18, 2008, 10:01:31 AM
Thank you Bakasan  :D
And TanaX01, I have added more links.
Sorry about the inconvenience

Note: Passwords are now encrypted. Please delete WSV.Pass.hsh if you are updrading from v0.1
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: TanaX01 on July 18, 2008, 07:26:29 PM
 Thx Windlord :D Rapidshare Downloand Fast 8)

-TaNaX01- ;)
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: Nemesis2500 on July 18, 2008, 10:44:49 PM
c00l script wind  ;D im using it right now!  :P
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: jason on July 18, 2008, 10:49:18 PM
hello

how i must config wsv v0.2 and shows it commands when i type in !commands?
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: TanaX01 on July 18, 2008, 10:55:30 PM
Quote from: jason on July 18, 2008, 10:49:18 PM
hello

how i must config wsv v0.2 and shows it commands when i type in !commands?

Stop Doble Post !  >:(
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: jason on July 18, 2008, 11:03:58 PM
hello?

how config it?
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: TanaX01 on July 18, 2008, 11:21:20 PM
Quote from: jason on July 18, 2008, 11:03:58 PM
hello?

how config it?

Omg !!! You Config.ini in you server !

you edit etc ! post in http://forum.vicecitymultiplayer.com/index.php?board=8.0   ;)
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: Windlord on July 19, 2008, 08:58:05 AM
If you'd like to configure WSV you'll have to know how to script in mIRC.

I will try and add more variables which you can tweak in the future such as kill money and spree money.
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: Vastox on July 20, 2008, 04:19:02 PM
Ok, i'm new to scripting so i clicked on the readme file.
So i did what the readme file said, i placed the 2 files in the right folder, and open mIRC. The readme said that i have to open mIRC and type "/load -rs vcmp.mrc". So i did that. The readme said that there would be displayed a dialog but all i get is this:

* Loaded script 'C:\Documents and Settings\Vastox\Application Data\mIRC\vcmp.mrc'
-

Help please?
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: TanaX01 on July 20, 2008, 09:09:29 PM
 1 you create one folder in Memory '':C''
2 name folder WSV and extrat file.
3 open mirc.
4 connect in irc.gtanet.com
5 Type in //load -rs C:\WSV\WSV.Startup.mrc
6 and you answer question in script yes or not etc..

-TaNaX01- ;)
 
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: Vastox on July 20, 2008, 09:34:41 PM
Quote from: TanaX01 on July 20, 2008, 09:09:29 PM
1 you create one folder in Memory '':C''
2 name folder WSV and extrat file.
3 open mirc.
4 connect in irc.gtanet.com
5 Type in //load -rs C:\WSV\WSV.Startup.mrc
6 and you answer question in script yes or not etc..

-TaNaX01- ;)
 

Well,
I did all that, but i get this dialog saying;

"One or more scripts have been loaded that include initialization commands.

You should only allow the initialization commands to be run if you know what this script does.

Run initialization commands?"

Then i can choose Yes or No, but nothing happens, doens't matter what i click. When i click Yes, nothing happens, when i click No, nothing happens :S
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: Windlord on July 22, 2008, 10:52:00 PM
Another update.
The WSV.Scripts.mrc has been fused into vcmp.mrc
Now the WSV.Startup.mrc script will only load vcmp.mrc

In the v0.2 I forgot to add in the actual WSV.Pickups.hsh that allows you to add pickups using the script. I have included it in this version.

Votekick commands, anti-spam, my CarDB script, and ban/topic change/kick protection have been added.
Also... the echo is now much more colourful than before.

Enjoy.

Edit: Some of you may have noticed this. Anti-swear, racism, advertisement keywords can now be added into the text files in the directory, C:\WSV\ , accordingly.
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: Force on July 23, 2008, 12:02:56 PM
You have done some great work on this script wind, keep it up :)
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: Windlord on July 23, 2008, 12:49:07 PM
Thanks a lot Force ;)

Vastox: We have spoken on IRC. My best guess is that your mIRC client itself is bugged. It seems queer to me that the client won't run the initialisation commands. Please try re-installing mIRC.
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: bazza on July 26, 2008, 07:22:44 PM
ITS GOT EVERYTHING
I WILL USE THIS ONE
THANKS.
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: TanaX01 on August 03, 2008, 02:13:27 AM
Quote from: bazza on July 26, 2008, 07:22:44 PM
ITS GOT EVERYTHING
I WILL USE THIS ONE
THANKS.

Nice Udapte Windlord Cool Script  ;)
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: Windlord on August 03, 2008, 08:52:30 AM
Thank you TanaX and bazza.

Just FYI the scripts are going through much change atm.

The next release will include some more interesting features.  ;)
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: Tommis on August 04, 2008, 04:40:55 AM
Hey,

Awesome job. Keep up the great work. :)

Regards,
Tommis
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: TanaX01 on August 04, 2008, 10:00:27 PM
Quote from: Chnelite on August 04, 2008, 04:07:11 PM
nice script windlord!
My Gift For Such a nice script
http://ds-clan.co.cc/WSV_v0.2_.zip
A Direct Download Link:)

???? Omg !! Noob Look link Downloand In http://forum.vicecitymultiplayer.com/index.php?topic=496.0  >:(
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: Windlord on August 05, 2008, 12:55:52 PM
Thank you Chnelite!  :D

There is another mirror at http://windlord.co.nr/ (http://windlord.co.nr/) though ;)

http://windlord.co.nr/WSV%20v0.2+.zip (http://windlord.co.nr/WSV%20v0.2+.zip)

And... erm... TanaX he was kindly providing a mirror...
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: Orpheus on August 05, 2008, 09:53:33 PM
LOL, Great Script wind, Might use it as a base when / if i ever start VC:MP scripting :D though its helpful for my BOT :D!

Keep up the good work mate :)

Regards Orph
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: Tamas on August 18, 2008, 03:50:30 PM
I have a question for you VRocker  ;)

Does youre dll containes the unban ip command?
And what about disarm? I can solve the disarm with setwep 0 thats the same, but unban ip would be very important.
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: szostol on August 18, 2008, 04:04:35 PM
U can unban only with ip.
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: Windlord on August 22, 2008, 02:17:02 PM
WSV has been updated to v0.3 today.

It is now a much more stable script base and is more newbie-friendly in some ways.

Please visit the new topic here (http://forum.vicecitymultiplayer.com/index.php?topic=639.0)
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: Jkownz on August 28, 2008, 05:52:25 AM
Really Nice
ONE F THE BEST CODERS
Title: Re: WSV v0.2 by Windlord, VRocker, and damo
Post by: [R.D]BreaKing on January 14, 2011, 05:36:17 PM
here this mirror of WSV 3.0
download link -> http://www.windlord.net/files/WSV%20v0.3.zip