Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Script Showroom => Topic started by: Force on October 21, 2008, 06:12:56 PM

Title: FBS v0.2 (Force's Beginner Scripts)
Post by: Force on October 21, 2008, 06:12:56 PM
Force's Beginner Scripts V0.2

Main Scripter: Force - Helpers: Windlord, Tommis, rulk, Juppi

Well, I've finally got round to releasing Force's Beginner Scripts, Version 2. They are done using VRocker's new DLL and I have been working on it heavily to improve it over v0.1. However, Not all of the work has been done by me, if it wasn't for Windlord, Juppi, Tommis and rulk then I would never have got these done. So a big "thanks" goes out to them  ;) Also, credit has to go to to VRocker for creating such a nice DLL with some nifty features.

I have also incorporated Windlord's CarDB for the !car commands etc. Another thanks to him for allowing me to do so.

Download the scripts here: FBS v0.2 (http://rapidshare.com/files/156531411/FBS_v0.2_Release.zip)
Mirror provided by VRocker: VRocker's Mirror (http://liberty-unleashed.co.uk/vcmp/FBS_v0.2_Release.zip)

Note: The scripts do come with a mIRC client so it should be fairly easy to set up, if you have any problems what so ever, then let me know, and i will try and fix them.
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK - PLEASE REDOWNLOAD
Post by: thebest12 on October 21, 2008, 07:02:14 PM
omg yay!!!!! FBS RuleZZZ yay!!! thx man going to USE it right now!!
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK - PLEASE REDOWNLOAD
Post by: Windlord on October 21, 2008, 09:27:11 PM
You forgot to mention all of the nifty features in v0.2!!

For those that do not know, FBS v0.2 comes with a built in car/prop script :)

I highly recommend it to everyone since it is a very stable and user-friendly script :D

Great job Force!!!
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK - PLEASE REDOWNLOAD
Post by: Force on October 21, 2008, 09:29:08 PM
Lol, Thanks Wind, I couldnt be arsed at the time to write the features but the main features are:


That is mainly all I can think of for now  :D
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK - PLEASE REDOWNLOAD
Post by: Force on October 21, 2008, 10:31:02 PM
Note:

New Download link:

http://rapidshare.com/files/156531411/FBS_v0.2_Release.zip

This will fix any bugs with the IRC commands not working
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK - PLEASE REDOWNLOAD
Post by: thebest12 on October 22, 2008, 05:54:54 AM
mmm. when you add a prop and then you get the icon it saids that the name is unknown and the price is 100 D: and what is the command to delete the prop cuz I try !deleteprop but dont work :(
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK - PLEASE REDOWNLOAD
Post by: gta5 on October 22, 2008, 06:49:19 AM
I am having a couple problems I was wondering you cold help me. I can't seem to figure out how to make myself an admin or set the level of any commands. Also it auto logs me in and then says im unregistered  ???
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK - PLEASE REDOWNLOAD
Post by: Force on October 22, 2008, 12:45:28 PM
Not sure about GTA5's problem with being logged in and unregisted.

However, to make yourself admin use !mkadmin <your name> from the IRC Echo Channel you have, make sure that you have an @ next to your name. (Remember commands can't be used from the mIRC running the scripts)

As for setting the levels of the commands, they are already set in the script. Under each section you will see "if ($FBS.Level($1, $2) < n)". The n is a number, so change it to your desired level.

best12, you need to delete the property ID from the ini files that have "Prop" in the name. e.g. FBS.PropNames.ini....

Also, I just tested the property thing and it works fine for me, maybe its something you have done wrong?

Remeber if you haven't downloaded the scripts from the link i posted earlier, then you do need this version.

Link: http://rapidshare.com/files/156531411/FBS_v0.2_Release.zip
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK - PLEASE REDOWNLOAD
Post by: evil_night13 on October 22, 2008, 12:52:44 PM
yay force finally u released it , thnkx a lot man   ;D

very eager to try this  ::) btw will i able to migrate all the datas excluding props from WSV0.3 to FBS 0.2  ???
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK - PLEASE REDOWNLOAD
Post by: Force on October 22, 2008, 12:58:11 PM
I don't think so as WSV uses Hashes.

GTA5: I know what your problem is, you are actually registered, its a mistake on my part.  :D

There is an alias called FBS.Level, search for it in the script and change it so it looks like this:


alias FBS.level !return $readini(vcmp.users.ini,LEVELS,$vcmp.name($1, $2))
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK - PLEASE REDOWNLOAD
Post by: gamyster on October 22, 2008, 04:18:43 PM
Problem!!!

* /hmake: table 'bannedsubnets' exists (line 34, FBSV0.2.mrc)

what is it ?

and i am ~ on my IRC and my IRC is registered still i m not able to do commands in IRC
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK - PLEASE REDOWNLOAD
Post by: Force on October 22, 2008, 04:48:46 PM
Ignore the already exists thing, its nothing to worry about :)

