Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Script Showroom => Topic started by: Windlord on August 22, 2008, 02:13:14 PM

Title: WSV v0.3 by Windlord and VRocker
Post by: Windlord on August 22, 2008, 02:13:14 PM
http://downloads.windlord.co.cc/
________________________________________________________________________________________

                       WorkSheet Scripts based on VRocker's dll v0.3

                                 by Windlord and VRocker

                     - mIRC dll by VRocker, Scripts by Windlord -
________________________________________________________________________________________

   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 dll and would like to share it with everyone in the VC:MP community. Thank you for down loading this script!
                                                                 ----  Windlord  ----
====-------------------------------------------------------------------------------====
Thanks to: Juppi, Murdock, FoRcE, Orpheus, Tamas, RoHiT, rulk, Ry5a, jc18 for testing and helping to debug this script!
====-------------------------------------------------------------------------------====

--< Instructions >--
  1. Extract folder to any directory.
  2. Open mIRC and connect to IRC://irc.gtanet.com
  3. Load the script, "WSV.mrc".
     (ie. If the script is in "C:\mIRC\WSV\WSV.mrc", type "//load -rs C:\mIRC\WSV\WSV.mrc")
  4. Answer the questions as they pop up.
  5. After the start-up procedure, you will be re-directed to your echo channel.
  6. Get scripting! And Enjoy!


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

** Config pickups are automatically detected and are auto-added to your pickups hash ;)

** Dual bot feature is included and it can be turned on/off with !echostatus dual/mono

**  Some popular commands such as !buycar !sharecar !buyprop have already been implemented into WSV v0.1 as nearly all scripters tend to try and add that command into their server.

**  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> : Let's you kick a nickname if it is yours.
    !Pm <nick/id> : Let's 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> : Lets 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        gotoprop
    alias            warns              freeze           unfreeze
    kick             ban                login            register
    givemoney        goto               gotoc            sethp
    setwep           irckick            cancelvotekick   votekick
    vote             get                getc             msg
    setlevel         addcar             ap               dp
    ann              annall             addprop          delprop
    setcarprice      resetmoney         resetstats       delaccount

    Added in v0.3  ::   setmon      setweather   settime    sethour    setmin
                        logout      password
    Bonus Commands ::   spawnall    fun     
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Force on August 22, 2008, 02:17:17 PM
Great script, the spawnall can be very useful  :P
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Windlord on August 22, 2008, 02:20:20 PM
It can be sometimes :P

Check out this (http://forum.vicecitymultiplayer.com/index.php?topic=629.0) to see how spawnall and fun works.

Edit: I had added in skin detection. Skin names can be modified in the variables section of your mIRC scripts editor.
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: bazza on August 22, 2008, 06:41:55 PM
best script yet, does spawnall work by id / name or both ?
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: szostol on August 22, 2008, 07:16:14 PM
LW's server script is better :P But althought that WSV is good script.
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Windlord on August 23, 2008, 03:06:28 AM
!spawn works both with ID/Name
!spawnall lets you spawn all cars with the keyword you specify.

If you type "!spawnall hotring", All hotrings will be spawned in a line.
If you type "!spawnall o", All cars with the letter 'o' in it will be spawned in a line.
If you just type "!spawnall", All cars will be spawned in a line.

This may sometimes not work due to incomplete loading of the config file.
If such a case happens, please type "/WSV.loadconfigfile" in your mIRC chatbox.
That will load the data again from your config file.

Edit (Dual Bots) :
Some of you may be wondering what the "dual" feature is.
The dual feature lets you use two bots instead of one to reduce echo lag.
If you need to use the dual bot feature, you need to set it first when you start up the script.
If you wish to change to dual while using one bot, you need to go to your 'scripts editor' then to the 'variables tab' then change the variable: %echostatus to "dual"
After restarting your script, another bot will automatically be made.

Dual bot may sometimes not work. The bots may not re-act to what you type in.
The error in this case can be easily solved by resetting your bot variables.
Type "/set %echobot1 <Your Script Bot's Name>"
and "/set %echobot2 <The automatically added bot's name>"

This will ensure that all inputs are redirected to your  bots.

Edit2 (Skin Recognition) :
Skins are recognised.
However the skins' names are not set initially.
When someone spawns with a specific skin once,
A new variable will be made.
Make sure you edit the skin names there.

Cheers

Windlord
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: bakasan on August 23, 2008, 03:48:48 AM
hehe nice work again! ._.


!pin
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: TanaX01 on August 23, 2008, 03:50:13 AM
Omg Windlord Now New Script Cool Nice Aport Friend Windlord  ;)
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Windlord on August 23, 2008, 04:48:40 AM
Thank you bakasan and TanaX01 ;)
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: bazza on August 23, 2008, 09:25:53 PM
these are good scripts, he should be on the lw developer's team
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: StriKe on August 24, 2008, 01:37:50 PM
Gr8 Script!
Thanx ;)
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Windlord on August 27, 2008, 03:30:42 PM
Don't think there is a dev team for LW lol :P

Thanks for all of the compliments :)
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: bazza on August 27, 2008, 03:38:39 PM
its superb work, i for one have reccomended your scripts to other people.
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: GOLG on August 27, 2008, 07:15:47 PM
good work windlord, we always look forward to these scripts.
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Jkownz on August 28, 2008, 05:51:33 AM
Gj Windlord and im looking forward to next version
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Pluisje on August 28, 2008, 08:45:41 AM
ey good work Windlord and VRocker.also i can say good job for making a intresting script that can do 1 more thing.

Regards

Pluisje
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Punjabi on September 13, 2008, 09:14:44 AM
Hey windlord u r great scripter and plz help me out in modyfing ur script ::) :o
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: ilgabri on September 14, 2008, 01:59:57 PM
Error 404 - The Webpage cannot be found

