Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: gamyster on September 26, 2008, 01:49:43 PM

Title: WSV Someone?
Post by: gamyster on September 26, 2008, 01:49:43 PM
Hello i wanna use WSV 0.2+ PLEASE tell me Tutorial how to use it because i cant connect it to my server :(
Title: Re: WSV Someone?
Post by: Tamas on September 26, 2008, 03:22:35 PM
Hmm, the newest version is the 0.3, just follow the instructions on the readme file.
Title: Re: WSV Someone?
Post by: gamyster on September 26, 2008, 05:16:33 PM
:( it aint working it says retrying retrying then says please set the configuration correctly but where is that configuration file???
Title: Re: WSV Someone?
Post by: Punjabi on September 26, 2008, 06:17:10 PM
Hey man u r not connected to server ip like 78.28.11.1 something like that and whenever u start ur script ur everytime ur server ip changes just when u start ur script goto ..
I am telling u step wise so please....
1)Open mirc
2)Open tools > scripts editor >variables..

Than delete ur previous server ip like this..
suppose this is ur ip..

%serverip 122.173.69.112

Change it to..this one

%serverip

Means just delete the ip and again start mirc it will automatically connect to server and channel
If want any help regarding WSV plz feel free to ask..and script WSV is excellent script created by Windlord.I love it...... ;D

Regards
Punjabi_goli
Title: Re: WSV Someone?
Post by: Windlord on September 27, 2008, 06:08:55 AM
Yeah what punjab_goli said is correct although it would not work if you are connecting to a remote server.

Press "ALT+R" once you open your mIRC client.
Go to your "Variables" tab and look at the settings there.

%serverip
%rconport
%rconpass

These need to be correct in order for you to successfully connect to your server.
If it is a server running from your own computer use 127.0.0.1 for your %serverip
%rconport is usually 5315
Title: Re: WSV Someone?
Post by: gamyster on September 27, 2008, 08:05:23 AM
Ok i can connect WSV 0.3 BUt when i go in game nothing happens :( i type !ap or !commands or !admin but no effect why :(.i can see admin connected in vcmp_svr.exe
Title: Re: WSV Someone?
Post by: Windlord on September 27, 2008, 08:26:03 AM
That seems queer.

Have you tried re-connecting several times?
Title: Re: WSV Someone?
Post by: gamyster on September 27, 2008, 08:27:52 AM
NvM thanx its a good script! its fully working awesome :P
Title: Re: WSV Someone?
Post by: Punjabi on September 27, 2008, 08:33:35 AM
Great thanks windlord for appreciating me.. ;DU are excellent scripter but now i am also puting efforts to do scripting.. ;)

Regards
Punjabi_goli
Title: Re: WSV Someone?
Post by: gamyster on September 27, 2008, 09:18:26 AM
BIG PROBLEM the Withdraw script isnt good it says $ HAS BEEN WITHDRAWN
I TYPE !WITHDRAW 400 it says $ has been withdrawn it give me 1$ only.There is another problem if someone is driving a car like PCJ and if 2nd person type !spawn pcj then it should say PCJ is being in used by BLABLANAME please tell me and Lock car too!
Title: Re: WSV Someone?
Post by: Tamas on September 27, 2008, 11:25:31 AM
Yeah heres a working one:

Quoteelseif (withdraw* iswm $3) {
      WSV.cmdlevelcheck $1-
      if (El-Banco-Corrupto-Grande isin $WSV.loco($2)) {
        if ($4 <= $WSV.bank($2)) || ($4 == all) {
          if ($4 == all) var %money = $hget(WSV.Bank,$WSV.getname($2))
          if ($4 <= $WSV.money($2)) var %money = $4
          hinc WSV.money $WSV.name($2) $4
          hdec WSV.bank $WSV.name($2) $4
          WSV.setcash $2 $hget(WSV.money,$WSV.getname($2))
          WSV.msg $2 You have been withdrawed $chr(91) $ $+ $4 $chr(93) from your bank account!
          WSV.msg $2 New Balance: $chr(91) $ $+ $WSV.bank($2) $chr(93)
        }
        else WSV.msg $2 You hasn't got $chr(91) $ $+ $4 $chr(93) in you're bank account!
      }
      else WSV.msg $2 You have to be at the bank!
    }

And repleace this line to youre own location:
      if (El-Banco-Corrupto-Grande isin $WSV.loco($2)) {

++ I allready posted the lockcar command, but here:

Quoteelseif (lockcar == $3) && ($2 < 100) {
      WSV.cmdlevelcheck $1-
      if ($WSV.getname($2) == $WSV.carowners($4)) || ($WSV.getname($2) isin $WSV.sharecarowners($4)) WSV.setvehiclestatus $4 2
      if ($WSV.getname($2) == $WSV.carowners($4)) || ($WSV.getname($2) isin $WSV.sharecarowners($4)) WSV.msg $2 Vehicle $chr(91) $WSV.vehiclename($4) $chr(93) locked
      else WSV.announce $2 This is not your vehicle!
    }
Title: Re: WSV Someone?
Post by: gamyster on September 27, 2008, 12:13:58 PM
but lock is not working i owned a car and it says u dont own this car. and in PROPERTIES i have maken 3 or 4 properties but next time i start mirc they never come why?? there are no PROPS PICKups they all gone why?
Title: Re: WSV Someone?
Post by: gamyster on September 27, 2008, 01:07:26 PM
!comment script also not working i m saying more than 4 words but give error saying its not more than 4 words THE same problem is with !addnews
Title: Re: WSV Someone?
Post by: Tamas on September 27, 2008, 01:45:13 PM
Lockcar is working fine, just you need to put it to the correct place!
Type: /wsv.autoloadpickup (to irc)
Title: Re: WSV Someone?
Post by: Windlord on September 27, 2008, 04:09:39 PM
You are meant to add your own props with !addprop

And there is no lockcar command.