Everything posted by Revan
-
LCPDFR Script Interaction
It wasnt ment to happen, and its more or less just a script for my self wasnt really intending to release it, but if i can manage to get this value function working and fix up some other stuff i might release it and 'readd' the bug into it with a console command, or key combo
-
Specific Script reloading?
I tried that it still doesnt work right, I got a screenshot to show you what I mean. http://cloud.steampowered.com/ugc/576706062984179515/DAE4439C827A67080A77D9075CCD10EC431EF83E/ http://cloud.steampowered.com/ugc/576706062984177726/B5F8398E63CB6322132F531ADA1071C057A5A232/ This might help explain the issue I am having. I might just end up having to force "reloadscripts" at this rate. To me the code looks fine... but, then again im still not very good with it.
-
Specific Script reloading?
Here is a good chunk of the code, for you to look at (I commented out what im working on since it fails to work as I would like it to) public Speed() { //set interval //Interval = 20000; //replaced with INI file for easier end user edits Interval = Settings.GetValueInteger("Interval", "SETTINGS", 20000); //disabled, fails to update properly //BindConsoleCommand("value", new GTA.ConsoleCommandDelegate(this.Value)); //bind tick event this.Tick += new EventHandler(speedTick); } //public void Value(GTA.ParameterCollection _params) //{ // if (Interval < 10000) // { // GTA.Game.Console.Print("Interval Value: " + Settings.GetValueInteger("Interval", "SETTINGS", 20000)); // GTA.Game.Console.Print("Interval Value being set automatically to 20 seconds"); // Settings.SetValue("Interval", "SETTINGS", 20000); Settings.Save(); // GTA.Game.Console.Print("Interval Value set to default"); // Wait(10000); Settings.Load(); // } // else // { // GTA.Game.Console.Print("Congrats Interval Value is greater than or equal to 10 seconds"); // GTA.Game.Console.Print("Interval Value: " + Settings.GetValueInteger("Interval", "SETTINGS", 20000)); // } //} I got it working if I replace "Settings.Load();" with "GTA.Game.Console.SendCommand("reloadscripts");" but based on the fact that I run 34 scripts it wouldnt be exactly 'friendly' to force that. The reason I have it based around a console command at the moment is so I can run it when I want to, without having to let my script tick, and I think running the script every 10/20 seconds with checking the interval wouldnt be very friendly either..
-
Which Game should I buy
Saints row 3 wont last long.. I beat it and most of the DLC (missing 4 DLC recently released) 2 Times.. 100% story, side missions 100%, collected most of the cars that are 'collectable'.. (including helis + jets) Whored mode (3 times) Totaled ~100hours. for both save games to be like that. (excluding the time i spent shooting stuff up just for the fun of it) Overall, if you have a friend to play with the game can still be fun reguardless if you beat it all like me =p BTW. Hardcore mode isnt really hardcore. more like easy. -.-"
-
Broadband Speeds
Crap I know... =p We have the highest 'home' connection allowed. next package is business. which is like downgrading to the first home package lmfao Edit: At least we get a static address, and can switch between it and dynamic
-
Specific Script reloading?
Is it possible to reload a specific script in IV? Because the "Settings.Save(); Settings.Load();" Do not seem to work without issuing 'reloadscripts' I was wondering if its possible to reload just a single script? if (Interval < 10000) { GTA.Game.Console.Print("Interval Value: " + Settings.GetValueInteger("Interval", "SETTINGS", 20000)); GTA.Game.Console.Print("Interval Value being set automatically to 20 seconds"); Settings.SetValue("Interval", "SETTINGS", 20000); Settings.Save(); GTA.Game.Console.Print("Interval Value set to default"); Wait(10000); Settings.Load(); } else { GTA.Game.Console.Print("Congrats Interval Value is greater than or equal to 10 seconds"); GTA.Game.Console.Print("Interval Value: " + Settings.GetValueInteger("Interval", "SETTINGS", 20000)); } I cant seem to get it to go to the "ELSE" statement without issues "reloadscripts" in the console. Any tips? Edit; TBH I think I posted in the wrong section.... Think this should be more of a Gameplay/Misc Mod question.
-
LCPDFR Script Interaction
well from what i've discovered yeah Wait(60); GTA.Game.Console.Print("Debug: Setting Relations as Criminal"); Pede.RelationshipGroup = RelationshipGroup.Criminal; I need to change 60 to like 10000 (10 seconds) if thats how it works.. not sure yet on how wait works.. Of course I tell it to gather all peds in the area of player that arent; player, paramedic, firefighter, cop, or special.. I had a really funny incident last night testing when i forgot to ignore the player in the array and it took control of my character, marked me as a criminal, my guy got a gun, shot a cop, hijacked a car and ran from the police automatically XD
-
LCPDFR Script Interaction
Hmm ok. I was doing some testing an it appears (based on about 30minutes of testing) that anyone with the criminal relationship group, is automatically started into a chase when you attempt to stop them. Ill do more testing, and I would LOVE to see an API for lcpdfr =p
-
LCPDFR Script Interaction
Does LCPDFR have any variable, or ways i can modify it via other scripts? For example, I was thinking just a minute ago (And have began working on it) to get a near by civlian vehicle, make it speed and drive crazy I was wondering if its at all possible to tell LCPDFR to flip a "Chase, Dont Stop" kinda of variable. as to make chasing... happen more often. considering I got bored of constantly spamming left shift to start chases. If so how would I go about issuing that change for said vehicle? Edit: I would also like to ask is it ment for suspects to wreck and die so fast in a chase?
-
LCPDFR Concerns
It doesnt make them retarded for having mental issues at all. Infact I my self have issues which I seek help for. Video games keep me sane tbh.. along with medication xD
-
Problem [Not support]
SC2142 your only suppost to use one copy of the fuel script, dont use custom & normal at the same time. thats why you have two fuel meters.
-
Modding Question (C#, IV)
I got it semi working. Thank you LMS and Jay. Still needs worked on but ill get it eventually. but you guys got me going better than what i had.
-
Modding Question (C#, IV)
I wasnt expecting the code to be completed for me honestly, but I had to make some adjustments to get it working in C# (it wouldnt compile at all) it returns "The host is:" but it doesnt provide the actual information, it just leaves it blank. so im assuming it has to do with the fact i had to strip "static" from NetworkGetHostServerName() to get it to compile. Gonna fiddle with it some more and see if i can get it work. Your code you posted made mine look like utter crap. lmfao
-
Real or Fake Leak?
To be honest look up some GTA IV leaked information most of it was BS... The only thing I do hope is real is the nitros, and the jets as well as the working traffic report, to many times did i take the wrong road acting like a civilian in IV just to hit a traffic jam. stupid AI lol the riot shields and flashbang stun weapons sounds just like Saints Row.
-
Traffic Flow
I also confirm this R2 causes the world to stop loading as if a memory leak, the game then becomes to a 1fps.. and then it will CTD with "GTA Has stopped responding" however the non R2 version continues to work flawlessly for me
- 97 comments
- 67 reviews
-
Modding Question (C#, IV)
Thats the thing. Modded Multiplayer crashes so much you cant ever tell who the host is without rejoining. So i was hoping to just make a small script so I can know who the host is. If you ever hang out in a large lobby with a bunch of people and no one knows who the host is. it becomes really confusing. It got to the point we all took turns modifying the weather and asking it it affect anyone else just to find out who was the host. since the host can freely modify the weather and it updates on all other clients.
-
Modding Question (C#, IV)
Ok I've been irritated with the fact when ingame you cant ever tell who the host is. I have spent the past 3 days trying diffrent things in C# trying to make it so I can figure out who the ingame host is without having to leave and rejoin. All of which has failed. Especially attempting to bind a console command. public ConsoleCMD() { //Code BindConsoleCommand("gethost", new ConsoleCommandDelegate(consoleHandle)); } public void consoleHandle() { //code } What irritates me is that I keep getting "No overload for 'consoleHandle' matches delegate 'GTA.ConsoleCommandDelegate" Any pointers on how to fix that error? (Mostly the fact I dont understand it results in the fact i cant fix it.)
-
Simple Fuel Script
@sc2142 thats because your using custom & the normal, remove the custom one.. your only ment to use one at a time.
- 35 comments
- 6 reviews
- Simple Fuel Script
-
Simple Fuel Script
@ayanpati they shouldnt conflict.. ill look over it some more. @sc2142 ill work on moving the fuel meter above the radar for you, tbh I never seen text where its current location is. Edit: @sc2142 try this version http://www.mediafire.com/download.php?bkyoy74xh10kz86 I cant tell based on your screenshot and my game if its high enough to be out of your radar & speed thing. it should be though
- 35 comments
- 6 reviews
-
Simple Fuel Script
@ sc2142 What mods are you using that makes the text down bottom left? I can make a simple adjusted version for you so its above the radar (if you like) i feel middle of the screen would look ugly. @ gorgonut I can try... Im not good at C# yet, mostly can fix things that are broke or need worked on. @ Dhruv are you using any scripts that remove vehicles? (What mods are you using as well?) @ OfficerArchie Yeah... =p I have run out of fuel in middle of a pursuit my self. Its even worse when your in MP racing mission and run out XD
- 35 comments
- 6 reviews
-
Simple Fuel Script
Could you take a screenshot and show me what you mean? It hasnt been covered up by anything when I play.
- 35 comments
- 6 reviews
-
Simple Fuel Script
@ Wmai20 Numpad 5 to refuel @ theninja35 Yes. I have permission from author (He gave me source code because he has canceled all development for this) @ Darkangel Yeah thats what alot of people say =p (@ darkangel check console ~ use page up and down see if it crashes on load for you if so tell me the error) @ ilwolf it starts automatically as long as its placed in /scripts/ & you have a valid scripthookdotnet.asi and scripthook.dll in the root of GTA
- 35 comments
- 6 reviews
-
Fuel mods
http://www.mediafire...24zq1ps2z2ss337 this is the one i uploaded to LCPDFR Edit: I didnt wanna double post. Im off to bed, Ill recheck this thread when i wake up let me know if you still have issues and if you do i will try to fix them.
-
Fuel mods
Its uploaded to LCPDFR pending moderator/admin approval I do have permission from the author for release as long as credit is given for his initial work. Hopefully they allow it :)