Author Topic: problem about FBVv0.2 Script  (Read 7368 times)

0 Members and 1 Guest are viewing this topic.

Offline chn batista

  • Wiseguy
  • **
  • Posts: 66
  • nothing
    • View Profile
problem about FBVv0.2 Script
« on: February 14, 2009, 08:40:33 am »
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

Offline [NoN]Toiletduck

  • Wiseguy
  • **
  • Posts: 65
    • View Profile
Re: problem about FBVv0.2 Script
« Reply #1 on: February 14, 2009, 09:35:01 am »
Is 191 the right id?
You shouldn't have so many vehicles.

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: problem about FBVv0.2 Script
« Reply #2 on: February 14, 2009, 11:07:20 am »
I think Toiletduck is right, Maby you typed the normal ID?? Because 191 is from PCJ600, Try using !buycar 1

Offline chn batista

  • Wiseguy
  • **
  • Posts: 66
  • nothing
    • View Profile
Re: problem about FBVv0.2 Script
« Reply #3 on: February 14, 2009, 12:01:57 pm »
no i all try it the server say Invalid car ids

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: problem about FBVv0.2 Script
« Reply #4 on: February 14, 2009, 12:40:19 pm »
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.

Offline Dudu

  • Street Thug
  • *
  • Posts: 30
    • View Profile
Re: problem about FBVv0.2 Script
« Reply #5 on: February 14, 2009, 08:31:20 pm »
And the !buyprop?

Offline chn batista

  • Wiseguy
  • **
  • Posts: 66
  • nothing
    • View Profile
Re: problem about FBVv0.2 Script
« Reply #6 on: February 15, 2009, 03:32:54 pm »
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?

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: problem about FBVv0.2 Script
« Reply #7 on: February 15, 2009, 03:35:19 pm »
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?

Offline chn batista

  • Wiseguy
  • **
  • Posts: 66
  • nothing
    • View Profile
Re: problem about FBVv0.2 Script
« Reply #8 on: February 15, 2009, 05:23:55 pm »
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??

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: problem about FBVv0.2 Script
« Reply #9 on: February 15, 2009, 07:09:06 pm »
U need to add all ur cars in a vcmp.cars.ini file, So the script can get the carname correctly

Offline Force

  • LU Developer
  • Made Man
  • *
  • Posts: 242
    • View Profile
Re: problem about FBVv0.2 Script
« Reply #10 on: February 15, 2009, 09:53:03 pm »
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.

Offline chn batista

  • Wiseguy
  • **
  • Posts: 66
  • nothing
    • View Profile
Re: problem about FBVv0.2 Script
« Reply #11 on: February 16, 2009, 08:10:24 am »
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????

Offline chn batista

  • Wiseguy
  • **
  • Posts: 66
  • nothing
    • View Profile
Re: problem about FBVv0.2 Script
« Reply #12 on: February 16, 2009, 08:31:43 am »
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?

Code: [Select]
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

Offline Force

  • LU Developer
  • Made Man
  • *
  • Posts: 242
    • View Profile
Re: problem about FBVv0.2 Script
« Reply #13 on: February 16, 2009, 12:08:13 pm »
Unload the script, paste the config file where the script file is and then load the script again

Offline chn batista

  • Wiseguy
  • **
  • Posts: 66
  • nothing
    • View Profile
Re: problem about FBVv0.2 Script
« Reply #14 on: February 18, 2009, 08:15:20 am »
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