free

News

collapse

User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

NOTICE OF PARKING ENFORCEMENT CHANGES by Huntsman
[June 19, 2025, 05:22:50 pm]


Re: Stopping by by Sinister
[June 08, 2025, 01:58:04 pm]


Re: Stopping by by Ehks
[June 04, 2025, 12:25:17 am]


Re: Rest in peace by Stefanrsb
[June 02, 2025, 03:38:02 am]


Re: [SA:MP]House of Sforza | The Elite Power | Estd. 2006 | LS - LV by Stefanrsb
[June 02, 2025, 03:09:22 am]


Re: The Soprano Family | Royal Loyalty by Stefanrsb
[June 02, 2025, 03:00:31 am]


Re: The Gvardia Family || San Fierro's Main Power || Best criminal group of 09/10/11 by Stefanrsb
[June 02, 2025, 02:47:01 am]


Re: BALLAS | In memory of INFERNO 9 and NBA by Stefanrsb
[June 02, 2025, 02:31:29 am]


Re: Count to 1,000,000. by Stefanrsb
[June 02, 2025, 02:15:04 am]


Re: Stopping by by Traser
[June 01, 2025, 10:23:13 pm]


Re: Stopping by by Old Catzu
[May 18, 2025, 07:27:06 pm]


Re: Stopping by by TheRock
[May 18, 2025, 06:44:49 am]

* Who's Online

  • Dot Guests: 549
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Birthday Calender

July 2025
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5
6 7 [8] 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

Vehicle spawning in 2.0

stormeus · 3213

0 Members and 1 Guest are viewing this topic.

Offline stormeusTopic starter

  • VC:MP Developer
  • VC:MP Scripter
  • *
    • Posts: 1775
    With us since: 06/03/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
on: July 17, 2012, 07:08:58 am
In 2.0, the VC:MP server physically caps the maximum number of cars at 180. For this reason, I'd like to keep the number of cars down as much as possible. The current script revision has 97 state cars mapped with 36 different vehicle types. With a stable server cap of 48 players and assuming that if we ever reach that many players, 30 of which own two cars, that leaves 60 non-state car slots for a total of 157 cars.

While this is ideal, you may have seen in the previous 2.0 beta that cars purchased by players are kept spawned forever. This leaves extremely little room for player growth and would force use to revert to the 1.9 method of purchasing cars from the state, which limits vehicle choice.

For this reason, I'm implementing the following system:
  • State cars take precedence over any other vehicles.
  • Player-owned cars are spawned when the player purchases the car of their choice. If they aren't spawned already, they also spawn when a player joins the server.
  • If a player who owns a car joins the server and there are too many cars spawned, the cars of the least-recently logged in player will be despawned as in SA:MP.
  • The player's cars are spawned once the oldest cars are despawned.
  • Repeat process infinitely.

This idea is set to be added in 2.0, but I figured I would post this here to see how everyone felt about the possibility that your favorite cars won't be guaranteed to spawn where you want/need them to. (Besides, more reason to buy your own car!)



Offline SugarD

  • Hero
  • ****
    • Posts: 11515
    With us since: 21/03/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #1 on: July 17, 2012, 07:11:56 am
Sounds good to me. Judging by your math, it shouldn't be an issue regardless since reaching the maximum player cap would still prevent the maximum vehicle limit from being reached.



Offline Davron

  • Regular
  • **
    • Posts: 1606
  • Neal Caffrey
    • @xDarkThoughts
  • With us since: 16/07/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #2 on: July 18, 2012, 12:57:32 am
Sanchez yet ?


EAF Nigga


Offline JDC

  • Pope of Argonath
  • Orc
  • *****
    • Posts: 14023
  • ( ͡° ͜ʖ ͡°)
    • jdcargonath
  • With us since: 01/05/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • A Time for Rebuilding: SA:MP HQ's 5-Point Agenda
  • SA:MP: [Rstar]JDC
  • VC:MP: [R*]JDC
  • Minecraft: JayDeeCee
  • Discord: JDC#0664
  • V:MP: [Rstar]JDC
Reply #3 on: July 18, 2012, 01:42:26 am
Let's assume there is someone inside a player-owned vehicle, which belongs to the least recently-joined player currently on the server, when:

- The vehicle owner leaves the server
- Another player with a car joins the server, thus pushing the queue of dynamic cars forward, theoretically causing the oldest player-owned car to despawn

What happens then?

The most important part is interacting with others and meeting people from around the world.

A Time for Rebuilding: SA:MP HQ 5-Point AgendaThe Holy Church of Argonath (Recruiting)


Offline stormeusTopic starter

  • VC:MP Developer
  • VC:MP Scripter
  • *
    • Posts: 1775
    With us since: 06/03/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #4 on: July 18, 2012, 02:46:45 am