The problem about no IRC commands is solved once you have downloaded the latest update which is a couple of posts above, also, did you do the FBS.Level alias fix? W

Whats your channel on mIRC?
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK - PLEASE REDOWNLOAD
Post by: thijn on October 22, 2008, 06:52:21 PM
And, you cant use any commands on the mIRC that the script is running ;)
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK - PLEASE REDOWNLOAD
Post by: Force on October 22, 2008, 08:50:05 PM
Yep thats right Thijn, and my simple answer to everyone's problems are:

REDOWNLOAD USING THE LINKS IN THE FIRST POST, ANY BUGS SHOULD HAVE BEEN FIXED
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK - PLEASE REDOWNLOAD
Post by: gta5 on October 23, 2008, 07:10:54 AM
Quote from: [SDT]F_T_F0RC3 on October 22, 2008, 12:45:28 PM
Not sure about GTA5's problem with being logged in and unregisted.

However, to make yourself admin use !mkadmin <your name> from the IRC Echo Channel you have, make sure that you have an @ next to your name. (Remember commands can't be used from the mIRC running the scripts)

As for setting the levels of the commands, they are already set in the script. Under each section you will see "if ($FBS.Level($1, $2) < n)". The n is a number, so change it to your desired level.

best12, you need to delete the property ID from the ini files that have "Prop" in the name. e.g. FBS.PropNames.ini....

Also, I just tested the property thing and it works fine for me, maybe its something you have done wrong?

Remeber if you haven't downloaded the scripts from the link i posted earlier, then you do need this version.

Link: http://rapidshare.com/files/156531411/FBS_v0.2_Release.zip


thanks, I haven't have had time to try this yet but I will and u are very helpfull :D
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: gamyster on October 23, 2008, 11:47:19 AM
my IRC is #FBSMAN and i downloaded that FBS 0.2 from Rapidshare link only that u gave but still cant do any commands from IRC even if i am ~
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Force on October 23, 2008, 12:20:12 PM
Ok, If you can get on mIRC now, let me know because I'm idling on mIRC all day.
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: gta5 on October 24, 2008, 06:49:12 AM
Edit: nevermind I figured it out myself!!
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Force on October 24, 2008, 07:01:52 PM
To those of you who can't get there icon's to load:

Search in the scripts for: "alias fbs.loadprops"

You will find the following line:


vcmp.newpickup $1 407 $readini(FBS.PropLocs.ini,x,%a) $readini(FBS.PropLocs.ini,y,%a) $readini(FBS.PropLocs.ini,z,%a)


Change it so that it looks like this:


vcmp.newpickup 1 407 $readini(FBS.PropLocs.ini,x,%a) $readini(FBS.PropLocs.ini,y,%a) $readini(FBS.PropLocs.ini,z,%a)
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: evil_night13 on October 26, 2008, 11:54:15 AM
Well the script worked so far good, without any problem.

But now i have 3 bugs!

1. !hunt, worked only once, after that it keeps on saying "ManHunt Failed to Activate" , i restarted the server lots of times, still no use!

Hunt solved: (thnkx to Rulk)
after this line alias FBS.ActivateHunt {

add this is a new line var %HuntAttempts = 0

2. TempBan is not working properly, i temp banned someone, gave !tempban nick 120

it kicked the member , and said immediately TempBan expired, i gave the ban for 2hrs!

Solved: (thnkx again to Rulk :D )

in the elseif ($1 == !tempban) {

Find the following :

timer.tempban $+ $vcmp.name(1, $FBS.ID($2)) 1 $calc($5 *60) FBS.TempBanRemove $vcmp.name(1, $FBS.ID($2))

change it to :

timer.tempban $+ $vcmp.name(1, $FBS.ID($2)) 1 $calc($3 *60) FBS.TempBanRemove $vcmp.name(1, $FBS.ID($2))


3. Propspawn is not working! i checked the ini, its said propspawn = on!
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Force on October 26, 2008, 07:54:28 PM
Thanks for solving those bugs, there weird one's because they work for me and I am just using an updated version of the script.

As for the propspawn, I missed out the actual part that handles it.

On the "Spawn" signal, add the following:


  if ($FBS.SpawnSetting($2) == on) {
    var %prop = $readini(FBS.PropSpawn.ini,SPAWN,$vcmp.name($1, $2))
    var %loc = $readini(FBS.PropSpawn.ini,LOCATION,%prop)
    vcmp.msg $1 $2 Taking you to your property
    vcmp.setlocation $1 $2 %loc
    vcmp.say $1 >> $vcmp.name($1, $2) spawned
  }
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: evil_night13 on October 26, 2008, 08:43:03 PM
thnkx force

it worked  :)
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: gta5 on November 03, 2008, 03:01:39 AM
I was just wondering if you can help with me with making another command similar to the setweapon one. The only difference would be players can set their own weapons.

Thanks
gta5
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Tamas on November 05, 2008, 12:48:41 AM
Ahh, very nice script Force, maybe i will reconvert my wsv commands to this script  :P
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: gta5 on November 06, 2008, 06:14:51 AM
thanks rulk worked perfectly  ;D
Title: HELPPPPP
Post by: BooMario[BR] on November 12, 2008, 06:20:49 PM
the props id's is not correct, is apeear 41, 42, in ini the props is 1, 2,

and not buy home!

help me plz, thanks  :D
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Force on November 12, 2008, 08:30:33 PM
Okkkkkkkk weird  :o. Never had that problem before :S. Try reconnecting the scripts.
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: gta5 on November 13, 2008, 07:40:49 AM
ya that happens to me 2. The props start with id 41 but to buy it u need to type 1
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Force on November 13, 2008, 10:15:10 AM
Wow weird, at least it works with the proper id of 1 :P. Probably something I broked in the loop  :-X
Title: not solution
Post by: BooMario[BR] on November 13, 2008, 12:37:08 PM
i restart the script, re apply the script and not have solution

help
:(
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Force on November 13, 2008, 12:51:31 PM
Just be patient people, I'm working on FBS v0.4 and looking at that bug with FBS v0.2. I will post back as soon as I find a solution.
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: gta5 on December 01, 2008, 06:05:04 AM
I was just looking through the script and I found a lot of stuff mentioning a roof war mini game, but I couldn't find the command to activate it. Please help if possible

thanks
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Force on December 01, 2008, 10:39:15 AM
Yeah sorry, that's my fault. I forgot to take those messages out as I have a mini-game in my script.  :-X

However, I shall be releasing a bug-fix for FBS v0.2 (0.3) in the near future.
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: gta5 on December 02, 2008, 12:40:51 AM
ah ok thx for the quick reply  ;)
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: hinto on January 11, 2009, 11:40:14 PM
I MUST ADD TO BOX IP OF SERVER WITH PORT OR WITHOUT PORT ?
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: hinto on January 11, 2009, 11:46:22 PM
WTF IS THAT ECHO CHANNEL I DONT HAVE IT.... SORRY FOR CAPS
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Force on January 12, 2009, 10:45:46 AM
Add to the box the IP WITHOUT Port.

The echo channel is where your bot will go, you can then be in this channel and see what's happening in-game. Make one like your server's name, for example #yourservernamehere
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: hinto on January 12, 2009, 11:41:20 AM
Wtf if i try make admin in game !mkadmin (myid) (level) example: !mkadmin 0 10 then it will tell  invail Command but script is loaded and other commands works whats the problem ?
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: StriKe on January 12, 2009, 11:52:03 AM
well,try !mkadmin Yourfullnamehere 10
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Force on January 12, 2009, 12:20:03 PM
You need to be in the echo channel to do that  ::) Make sure your not using the same mIRC that's running the scripts...
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: hinto on January 12, 2009, 12:50:14 PM
im using the same mirc......
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: hinto on January 12, 2009, 01:20:35 PM
Got it already :) Thx to the Force-Lappy ! :-*
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Daniel95 on January 30, 2009, 05:08:30 PM
I have problem with load the scripts -.-.
Then i load it its write me:
* /load: no such file 'D:\Documents and Settings\Daniel\FBS_v0.2_Release\FBS v0.2 Release\FBSV0.2'.