I think the file is expired... Have you got any other mirror?

Thx...

Another question...

I've mounted a new server... Thank's to the General Mirc Script of Tommy...

Is the Internet "Italian" one...

I've just resolved the following...
But I don't understand (due to my n00b state :D) why some server have coloured nicknames and markers on the map...

In the config.ini of VC:MP all classes must be setted to other number instead of -1, except for the first one, must me -1 due to crash of the server!...

So you can see nicknames and markers of different colors...

Maybe this can be useful!



I was thinking it was due to the script... but someone told me was about some RPG type of game... I've searched about an Argonarth RPG or something similar... but seems to be no clear and useful information... and doesn't matter a type of RPG game mode to me now... the deathmatch is the target. Could you explain how can I take color for my players?

Thank you for the explain... please link me to other post if exists...
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: qwq on September 25, 2008, 04:37:14 PM
dude avery time when i try to connect its change in the variabels the server name number of players and the rcon pass
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Windlord on September 25, 2008, 04:40:59 PM
When you try to connect the script reads off your config.ini inside Server/vcmp
If you are connecting remotely to your server, paste a copy of your ini there.
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: qwq on September 28, 2008, 12:49:26 PM
dude i dont really understand what you mean buy i filll the right stuff and when i try to connect it change the server name to vc-mp server 0.3z the rcon pass to invalid and the players number to 50
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Windlord on September 28, 2008, 01:08:37 PM
Quote from: Windlord on September 25, 2008, 04:40:59 PM
When you try to connect the script reads off your config.ini inside Server/vcmp
If you are connecting remotely to your server, paste a copy of your ini there.

You need your server's config.ini inside WSV v0.3/Server/vcmp

._.
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: qwq on September 28, 2008, 02:32:35 PM
how can i set ppl money
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Windlord on September 28, 2008, 11:31:24 PM
!setmoney [id/name] [amount]
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: gamyster on October 12, 2008, 05:27:56 PM
:(:(:( The Prop script is very bad i created the a property at Mansion it shows the House pickup i offed my server then i on my server on next day then i saw that that Pickup is gone!!! :( i waited for 30 minutes still it doesnt came my friends who used WSV have same Problem so Please try to Fix it!
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Windlord on October 13, 2008, 10:51:09 AM
Thank you for the kind comments rulk.

to gamyster,

if you don't find the prop pickups respawning,
type "!loadpickup" on your echo channel or
type "/WSV.autoloadpickup" anywhere.

If the problem persists, please reply below.
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Tamas on October 14, 2008, 08:36:19 AM
The pickups system working fine for me, anyway you have to load up the pickups if you disconnected.
I wondering what happens when my pc crash, for example power off, because the hash stores the datas in the RAM.
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Canberk on November 02, 2008, 04:20:53 PM
Windlord i have i serious problem

i and my friend doing addprop and setcar  to server and when i shut server they re gone

how to save ?

im doing save all to script but dont work
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: gamyster on November 02, 2008, 05:30:25 PM
see canberk has same problem everyone has thats the main part :(:(
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Canberk on November 03, 2008, 02:12:05 PM
Yesterday i got my problem

My problem is i can save the hashes but the pickups dont saw

Title: Re: WSV v0.3 by Windlord and VRocker
Post by: gamyster on November 03, 2008, 03:08:28 PM
i have that same problem and now no one gonna Fix that
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: qwq on November 04, 2008, 03:49:33 PM
same problem and
dude how i add armour pickup some placeand i put a friend level 10 and when he exit the rcon say that he block from admin cmd
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: qwq on November 04, 2008, 06:50:17 PM
why helf from properties belong to guy that not iven register
Title: What Echo channel?
Post by: BooMario[BR] on November 05, 2008, 12:29:18 PM
what is echo channel?  ???
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: gamyster on November 25, 2008, 11:14:01 AM
:( nothing will happen man.... WINDLORD wont help us
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: ZJY on January 26, 2009, 04:30:17 PM
How do I cancel MODE?
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: [XT]ariel[X] on October 16, 2009, 10:15:01 PM
tranks for scripts Windlord!
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: MrAcmering on December 04, 2009, 01:39:33 PM
good work w8  :o :o :o
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Terminatorupgrade 2 on December 15, 2010, 12:18:19 PM
Can you make WSV for R2 servers :-\
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Skirmant on December 19, 2010, 09:06:01 AM
Quote from: Terminatorupgrade 2 on December 15, 2010, 12:18:19 PM
Can you make WSV for R2 servers :-\

Why are you so fascinated with WSV?
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Kill3R on December 19, 2010, 11:52:34 PM
Quote from: Skirmant on December 19, 2010, 09:06:01 AM
Quote from: Terminatorupgrade 2 on December 15, 2010, 12:18:19 PM
Can you make WSV for R2 servers :-\

Why are you so fascinated with WSV?

WSV is a good script, so why not?
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Terminatorupgrade 2 on December 20, 2010, 12:26:02 PM
Quote
QuoteCan you make WSV for R2 servers Undecided

Quote
QuoteWhy are you so fascinated with WSV?

Quote
Quote
QuoteWSV is a good script, so why not?

So when i was Thinking to make WSV in Pawno with Permission OF windlord
Title: Re: WSV v0.3 by Windlord and VRocker
Post by: Devian on December 20, 2010, 02:33:21 PM
Quote from: Terminatorupgrade 2 on December 20, 2010, 12:26:02 PM
Quote
QuoteCan you make WSV for R2 servers Undecided

Quote
QuoteWhy are you so fascinated with WSV?

Quote
Quote
QuoteWSV is a good script, so why not?

So when i was Thinking to make WSV in Pawno with Permission OF windlord
Rir Alto.  :D