Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

Happy Holidays from the GTANet team!

Make gang attack your hood more often


Jackalo
 Share

Recommended Posts

How do I get Ballas and Vagos attack more often? Is there are natural or modding that can get this?

Link to comment
Share on other sites

Natural strategy - Be in Los Santos. The Next Attack timer counts down much more quickly when CJ is in LS.

 

Modding - The Next Attack timer is located at 0x96ab48 and could be manipulated by cleo scripts, but I am unaware of any existing mods for this purpose.

//0A8C: write_memory 0x96ab48 size 4 value 25000.0 virtual_protect 0 // Set Next Attack Time 
0A8C: write_memory 0x96ab48 size 4 value 0.0 virtual_protect 0 // Clear Next Attack Time
Edited by OrionSR
Link to comment
Share on other sites

I've tried the script and found that It works only on Los Santos. When I go other city it almost like freezing unless I set it super low like 10.0 or 5.0 but it make attacks come nonstop. If I set it to 1000.0 attack also come nonstop in Los Santos too. I wonder what is the mechanism behind this.

Link to comment
Share on other sites

It's been a very long time since I've messed with this stuff. You might be able to find more information and context if you follow the link to this quote.

Next Attack Time: I wrote a script that sets the money and money on screen values equal to the value of the Next Attack Time.

Next Attack Time counts down by about 1000 for each second when CJ is within Los Santos. When he is out of town the timer is reduced by about 60 every second. The area defined for Los Santos doesn't appear to be defined by the zones. I think these coordinates might be hard coded in a manner similar to the zones that define the restricted areas of SF and LV.

The maximum reset value I've seen is just under 1620000 (27 minutes in LS). The lowest reset value is near 640000 (about 10 minutes, 40 seconds). The reset method was primarily standing in the middle of the only available zone when the timer was set to 0, but also from losing or winning attacks and wars.

The Next Attack Time is continually reset to 30,000 when CJ's elevation is above 950 (includes most but not all interiors) if the value drops below 30,000. Interior elevation exceptions include the Atrium, Airstrip safehouse, UFO Bar, and the Generator Hall of the dam. Most safehouse interiors are with Los Santos (Madd Dogg's Crib is not), no matter where the exterior door is located. Most other interiors are not within Los Santos. See Hidden Interior Map.

The Next Attack Time is reset to 30,000 when CJ starts a mission and the value is below 30,000. Otherwise, during a mission the value of Next Attack Time does not change.

Added: The Next Attack Time is on hold when CJ is drivng an aircraft (includes Vortex)

 

If your goal is shorter next attack times, then maybe reset this value to the time you want whenever it's values is more than it's previous value and greater that 30,000.0. There are probably other strategies to detect when an attack has just ended or reset if conditions aren't correct, but this might work without further investigation. I would not be surprised if gang war memory and functions are much more well documented than they were during my investigation.

 

May I suggest: Repeat my experiments to get a better feel for this variable and how it changes. Use the new Cleo4 commands to display a formatted floating point value on screen rather than fiddle with player money. Add CJ's current town number to the display: I would expect a strong correlation between town number 1 and "within LS."

 

Added: How about. whenever the next attack time is larger than you prefer then reset it to your value.

 

Clarification: My old codes specify that this is a floating point value, so be sure to encode the decimal. For my tests above I'm pretty sure I converted the float to an integer for display since the decimal value would be insignificant, and floats were a pain to display properly before Cleo4. Anyway, don't let the integer values shown above fool you.

Edited by OrionSR
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.