TrafficControlScript .net ScriptHook (BETA)

by tartexs
Please explain why you're reporting this file:

Cancel
 
TrafficControlScript By TarteXs
(tartexs@gmail.com)

Version: BETA
Language: C# scripts and XML
Release Under OpenSource Code

Edited Path Included for correct car spawn
(not compatible with Red Desert path.img)

XML Car List

Car List:

List of available cars models on your system (GTA Game).

you can add your extras Cars. like addcar1
and can chage default cars


need ScriptHookDotNet installed on your game
Rating:
8.62/10 - 45 votes
Downloads: 7,005
Added: November 2, 2012 8:47PM
Last Downloaded: July 25, 2014 11:54AM
File Size: 258.44 KB
» Author Email

Sorry, you must be registered and logged in to add a video to this file. Log in now!

Will definately try this script :)

10/10
Posted on November 3, 2012 1:19AM by earljanxxx09
How much Ram is needed ?
Posted on November 3, 2012 8:08AM by adinhoa
Tartexs, my friend! Nice to see a script like this. Gotta try it now.
Posted on November 3, 2012 8:29AM by Fulcrum
Takes care of everything even on 1070. Best of all out there 10/10.
Posted on November 3, 2012 9:04AM by Fulcrum
I used this script on my 9800GT(512vram):OLD., and 4GB ddr3 Ram, don't have problem with textures
Posted on November 3, 2012 10:11AM by tartexs
Awesome! Fixed my taxi glitch, no texture losses, and no crashes running with 6gb ram and max traffic density with ENB 2.1. Thanks! 10/10
Posted on November 3, 2012 10:51AM by mrpushy88
Whoever's giving low ratings, go suck a pig's ass cuz THIS IS THE BEST TRAFFIC FIX, OUT THERE YET!
Posted on November 3, 2012 11:04AM by Fulcrum
Yes it is, only one negative is it gives me some times the error in traffic script. That's why it's still a beta i think but i have more than 90 cars in HQ that could be the problem too
Posted on November 3, 2012 11:24AM by L0V2XLR8
By the way may i ask the link from the rpm/speedometer seen on screenshots i L0V2XLR8 & <3 YOU
Posted on November 3, 2012 11:30AM by L0V2XLR8
Tested for a while, I think I should come back to say it's really really good. 10/10.

Thanks a lot.
Posted on November 3, 2012 11:58AM by ldfxf
waiting for the newer version.. ;)
Posted on November 3, 2012 12:00PM by vagenrider
It works, we love it over here. It is also compatible with Traffic Flow mod.
Posted on November 3, 2012 12:40PM by SSDD-MG
Cars are appearing a bit too much out of nowhere. It's like right in your field of view you just see cars popping up :\
Posted on November 3, 2012 1:23PM by Kocayine
Fucking saint, finally a damn taxi fix that actually works lol.
Posted on November 3, 2012 1:46PM by Sonny_Black
Hey man, awesome script. It works perfectly, no crashes, no lags or something like this. It also fixed my "taxibug" and it's fun messing around with the "crazy driving" ;)