What its mean?
Please help!!!!!
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Force on January 30, 2009, 06:09:24 PM
That means your trying to load the wrong file because the file name is FBS V0.2. If you ran the mIRC that came with the scripts they should have been pre-loaded.
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Daniel95 on January 31, 2009, 07:20:55 AM
A ok i just found it with the:"scripts editor".
But now some things come and i dont how to answer on that.
Like...

1.Please enter the ip of the server(its mean add the ip of the server right?)
2.Please enter the rcon of the server(its mean what i need write this:"5315"?)
3.Please enter the rcon pass of the server(Its mean my admin password?)
4.pleases enter the server echo channel e.g. #echochannel( ??? dont know what to write)
5.Please enter the servers name e.g. test server( ??? dont know too)
6.Please enter the servers players limit(write here the max players in the server?)
7.Please enter the bots name e.g. FBS-bot (no spaces allowed)-dont know too  :(

Please help me.
Thanks for helping Daniel95  :)
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Force on January 31, 2009, 10:43:44 AM
Oh come one....

Think logically....

Server IP: Enter the ip of the server
RCON Port: Enter 5315
Password: Enter Admin password
Server Echo Channel: Call it Daniel#95 or summats, an echo channel allows you to see what it said ingame etc. without you being in-game.
Name: What is the name of the server in your config.ini
Player Limit: How many players the server can hold...
Bots Name: What do you want to call your bot? E.G Daniel-Bot
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Daniel95 on January 31, 2009, 11:19:25 AM
Well thanks for helping  :).
After i answer on that i go to the server.
And no scripts at the server  :(.
What to did?
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Force on January 31, 2009, 11:28:30 AM
Not sure, make sure if it's a server running on ure pc, ure ip was 127.0.0.1
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Daniel95 on January 31, 2009, 11:59:39 AM
I will try to did it agin.
At the Echo Channel i need to write:Daniel#95?
At the ip of the server write:127.0.0.1?
And at the Bots Name write:E.G Daniel-Bot?
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Force on January 31, 2009, 12:08:37 PM
Yep, But don't have E.G in the bot's name :P. Just have it as Daniel-Bot
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Daniel95 on January 31, 2009, 01:10:53 PM
At the folder of the FBS need to put the config file and the server file too?
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: thijn on January 31, 2009, 01:25:49 PM
server file? I don't know what u mean with that, But yes only the Config
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Daniel95 on January 31, 2009, 01:40:17 PM
I mean the file with the name:"vcmp-svr".
But ok thanks
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Daniel95 on January 31, 2009, 02:01:03 PM
HO yea great scripts force  :D :D.
Have the scripts!!!!! ;D ;D
Well now i go to build the server  :).