- Another player with a car joins the server, thus pushing the queue of dynamic cars forward, theoretically causing the oldest player-owned car to despawn

The script would check for this condition, go on to the next oldest car, and despawn that vehicle.

Sanchez yet ?

Can be added



Offline Marcell

  • gandalf fan
  • Hero
  • ****
    • Posts: 2750
    With us since: 13/01/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • Immortal Technique Website
  • SA:MP: John_Corleone
  • VC:MP: =AV=Reaper
Reply #5 on: July 18, 2012, 02:52:03 am
man I don't care how it will work, I just want to buy 10 black ranchers for my talon mercs



Offline Klaus

  • VC:MP Division Leader
  • ******
    • Posts: 6348
    With us since: 30/12/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #6 on: July 18, 2012, 01:59:53 pm
man I don't care how it will work, I just want to buy 10 black ranchers for my talon mercs
10 vehicles a player is absurd.


Offline Marcell

  • gandalf fan
  • Hero
  • ****
    • Posts: 2750
    With us since: 13/01/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • Immortal Technique Website
  • SA:MP: John_Corleone
  • VC:MP: =AV=Reaper
Reply #7 on: July 18, 2012, 02:56:54 pm
10 vehicles a player is absurd.
not enough tea in your organism to think straight bro???
5 players x 2 vehicles each



Offline Klaus

  • VC:MP Division Leader
  • ******
    • Posts: 6348
    With us since: 30/12/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #8 on: July 18, 2012, 03:05:20 pm
not enough tea in your organism to think straight bro???
5 players x 2 vehicles each
Lol. Own 2 Ranchers or denied from Talon.


Offline stormeusTopic starter

  • VC:MP Developer
  • VC:MP Scripter
  • *
    • Posts: 1775
    With us since: 06/03/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #9 on: July 18, 2012, 07:42:53 pm
Vehicles are still going to be capped at 2 per player. Otherwise, 7 players with 10 cars (which probably will happen) would end up causing the server to crash.



Offline ~Legend~

  • Veteran
  • ***
    • Posts: 3863
  • [WS]Legend
  • With us since: 21/02/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • White Shadows
  • VC:MP: [WS]Legend
Reply #10 on: July 18, 2012, 07:46:09 pm
Sounds cool, mate.

2's good in that you can have 1 land vehicle then a choice of air/sea for the second. 3 would give you all the possibilities... if only. :P
Or of course, any combination that takes your fancy is just fine.


Offline Kessu

  • VC:MP Division Leader
  • ******
    • Posts: 5535
  • THIS AVATAR WILL NOT CHANGE!
  • With us since: 04/04/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • VC:MP: Kessu
Reply #11 on: July 18, 2012, 08:15:16 pm
Sounds cool, mate.

2's good in that you can have 1 land vehicle then a choice of air/sea for the second. 3 would give you all the possibilities... if only. :P
Or of course, any combination that takes your fancy is just fine.
1. PCJ
2. PCJ
3. PCJ

:D


Quote
For the world of man to mean anything, man must own the world


Offline Morphine

  • Regular
  • **
    • Posts: 980
    With us since: 14/01/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • SA:MP: morphineVC
  • VC:MP: morphine
Reply #12 on: July 19, 2012, 01:38:40 pm
1. PCJ
2. PCJ
3. PCJ

:D

NO
  • Stinger
  • Stinger
  • Stinger




Offline ZeRoX2

  • Just another
  • Regular
  • **
    • Posts: 301
  • With us since: 06/07/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • VC:MP: 0x.
Reply #13 on: July 19, 2012, 09:53:20 pm
NO
  • Stinger
  • Stinger
  • Stinger



NO



<3





Post Merge: July 19, 2012, 09:53:52 pm
Koenigsegg Agera R ^^ <3


Post Merge: July 19, 2012, 09:54:47 pm
On topic now: Great idea this, but why not making it EXATCLY like in SA-MP. That if you enter someone elses car, it won't let you. And they'll be cars for PULBIC use, like in SA-MP.



Offline stormeusTopic starter

  • VC:MP Developer
  • VC:MP Scripter
  • *
    • Posts: 1775
    With us since: 06/03/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #14 on: July 19, 2012, 11:25:07 pm
Great idea this, but why not making it EXATCLY like in SA-MP. That if you enter someone elses car, it won't let you. And they'll be cars for PULBIC use, like in SA-MP.

Some player-owned cars on SA:MP are unlocked, provided that the owner does not lock them. Using SA:MP's system would be more chaotic since player cars would despawn as soon as the owner leaves, and spawn as soon as the owner joins.



 


free
SimplePortal 2.3.7 © 2008-2025, SimplePortal