10/10 - Works perfect (has even more options than you need, you can also customize it)
Posted on November 3, 2012 3:46PM by Wobwie
Finally added cars in traffic, but people drive like crazy though crazy driving is turned off + after a few minutes of playing my game freezes. Hope you'll find some problems and fix'em. 08/10
Posted on November 3, 2012 4:44PM by Anesty
gtx 480 texture bugs =( 511 mb vehicle.img
Posted on November 3, 2012 7:07PM by boss06
if have texture bug's change in XML config

<settings>

<time0>100</time0>

<time1>800</time1>

<time2>300</time2>

<maxCar>10</maxCar>

</settings>

maxCar 10 to 15/20/...

it's the maximun cars spawned after change models (4 differents models per cicle).

or set lower traffic density in game options
Posted on November 3, 2012 7:59PM by tartexs
if have texture bug's change in XML config

<settings>

<time0>100</time0>

<time1>800</time1>

<time2>300</time2>

<maxCar>10</maxCar>

</settings>

maxCar 10 to 15/20/...

it's the maximun cars spawned after change models (4 differents models per cicle).

or set lower traffic density in game options
Posted on November 3, 2012 8:17PM by tartexs
^^ XML is already written as the same above ^^

Your rpmGauge is still awaiting admin approval

By the way Nice taxibugfixmod give 8 !

If you can make it without the bugs what Kocayine says like how the traffic spawns and less chance of thick in trafficscript.

I would give a Real 10
Posted on November 3, 2012 8:38PM by L0V2XLR8
You can customize the script when game is running.,

open the .cs file or .xml to make change.

like the minimun spawn distance in the metod

private void Randomcarspawning(object sender, EventArgs e)...

when calls spawnCars(0.00f,20.00f); change the second value to higger value.

return to game, press Ñ (in spanish keybord) and open ScriptHook Console. write ReloadScripts and press Enter.

Posted on November 3, 2012 9:28PM by tartexs
lol all spawning cars drive like they have stolen the car
Posted on November 4, 2012 3:02PM by AGENT009
texture problems =(
Posted on November 4, 2012 4:37PM by boss06
Belo Mod, but the traffic in Tunel is confusing.

How can we fix this problem?

The cars return and do not cross the tunnel ..

A hug!
Posted on November 4, 2012 7:16PM by FabrcioSoares
fixing Paths in tunnel and other sites !!
Posted on November 5, 2012 7:28AM by tartexs
Thank You every traffic script or mod does not help or crashes my game every time, 10/10 but one thing is that after a little while my game completely freezes and I have to restart, but I have no texture problem. but I don't really know since I have a low spec Pc, but I have added cars and in such, but I have only 4gb of ram... but anyways hope to see a version that fully works on every pc and I think everybody should give this a try instead of traffic loader, both are good but yours looks nicer and is easier to use!
Posted on November 5, 2012 2:29PM by EJ-003
watch patch

Posted on November 5, 2012 5:57PM by lt. smell my
@lt.smell my, I have the latest patch.
Posted on November 6, 2012 2:07PM by EJ-003
texture popup with latest version after hour/+ of playing also slow to turn crazy driving on/off, its a shame because I get good fps before the textures start going, hope you can fix this little gem :)
Posted on November 7, 2012 1:46PM by m1ke
work perfect....extremly funny the crazy driving option..the only problem for me is the script error crashing afrer 15-20 minutes..hope fix it but already i give you 10/10.. ;)
Posted on November 16, 2012 6:48AM by vagenriderc
yes got error...

2012-11-22 02:31:45 - Error during NetHook.Tick:

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

at unmanaged.NativeContext3.Invoke(Int32 nameptr, Byte[] args, Int32 argnum, NativeContext3* cxt)

at GTA.ScriptDomain.RemoteEvent(RemoteEventArgs ev)

at GTA.ScriptDomain.ProcessRemoteEvents()

at GTA.ScriptDomain.Tick()

at GTA.NetHook.Tick()

2012-11-22 02:32:10 - Direct3D device lost!

2012-11-22 02:32:11 - SCRIPTS TERMINATED!
Posted on November 21, 2012 11:43AM by jstq
tried only this mod:

2012-11-22 16:31:28 - Initializing ScriptHookDotNet v1.7.1.4 BETA (GTA IV version 1.0.7.0)

2012-11-22 16:32:16 - Direct3D device created!

2012-11-22 16:32:16 - SEARCHING FOR SCRIPTS...

2012-11-22 16:32:16 - Loading dynamic scriptfile 'scripts\TrafficControlCSTarteXs.cs' ...

2012-11-22 16:32:16 - ...found script 'TrafficControlCSTarteXs.KeyConfig'!

2012-11-22 16:32:16 - ...found script 'TrafficControlCSTarteXs.TrafficControl'!