Thanks force thanks a lot
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Force on January 31, 2009, 02:42:59 PM
No Probs
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Daniel95 on January 31, 2009, 03:45:12 PM
How i make pickup of buying prop?
And how i change the levels of the commands...
Like the command /c kick is will be level 2.
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Force on January 31, 2009, 05:09:42 PM
Add properties using the !addprop command when you are stood where you want a property be. To change the command levels look at each command in the script and you will see something like "if ($vcmp.level($1,$2) < 3) do blah

Simply change that number,
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Daniel95 on January 31, 2009, 05:11:00 PM
Where to faind that?
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: Force on January 31, 2009, 05:29:17 PM
Inside the script.... When you press "Alt + R" you get the scripts editor. Just search through.
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: Daniel95 on January 31, 2009, 05:31:27 PM
A ok.
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: Daniel95 on January 31, 2009, 05:40:03 PM
How i can know what command i change?
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: Force on January 31, 2009, 06:02:51 PM
.....

because there will be things like:


elseif ($3 == kick) {
;stuff here
}
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: vice on February 08, 2009, 11:26:14 AM
ehm... if i do !addprop 50000 havana house

(example this was my first  prop)

it says its ID 40 .... while its ID 1, and it cost $100 , the name is unknown..

HELP PLZ>
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: Daniel95 on February 08, 2009, 01:58:13 PM
Type !delprop 1,2,3,4...all the props.
And set your own.
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: vice on February 08, 2009, 07:25:35 PM
lol thats what i do all the time........................................
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: *Agent007* on March 07, 2009, 01:26:05 PM
 :) I find Solution!!! enter in game type example: !addprop 600000 Testing at this prop say Name:Unknwon Id:9 or 57 Cost:100$ is bugged to resolve go in all folders with props and where u find 1 change with Prop Id and at FBS.PROP.Count.ini set the id Don't go in FBS.PROPS.LOCS.ini  8) I am a genius 8) Dont make this at all props only at first at another type !addprop <cost> <name>
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: *Agent007* on March 07, 2009, 01:29:55 PM
Quote from: vice on February 08, 2009, 11:26:14 AM
ehm... if i do !addprop 50000 havana house

