Everything posted by Sniper296
-
Error for install LCDP First Response (MOD)
Could you post the log generated by this tool.
-
Need GTA IV Link?
Any video game store should have it, you can get it online from Amazon, if you don't want to wait for it you can buy it from Steam and then download it.
-
Need GTA IV Link?
LCPDFR is a MOD for the game GTA IV, you need to purchase a copy from a store or website, then you can run the mod.
-
Can't Run GTA4 after installed LCPDFR
To start the actual mod, when in-game press Alt+P and follow the on-screen instructions.
-
Can't Run GTA4 after installed LCPDFR
Try installing this.
-
Tiny problems
In your Scripts folder in the install directory there should be a file FirstResponse.ini, in that file there is a line CALLOUTS = if there is a 0 at the end change it to 1. Edit:100th post!
-
[MOD | Beta] UnarmedCopsIV v0.3
In the next version I will add the ability to set the time between weapon deletion (5 seconds default) which will also affect the time it may take for an ai cop to draw a new weapon, when unarmed and an enemy has a gun they seem to run away from the enemy, so at the moment only cops with rifles and shotguns will fire on an armed suspect.
- Traffic Flow V5
-
[MOD | Beta] UnarmedCopsIV v0.3
At this time no, however when I add this feature it will take up to five seconds for them to draw a weapon. Also there is a slight conflict with this and LCPDFR, but is slightly rare, if you get an error just press the ['@] key and type reloadscripts and enter, and post your ScriptHookDotNet.log.
-
LCPDFR Crashing
I find the ELS v6 is a lot less stable then v5, if you go to Event Viewer (start-run- eventvwr.msc) - Windows Logs - Application then find the Error at the time of crash, if it contains faulting module ELS.asi then try ELS v5.
-
Crashing with LCPDFR
In some cases the texture loss only happens when the ELS lights are active because the lights are components of the car that get rapidly toggled, when I had ELS it only happened a while into a long chase after having the lights active. And if you do get the trainer it is a good idea to disable the shortcuts to avoid things happening when using LCPDFR
-
Crashing with LCPDFR
The problem is the ELS cars themselves, they have a stupidly high polygon count which causes the game to stop loading textures, the reason it doesn't happen when playing the normal game is that you aren't constantly in a ELS car. It probably is best to just play the first mission then save rather than use the downloadable save files, if you want all of the islands unlocked you can use SimpleNativeTrainer.
- Female officers
-
Crashing with LCPDFR
It looks like you have both xliveless and dsound, delete one of the two from the install folder. The reason this happens is because the game was so poorly converted so only some card can run it without this bug.
-
Changing Vehicle Behavior
You need to edit the handling.dat(same location) here is one that lightens and lowers the center of mass, but I have not tested it: STOCKADE 4500.0 4.0 95 0.0 0.0 -0.1 0.0 5 0.12 1.0 120.0 0.15 0.68 0.2 35.0 1.00 0.75 14.4 0.15 0.48 1.0 0.8 0.7 0.20 -0.25 0.0 0.5 1.0 0.3 0.5 1.5 0.15 40000 8 8300000 2 and here is the vehicles.ide line if you forgot to back it up pstockade, pstockade, car, STOCKADE, PSTOCK, VEH@TRUCK, VEH@TRUCK_LO1_LO1, 100, 999, 0.3241, 0.3241, 0, 2, 1.5 ,1, noboot+big+isvan+avoidturns+truckfirefx+truckenginefx
-
warrants
There are two problems with adding new speech, 1 You would need to re-record ALL speech from EACH officer to avoid the difference in voices, 2 there are 316 sound clips in M_Y_COP_WHITE with 16 cop speech files! that would take ages to re-record, one solution would be to use the FSX method for ATC of splicing together existing files to make speech like with EditVoicepack.
-
WeaponInfo.xml
It is a recreation of NYPD ESU but with LCPD markings.
-
PHP JSON
+1 for that Thanks
-
PHP JSON
Yes, my original code is working again, on a side note I had to trick the forum using .htaccess into thinking the image is at http://twoninersix.multigamemods.com/signatue/lcpdfr/stats.png when it is at http://twoninersix.multigamemods.com/signatue/lcpdfr/stats.php to avoid [#10210] You are not allowed to use that image extension on this board.
-
PHP JSON
Still $json dumps NULL
-
PHP JSON
Nope still dumps NULL, it is fine until json_decode.
-
PHP JSON
Nope, $json still dumps NULL.
-
PHP JSON
Nope, both file_get_contents and curl retrieve the same content: {"sPursuits":417,"sSuspectsArrested":245,"sCitations":230,"sBackupUnits":656,"sEvidence":16,"sKilled":11,"sAccidents":131,"sNoose":30,"sHelis":40,"aLoadStatus":[4.33,4.33,4.52],"bStatus":true}
-
PHP JSON
$json dumps NULL The problem appears to be in json_decode
-
PHP JSON
It is probably because I am tired but I can't figure out the problem with my signature image stats update script, here is the faulting code: //Nocache header('Cache-Control: no-cache, must-revalidate'); header('Expires: Sat, 26 Jul 1997 05:00:00 GMT'); //Write time to file for run check date_default_timezone_set('Europe/London'); $fh = fopen('lastrun.txt', 'w'); fwrite($fh, time()); fclose($fh); //Get JSON feed $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,'http://www.lcpdfr.com/cops/usagestats/endpoint.php?variable=statistics&action=render&username=Sniper296'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $curl = curl_exec($ch); curl_close($ch); //JSON to array $json = json_decode($curl, true); //Save stats array to file $fh1 = fopen('array.txt', 'w'); foreach($json as $key => $value) { fwrite($fh1, substr($key, 1, strlen($key)) . ':' . $value . "\n"); } fclose($fh1); unset($value); //echo $json[sPursuits]; It worked this afternoon but now it throws "Warning: Invalid argument supplied for foreach() in /signatue/lcpdfr/update.php on line 36"