2012-11-22 16:32:16 - DONE! 2 valid scripts found!

2012-11-22 16:32:16 - STARTING SCRIPTS...

2012-11-22 16:32:16 - Error during GetPhoneNumber (Phone checks will be disabled):

System.Exception: Accessing Globals failed! Invalid Memory Address!

at unmanaged.MemoryAccess.GetGlobalAddress(Int32 index)

at unmanaged.MemoryAccess.GetPhoneNumber()

at GTA.NetHook.CheckPhone()

2012-11-22 16:32:16 - ...successfully started script 'TrafficControlCSTarteXs.TrafficControl'!

2012-11-22 16:32:16 - ...successfully started script 'TrafficControlCSTarteXs.KeyConfig'!

2012-11-22 16:38:28 - SCRIPTS TERMINATED!

2012-11-22 16:38:29 - SEARCHING FOR SCRIPTS...

2012-11-22 16:38:29 - Loading dynamic scriptfile 'scripts\TrafficControlCSTarteXs.cs' ...

2012-11-22 16:38:32 - ...found script 'TrafficControlCSTarteXs.KeyConfig'!

2012-11-22 16:38:32 - ...found script 'TrafficControlCSTarteXs.TrafficControl'!

2012-11-22 16:38:32 - DONE! 2 valid scripts found!

2012-11-22 16:38:32 - STARTING SCRIPTS...

2012-11-22 16:38:32 - ...successfully started script 'TrafficControlCSTarteXs.TrafficControl'!

2012-11-22 16:38:32 - ...successfully started script 'TrafficControlCSTarteXs.KeyConfig'!

2012-11-22 16:39:15 - Direct3D device lost!

2012-11-22 16:39:15 - SCRIPTS TERMINATED!

got textures bugs and no cars at all after script terminate
Posted on November 22, 2012 1:42AM by jstq
2012-11-22 16:32:16 - Error during GetPhoneNumber (Phone checks will be disabled):

System.Exception: Accessing Globals failed! Invalid Memory Address!

at unmanaged.MemoryAccess.GetGlobalAddress(Int32 index)

at unmanaged.MemoryAccess.GetPhoneNumber()

at GTA.NetHook.CheckPhone()

this message is displayed with any mod... i've fixed some bad code in your code (like lot of useless global variables) and testing it now...
Posted on November 22, 2012 3:47AM by jstq
got car counter to 2575 and leave... anyway game requires much more resources now
Posted on November 22, 2012 5:49AM by jstq
Love your mod Tartexs. However, i'm not a huge fan of the Crazy Driving, it gets old after a while IMO. It turns itself back on a few seconds after turning it off. How do I fix this?
Posted on December 5, 2012 11:15PM by jayprof
This is the best traffic script I have tried so far. However, I cannot give it a 10/10 because of a few issues, which I suspect will be rectified in the final version.

The issues are:

1. The crazy driving feature turns itself on after I manual turn it off (my main complaint)

2. When crazy driving is on it is being performed by too many drivers

3. Cars spawn in odd places like parking lots while on screen. They also appear and disappear right infront of me on the roadway

Because of these issues I can only give it a 7/10. My hats off to the author who I am sure put a lot of time and effort into it.

Posted on January 4, 2013 8:06PM by BYG
Greetings,

I just tested this mod and add a video of my test. I want to reflect on what I experienced. I am still a bit confused how to increase the cars. It seems that there are only 4 cars per spawn cycle available. This obviously leaves the same 4 cars on the road until the next cycle begins. Is there a way to add 8 cars instead of a 4 car cycle?

I will say it is the least glitchy taxi fix I have tried, as I did not experience any texture bugs etc. :)

I will give it a 9/10

~Trashpig

www.youtube.com/TrashpigsTrashpit
Posted on January 16, 2013 6:06PM by Trashpig
Part 2 of my comment.