(example this was my first  prop)

it says its ID 40 .... while its ID 1, and it cost $100 , the name is unknown..

HELP PLZ>
Is Good take his id and set in all fbs.props folders except fbs.props.loc and come back in game and u look why i say i am a genius And don't make this at all props only at this at another type !addprop <cost> <name>
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: [AoD]NC on March 07, 2009, 04:59:37 PM
Man! This wooooooorks :D!
Thanks thanks thanks a lot :D!

FBS is the best script that I've ever used. Before i tried GUS, but FBS rlz B).
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: cola on March 15, 2009, 07:45:12 PM
on *:SIGNAL:vcmp.pickup.hit:{
  ; $1 = ServerID, $2 = PlayerID, $3 = PickupID, $4 = PickupType
  vcmp.respawnpickup $1 $3
  if ($4 == 407) {
    FBS.PropInfo $3 $2
    timer.spawnpickup 1 3 vcmp.respawnpickup $1 $3
  }
  !.signal vcmp.pickuphit $1-
}


In this part of the script, what do i have to modify in order to make the pickup spwn directly after someone takes it?
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: thijn on March 15, 2009, 08:59:10 PM
Quote from: cola on March 15, 2009, 07:45:12 PM
on *:SIGNAL:vcmp.pickup.hit:{
  ; $1 = ServerID, $2 = PlayerID, $3 = PickupID, $4 = PickupType
  vcmp.respawnpickup $1 $3
  if ($4 == 407) {
    FBS.PropInfo $3 $2
    timer.spawnpickup 1 3 vcmp.respawnpickup $1 $3
  }
  !.signal vcmp.pickuphit $1-
}


In this part of the script, what do i have to modify in order to make the pickup spwn directly after someone takes it?
Delete

timer.spawnpickup 1 3 vcmp.respawnpickup $1 $3

And change it to

vcmp.respawnpickup $1 $3
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK as of 22/10/08 - 19:50 (GMT)
Post by: [DGC]Doomer on March 20, 2009, 04:09:31 PM
Quote from: [SDT]F_T_F0RC3 on October 26, 2008, 07:54:28 PM
Thanks for solving those bugs, there weird one's because they work for me and I am just using an updated version of the script.

As for the propspawn, I missed out the actual part that handles it.

On the "Spawn" signal, add the following:


  if ($FBS.SpawnSetting($2) == on) {
    var %prop = $readini(FBS.PropSpawn.ini,SPAWN,$vcmp.name($1, $2))
    var %loc = $readini(FBS.PropSpawn.ini,LOCATION,%prop)
    vcmp.msg $1 $2 Taking you to your property
    vcmp.setlocation $1 $2 %loc
    vcmp.say $1 >> $vcmp.name($1, $2) spawned
  }


