Log in to reply
 

LS Life [SCRIPT] [RELEASED] [WIP]



  • A Dealing mod.

    Change Log

    0.2

    • iFruit Contacts has been reworked, You now have one contact to call. Zee, from here you can request to start selling, request to buy drugs and ask for a lift. Calling Zee while you are dealing will cancel dealing. (removing the need for extra Keybind)
    • Reduced the cooldown on poor area drivebys from 120secs to 100sec.
    • Reworked the randomness of all driveby related events.
    • Drive-by peds now select from 2 loadouts. Pistol+PumpAction or MicroSMG+Carbine.
    • Drive By vehicles are randomised Suv's local to the area.
    • First implementation of a Rep/Level system for the Dealer. Earn rep by spending cash, 1 rep for every $100. When paying off a dept you earn 1 rep for every $500. The level is based on current rep, scales on a logarithmic curve, meaning early levels are easy to earn but at higher levels you require higher amounts of rep for the next level.
    • Example of requirement the first 20 levels.
      Lvl:1 Rep:626
      Lvl:2 Rep:2501
      Lvl:3 Rep:5626
      Lvl:4 Rep:10001
      Lvl:5 Rep:15626
      Lvl:6 Rep:22501
      Lvl:7 Rep:30626
      Lvl:8 Rep:40001
      Lvl:9 Rep:50626
      Lvl:10 Rep:62501
      Lvl:11 Rep:75626
      Lvl:12 Rep:90001
      Lvl:13 Rep:105626
      Lvl:14 Rep:122501
      Lvl:15 Rep:140626
      Lvl:16 Rep:160001
      Lvl:17 Rep:180626
      Lvl:18 Rep:202501
      Lvl:19 Rep:225626
      Lvl:20 Rep:250001
    • The level of the Dealer will determine a few things. Increasing the dealers stock caps, make the dealer restock faster, give more jobs to the player, give the player a discount and increase your credit limit with them.
    • Dealers cooldown on being able to order a reload and also the time for delivery is reduced from (in gametime) 1 day to 10 hours. This cooldown can be further reduced by the dealers level. 1 level is worth 10 minutes, so lvl 6 will reduce this down to 9 Hours. Its capped at a 6 hour reduction.
    • Dealers base chance for giving the player a job is now modified by level. Starting at 30% gaining 1% per lvl.
    • The price a player can buy goods from a dealer is now reduced by that dealers level. 1% reduction per lvl.
    • Fixed a typo that was causing any cocaine transferred from the StashVehicle to the Player to be added to the players crack.
    • You now have access to a weapons dealer when calling Zee, its basic for now. Not much choice but discounts applied based on level and you earn rep on any money spent.

    0.2.1

    • You can now buy Pistol ammo from the pistol section in the weapons dealer menu.
    • Fixed Weapons Dealer giving Pistol's with no ammo.
    • Fixed Debt being decreased instead of increased when buying weapons without the cash needed.

    0.2.2

    • Fixed Rep not being displayed consistently across menus.
    • Fixed a bug that could cause you to get no rep from buying drugs.
    • The price the dealer buys drugs at (half the sell price) is now reduced buy 1% per level also When the dealers stock diminishes he now earns 1% more per level on its value (half the sell price).

    0.2.3

    • Notification received when Zee reloads now contains what he brought.
    • Fixed Weapon Dealer Menu not displaying discount on weapons when a discount was given.
    • Fixed not being able to interact with a delivery job customer when you close the Sell Drugs Menu without dismissing or selling.
    • Required drugs for job offers (2oz) now considers all drugs stored in all stashes not just what the player is carrying.
    • Zee's Driver will be a little more intelligent. Slowing down better as he approaches his destination and attempting to park. Waiting a little while before he drives away when dismissed. Also by default he will follow traffic laws, interact button will tell him to go faster pushing it again will slow him down again.

    0.2.3a

    • Fixed Job Customers not being interactable under certain conditions.

    0.2.4

    • Having any Heat will mean a 1/10 chance to spawn a cop that patrols the players area on foot. It is possible to lose him if you get far enough away.
    • areaHeat is increased by +1000 for being spotted handing over drugs by the police in an area. This is the same amount of as being ratted on. Making it harder to sell in an area you have previously been spotted handling drugs.

    0.2.5

    • Heatbar reworked a little, along with added thresholds for being ratted on and cop spawns while dealing. Bar will now change colour, when its yellow(>25%) a cop can spawn, when its red(>50%) you can be snitched on.

    0.2.6

    • When starting to deal, you can now select what drugs you want to sell.
    • You no longer need to be carrying drugs on you to start dealing, but you do need some stored somewhere.
    • Interacting with a customer while not having any drugs no longer cancels dealing, and no longer removes that customer.
    • Chance of getting a customer reduced from 65% to 60%.

    0.2.6a

    • You can no longer start dealing without any drugs selected to sell.
    • Added LSlife.pdb to the DONOTCOPY folder. If you experiance an crashes or errors, copy this file into your /scripts folder and play till the error happens again. This will create a more detailed log of the error and help me debug the error.

    0.2.6b

    • Fixed all crashes that occur when having only Crack or Cocaine selected to sell while in an area that will not buy Crack or Cocaine. You will now recive a message telling you if the drug you are selling is not wanted in the area youre trying to sell in.

    0.2.6c

    • Fixed drop offers causing crashes if drugs being sold are not wanted in the area the drop spawns.

    0.2.7

    • Rewrote a large part of how my script handles areas on the map and drugs within each area. This enables me greater control of the market and whats happening in that area. I have done in in such a way its easy for me to add new data in future for each area for new events and other random stuff happening.
    • Each area on the map now has its own values for prices, supply, demand for each drug.These values mostly stay unchanged across the board right now, but i have plans to make them more dynamic in the next update.
    • Wealth no longer exists, its been replaced with:
      AreaType - Currently 3 types. Poor, Normal, Rich.
      CopPresence - Value ranging from 0 - 10 representing the strength in the area.
      GangPresence - Value ranging from 0 - 10 representing the strength in the area.
    • You can effectively sell anything anywhere, customer selection has been changed, each drug in each area has its own timer between posible sales. The Length of this timer is based of the drugs demand, Demand is then based of the drugs prefered AreaType vs the AreaType of the place youre selling and the supply of the drug. Supply can not change right now and will always remain at 0.
    • None of this new Area data is being saved between games currently and is generated based on its type. This will change in the future once i am finished with how the area data is structured and more testing is done.

    0.2.7a

    • Fixed System.ArgumentOutOfRangeException that could happen at LSlife.LSL.Area.GetCustomer(List`1 peds) if there where no valid peds within range to become customers but a drugs demand dictated there should be a new customer selected.
    • Fixed menu and notification text for drop customers.
    • Fixed Area.Drugs.Drug.Delay for all area drugs not being considered for selecting new customers and doubled base values for all Delays.
    • Fixed Area.Drugs.Drug.SelectCustomer not being reset to false when a customer should be selected but the player is not selling that drug.
    • Removed the do not copy folder in the, its redundant.

    0.2.7b

    • Fixed System.NullReferenceException. Again caused by no valid peds.

    0.2.7c

    • Fixed a bug that could sometimes cause changing areas to multiply the base values used when calculating Area.Drugs.Drug.Delay.

    0.2.8

    • When generating new Area data, Demand for each Drug is now a randomized value between 0.1 and 1.25 based on that drugs AreaType instead of hardcoded.
      Poor areas Rich drugs will be weighted towards the bottom end of the scale, Normal drugs middle, Poor drugs towards the top.
      Rich areas Poor drugs will be weight towards the bottom end of the scale, Normal drugs middle, Rich drugs towards the top.
      Normal areas Normal drugs will be weighted towards the top end of the scale, Rich and Poor drugs below middle.
    • All drugs have a base Delay value of 10 seconds, baseDelay / Drug.Demand = Drug.Delay. Every second there is a 60% chance of a check if any drugs Delay has expired. An Expired Delay will flag the players area for customer selection.

    0.2.9

    • If the Highest demands for drugs go unmet in an area. Gang Presence will have a 5% chance to increase every 120secs.
    • An area that has a stash house will receive a reduction in chance to increase gang presence. Now 1%, and will start with a presence of 0.
    • Random Drive Bys now require the players current area Gang Presence to be greater 4 and the player to have spent more than 120secs dealing on a single road. When these conditions are met there is a 5% chance every 10sec of a drive by happening.
    • Random Robberies now require the players current area Gang Presence to be greater than 0. When presence is greater than 0, There is a base 1% chance of a robbery gaining +1% for every 1 gang presence. If you have the bag and gang presence is greater than 4 there is a 10% chance of this robbery spawning a driveby.
    • Gang presence will be reduced by 1 for every ped that tries to rob or driveby you that dies.

    0.2.10

    • Zee's drug prices have been halved Weed 500, Crack 2500, Cocaine 5000.
    • If Gang presence is greater than 0 in the players current area, a Street Dealer will be spawned. Drugs demand is divide by Dealers, the player also counts as a dealer while active, meaning Longer delays between customers being selected.
    • Street dealers location is unknown, Customers have a 10% chance of giving you this information, every level of gang presence will reduce this chance by 0.5%. Once a street dealers location is revealed moving away from that area will cause his whereabouts to be unknown again. If a street dealer dies gang presence is reduced by 1. A street dealer could be anyone. They currently react like a normal ped would in a hostile situation. Meaning run away most the time.
    • Fixed a few bugs with the new customer selection code. This will fix having more weed customers than should be, and Gang Presence not being able to raise when it should. Also more than 1 type of Customers not being selected when they could be.
    • There is now an element of randomness to customer selection, based on demand ontop of the current delay governing the time between posible new customers. Higher demands will have better odds.
    • Fixed a bug that could cause the same ped to be selected more than once for a sale.
    • Rewrote the logic controlling customer movement before they are added to the players group. They should now correctly walk or run based on a few conditions. Still a bit buggy but better than every ped running all the time.

    0.2.11

    • Fixed area heat not being reduced while not wanted if the player was in that area.
    • More changes to customer movement.
    • The Street value of all drugs is now reduced by the price of 1g for every 3.5gs the customer purchased.
      eg Weed, Street value of an g being $50.
      Selling an oz in anything less than 3.5g a time would earn you $1400.
      Selling a oz in one go $1000. (28/3.5)*50 = $400 discount.
    • You will no longer receive drop request for drugs you're not selling.
    • Fixed System.NullReferenceException when spawning a street Dealer.
    • Street dealers now have body armour, a pistol and a random amount of cash. They are still pretty passive but if you approach them with a weapon drawn they may react.
    • Customers can no longer turn hostile right after deal is done.

    0.2.12

    • Street dealers can no longer be selected as a customer.
    • Street dealers will now have customers approaching them.
    • Street Dealers Will wander away if you get to close and act like a normal ped. Will resume dealing once a suitable spot is found, and will retaliate if threatened.
    • Street Dealers will now drop a random amount of drugs upon death.
    • Street Dealers will no longer be removed upon leaving the area, unless you are more than 300m away.
    • The nearest customer in front of the player is now chosen first when interacting with a crowd of customers.
    • Police presence will now have more of an effect on the players Heat.
    • Restructure project to use separate source code files for different parts of the script.
    • Fix for System.NullReferenceException when spawning Drug Dealer and Weapons Dealer.
    • Fixed Killers Blip from being removed, after being defined as Your Killer. (this only happened sometimes)
    • When opening the sell to customer Menu, the sell option will always be highlighted by default.
    • Improvements to Help Text (no more pinging noises while in menus)
    • Menus can no longer be opened while Menu is open.

    0.2.13

    • You will now get the correct amount of ammo for the weapon Your Killer was using before death, when picking up the bag that drops when Your Killer dies.
    • Fixed System.ArgumentException: An item with the same key has already been added. (This could happen after being killed 2-3 times and a Killer target is assigned.)
    • Fixed a bug with Your Killers bag containing wrong weapons.
    • Fixed a bug that could cause the Street Dealer model to default to Acult02AMY if no suitable ped model was found in the players area. The script will no longer spawn a Dealer, instead it will keep looking for suitable ped.
    • Fixed Street Dealers DEBUG flag always being true, even if player has DEBUG set to false. (This will remove there blips and stop the notification spam)

    0.2.14

    • Fixed player inventory not saving with correct values after picking up a dealers bag.
    • Slight buff to the chance of getting a customer for weed in all areas.
    • Driveby peds will no longer be removed from the world if marked as Your Killer.
    • Fixed Rep and Dealer Money values not updating in the save file when buying things from the weapons dealer.
    • Changed how the Stash Vehicle is spawned, this should fix certain models not being able to spawn. If you have a vehicle that is not compatible with the old way (you will notice the blip for it blinking when you get close), spawn a new one, and set that as the Stash Vehicle, this will switch it over to use the new spawning method. Its inventory contents will not be lost instead will be carried over to the new Vehicle.

    0.2.15

    • Cop Presence will now start at 1 for all areas, This will stop the heat bar going crazy in them rich areas for no reason.
    • Stash Vehicle code has been reworked, this should enable me to have more stash vehicles in future.
    • Area dealer spawn method has been rewritten, it should be much more reliable in un populated areas.
    • Area Dealers will now only drop a Bag if killed by a ped in the players group.
    • Fixed a bug that could cause the players Debt to go below 0.

    0.2.15a

    • Fix crash on bag pickups.

    0.2.16

    • The Rat Mechanic's instant wanted level has been replaced with a patrol car, that has an increasing chance to spawn based on the players Heat. If they find you they will peacefully attempt to search you. If you do not comply you will get 3 stars. They will stop tracking you if your heat drops low enough.
    • AreaHeat is now modified by the amount of peds are not Customers that can see the deal taking place every second for 10 seconds.
    • Fixed a Bug that could stop the player taking money out the stash vehicle.
    • Swat, Army and Rangers can no longer be marked as the players killer.
    • Players Customers can no longer be selected as AreaDealers customers.
    • Added checks to see if a copy of the players stash vehicle has been spawned by the game, if found this vehicle will be set as your stash vehicle and no vehicle will be spawned by the script.

    0.2.17

    • Customers you drop to can no longer be selected to be a dealer or a customer of a dealer.
    • Heat Bar removed.
    • Gang strength has a stronger effect on reducing the chance of a tip about a local dealer.
    • Once a dealer has been discovered via a tipoff, you will no longer receive more tipoffs about this dealer.
    • tips from customers may also tell you about incoming police. Gang strength reduces the chance of these tips also.
    • Wealthy and Normal areas starting gang strength increased from 2 to 5.
    • Removed "You have no drugs" spam when approaching a customer while having no drugs.
    • Any customer that doesn't get served may result in the local gang strength going up.

    0.2.18

    • Any police spawned by dealing will do so based on the local jurisdiction. LSPD, LSSD and SAPR.
    • You can now hire Dealers, to do so find one and approach them. An offer of cash is required, the more money offered the higher the chance they will accept working for you.
    • Players dealers will sell any product you give them over time at street price, and any money made can be collected at anytime. They take a 20% cut when doing so.
    • Number of allowed player dealers is dependant on your rep/level with Zee.
    • Players dealers drop a bag on death containing any money earned from sales and drugs carried.
    • Dealers info is saved in its own XML (This file is generated if one isn't already present)
    • All Blips should now be named depending on the peds current role. (make sure debug = false)
    • Driveby peds/vehicles (and their blips) are now removed if you get far enough away and are not in the same area as peds/vehicles.
    • Small buffs to Drug demands, As Well as adjustments to how demands are randomly generated.
    • Max customers increased from 5 to 10.
    • Group members of the player can no longer be customers of area dealers.
    • Fixed an old bug with customers who are driving a vehicle not driving to the player.
    • New method for checking if a ped is being used already.

    0.2.18a

    • Fixed wrong reasons being displayed for why you cant hire a dealer.
    • Possibly fixed System.NullReferenceException.
    • Area dealers menu can no longer be opened while moving.

    0.2.18b

    • More crash Fixes.

    0.2.18c

    • "DealerSim Hours Passed " + hoursPassed; Notification now needs DEBUG flag to be true.
    • Fixed method that checks if a ped is being used. (Was returning False with area dealers, when selecting police is allowed)
    • Tick used for different parts of the script are now staggered. (Should improve performance in certain situations.)
    • Fixed being able to hire more dealers than should be allowed for Zee's level.
    • Fixed "Reason" spam when being told why you cant hire a dealer.
    • Gang strengths effect on receiving tips about dealers reduce by 25%.
    • All tips have a +10% chance of happening.
    • Fixed Marked Killers not giving Drugs back after collecting their bag.

    0.2.18d

    • Added "BAYTRE" to world area list.
    • player dealer debug info now needs DEBUG flag to be true.

    0.2.19

    • Added "OBSERV" and "GALLI" tags too world area list.
    • Area dealers now have an attack state.
    • fixed 'player dealer debug info now needs DEBUG flag to be true'.

    0.2.20

    • Your dealers can now follow you, the command is found in their menu, When following they will fight by your side and enter any vehicle you enter, opening the menu again they can be told to stop following, making them start dealing again if there is not a dealer already working for you in the current area.
    • You can give your dealers weapons.
    • You can buy armor for your dealers from Zees weapon dealer.
    • You can can carry 5 body armours, and they can only be used when giving to dealers.
    • Stash house and Vehicles can now store body armour. Retrieving armour from an inventory while the player has less than 100% will use that armour.
    • Drive bys can now be caused by Attacking an Area dealer or acting hostile around one, Failing and successfully bribing a dealer. When a driveby is spawned, if an area dealer is nearby, he will also join the fight.
    • You can now remove stash vehicle status from a vehicle, Push the set Drug Car button while inside a stash vehicle.
    • Fixed area dealer menu offer maximum not updating properly.
    • Fixed Set Drug Car crashing the script when the current vehicle is not a valid type.

    0.2.20a

    • Fixed player dealers breaking after asking to follow.

    0.2.21

    • Added "BRADT" to world area list.
    • Removed "Annoying Thing" notification.
    • Player Dealers now have a deal state. While in this state customers will approach them.
    • Instructing a Player Dealer to "Work here" while sat in a vehicle will make them leave the vehicle before they start working.

    0.2.22

    • Fixed Zee giving the player free drugs when their debt is too high.
    • Re-wrote the code that handles giving the player the bag, this fixes any inconsistencies and also allows the player to pedal on a bike.
    • Decrease the time between checking playerWeapon amount from 10sec to 1sec.
    • Zee's dealer menus can no longer be opened while a menu is already open.
    • Rival dealers and all customers can no longer be chosen if inside an interior.
    • Rival dealers and all customers can no longer be chosen if under ground.

    0.2.23

    • Zee's Driver, and dealers can no longer be chosen to be rival dealers or customers of a dealer.
    • Zee's Dealers will no longer include peds in the players group when deciding if the area is too busy.
    • Added multiplier to Player Dealers Menu.
    • Player dealers can no longer be damaged by the player.
    • Bag pickups will now only live for 2 minutes. After the time is up they will despawn.
    • Fixed not being able to remove drug car status from a vehicle when pushing the set drug car button.

    0.2.24

    • Telling a dealer to follow or work here will now flag dealer data to be saved.
    • Fixed duplicate player dealer ID's being allocated in the LSLife_Dealers.xml (if you have duplicates they will be fixed on first time loading with the new update).
    • Changed INI to have DEBUG off.

    0.2.25

    • Dealers who are not currently working will no longer count while checking if there is a dealer in the area when telling a dealer to "Work here".
    • Player dealers will no longer be seen serving customers if they have no stock.
    • Fixed subtitles that is supposed to show when a rival dealer decides to rob you after making him a lowball offer.
    • Added subtitle for when rival dealer accepts an offer.
    • You can now hire a dealer in an area where you already have a dealer, this new dealer will be put into Follow mode, and will not work until you move him to a new area.
    • Player dealers on follow mode will only be put into the players group if the player is less than 100m away.

    0.2.26

    • Fixed a possible script crash when saving player dealer data.
    • Fixed player dealer follow mode adding dealers to the players group when they where more than 100m away.
    • Player Dealers on Follow mode (if the ped is currently spawned) will have a dark Blue blip, working dealer Light Blue.
    • Fixed Player Dealers being put into working mode on script load when there was more than 1 working dealer already in the area.
    • Player dealers ammo for weapons will now be replenished automatically when they are loaded/saved. (until i implement a way for them to buy ammo, or the player to give them ammo)
    • Vanilla Unicorn is now a valid location for dealing, for both player and rivals.
    • Added notification for DEBUG mode to display the hash of the players current interior and if the interior does not allow selection of dealers or customers. To display this enable DEBUG and enter location, hit the J button. If you find a location you think should allow, send me a message with the Hash.

    0.2.27

    • Fixed Player dealer position not updating correctly.
    • Fixed Player dealers who are on follow not fighting.
    • Player dealer menu will now close it self when you walk away from the dealer you are interacting with.
    • Player and Rival dealers will now use ingame speech to communicate with the player.
    • Player dealer bags will now contain dealers weapons.
    • Fixed Rival dealers dropping 2 bags.
    • Fixed Player dealers not despawning correctly.
    • Players rep/level effect on Zee's reload times reduced by 50%.

    0.2.27a

    • Removed women from being counted as police when selling.

    0.2.27b

    • Fixed crash related to a dead player dealer and their bag.
    • Added After Hours club to allowed list.
    • Player dealers that get removed from the players companion group (somehow?) will be added back in.
    • New Debug feature, All peds that are allowed to be customers will have a True above their heads, if not a False will show.

    0.2.27c

    • Fixed players Total drugs not being recalculated after giving drugs to a dealer, should fix any remaining issues with the bag.
    • Fixed Script crash when despawning a Player Dealer.

    0.2.28

    • Killing a rival dealer using a takedown while he can see you can now spawn a drive by.
    • If a rival dealer can see the player making a sale, They may attack and a drive by can spawn.
    • Rival dealers will now only turn to speak to the player if they can see or hear the player.
    • Fixed Not being able to interact with Rival dealers under certain situations.
    • Implemented possible fix for people having script crashes while spawning peds.
    • All blips and spawned entities should now be removed on a script crash/reload.
    • Capped player heat at 100, player heat will now be reset to the minimum after being busted, wasted(with drugs in possession), or being searched by police and not having drugs in possession. This will not reset area heat. So constantly dealing in the same area over and over without letting the area cool off, will attract the attention of the police extremely fast.
    • Ped variation Data for player dealers is now saved.

    0.2.29

    • Fix for another crash related to a dead player dealer and their bag.
    • Players robber can no longer be assigned to be a rival dealer or a customer of a dealer.
    • Tweaks to Police called out for dealing with high heat.
    • better method for gettings peds in the world.

    0.2.29a

    • Fixed rival dealers attacking for no reasons.
    • Removed green blip from police who spot you dealing.

    0.2.29b

    • Fix Stash Vehicle blip disappearing when vehicle is despawn when far away.
    • Fixed script crash related to saving new dealer information when hiring a dealer.

    0.2.29c

    • Fixed Drug car blip not appearing when loading into world while far away from its location.
    • New method for adding blips to entities, will check if a blip already exists first and edits that blip instead of creating a new one.
    • Change how "Drive-By Vehicle" blip is handled.
    • Rival dealers that are attacking the player will exit attack state upon player death.
    • Fixed bug with setting player dealer ped variation on spawn.

    TO DO

    • Add pre defined Gangs.
    • Add option for 24/12 hour time in text messages.
    • New Inventory systems.
    • New class for handling all the peds types, peds on foot and driving.
    • The player to serve prison time or pay bail. Zee can cover this fee for a price. Upon exiting the hospital or police station after being wasted/busted in possession of a large quantity of drugs the player to be escorted to prison, the length of the sentence and the cost of bail is adjusted based of the type and amount of drugs in question. (Areas Gang strengths will still increase during this time).
    • Customers to drop the drugs they purchased upon death.
    • Needlessly killing customers to result in a penalty to the areas drug demands for a period of time. Customers who try to rob you have no penalty.


  • 0.1b

    • Moved all save data to an XML file and out of the INI file, All XML's moved to their own folder to tidy things up. This will mean your old data is lost unless you edit the xml yourself and move your old Weapons.xml into the new folder.
      -Police officers will no longer be marked as your killer.
      -Fixed dealer not having any drugs when first installed.

    0.1c

    • Potential fix for people with the month out of range error.

    0.1d

    • Fixed Vehicle stash menus.

    0.1e

    • Fixed Vehicle menu properly :/ The chance of getting a delivery job is quite high right now. This is for testing to see if the spawns are good.

    0.1f

    • You can now store weapons in your storage vehicle. Make sure you copy over the new Vehicle weapons xml.
    • You will no longer receive drop offers unless the dealer likes you. This is when his money is above 50000.
    • A number of misc fixes to UI prompts.

    0.1g

    • Your killer will now gain your weapons. Currently will only drop what they have equipped and should attack you on sight, he will also gain full armour and select the best weapon he gains.
    • Fixed a bug i introduced in 0.1f with the Storage vehicle blip.
    • Random 'drop' customers should no longer spawn in the middle of highways and the ped model is now randomized based on the area you are in.

    0.1h

    • Fixed Storage vehicle being de-spawned while driving it (this was an attempt to unload the vehicle from the word when the player gets far away) should work properly now.
    • Fixed Storage vehicle blip again.

    0.1i

    • Animals can no longer be marked as your killer (i had a dog carrying around a gun after killing me)
    • Removed some debug stuff i had possibly left in place concerning the storage vehicle.

    0.1j

    • Group members can no longer be chosen as a customer, this will stop bodyguards wanting to buy, and then being removed from the group after purchasing from you.
    • Bag will be removed on first load if player has a bag, was possible to be stuck carrying bag after a crash.
    • Fixed a typo that caused the vehicle storage to stop working.
    • I left in my debug UI element, forgot to disable it before uploading, will be removed on next upload.

    0.1k

    • Fixed player speed not being adjusted properly, You will now run slightly slower when carrying the bag. Very small, max player speed being 7 meters/ps, reduced this down to 6 meters/ps, bag is placed on the player if he is carrying more than 5oz.
    • Fixed Crack value not showing correctly in vehicle storage.
    • Customers will now talk a little more.
    • Forgot the take out the debug ui again. Next update will have ini setting to turn stuff like this off.

    0.1l

    • Customers who were the driver of a vehicle should always return to their vehicle and drive away.
    • Added option in INI for disabling any debug stuff i left in by accident. You do not need to update your INI unless you want to turn this stuff on, its useless information for my uses only (no entry in INI will turn it off by default). In which case take a look at the new entry in the supplied INI.

    0.1m

    • Added multiplier to Stash House and Vehicle Menus.

    0.1n

    • Fixed a bug that would cause police to confiscate your money and weapons even if you didn't have drugs in your possession.
    • If arrested or killed while wanted and your storage vehicle has been identified its inventory will count towards the players total drugs carried. This means when arrested and the player is not carrying drugs but the storage vehicle is you will still get your money and weapons confiscated.

    0.1o

    • Fixed player being marked as you're killer.
    • You will get 1 star if you are near police while handing over drugs currently 30m.
    • increased the rate at which the dealers weed stock decreases from -1 a day to -10.
    • Added all the relevant dealer information to the ui, if you would like to see this in the case there is some funky stuff going on then enable debug in the options category in the ini. Its messy but functional.

    0.1p

    • Fixed police being alerted when you make a deal when no police are around (i messed this up completely) and reduced there range to 25m.
    • Changed the way the timer works for selecting peds for customers.
    • Fixed switching between characters main game characters from stopping everything working maybe.
    • Added a limit for the player dept, you can spend past this but it will not increase. This is for future use when this limit is reached Zee will be marked as angry. Currently does nothing. Yet! :gun:

    0.1q

    • Vehicle save data is now contained in a Vehciles.xml, all information about this vehicle is saved, and all mods should be applied when the vehicle is loaded. Make sure to copy across the new LSLife_Vehicles.XML.
    • Customers that are in a vehicle should drive to you instead of stopping in the middle of the road.
    • Police will need to be closer to spot you dealing if you are in a vehicle.
    • Reworked how customers are selected and made slight increase to the chance of getting a customer.
    • Dealer save data will now get updated as his stock replenishes throughout the day.
    • I lost the source code for the old 0.1q update, the source code that i had seemed to be some combination of 0.1p and a other changes, but i'm not sure what changes. If you spot something that was working but no longer works let me know please.

    0.1r

    • Fixed stash car not getting destroyed by police when confiscated.
    • Dealer will no longer sell you drugs if you do not have cash or the value of the drugs brought brings your debt above $100,000. To buy more you need to start paying off your debt, or earn some cash. Be aware your debt increases every time the dealer restocks.
    • Customers will now run if they have to cross roads to get to you.
    • Think i fixed Customers not driving away.
    • Selecting Pay Debt in the dealer menu will take money from the player upto the value of the dept.
    • Added checks to see if a copy of stash car was loaded by the game or by another mod after the player loads a quick save. This should stop 2 cars being spawned.

    0.1s

    • New customers should always run if they are far, near customers should walk.
    • Played with the job spawning to try fix that one random job in the middle of the road.
    • Fixed a bug that caused customers to stand still and not walk to the player unless the player moved.
    • Fixed customers that have previously been turned away without a sale being chosen as a customer.
    • Fixed a bug that caused the Stash Vehicle to spawn dead.
    • Your Killer should now drop a bag on death containing all your weapons and drugs. (Debug option will now show the killers total weapons and drugs, removed all the old dealer stock info)

    0.1t

    • Adjusted dealer debt interest rates to 5%, a notification will be sent to detailing how much the debt is.
    • Fixed a bug that caused dealing to be canceled after getting your drugs back from the pickup when killed.

    0.1u

    • Heat mechanics updated.
      Chance of being reported to police for dealing is now affected by a new mechanic AreaHeat, each area gets its own heat value, this will increase a lot if you are reported for selling drugs, or while wanted the heat value for the area you are currently in will increase.
      Each area's heat will decrease slowly over time if not wanted by the police.
    • You're killer will now attack properly on sight. He should give up the chase if you lose him.
    • Fixed a bug with Killer blip not being removed.

    0.1v

    • NullReference on VehicleLoad() should no longer be possible.
    • Got rid of the help text spam for the stash house interactions.
    • Rebalanced how angry peds are chosen. Additionally angry peds can now choose from a pistol, bat, or fists.
      If they are carrying better than the chosen weapon (before my script takes control of them) they will equip the better weapon.
    • Police now need line of sight to see you handing over drugs. The range for detection is now 55m.
    • The notification received when the Dealer orders a reload will contain the day its to be expected.

    0.1w

    • You can no longer sprint while you have the bag. (removed the old hacky speed reduction)
    • The bag is now given to the player if the players inventory size is higher than 15.
    • Inventory item space, 28g or 1oz of drugs counts as 1 unit. 1 weapon counts as 1 unit. $50,000 cash counts as 1 unit.
    • Forced repair on Stash Vehicle when the script starts and when spawned.
    • Heat Bar has been reworked, changed its colour but also how it functions under the hood.
      Should a lot more reliable at indicating the players chance to be ratted on. Any value is bad, more is badder.

    0.1x

    • Fixed that not so random job in the middle of town where the customer was stood in the middle of the road. This was defaulting to the cords 0,0,0 for some reason. This should never happen again.
    • Angry peds that are far away should now move towards the player before trying to attack.
    • Fixed move customer logic. They should correctly run if on a road, or if they are more than 8m away.
    • Dealer now use there money to buy stock, If less they have less then 40oz of weed they prioritize buying weed spending 75% of all money on it. Less then 40oz of crack 60% of the remainder gets spent on crack and if less then 40oz of coke whats left gets spent on coke.
    • Added subtitle detailing drop mission if accepted.
    • Fix for some peds not driving away after entering there vehicle. Not sure if this is completely fixed.
    • Increased the range at which Customers are removed as customers.
    • Changed the requirement for getting job offers. Its no longer tied to the dealers money, Your debt needs to be below $110000, and you need to be carrying 2oz or 58g or more.

    0.1y

    • When dealing in a vehicle, new Customers will enter the vehicle better, prefering to head to the right of the vehicle before trying to enter. I noticed with certain vehicles they would group up at the front and not enter correctly.
    • Removed some code i had left in by mistake that was sometimes causing police blips to be removed.
    • Calling Zee while dealing will no longer draw a 2nd heatbar.
    • NativeUI's pool draw call will only happen when dealing.

    0.1z

    • Peds spawned for jobs can no longer spawn in a road.
    • Switching characters will no longer break anything.
    • Better cleanup of entities that are no longer needed.
    • Angry peds will now randomly choose from Fists, Bat, Knife, Pistol, Pump action shotgun and Micro SMG.
    • When an angry ped is chosen a drive-by will happen, it could happen straight away or a few mins after but it will come.
    • less wealthy areas now have a chance to spawn a an attack group in a vehicle if you spend a lot of time in one street dealing.
    • If your debt reaches above 170000 there chance a drive-by will happen, While the Dealer is spawned the drive-by caused from the debt can not spawn. This should give you the ability the get the debt paid. If you want too. All drive-bys are all pretty much the same for now.
    • Dealer stock is now capped 100oz of weed, 70oz crack, 40oz of cocaine. His stock now dipleates by 50% every day. But he will only get money for half the value. (He buys it at half the price he sells to you). His money is capped at $1.2Mill. These capps are only applied on a daily basis so its possible to catch him with more stock if you're lucky.
    • I have added a new file Contained in a folder labeled DONOTCOPY This is a list of all the areas in the game im using, along with its wealth. If you enable DEBUG mode and push your Mian key (the one that shows your current inventory of drugs) you will get a notification of youre current area and its wealth. If anyone fancies helping me tweak these id be grateful of any suggestions.

    0.1z1

    • Drive-bys events could only trigger if the player had the Bag.

    0.1z2

    • Dealer didn't stop sending drive-bys after you payed some debt unless you saved and reloaded.

    0.1z3

    • Fixed a bug that can cause the killer to be deleted.

    0.1z4

    • Fixed another bug that caused the killer to be marked as none persistent caused them to vanish.
    • Angry peds tweaked, should be a little less of them.
    • Drive-bys caused by angry peds can only happen when the player has the bag, and then its only a 1/10 chance.


  • hey ive run into an issue. I dont have Zee in my phone ( or any contacts for that matter) in my phone after changing model. what could i do here if i wanted to play as another model


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.