I adjusted settings in the TrafficControlCSTarteXs.cs file. I modified the script to add more random cars from the list. However, this proved to break the author's code. I did have 8 random cars in a spawn cycle, but this proved to bring back the texture bug. He did a great job in limiting it with the 4 car cycle!

It is the most stable fix I have seen, but looking at the same 4 cars per cycle has its down falls too.

I'm going to stick with my 9/10, as he came as close as he could before breaking the game! xD

~Trashpig

www.youtube.com/TrashpigsTrashpit
Posted on January 16, 2013 7:01PM by Trashpig
Can't wait to try this! my computer runs GTA Fine(HP 2000: 4GB Ram), but has a shitty processor, so i have problems with textures, can anyone help?
Posted on January 23, 2013 6:14PM by RollinXcoal
Very good to avoid the texture bug. 10/10 and keep it up!
Posted on February 5, 2013 5:31PM by Jotov_24
Hope to see the next version soon! From all the traffic fix mods that I tried this is the one that creates no or minimum graphics pop-up. In the next version please include an ini file for key customization and the ability to turn the crazy driving on or off from the ini file as it seems that it starts crazy driving by itself manytimes (probably interacting with other mods). 10/10!
Posted on February 20, 2013 5:19AM by gorgonut
This helped me out a lot! TrafficLoad caused some major bugs and I didn't want to resize my image file to get rid off my taxi bug. One thing that I don't like about this is that cars spawn late. It's like playing on my xbox again.
Posted on August 15, 2013 6:38PM by TBB
Does this actually bring out all the cars there are?... Because that's what annoys me. I've been modifying nearly all the vehicles, but they don't even all show up... : I hope that GTAV does this better to add to the fun and variety of such a sandbox-game.

Pretty frustrating; Not only the game is mediocre in gameplay, but even mods are a pain in the ass. lol
Posted on September 18, 2013 2:49PM by Damage Inc.
I've tried like 4 or 5 of these traffic-mods, but this one seems to bring most variation somehow. There's another one that's good too. And one or two were good combined, it seemed they could work together, but I forgot which ones they were.

Anyway, isn't it possible to expand upon this mod? I mean, you can make a list of cars to show up right? You know, the XML-file... Well, isn't it possible to make a list of priorities or "chance of appearance"? Say... you want the more fancy and expensive cars to show up less, so there could be a separate list that has those cars (the user can change it), except it has a lower percentage of "chance of spawning" for example, which you could put to like 10-20% or whatever (could be edited too).

This way it might also be way to make cars more manageable for the game, so it doesn't constantly load and unload cars, but only loads and unload some of them based on the chance of them being used according to the XML-list.

I don't know if it works that way or if any of this is possible, but I think this could make for more variation, more specific variation, and perhaps even better performance. And myself I'm kind of tired of seeing like a traffic-jam with 5 Lamborghini Countaches, 5 DeLoreans, mixed in with 5 Taxis and 5 of the same delivery-vans.
Posted on October 22, 2013 7:52AM by Damage Inc.
Thanks for the mod

10/10
Posted on February 10, 2014 9:38AM by fundj112
It really awesome! It work!!

Does anyone know if this work with EFLC? If so, instruction please? Thanks. :D
Posted on May 18, 2014 8:34PM by kono
Best traffic fix ou there thanks a lot, I have Better City + all cars modded, and it run just perfectly, no texture popping and others bugs, Thanks a lot mate !
Posted on June 13, 2014 9:53AM by hellspawn92
Great one! Love it. 10/10.

Working so well and didnt requires much specs of my PC:

Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz 4.8 4.0

Determined by lowest subscore



Memory (RAM) 3.00 GB 4.8

Graphics NVIDIA GeForce 210 4.0

Gaming graphics 2299 MB Total available

Primary hard disk 2GB Free (36GB Total)

Posted on July 17, 2014 3:17AM by afiqsor
Sorry, you must be registered and logged in to post a comment. Log in now!