at which line i have to add this?
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: [AoD]NC on March 20, 2009, 06:10:44 PM
Quote from: [SDT]F_T_F0RC3 on October 26, 2008, 07:54:28 PM
On the "Spawn" signal, add the following:
on *:SIGNAL:vcmp.player.spawn:{
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: Tobi on August 09, 2009, 11:32:01 PM
No Dude  >:( please Force fix your script he didn't work corectly,  :Pi have a probleme with a car cmd and prop cmd
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: Edward_RD on August 10, 2009, 06:55:45 PM
Hi all ..

Force mi brother ,  the comand !mycars no it working , say: no cars .

THe props no  it working , no want  show the icon for the information T.T ..

Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: Tobi on August 10, 2009, 06:57:41 PM
I have a like probleme edward we need help with car and prop cmd ???
Title: Re: FBS v0.2 (Force's Beginner Scripts) - NEW LINK - PLEASE REDOWNLOAD
Post by: TLK.NicoArin on September 27, 2009, 09:02:50 PM
Quote from: thebest12 on October 22, 2008, 05:54:54 AM
mmm. when you add a prop and then you get the icon it saids that the name is unknown and the price is 100 D: and what is the command to delete the prop cuz I try !deleteprop but dont work :(
Go to the Props files and change the 1 to 40, 2 to 41, 3 to 42.......
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: TLK.NicoArin on September 27, 2009, 10:42:44 PM
i need !delprop
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: [GM]The_Don on September 30, 2009, 04:39:59 PM
Nice Script Man, only one issue i have with it ;)

When i do /c propspawn 1 on, it just take me to my prop, when i enter the command.

Is it possible that it automaticly bring you to your prop?
I also tried to add this Script Pack which you posted here already, but that
didnt helped much more =(

Any Solutions?
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: StriKe on September 30, 2009, 06:40:23 PM
Fix this one doneh

http://forum.vicecitymultiplayer.com/index.php?topic=866.msg6237#msg6237
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: MrAcmering on October 26, 2009, 09:57:21 PM
Quote from: StriKe on September 30, 2009, 06:40:23 PM
Fix this one doneh

http://forum.vicecitymultiplayer.com/index.php?topic=866.msg6237#msg6237

for me don't work :S
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: Tonys on October 27, 2009, 10:10:29 PM
To make Property System work... replace commands in script with these one's

 elseif ($3 == buyprop) {
   if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 You must be logged in.
   elseif (!$4) vcmp.msg $1 $2 Syntax: ! $+ $3 <Place ID>
   elseif ($4 !isnum) vcmp.msg $1 $2 Invalid Place ID
   elseif ($4 > $fbs.propcount) vcmp.msg $1 $2 Invalid Place ID
   elseif (. isin $4) || (, isin $4) || (- isin $4) vcmp.msg $1 $2 No negative or decimal place id's
   elseif ($FBS.PropPrice($4) > $FBS.actcash($1, $2)) vcmp.msg $1 $2 You do not have enough cash to buy this property
   elseif ($FBS.PropDistance($2, $4) > 10) vcmp.msg $1 $2 You must be closer to the property
   elseif ($FBS.PropOwner($4) != Vice City) vcmp.msg $1 $2 This property is already owned by $FBS.PropOwner($4)
   elseif ($FBS.Myprops($1, $2) >= 2) vcmp.msg $1 $2 You have reached your property limit.
   else {
     vcmp.say $1 ** $vcmp.name($1, $2) has bought Property - $FBS.PropName($4) (ID: $4 $+ )
     vcmp.msg $1 $2 Property Cost: $ $+ $FBS.PropPrice($4)
     FBS.DecCash $1 $2 $FBS.PropPrice($4)
     !remini -n FBS.propowners.ini OWNERS $4
     !writeini -n FBS.propowners.ini OWNERS $4 $vcmp.name($1, $2)
     FBS.IncMyprops $1 $2 1
   }
 }
 elseif ($3 == sellprop) {
   if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 You must be logged in.
   elseif (!$4) vcmp.msg $1 $2 Syntax: ! $+ $3 <Place ID>
   elseif ($4 !isnum) vcmp.msg $1 $2 Invalid Place ID
   elseif ($4 > $fbs.propcount) vcmp.msg $1 $2 Invalid Place ID
   elseif ($FBS.PropDistance($2, $4) > 10) vcmp.msg $1 $2 You must be closer to the property
   elseif (. isin $4) || (, isin $4) || (- isin $4) vcmp.msg $1 $2 No negative or decimal place id's
   elseif ($FBS.PropOwner($4) != $vcmp.name($1, $2)) vcmp.msg $1 $2 You do not own this property
   elseif ($FBS.SpawnSetting($5) == on) vcmp.msg $1 $2 You need to turn off property spawning first
   else {
     vcmp.say $1 ** $vcmp.name($1, $2) has sold Property - $FBS.PropName($4) (ID: $4 $+ )
     vcmp.msg $1 $2 Selling Price: $ $+ $FBS.Propprice($4)
     FBS.IncCash $1 $2 $FBS.PropPrice($4)
     !remini -n FBS.PropSpawn.ini SPAWN $FBS.PropShares($4)
     !remini -n FBS.PropSpawn.ini STATUS $FBS.PropShares($4)
     !remini -n FBS.propowners.ini OWNERS $4
     !remini -n FBS.PropSpawn.ini SPAWN $vcmp.name($1, $2)
     !remini -n FBS.PropSpawn.ini STATUS $vcmp.name($1, $2)
     !writeini -n FBS.propowners.ini OWNERS $4 Vice City
     FBS.DecMyProps $1 $2 1
   }
 }
 elseif ($3 == addplace) {
   if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 You must be logged in.
   elseif ($FBS.Level($1, $2) < 3) vcmp.msg $1 $2 Must be level 3.
   elseif (!$4) vcmp.msg $1 $2 Syntax: ! $+ $3 <Cost> <Name>
   elseif (!$5) vcmp.msg $1 $2 Syntax: ! $+ $3 <Cost> <Name>
   elseif ($4 !isnum) vcmp.msg $1 $2 Invalid Property Cost
   elseif (. isin $4) || (, isin $4) || (- isin $4) vcmp.msg $1 $2 No negative or decimal Property Cost
   else {
     vcmp.msg $1 $2 Property Added - Price: $ $+ $4 - Name: $5-
     !writeini -n FBS.PropCount.ini COUNT Count $calc($FBS.PropCount + 1)
     !writeini -n FBS.PropOwners.ini OWNERS $FBS.PropCount Vice City
     !writeini -n FBS.PropNames.ini NAMES $FBS.PropCount $5-
     !writeini -n FBS.PropCosts.ini COSTS $FBS.PropCount $4
     !writeini -n FBS.PropLocs.ini x $FBS.PropCount $vcmp.location($1, $2).x
     !writeini -n FBS.PropLocs.ini y $FBS.PropCount $vcmp.location($1, $2).y
     !writeini -n FBS.PropLocs.ini z $FBS.PropCount $vcmp.location($1, $2).z
     !writeini -n FBS.PropSpawn.ini LOCATION $FBS.PropCount $calc($vcmp.location($1, $2).x - 2) $calc($vcmp.location($1, $2).y + 2) $vcmp.location($1, $2).z
     FBS.LoadProps $1
   }
 }


Then replace all property aliases with these one..

alias FBS.PropCount !return $iif($readini(FBS.PropCount.ini,COUNT,Count),$v1,0)
alias FBS.PropPrice !return $iif($readini(FBS.PropCosts.ini,COSTS,$1),$v1,100000)
alias FBS.PropOwner !return $iif($readini(FBS.PropOwners.ini,OWNERS,$1),$v1,Vice City)
alias FBS.PropShares !return $iif($readini(FBS.PropOwners.ini,SHARES,$1),$v1,None)
alias FBS.PropName !return $iif($readini(FBS.PropNames.ini,NAMES,$1),$v1,Unknown)
alias FBS.Mypropshares !return $iif($readini(FBS.MyProps.ini,SCOUNT,$vcmp.name($1, $2)),$v1,0)
alias FBS.PropLoc !return $iif($readini(FBS.PropLocs.ini,LOCATIONS,$1),$v1,Unknown)
alias FBS.IncMyProps !writeini -n FBS.MyProps.ini COUNT $vcmp.name($1, $2) $calc($FBS.MyProps($1, $2) + $iif($3,$v1,0))
alias FBS.DecMyProps !writeini -n FBS.MyProps.ini COUNT $vcmp.name($1, $2) $calc($FBS.MyProps($1, $2) - $iif($3,$v1,0))
alias FBS.MyProps !return $iif($readini(FBS.MyProps.ini,COUNT,$vcmp.name($1, $2)),$v1,0)
alias FBS.SpawnSetting !return $iif($readini(FBS.PropSpawn.ini,STATUS,$vcmp.name($1, $2)),$v1,0ff)
alias FBS.LoadProps {
 var %a = 1
 set %propcount 0

 while (%a <= 100) {
   if (%a <= $FBS.PropCount) {
     vcmp.newpickup 1 407 $readini(FBS.PropLocs.ini,x,%a) $readini(FBS.PropLocs.ini,y,%a) $readini(FBS.PropLocs.ini,z,%a)
     !inc %propcount
   }
   !inc %a
 }
 timer.checkproperties 1 8 FBS.CheckCount
}
alias FBS.getmysharedprops {
 var %a = 1
 while (%a <= %propcount) {
   if ($readini(FBS.PropOwners.ini,SHARES,%a) == $vcmp.name($1, $2)) var %b = %b $readini(FBS.PropNames.ini,NAMES,%a) $+ , ID: %a -
   !inc %a
 }
 !return %b
}
alias FBS.CheckCount {
 if (%propcount == $FBS.PropCount) {
   FBS.Echo 7 $+ $chr(91) %propcount $+ / $+ $FBS.PropCount $chr(93) Properties Loaded Succesfully
 }
 else FBS.Echo 7Error loading Properties $chr(91) %propcount $+ / $+ $FBS.PropCount $chr(93)
}
alias FBS.PropInfo {
 var %a = 1
 while (%a <= 100) {
   if (%a == $1) {
     if ($FBS.PropOwner($1) == Vice City) {
       vcmp.msg 1 $2 **** FOR SALE ****
       vcmp.msg 1 $2 Property: $FBS.PropName($1) $+ ( $+ $1 $+ )
       vcmp.msg 1 $2 Owner: Vice City // Cost: $ $+ $FBS.PropPrice($1)
     }
     elseif ($FBS.PropOwner($1) != Vice City) && ($FBS.PropShares($1) != None) {
       vcmp.msg 1 $2 Property: $FBS.PropName($1) $+ ( $+ $1 $+ ) // Owner: $FBS.PropOwner($1) // Price: $ $+ $FBS.PropPrice($1)      
     }
     elseif ($FBS.PropOwner($1) != Vice City) && ($FBS.PropShares($1) == None) {
       vcmp.msg 1 $2 Property: $FBS.PropName($1) $+ ( $+ $1 $+ ) // Owner: $FBS.PropOwner($1) // Price: $ $+ $FBS.PropPrice($1)      
     }
     else vcmp.msg 1 $2 Property info can't be found!
   }
   !inc %a
 }
}



Oh and delete every pickup in your config file - this is a MUST.

It should now function properly only thing I haven't fixed yet is when scripts are disconnected then reconnected the Properties fuck up by moving up an ID and showing Unknown as the Name.  So uh.. don't restart your server/scripts and you won't come across this problem :P
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: MrAcmering on October 28, 2009, 09:29:16 PM
the only mode to don't show the prop bug is  no prop ;)
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: MISHA123152 on March 10, 2010, 05:09:21 PM
where can I download FBS v0.2.5? please give me link) please)))
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: Only a Dude on March 11, 2010, 12:46:41 PM
Quote from: MISHA123152 on March 10, 2010, 05:09:21 PM
where can I download FBS v0.2.5? please give me link) please)))
Link removed man. Can't do anything for you
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: MISHA123152 on March 11, 2010, 04:07:52 PM
you could give a reference to the normal FBS v0.2 with! buypropertys? please
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: thijn on March 11, 2010, 04:10:42 PM
You can download FBS here (http://deathsquad-clan.com/vc-mp/FBS_v0.2_Release.zip)
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: MISHA123152 on March 11, 2010, 05:32:50 PM
you can make the assembly FBS v0.2 c buy houses? no bugs ... please and give me link))
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: thijn on March 11, 2010, 08:03:41 PM
you might scroll up some bit, and you see the fix.
or if ur lazy, Click here (http://forum.vicecitymultiplayer.com/index.php?topic=866.msg10395#msg10395)
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: Tonys on March 11, 2010, 08:19:47 PM
Quote from: MISHA123152 on March 11, 2010, 05:32:50 PM
you can make the assembly FBS v0.2 c buy houses? no bugs ... please and give me link))

