• Welcome to Vice City Multiplayer.
 

problem about FBVv0.2 Script

Started by chn batista, February 14, 2009, 06:40:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

chn batista

everybody i have problem about FBV0.2 in game the FBV0.2 can't buycar
how can i buycar i type !buycar 191 the server say incorrect id and i change car's owner but i can't get it were Script have something wrong??
by the way how can i fix my money  ;)
thanks

[NoN]Toiletduck

Is 191 the right id?
You shouldn't have so many vehicles.

thijn

I think Toiletduck is right, Maby you typed the normal ID?? Because 191 is from PCJ600, Try using !buycar 1


chn batista

no i all try it the server say Invalid car ids

thijn

ok, Put an copy of your config in the script dir, and open the scripts.
Go to your server, and try again. If it's not working, then try useing /FBS.LoadConfigFile in ur mirc.


Dudu


chn batista

i have a new problum about it i try copy my config.ini to my mirc folder and i type /FBS.LoadConfig.ini in my mirc   mirc loaded it but it is not can use!!

next new problum is i fix the cash and i have money buy the car but i type !buycar  (id s) server say Error, This is an unknown vehiclw
and i check this Script this error is need name vcmp.vehiclename.ini can i establish this file to change it??
elseif ($3 == buycar) {
    if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 You must register to be able to use this command.
    elseif (!$4) vcmp.msg $1 $2 Error - Correct Syntax: ! $+ $3 <Car ID>
    elseif ($4 !isnum) vcmp.msg $1 $2 Error, Invalid Car ID
    elseif ($4 > $calc(%FBS.vehicles - 1)) vcmp.msg $1 $2 Error, Invalid Car ID
    elseif (. isin $4) || (, isin $4) || (- isin $4) vcmp.msg $1 $2 Error, No negative or decimal car id's
    elseif ($FBS.CarPrice($4) > $FBS.actcash($1, $2)) vcmp.msg $1 $2 Error, You do not have enough cash to buy this vehicle
    elseif ($FBS.CarOwner($4) != Sunshine Auto's)  vcmp.msg $1 $2 Error, This vehicle is already owned by $FBS.CarOwner($4)
    elseif ($vcmp.vehiclename($1, $vcmp.vehicle($1, $2)) == Unknown) vcmp.msg $1 $2 Error, This is an unknown vehiclw
    elseif (Sunshine !isin $FBS.Buildings($1, $2)) vcmp.msg $1 $2 Error, You must be located at Sunshine Auto's
    elseif ($vcmp.vehicle($1, $2) != $4) vcmp.msg $1 $2 Error, You must be in the car you want to buy
    elseif ($FBS.Mycars($1, $2) >= 2) vcmp.msg $1 $2 Error, You have reached your vehicle limit
    else {
      vcmp.say $1 ** Selling $vcmp.vehiclename($1, $vcmp.vehicle($1, $2)) (ID: $vcmp.vehicle($1, $2) $+ ) to $vcmp.name($1, $2)
      vcmp.msg $1 $2 Cost:[ $ $+ $FBS.Carprice($4) $chr(93) New Balance:[ $+ $fbs.actcash($1, $2) $chr(93)
      FBS.DecCash $1 $2 $FBS.Carprice($4)
      !remini -n FBS.carowners.ini OWNERS $vcmp.vehicle($1, $2)
      !writeini -n FBS.carowners.ini OWNERS $vcmp.vehicle($1, $2) $vcmp.name($1, $2)
      FBS.IncMyCars $1 $2 1
      !writeini -n FBS.mycarsinfo.ini INFO $vcmp.vehicle($1, $2) $vcmp.name($1, $2)
    }
  }

by the way if my mirc folder is onen the mirc need establish new file mirc will cannot establish files?

thijn

If I understand you right, It's not /FBS.LoadConfig.ini but /FBS.LoadConfigFile
and for the second problem: Do you have an vcmp.cars.ini with all your carnames?


chn batista

i loaded config success and i buy car was success and a new problum some car's id can't buy say invaild car id's (some car can't buy) and i buy car's id is 172 but i buy a hoting#3??
what's the matter??

thijn

U need to add all ur cars in a vcmp.cars.ini file, So the script can get the carname correctly


Force

Some people don't read the instructions....

You need a copy of the LATEST config.ini in the script directory and it should work, just so you know I WON'T be giving out anymore help as I have actually discontinued this project.

END OF.

chn batista

i just copy mu config.ini in my mirc folder and type  /load -rs FBSV0.2.mrc
the Script is start?????  some people say typing /load -rs configfile who is right????

chn batista

ummm...Thijn i add a new file name vcmp.cars.ini and vcmp.cars.inii add all cars id it say unknow vehicle if you have all vehicle's id can you share me?

this is my vehicle id can you check something wrong?
0=On_Foot
130=Landstalker
131=Idaho
132=Stinger
133=Linerunner
134=Perennial
135=Sentinel
136=Rio
137=Fire-Truck
138=Trashmaster
139=Stretch
140=Manana
141=Infernus
142=Voodoo
143=Pony
144=Mule
145=Cheetah#1
146=Ambulance
147=FBI-Washington
148=Moonbeam
149=Esperanto
150=Taxi
151=Washington
152=Bobcat
153=Mr.Whoopee
154=BF-Injection
155=Hunter
156=Police
157=Enforcer
158=Securicar
159=Banshee
160=Predator
161=Bus
162=Rhino
163=Barracks_OL
164=Cuban-Hermes
165=Helicopter
166=Angel
167=Coach
168=Cabbie
169=Stallion
170=Rumpo
171=Rcbandit
172=Romero's_Hearse
173=Packer
174=Sentinel-XS
175=Admiral
176=Squalo
177=Sea_Sparrow
178=Pizza_Boy
179=Gang_Burrito
180=Airtrain
181=Deaddodo
182=Speeder
183=Reefer
184=Tropic
185=Flatbed
186=Yankee
187=Caddy
188=Zebra_Cab
189=Top_Fun
190=Skimmer
191=PCJ-600
192=Faggio
193=Freeway
194=Rcbaron
195=Rcraider
196=Glendale
197=Oceanic
198=Sanchez
199=Sparrow
200=Patriot
201=Love_Fist
202=Coast_Guard
203=Dinghy
204=Hermes
205=Sabre
206=Sabre_Turbo
207=Phoenix
208=Walton
209=Regina
210=Comet
211=Deluxo
212=Burrito
213=Spand_Express
214=Marquis
215=Baggage_Handler
216=Kaufman_Cab
217=Maverick
218=VCN_Maverick
219=Rancher
220=FBI_Rancher
221=Virgo
222=Greenwood
223=Cuban_Jetmax
224=Hotring_Racer#1
225=Sandking
226=Blista_Compact
227=Police_Maverick
228=Boxville
229=Benson
230=Mesa_Grande
231=Rcgoblin
232=Hotring_Racer#2
233=Hotring_Racer#3
234=Bloodring_Banger#1
235=Bloodring_Banger#2
236=Cheetah#2

Force

Unload the script, paste the config file where the script file is and then load the script again

chn batista

maybe is  echo channel's problum "From your echo channel make sure you have the @, & or ~ symbol next to your name"
what is your meat? type my name? or server name????(i tpye it 1)
if my id is [CHN]John Cena
i type ~CHN~John Cena???
when my friend type command in game mirc the mirc say
XXX:!commands
1 not such the channle
XXX:!heal
1 not such the channle
just can't buycar theother is all right