• Welcome to Vice City Multiplayer.
 

WSV v0.2 by Windlord, VRocker, and damo

Started by Windlord, July 07, 2008, 08:09:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Windlord


==================================================================
==================================================================
======================= 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.

GTA-Roloboy


Mattz


Force

This is a great script and it has been a pleasure for me to help you test this script.

Good Job :D

VRocker

#4
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


Windlord

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!

ReVilo

*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.

TanaX01


Windlord

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

TanaX01

#9
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

Windlord

I am sorry for the inconvenience.
It has now been fixed.
thank you

TanaX01

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)

TanaX01


Nemesis2500



Juppi

This has been said already a few times, but.. Great work ;) Hopefully this will get more scripters to at least try VRockers dll