I posted a fix for it, although there is still one problem everytime the script is disconnected then connected the properties move up by 1 ID. Though if your only adding the FBS script and aren't making any changes to it then it will work perfectly.  Just replace the Property stuff in the script with the stuff I posted above.
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: MISHA123152 on March 12, 2010, 05:18:53 AM
I tried. I did not work. give me a link to the normal FBS.mrc whose buyprop without bugs. please. or search for FBS v0.2.5. please. you are my last hope.
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: Only a Dude on March 12, 2010, 01:13:51 PM
hey, there are wsv, gus, psy, sansan, etc. you can use one of it
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: thijn on March 12, 2010, 02:55:10 PM
The fix I gave you (Which was posted above) works perfectly.
You should do something yourself, Not just ask ask ask.
Just follow the steps, and it should work.
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: Tonys on March 22, 2010, 09:55:23 PM
Force would you mind if I released some kind of small RPG add-on for FBS to help all that can't be fucked doing it themselfs?

Of course it won't be 100% 1337 add-on but it'll be something.
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: thijn on March 23, 2010, 06:56:05 PM
I think addon's are always welcome (although im not sure what Force thinks ofc :P)
As long as its not FBS with some addons while claiming it yours.
Title: Re: FBS v0.2 (Force's Beginner Scripts)
Post by: Scripter on December 20, 2010, 09:59:24 AM
(http://img833.imageshack.us/img833/6140/vcmp017.jpg)
can anyone know how to solve this cost and name problem