Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

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

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

    2. Forum Support

    3. Site Suggestions

Recommended Posts

Jack

iYtqP0X.png?1

 

THIS MOD IS DEPRECATED. USE Wanted Level Editor instead.

 

 

Outdated version:

This is the main site for the STAR7 mod. Here you can view latest updates or maybe post your questions or new STAR 7 ideas.

If you have any problems with this mod please do not hasitate to ask for help.

_____________________________________________________________________________________________________

 

GTA SA UPDATE 03.04.2016 [sTAR7 FOR SA VERSION 1.9]:

Download Link - gtagarage
- STAR 7 was mixing with other stars in wanted level - corrected,
- if you're driving a ground vehicle - 5 hydras will attack you (it was 2 in the last version),
- if you're flying an aircraft - the number of hydras will slowly increase to max 40,
- cop from boat will appear on the boat when the star is below 7 with the pistol.
Since the version 1.8 have errors I strongly recomend to download the latest version - 1.9 and overwrite the old one.

You can visit my youtube channel (which will lead you to mod showrooms) to be to be updated about all of my wanted level modifications:
https://www.youtube.com/channel/UCFOnEYrlUq-caoB8-Wb4f2w

______________________________________________________________________________________________________

 

STAR 7 [sA] version 1.8 UPDATE 28.03.16
New stuff:
- There're 7 enforcement vehicles on the ground,
- New vehicles are able to start vigiilante mission even in some aircrafts,
- Machine guns added to the new enforcement aircrafts,
- Fighter jets will now attack not just the player's aircraft but also all other types of player's vehicles,
- motorbike cop will have a partner,
- Las Venturas cop car will have 4 officers instead of 2.

The code works only at 7th star. If your WL status drops below 7th star everything else should be returned as it was before the code started.

Some screens:

mjKj6gT.jpg?1WZlRTAo.jpg?1
2c0HFBN.jpg?1TqJwqFd.jpg?1
ZDQpG1n.jpg?1

 

***********************************************************************

GTA SA UPDATE 21.03.2016 [sTAR7 FOR SA VERSION 1.7]:


- color change for the stars,
- new vehicles will attack on the ground,
- new roadblocks,
- new vehicles will be capable to start a Vigilante mission,
- new (old) enemy - Army + NSA agents,
- added shooters on some vehicles - turret,
- Hydra and other plane recreation timer addresses corrected,
- Hydra still attacks in a large scale while flying - max 30 aircraft will attack you after a while...

 

GTA SA UPDATE 04.02.2016:

All vehicles from this mod are created by the game only (not by a script).

 

image_65737.jpg


I've always wanted to make a decent wantedLevel mod involving Hydra attack and this is the best I can do.

This extra star mod was originaly meant to be only for GTAIII & VC. Later I decided to make it for SA...
So why would you try this mod again when I already made it for GTA SA? Well, the original SA STAR7 mod have many problems such as:
- all wanted level ground vehicles from STAR 7 were made by me and not by the game,
- the mod has too many codes instead of just one [or two],
- police boat patrols [predator - game created] are disabled,
- wanted level 7 in the air is still the same - 2 hydras and police helicopter...


So here's the improved version:
- all game created vehicles are now enabled at 7th star (including WL boats),
- there are no vehicles created by the script - everything is game related,
- increased the maxWantedLevelChaos limit,
- increased the limit of max HYDRA planes created by wanted level system,
- if you're driving a car on the open road or somewhere else outside the cities (like rural areas, highways...) only one HYDRA will attack your car [also game created],
- only tanks will be present (army trucks will show up only on roadblocks),
- instead of the NSA agents I bring back the soldiers again and not just in cars but also on foot,
- if you go to the restricted areas like military zones or if you leave the town at the start of the game - you will get 7 stars,
- max wanted level will always be 7,
- standard cheats for wanted level are still active, however six star cheats like 'BRINGITON' will activate 7 stars,
- besides them I added 4 new cheats:
- STAR7
- STAR6
- STAR5
- CLEAR
It's obvious what they do right?

Install: Just extract all files from my archive into the modloader/CLEO directory:

[if you're using the old version of STAR 7 mod for GTA SA then you should remove it].

Supported game version: GTA SA 1.0 HOODLUM

Credits: To modify cheats I used this cheat table created by fastman92
There're many ways to modify this code so it might be possible that STAR 8 will be released as a new WL mod in the future.

Edited by Jack

Share this post


Link to post
Share on other sites
Rachel Amber

Nice mod man :)

Share this post


Link to post
Share on other sites
Jack

Thanks body. For the past 2 weeks I've been updating STAR 7 and the rest of my wanted level mods...

I discovered a great way how to make a large amount of actors attached to a vehicle... Remember a cop from the Police boat?

 


PoliceShooting.jpg



Well, thanks to fastman92's FLA source codes I finaly understand how to use switches (which became a holy grail for my further wanted level exploration now and in the future).
The switches have showed me how the game actually manipulate with the actors and vehicles created as a part of WantedLevelSystem.
So look at the first video in the main post as an example of how would wanted level look like if the police behavie like a bunch of heavily armed and angry mercenaries.

Of course it seems too dificult and I'm not planing to leave it that way. But if someone wants to try it out I uploaded it on gtagarage:
Download Link
And those actors are actually police boat cops used in some other situations. It's always the best to just let the game do her thing...

Future plans:
- beside adding extra stars (7, 8...) I could use new discoveres to make some sort of gang attack in WantedLevel style (similar as in 1st video),
- major WL modifications will also be made for gta3 and Vice City,
- it will be possible to use any vehicleID as a part of WantedLevel by a simple model replacement - without the need for creating scm actors or vehicles,
- speed of police vehicles in pursuit will be increased,
- added vehicles will probably work except for the roadblocks [WIP]...

Edited by Jack

Share this post


Link to post
Share on other sites
Fenton

Nice, however, it seems to conflict on my own script, I mean, I've created a script which is changes the police units, motorcycle units, SWAT units, FBI units, and the army units on it's respective zones, and when I use your mod, they're spawns randomly out of control, no matter what model which is spawned, as I ask here, could you make a compatible script for this? So, I can finally enjoys this script without any conflicts.

Edited by Fenton

Share this post


Link to post
Share on other sites
Jinx.

Ooo, gang wanted levels would be awesome. Maybe even something like Saints Row.

Edited by Jinx.

Share this post


Link to post
Share on other sites
Jack

Ooo, gang wanted levels would be awesome. Maybe even something like Saints Row.

Thanks. Yeah it's a great idea - and it will be done in a near future.

 

Nice, however, it seems to conflict on my own script, I mean, I've created a script which is changes the police units, motorcycle units, SWAT units, FBI units, and the army units on it's respective zones, and when I use your mod, they're spawns randomly out of control, no matter what model which is spawned, as I ask here, could you make a compatible script for this? So, I can finally enjoys this script without any conflicts.

I forgot to mention that this mod should NOT be used along with my Wanted Level mod (previosly called Special Forces) because both have similar objectives.

The new code from here should be better because it's mostly using game stuff unlike synchronized code... With it you can do the same thing basicly - only with the diferent approach - try it:

 

New stuff I learned about Wanted Level Air Assault:

Besides using a SteerAIPlanes or helis which can do many stuff with multiple flying vehicles, I also discovered that the game checks several things - 2 cond. checks and 2 offsets I'm aware about:

- CVehicle + 594h       // mov     ecx, [eax+594h]; values 3-heli and 4-plane (the rest is ignored, 5 is boat btw);- CVehicle + 22h        // call    _Z17FindPlayerVehicleib- WantedLevelStar       // call    CPlayerPed__GetWantedLevel- PlaneCreationTimer    // _ZN6CTimer22m_snTimeInMillisecondsE

When I disabled these lines I had much more influence over that memory region. For exmpl - 10 hydras with multiple modelIDs will appear every 5 seconds if a WL star is 0 = what I got was air traffic in all possible way.

You should really see what this stuff does when you actually NOP those jumps (it's a jump to a single label actually which jumps over the Hydra stuff labels).

Edited by Jack

Share this post


Link to post
Share on other sites
China·XMDS

You can make an android version. I won't android memory address

Share this post


Link to post
Share on other sites
Jack

I don't make android CLEO codes not just because I don't have the access to the GTA android idb but also I don't have a good tablet that supports GTA games so even if I somehow manage to built some csi code I won't be able to test it. And AFAIK, databases for PC and android have diferent memory positions. Maybe I could track down some of the mem add by comparing assambly codes or hex arrays from PC to android but as I said before I don't have the access to the GTA android
database).

STAR 7 [sA] version 1.8 UPDATE 28.03.16
Updated download link and source codes available at the first post.

Edited by Jack

Share this post


Link to post
Share on other sites
China·XMDS

I don't make android CLEO codes not just because I don't have the access to the GTA android idb but also I don't have a good tablet that supports GTA games so even if I somehow manage to built some csi code I won't be able to test it. And AFAIK, databases for PC and android have diferent memory positions. Maybe I could track down some of the mem add by comparing assambly codes or hex arrays from PC to android but as I said before I don't have the access to the GTA android

database).

 

STAR 7 [sA] version 1.8 UPDATE 28.03.16

Updated download link and source codes available at the first post.

http://m.weibo.cn/5963385654/3988322864758450?sourceType=sms&from=1066195010&wm=5091_0008

I'm making android version

Can you give a PC version has analyzed gtavc. Idb, had better have imported function name

Share this post


Link to post
Share on other sites
Jack

 

http://m.weibo.cn/5963385654/3988322864758450?sourceType=sms&from=1066195010&wm=5091_0008

I'm making android version

Can you give a PC version has analyzed gtavc. Idb, had better have imported function name

 

 

gta-vc v1.03 - android - libGTA.idb taken from here:

http://public.sannybuilder.com/gtasa_exe_idb/

 

 

CWanted=CPed+0x5F4    +0x00     [4 bytes]     // wantedLevelChaosCounter    +0x18     [byte]        // currentNumberOfCops    +0x19     [byte]        // maxcops    +0x1A     [byte]        // nhelis    +0x1C     [byte]        // roadblockChance    +0x20     [byte]        // currentNumberOfStars    +0x24     [byte]        // minWantedLevel

I don't know if I'm right about the next addresses but I'll take a guess (tell me if I'm wrong - I only use PC version):

 

0x1E1003    [byte]      // DrawExtraStar(s)0x178362    [byte]      // defineNumberOfActiveStars    fnc// RGBA Values:// ActiveStars0x1E2F40    [byte]      //  r   AR0x1E2F42    [byte]      //  g   AG0x1E2F44    [byte]      //  b   AB// InactiveStars0x1E3AFE    [byte]      //  r   IR0x1E3B00    [byte]      //  g   IG0x1E3B02    [byte]      //  b   IB// FlashingStars0x1E3C92    [byte]      //  r   AIR0x1E3C94    [byte]      //  g   AIG0x1E3C96    [byte]      //  b   AIB

Share this post


Link to post
Share on other sites
China·XMDS

nto the game 6 stars on the crash flash back?

Edited by China·XMDS

Share this post


Link to post
Share on other sites
China·XMDS

{$CLEO .csa}

thread 'STAR7'

const

_PLAYER_CHAR = $303

_PLAYER_ACTOR = $304

_ONMISSION = $606

end

//GTAVC

//1.03 = 0x0017835E---defineNumberOFActiveStars fnc

//1.07 = 0x00175436---defineNumberOFActiveStars fnc

//1.03 = 0x001E2BBA---extra

//1.07 = 0x001D9E5E---extra

//1.03 = 0x001E2F40---Active R

//1.03 = 0x001E2F42---Active G

//1.03 = 0x001E2F44---Active B

//1.07 = 0x001DA492---Active R

//1.07 = 0x001DA494---Active G

//1.07 = 0x001DA496---Active B

//1.03 = 0x001E20F0---Inside pay&spray garage

//1.07 = 0x001D98DE---Inside pay&spray garage

//1.03 = 0x001E3AFE---Inactive star R

//1.03 = 0x001E3B00---Inactive star G

//1.03 = 0x001E3B02---Inactive star B

//1.07 = 0x001D9EDC---Inactive star R

//1.07 = 0x001D9EDE---Inactive star G

//1.07 = 0x001D9EE0---Inactive star B

//1.03 = 0x001E3C92---Flashing stars R

//1.03 = 0x001E3C94---Flashing stars G

//1.03 = 0x001E3C96---Flashing stars B

//1.07 = 0x001D9EA4---Flashing stars R

//1.07 = 0x001D9EA6---Flashing stars G

//1.07 = 0x001D9EA8---Flashing stars B

//1.03 = 0x00576864---cheat×÷±×Âë = 0xA10942

//1.07 = 0x0058AB44---cheat×÷±×Âë = 0xA1094A

//By: China.XMDS

//Emil: [email protected]

//2016.07.01

 

:0

wait 0

if

0256: player _PLAYER_CHAR defined

jf @0

01F0: set_max_wanted_level_to 6

0DD0: [email protected] = get_label_addr @_ZN6CPools6GetPedEi // android

0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] // android

0DD6: [email protected] = get_game_version // android

 

:1

0DD8: [email protected] = read_mem_addr 0x0017835E size 1 add_ib 1 // android

if and

[email protected] == 2

[email protected] == 6

jf @2

0DD9: write_mem_addr 0x001E2BBA value 7 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr 0x001E2F40 value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr 0x001E2F42 value 215 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr 0x001E2F44 value 0 size 1 add_ib 1 protect 1 // android

[email protected] = 0x001E20F0

[email protected] = 0x0017835E

[email protected] = 0x001E3AFE

[email protected] = 0x001E3B00

[email protected] = 0x001E3B02

[email protected] = 0x001E3C92

[email protected] = 0x001E3C94

[email protected] = 0x001E3C96

[email protected] = 0x00576864

jump @3

 

:2

0DD8: [email protected] = read_mem_addr 0x00175436 size 1 add_ib 1 // android

if and

[email protected] == 12

[email protected] == 6

jf @end

0DD9: write_mem_addr 0x001D9E5E value 7 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr 0x001DA492 value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr 0x001DA494 value 215 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr 0x001DA496 value 0 size 1 add_ib 1 protect 1 // android

[email protected] = 0x001D98DE

[email protected] = 0x00175436

[email protected] = 0x001D9EDC

[email protected] = 0x001D9EDE

[email protected] = 0x001D9EE0

[email protected] = 0x001D9EA4

[email protected] = 0x001D9EA6

[email protected] = 0x001D9EA8

[email protected] = 0x0058AB44

 

:3

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

[email protected] = 0

 

:4

wait 0

0DD8: [email protected] = read_mem_addr [email protected] size 1 add_ib 1 // android

if

[email protected] == 0

jf @4

 

:5

wait 0

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 1 // android

if

[email protected] == 0x4F4E4D45//×÷±×Â룺on me

jf @6

03E5: text_box 'CHEAT5'

010D: set_player _PLAYER_CHAR wanted_level_to 6

jump @7

 

:6

if

010F: player _PLAYER_CHAR wanted_level > 5

jf @5

 

:7

wait 0

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 1 // android

if

[email protected] == 0x4F4E4D45//×÷±×Â룺on me

jf @8

0DD9: write_mem_addr [email protected] value 0 size 4 add_ib 1 protect 0 // android

0110: clear_player _PLAYER_CHAR wanted_level

0DD3: context_set_reg 0 value _PLAYER_ACTOR // android

0DD2: context_call_func [email protected] // android

0DD4: [email protected] = context_get_reg 0 // android

[email protected] += 0x5F4

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

[email protected] += 0x20

0DD9: write_mem_addr [email protected] value 7 size 1 add_ib 0 protect 0 // android

0DD9: write_mem_addr [email protected] value 7 size 4 add_ib 1 protect 1 // android

0DD3: context_set_reg 0 value _PLAYER_ACTOR // android

0DD2: context_call_func [email protected] // android

0DD4: [email protected] = context_get_reg 0 // android

[email protected] += 0x5F4

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

[email protected] += 0x0

0DD9: write_mem_addr [email protected] value 7101 size 4 add_ib 0 protect 0 // android

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 215 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 0 size 1 add_ib 1 protect 1 // android

jump @9

 

:8

0DD3: context_set_reg 0 value _PLAYER_ACTOR // android

0DD2: context_call_func [email protected] // android

0DD4: [email protected] = context_get_reg 0 // android

[email protected] += 0x5F4

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

[email protected] += 0x0

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

if and

[email protected] == 0

[email protected] >= 7090

jf @7

0110: clear_player _PLAYER_CHAR wanted_level

0DD3: context_set_reg 0 value _PLAYER_ACTOR // android

0DD2: context_call_func [email protected] // android

0DD4: [email protected] = context_get_reg 0 // android

[email protected] += 0x5F4

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

[email protected] += 0x20

0DD9: write_mem_addr [email protected] value 7 size 1 add_ib 0 protect 0 // android

0DD9: write_mem_addr [email protected] value 7 size 4 add_ib 1 protect 1 // android

0DD3: context_set_reg 0 value _PLAYER_ACTOR // android

0DD2: context_call_func [email protected] // android

0DD4: [email protected] = context_get_reg 0 // android

[email protected] += 0x5F4

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

[email protected] += 0x0

0DD9: write_mem_addr [email protected] value 7101 size 4 add_ib 0 protect 0 // android

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 215 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 0 size 1 add_ib 1 protect 1 // android

 

:9

[email protected] = 0

 

:10

wait 0

if or

8256: not player _PLAYER_CHAR defined

810F: not player _PLAYER_CHAR wanted_level > 5

jf @11

jump @12

 

:11

0DD3: context_set_reg 0 value _PLAYER_ACTOR // android

0DD2: context_call_func [email protected] // android

0DD4: [email protected] = context_get_reg 0 // android

[email protected] += 0x5F4

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

[email protected] += 0x0

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

if and

[email protected] >= 7090

[email protected] >= 2000

jf @10

0DD3: context_set_reg 0 value _PLAYER_ACTOR // android

0DD2: context_call_func [email protected] // android

0DD4: [email protected] = context_get_reg 0 // android

[email protected] += 0x5F4

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

[email protected] += 0x20

0DD9: write_mem_addr [email protected] value 6 size 1 add_ib 0 protect 0 // android

0DD9: write_mem_addr [email protected] value 6 size 4 add_ib 1 protect 1 // android

0DD3: context_set_reg 0 value _PLAYER_ACTOR // android

0DD2: context_call_func [email protected] // android

0DD4: [email protected] = context_get_reg 0 // android

[email protected] += 0x5F4

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

[email protected] += 0x0

0DD9: write_mem_addr [email protected] value 7101 size 4 add_ib 0 protect 0 // android

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 215 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 0 size 1 add_ib 1 protect 1 // android

 

:12

[email protected] = 1

 

:13

0DD3: context_set_reg 0 value _PLAYER_ACTOR // android

0DD2: context_call_func [email protected] // android

0DD4: [email protected] = context_get_reg 0 // android

[email protected] += 0x5F4

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

[email protected] += 0x0

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

if

[email protected] == 0

jf @14

010D: set_player _PLAYER_CHAR wanted_level_to 0

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 6 size 4 add_ib 1 protect 1 // android

[email protected] = 0

jump @17

 

:14

0DD3: context_set_reg 0 value _PLAYER_ACTOR // android

0DD2: context_call_func [email protected] // android

0DD4: [email protected] = context_get_reg 0 // android

[email protected] += 0x5F4

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

[email protected] += 0x0

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

if

[email protected] == 2420

jf @16

0110: clear_player _PLAYER_CHAR wanted_level

 

:15

wait 0

010D: set_player _PLAYER_CHAR wanted_level_to 6

if

010F: player _PLAYER_CHAR wanted_level > 5

jf @15

010D: set_player _PLAYER_CHAR wanted_level_to 6

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

[email protected] = 0

jump @17

 

:16

0DD8: [email protected] = read_mem_addr [email protected] size 1 add_ib 1 // android

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 1 // android

if and

not [email protected] == 7

[email protected] == 1

jf @13

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 235 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 94 size 1 add_ib 1 protect 1 // android

0DD3: context_set_reg 0 value _PLAYER_ACTOR // android

0DD2: context_call_func [email protected] // android

0DD4: [email protected] = context_get_reg 0 // android

[email protected] += 0x5F4

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

[email protected] += 0x20

0DD9: write_mem_addr [email protected] value 7 size 1 add_ib 0 protect 0 // android

0DD9: write_mem_addr [email protected] value 7 size 4 add_ib 1 protect 1 // android

0DD3: context_set_reg 0 value _PLAYER_ACTOR // android

0DD2: context_call_func [email protected] // android

0DD4: [email protected] = context_get_reg 0 // android

[email protected] += 0x5F4

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

[email protected] += 0x0

0DD9: write_mem_addr [email protected] value 7101 size 4 add_ib 0 protect 0 // android

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 1 protect 1 // android

[email protected] = 0

 

:17

jump @4

 

:_ZN6CPools6GetPedEi

hex

"_ZN6CPools6GetPedEi" 00

end

 

:end

end_thread

Edited by China·XMDS

Share this post


Link to post
Share on other sites
China·XMDS

 

http://m.weibo.cn/5963385654/3988322864758450?sourceType=sms&from=1066195010&wm=5091_0008

I'm making android version

Can you give a PC version has analyzed gtavc. Idb, had better have imported function name

 

gta-vc v1.03 - android - libGTA.idb taken from here:

http://public.sannybuilder.com/gtasa_exe_idb/

 

 

CWanted=CPed+0x5F4    +0x00     [4 bytes]     // wantedLevelChaosCounter    +0x18     [byte]        // currentNumberOfCops    +0x19     [byte]        // maxcops    +0x1A     [byte]        // nhelis    +0x1C     [byte]        // roadblockChance    +0x20     [byte]        // currentNumberOfStars    +0x24     [byte]        // minWantedLevel
I don't know if I'm right about the next addresses but I'll take a guess (tell me if I'm wrong - I only use PC version):

 

0x1E1003    [byte]      // DrawExtraStar(s)0x178362    [byte]      // defineNumberOfActiveStars    fnc// RGBA Values:// ActiveStars0x1E2F40    [byte]      //  r   AR0x1E2F42    [byte]      //  g   AG0x1E2F44    [byte]      //  b   AB// InactiveStars0x1E3AFE    [byte]      //  r   IR0x1E3B00    [byte]      //  g   IG0x1E3B02    [byte]      //  b   IB// FlashingStars0x1E3C92    [byte]      //  r   AIR0x1E3C94    [byte]      //  g   AIG0x1E3C96    [byte]      //  b   AIB

 

 

 

 

0DD3: context_set_reg 0 value _PLAYER_ACTOR // android

0DD2: context_call_func [email protected] // android

0DD4: [email protected] = context_get_reg 0 // android

[email protected] += 0x5F4

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

[email protected] += 0x0

0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 // android

 

 

0x5F4 ??

Game crash

Share this post


Link to post
Share on other sites
Jack

CPed shoud be, uhm this:

0DD0: [email protected] = get_label_addr @_ZN6CPools6GetPedEi // android0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] // android                              0DD3: context_set_reg 0 value _PLAYER_ACTOR    0DD2: context_call_func [email protected]                    0DD4: [email protected] = context_get_reg 0 // CPed

Anyway it's easy to track down a CPed address in databases:
_ZN6CWorld7PlayersE // CPed0x3758E4    //  Android VC v1.06, v1.070x3617E8    // Android  VC v1.03

Untested STAR7 code for CLEO android versions 1.03, 1.06, 1.07 [it's my first try with android so play nice]:

 

{$CLEO .csa}thread 'STAR7'CONST    _PLAYER_CHAR = $303    _PLAYER_ACTOR = $304    _ONMISSION = $606ENDREPEAT    wait 250UNTIL 0256: player _PLAYER_CHAR defined0DD8: [email protected] = read_mem_addr 0x1E2BBA size 1 add_ib 1 // extraIF    [email protected] == 0x07THEN    // version 1.03    CONST        fnc = 0x17835E    //  defineNumberOFActiveStars fnc        ext = 0x1E2BBA    //  extra        AR = 0x1E2F40     //  Active R        AG = 0x1E2F42     //  Active G        AB = 0x1E2F44     //  Active B        IR = 0x1E3AFE     //  Inactive star R        IG = 0x1E3B00     //  Inactive star G        IB = 0x1E3B02     //  Inactive star B        PSG = 0x1E20F0    //  Inside pay&spray garage        cht = 0x576864    //  cheat        cht4 = 0x576868    //  cheat4        ch5 = 0x178B24    // chaosAt5thStar           ch6 = 0x178B00    // chaosAt6thStar    ENDELSE    IF        [email protected] == 0x07    THEN        // version 1.07        CONST            fnc = 0x175436    //  defineNumberOFActiveStars fnc            ext = 0x1D9E5E    //  extra            AR = 0x1DA492     //  Active R            AG = 0x1DA494     //  Active G            AB = 0x1DA496     //  Active B            IR = 0x1D9EDC     //  Inactive star R            IG = 0x1D9EDE     //  Inactive star G            IB = 0x1D9EE0     //  Inactive star B            PSG = 0x1D98DE    //  Inside pay&spray garage            cht = 0x58AB44    //  cheat            cht4 = 0x58AB48    //  cheat4            ch5 = 0x175916    // chaosAt5thStar            ch6 = 0x1758CA    // chaosAt6thStar        END    ENDEND0DD9: write_mem_addr ext value 0x07 size 1 add_ib 1 protect 1 // extra// defineActiveColor0DD9: write_mem_addr AR value 0xFF size 1 add_ib 1 protect 10DD9: write_mem_addr AG value 0xFF size 1 add_ib 1 protect 10DD9: write_mem_addr AB value 0xFF size 1 add_ib 1 protect 1// defineInactiveColor0DD9: write_mem_addr IR value 0x00 size 1 add_ib 1 protect 10DD9: write_mem_addr IG value 0x00 size 1 add_ib 1 protect 10DD9: write_mem_addr IB value 0x00 size 1 add_ib 1 protect [email protected] = 0WHILE TRUE    wait 0    IF        010F:   player $PLAYER_CHAR wanted_level > 5    THEN        IF            [email protected] == 0        THEN            [email protected] = 0            0DD8: [email protected] = read_mem_addr IR size 1 add_ib 1            IF                [email protected] <> 0x00            THEN                    0DD9: write_mem_addr IR value 0x00 size 1 add_ib 1 protect 1            0DD9: write_mem_addr IG value 0x00 size 1 add_ib 1 protect 1            0DD9: write_mem_addr IB value 0x00 size 1 add_ib 1 protect 1            END                        gosub @CWanted            gosub @checkWLChaos            IF                [email protected] >= 0x1BB2            THEN            gosub @STAR7            END          END                IF            [email protected] == 1        THEN            IF                [email protected] >= 0            THEN                [email protected] = 0                0DD8: [email protected] = read_mem_addr fnc size 1 add_ib 1                IF                    [email protected] <> 0x06                THEN                0DD9: write_mem_addr fnc value 0x06 size 1 add_ib 1 protect 1                END            END                        gosub @CWanted            gosub @checkWLChaos            IF                [email protected] == 0x12D4            THEN            gosub @STAR6            END        END        [email protected] = 0        0DD8: [email protected] = read_mem_addr psg size 1 add_ib 1        IF              [email protected] == 1        THEN            [email protected] = 0            0DD8: [email protected] = read_mem_addr fnc size 1 add_ib 1            gosub @checkActiveHud            IF AND                [email protected] == 7                [email protected] <> 7               THEN                0DD9: write_mem_addr IR value 0x00 size 1 add_ib 1 protect 1            0DD9: write_mem_addr IG value 0x00 size 1 add_ib 1 protect 1            0DD9: write_mem_addr IB value 0x00 size 1 add_ib 1 protect 1            gosub @CWanted                                            [email protected] = 0            0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 1            [email protected] += 0x20 // activeHud              0DD9: write_mem_addr [email protected] value 0x07 size 1 add_ib 1 protect 1                                                      0DD9: write_mem_addr fnc value 0x07 size 1 add_ib 1 protect 1                        gosub @CWanted                                                                                                           [email protected] = 0            0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 1            [email protected] += 0x00 // chaosCounter            0DD9: write_mem_addr [email protected] value 0x1BBD size 4 add_ib 1 protect 1                                              END          END    ELSE          // WL chaos 5 to default        0DD9: write_mem_addr ch5 value 0x1374 size 2 add_ib 1 protect 1                [email protected] = 0        0DD8: [email protected] = read_mem_addr IR size 1 add_ib 1        IF            [email protected] <> 0x00        THEN        0DD9: write_mem_addr IR value 0x00 size 1 add_ib 1 protect 1        0DD9: write_mem_addr IG value 0x00 size 1 add_ib 1 protect 1        0DD9: write_mem_addr IB value 0x00 size 1 add_ib 1 protect 1        END    ENDEND:CWanted0DD0: [email protected] = get_label_addr @_ZN6CPools6GetPedEi // android0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] // android0DD3: context_set_reg 0 value _PLAYER_ACTOR    0DD2: context_call_func [email protected]                    0DD4: [email protected] = context_get_reg 0 // [email protected] += 0x5F4 // CWantedreturn:[email protected] = 00DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib [email protected] += 0x00 // chaosCounter0DD8: [email protected] = read_mem_addr [email protected] size 2 add_ib 1return:[email protected] = 00DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib [email protected] += 0x20 // activeHud0DD8: [email protected] = read_mem_addr [email protected] size 1 add_ib 1return:[email protected] = 10DD9: write_mem_addr cht value 0 size 4 add_ib 1 protect 10DD9: write_mem_addr cht4 value 0 size 4 add_ib 1 protect 1 0110: clear_player $PLAYER_CHAR wanted_level0DD0: [email protected] = get_label_addr @_ZN6CPools6GetPedEi // android0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] // android                              0DD3: context_set_reg 0 value _PLAYER_ACTOR    0DD2: context_call_func [email protected]                    0DD4: [email protected] = context_get_reg 0 // [email protected] += 0x5F4 // [email protected] = 00DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib [email protected] += 0x20 // activeHud0DD9: write_mem_addr [email protected] value 0x07 size 1 add_ib 1 protect 10DD9: write_mem_addr fnc value 0x07 size 1 add_ib 1 protect 10DD0: [email protected] = get_label_addr @_ZN6CPools6GetPedEi // android0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] // android0DD3: context_set_reg 0 value _PLAYER_ACTOR    0DD2: context_call_func [email protected]                    0DD4: [email protected] = context_get_reg 0 // [email protected] += 0x5F4 // [email protected] = 00DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib [email protected] += 0x00 // chaosCounter0DD9: write_mem_addr [email protected] value 0x1BBD size 4 add_ib 1 protect 1// getActiveColor0DD8: [email protected] = read_mem_addr AR size 1 add_ib 10DD8: [email protected] = read_mem_addr AG size 1 add_ib 10DD8: [email protected] = read_mem_addr AB size 1 add_ib 1            // InactiveToActive                                                                            0DD9: write_mem_addr IR value [email protected] size 1 add_ib 1 protect 10DD9: write_mem_addr IG value [email protected] size 1 add_ib 1 protect 10DD9: write_mem_addr IB value [email protected] size 1 add_ib 1 protect 1// WL chaos 6 to chaos [email protected] = 00DD8: [email protected] = read_mem_addr ch6 size 2 add_ib [email protected] += 0xC80DD9: write_mem_addr ch5 value [email protected] size 2 add_ib 1 protect [email protected] = 0  return:[email protected] = 00DD9: write_mem_addr cht value 0 size 4 add_ib 1 protect 10DD9: write_mem_addr cht4 value 0 size 4 add_ib 1 protect 1 0110: clear_player $PLAYER_CHAR wanted_level0DD0: [email protected] = get_label_addr @_ZN6CPools6GetPedEi // android0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] // android                             0DD3: context_set_reg 0 value _PLAYER_ACTOR    0DD2: context_call_func [email protected]                    0DD4: [email protected] = context_get_reg 0 // [email protected] += 0x5F4 // [email protected] = 00DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib [email protected] += 0x20 // activeHud0DD9: write_mem_addr [email protected] value 0x06 size 1 add_ib 1 protect 10DD9: write_mem_addr fnc value 0x06 size 1 add_ib 1 protect 10DD0: [email protected] = get_label_addr @_ZN6CPools6GetPedEi // android0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] // android0DD3: context_set_reg 0 value _PLAYER_ACTOR    0DD2: context_call_func [email protected]                    0DD4: [email protected] = context_get_reg 0 // [email protected] += 0x5F4 // [email protected] = 00DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib [email protected] += 0x00 // chaos0DD9: write_mem_addr [email protected] value 0x122A size 4 add_ib 1 protect 1            // InactiveRGB                                                                            0DD9: write_mem_addr IR value 0x00 size 1 add_ib 1 protect 10DD9: write_mem_addr IG value 0x00 size 1 add_ib 1 protect 1   0DD9: write_mem_addr IB value 0x00 size 1 add_ib 1 protect 1// WL chaos 5 to default0DD9: write_mem_addr ch5 value 0x1374 size 2 add_ib 1 protect 1return:[email protected] = 00DD8: [email protected] = read_mem_addr cht size 4 add_ib 1 // [email protected] = 00DD8: [email protected] = read_mem_addr cht4 size 4 add_ib 1 // lastTypedStringsreturn  :_ZN6CPools6GetPedEiHEX    "_ZN6CPools6GetPedEi" 00END


Edited by Jack

Share this post


Link to post
Share on other sites
China·XMDS

CPed shoud be, uhm this:

 

0DD0: [email protected] = get_label_addr @_ZN6CPools6GetPedEi // android0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] // android                              0DD3: context_set_reg 0 value _PLAYER_ACTOR    0DD2: context_call_func [email protected]                    0DD4: [email protected] = context_get_reg 0 // CPed
Anyway it's easy to track down a CPed address in databases:

 

_ZN6CWorld7PlayersE // CPed0x3758E4    //  Android VC v1.06, v1.070x3617E8    // Android  VC v1.03
Untested STAR7 code for CLEO android versions 1.03, 1.06, 1.07 [it's my first try with android so play nice]:

 

 

{$CLEO .csa}thread 'STAR7'CONST    _PLAYER_CHAR = $303    _PLAYER_ACTOR = $304    _ONMISSION = $606ENDREPEAT    wait 250UNTIL 0256: player _PLAYER_CHAR defined0DD8: [email protected] = read_mem_addr 0x1E2BBA size 1 add_ib 1 // extraIF    [email protected] == 0x07THEN    // version 1.03    CONST        fnc = 0x17835E    //  defineNumberOFActiveStars fnc        ext = 0x1E2BBA    //  extra        AR = 0x1E2F40     //  Active R        AG = 0x1E2F42     //  Active G        AB = 0x1E2F44     //  Active B        IR = 0x1E3AFE     //  Inactive star R        IG = 0x1E3B00     //  Inactive star G        IB = 0x1E3B02     //  Inactive star B        PSG = 0x1E20F0    //  Inside pay&spray garage        cht = 0x576864    //  cheat        cht4 = 0x576868    //  cheat4        ch5 = 0x178B24    // chaosAt5thStar           ch6 = 0x178B00    // chaosAt6thStar    ENDELSE    IF        [email protected] == 0x07    THEN        // version 1.07        CONST            fnc = 0x175436    //  defineNumberOFActiveStars fnc            ext = 0x1D9E5E    //  extra            AR = 0x1DA492     //  Active R            AG = 0x1DA494     //  Active G            AB = 0x1DA496     //  Active B            IR = 0x1D9EDC     //  Inactive star R            IG = 0x1D9EDE     //  Inactive star G            IB = 0x1D9EE0     //  Inactive star B            PSG = 0x1D98DE    //  Inside pay&spray garage            cht = 0x58AB44    //  cheat            cht4 = 0x58AB48    //  cheat4            ch5 = 0x175916    // chaosAt5thStar            ch6 = 0x1758CA    // chaosAt6thStar        END    ENDEND0DD9: write_mem_addr ext value 0x07 size 1 add_ib 1 protect 1 // extra// defineActiveColor0DD9: write_mem_addr AR value 0xFF size 1 add_ib 1 protect 10DD9: write_mem_addr AG value 0xFF size 1 add_ib 1 protect 10DD9: write_mem_addr AB value 0xFF size 1 add_ib 1 protect 1// defineInactiveColor0DD9: write_mem_addr IR value 0x00 size 1 add_ib 1 protect 10DD9: write_mem_addr IG value 0x00 size 1 add_ib 1 protect 10DD9: write_mem_addr IB value 0x00 size 1 add_ib 1 protect [email protected] = 0WHILE TRUE    wait 0    IF        010F:   player $PLAYER_CHAR wanted_level > 5    THEN        IF            [email protected] == 0        THEN            [email protected] = 0            0DD8: [email protected] = read_mem_addr IR size 1 add_ib 1            IF                [email protected] <> 0x00            THEN                    0DD9: write_mem_addr IR value 0x00 size 1 add_ib 1 protect 1            0DD9: write_mem_addr IG value 0x00 size 1 add_ib 1 protect 1            0DD9: write_mem_addr IB value 0x00 size 1 add_ib 1 protect 1            END                        gosub @CWanted            gosub @checkWLChaos            IF                [email protected] >= 0x1BB2            THEN            gosub @STAR7            END          END                IF            [email protected] == 1        THEN            IF                [email protected] >= 0            THEN                [email protected] = 0                0DD8: [email protected] = read_mem_addr fnc size 1 add_ib 1                IF                    [email protected] <> 0x06                THEN                0DD9: write_mem_addr fnc value 0x06 size 1 add_ib 1 protect 1                END            END                        gosub @CWanted            gosub @checkWLChaos            IF                [email protected] == 0x12D4            THEN            gosub @STAR6            END        END        [email protected] = 0        0DD8: [email protected] = read_mem_addr psg size 1 add_ib 1        IF              [email protected] == 1        THEN            [email protected] = 0            0DD8: [email protected] = read_mem_addr fnc size 1 add_ib 1            gosub @checkActiveHud            IF AND                [email protected] == 7                [email protected] <> 7               THEN                0DD9: write_mem_addr IR value 0x00 size 1 add_ib 1 protect 1            0DD9: write_mem_addr IG value 0x00 size 1 add_ib 1 protect 1            0DD9: write_mem_addr IB value 0x00 size 1 add_ib 1 protect 1            gosub @CWanted                                            [email protected] = 0            0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 1            [email protected] += 0x20 // activeHud              0DD9: write_mem_addr [email protected] value 0x07 size 1 add_ib 1 protect 1                                                      0DD9: write_mem_addr fnc value 0x07 size 1 add_ib 1 protect 1                        gosub @CWanted                                                                                                           [email protected] = 0            0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 1            [email protected] += 0x00 // chaosCounter            0DD9: write_mem_addr [email protected] value 0x1BBD size 4 add_ib 1 protect 1                                              END          END    ELSE          // WL chaos 5 to default        0DD9: write_mem_addr ch5 value 0x1374 size 2 add_ib 1 protect 1                [email protected] = 0        0DD8: [email protected] = read_mem_addr IR size 1 add_ib 1        IF            [email protected] <> 0x00        THEN        0DD9: write_mem_addr IR value 0x00 size 1 add_ib 1 protect 1        0DD9: write_mem_addr IG value 0x00 size 1 add_ib 1 protect 1        0DD9: write_mem_addr IB value 0x00 size 1 add_ib 1 protect 1        END    ENDEND:CWanted0DD0: [email protected] = get_label_addr @_ZN6CPools6GetPedEi // android0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] // android0DD3: context_set_reg 0 value _PLAYER_ACTOR    0DD2: context_call_func [email protected]                    0DD4: [email protected] = context_get_reg 0 // [email protected] += 0x5F4 // CWantedreturn:[email protected] = 00DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib [email protected] += 0x00 // chaosCounter0DD8: [email protected] = read_mem_addr [email protected] size 2 add_ib 1return:[email protected] = 00DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib [email protected] += 0x20 // activeHud0DD8: [email protected] = read_mem_addr [email protected] size 1 add_ib 1return:[email protected] = 10DD9: write_mem_addr cht value 0 size 4 add_ib 1 protect 10DD9: write_mem_addr cht4 value 0 size 4 add_ib 1 protect 1 0110: clear_player $PLAYER_CHAR wanted_level0DD0: [email protected] = get_label_addr @_ZN6CPools6GetPedEi // android0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] // android                              0DD3: context_set_reg 0 value _PLAYER_ACTOR    0DD2: context_call_func [email protected]                    0DD4: [email protected] = context_get_reg 0 // [email protected] += 0x5F4 // [email protected] = 00DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib [email protected] += 0x20 // activeHud0DD9: write_mem_addr [email protected] value 0x07 size 1 add_ib 1 protect 10DD9: write_mem_addr fnc value 0x07 size 1 add_ib 1 protect 10DD0: [email protected] = get_label_addr @_ZN6CPools6GetPedEi // android0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] // android0DD3: context_set_reg 0 value _PLAYER_ACTOR    0DD2: context_call_func [email protected]                    0DD4: [email protected] = context_get_reg 0 // [email protected] += 0x5F4 // [email protected] = 00DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib [email protected] += 0x00 // chaosCounter0DD9: write_mem_addr [email protected] value 0x1BBD size 4 add_ib 1 protect 1// getActiveColor0DD8: [email protected] = read_mem_addr AR size 1 add_ib 10DD8: [email protected] = read_mem_addr AG size 1 add_ib 10DD8: [email protected] = read_mem_addr AB size 1 add_ib 1            // InactiveToActive                                                                            0DD9: write_mem_addr IR value [email protected] size 1 add_ib 1 protect 10DD9: write_mem_addr IG value [email protected] size 1 add_ib 1 protect 10DD9: write_mem_addr IB value [email protected] size 1 add_ib 1 protect 1// WL chaos 6 to chaos [email protected] = 00DD8: [email protected] = read_mem_addr ch6 size 2 add_ib [email protected] += 0xC80DD9: write_mem_addr ch5 value [email protected] size 2 add_ib 1 protect [email protected] = 0  return:[email protected] = 00DD9: write_mem_addr cht value 0 size 4 add_ib 1 protect 10DD9: write_mem_addr cht4 value 0 size 4 add_ib 1 protect 1 0110: clear_player $PLAYER_CHAR wanted_level0DD0: [email protected] = get_label_addr @_ZN6CPools6GetPedEi // android0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] // android                             0DD3: context_set_reg 0 value _PLAYER_ACTOR    0DD2: context_call_func [email protected]                    0DD4: [email protected] = context_get_reg 0 // [email protected] += 0x5F4 // [email protected] = 00DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib [email protected] += 0x20 // activeHud0DD9: write_mem_addr [email protected] value 0x06 size 1 add_ib 1 protect 10DD9: write_mem_addr fnc value 0x06 size 1 add_ib 1 protect 10DD0: [email protected] = get_label_addr @_ZN6CPools6GetPedEi // android0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] // android0DD3: context_set_reg 0 value _PLAYER_ACTOR    0DD2: context_call_func [email protected]                    0DD4: [email protected] = context_get_reg 0 // [email protected] += 0x5F4 // [email protected] = 00DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib [email protected] += 0x00 // chaos0DD9: write_mem_addr [email protected] value 0x122A size 4 add_ib 1 protect 1            // InactiveRGB                                                                            0DD9: write_mem_addr IR value 0x00 size 1 add_ib 1 protect 10DD9: write_mem_addr IG value 0x00 size 1 add_ib 1 protect 1   0DD9: write_mem_addr IB value 0x00 size 1 add_ib 1 protect 1// WL chaos 5 to default0DD9: write_mem_addr ch5 value 0x1374 size 2 add_ib 1 protect 1return:[email protected] = 00DD8: [email protected] = read_mem_addr cht size 4 add_ib 1 // [email protected] = 00DD8: [email protected] = read_mem_addr cht4 size 4 add_ib 1 // lastTypedStringsreturn  :_ZN6CPools6GetPedEiHEX    "_ZN6CPools6GetPedEi" 00END

 

 

Use 0x5F4 games to crash

0DD4: [email protected] = context_get_reg 0 // CPed

[email protected] += 0x5F4 // CWanted

 

Can use 0x5F8?

Edited by China·XMDS

Share this post


Link to post
Share on other sites
Jack

Use 0x5F4 games to crash

0DD4: [email protected] = context_get_reg 0 // CPed

[email protected] += 0x5F4 // CWanted

 

Can use 0x5F8?

 

use 0x5F4 games not to crash

not can use 0x5F8

only use can 0x5F4

 

 

0DD8: [email protected] = read_mem_addr 0x3758E4 size 4 add_ib 1 // CPed for v1.07, v1.06 (0x3758E8 = Cped for v1.03)[email protected] += 0x5F4 // wanted level offset0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 1 // [email protected] += 0x00 // chaos offset0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 1 // chaos meter

Me have 3 problem:

- not understand english google translate

- me not play gta on Android

- rain fall down again

Share this post


Link to post
Share on other sites
China·XMDS

 

Use 0x5F4 games to crash0DD4: [email protected] = context_get_reg 0 // CPed

[email protected] += 0x5F4 // CWanted

 

Can use 0x5F8?

use 0x5F4 games not to crash

not can use 0x5F8

only use can 0x5F4

 

 

0DD8: [email protected] = read_mem_addr 0x3758E4 size 4 add_ib 1 // CPed for v1.07, v1.06 (0x3758E8 = Cped for v1.03)[email protected] += 0x5F4 // wanted level offset0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 1 // [email protected] += 0x00 // chaos offset0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 1 // chaos meter
Me have 3 problem:

- not understand english google translate

- me not play gta on Android

- rain fall down again

 

 

I had entered the game to try many times , 0x5F4 Andrews is wrong , 0x5F8 into the game right , CWanted feature is not disabled. Andrews additional offset + 4,0x5F4 = 0x5F8.

 

android: CWanted=Cped+0x5F8

 

You provide the memory address is wrong , I have found the right address.

Edited by China·XMDS

Share this post


Link to post
Share on other sites
China·XMDS

http://www.imagebam.com/image/96e430493733499

I have succeeded!

 

Correct memory address:

//GTAVC 1.O3

//0x00178360---Active Stars

//0x001E2BBA---Extra 7 Stars Exist

//0x001E2B6C---Active Stars R

//0x001E2B6E---Active Stars G

//0x001E2B70---Active Stars B

//0x001E20F0---Inside pay&spray garage

//0x005C168C---_ZN6CWorld7PlayersE-Cped

//0x001E2C3E---In Active stars R

//0x001E2C40---In Active stars G

//0x001E2C42---In Active stars B

//0x001E2C06---Flashing stars R

//0x001E2C08---Flashing stars G

//0x001E2C0A---Flashing stars B

//0x00576864---_ZN4CPad19KeyBoardCheatStringE-(1.0 Gtavc.exe)-0xA10942

 

//GTAVC 1.06 1.O7

//0x00175438---Active Stars

//0x001D9E5E---Extra 7 Stars Exist

//0x001D9E08---Active Stars R

//0x001D9E0A---Active Stars G

//0x001D9E0C---Active Stars B

//0x005D596C---_ZN6CWorld7PlayersE-Cped

//0x001D9EDC---In Active stars R

//0x001D9EDE---In Active stars G

//0x001D9EE0---In Active stars B

//0x001D9EA4---Flashing stars R

//0x001D9EA6---Flashing stars G

//0x001D9EA8---Flashing stars B

//0x0058AB44---_ZN4CPad19KeyBoardCheatStringE-(1.1 Gtavc.exe)-0xA1094A

Share this post


Link to post
Share on other sites
Jack

Well done.
Anyway you have just become the most wanted man in Vice City - congrads.

IMPORTANT - some rules about posting:
You shoud not double, triple (or quadruple...) post in the future - use 'edit' button to edit an existing post. And you should put large codes in the pastebin.com then provide the link here.
Smaller codes you can post like this (click on the code button):

Your code here

More usefull informations here:
Official Modification Forum Rules
Gtaforums Rules

Back to the topic:
Did you have any problems in the gameplay? Does the code fully work? Have you tested the evants like the bribe pickup, pay&spray garage, cheats, stars blinking???
I think I'll have to start playing on the android or find a few beta testers.

Edited by Jack

Share this post


Link to post
Share on other sites
Kucing.bertelur-

how to find memory addres?

Share this post


Link to post
Share on other sites
China·XMDS

how to find memory addres?

Idapro tools

You want to find the Android version or PC version?

Share this post


Link to post
Share on other sites
China·XMDS

Well done.

Anyway you have just become the most wanted man in Vice City - congrads.

 

IMPORTANT - some rules about posting:

You shoud not double, triple (or quadruple...) post in the future - use 'edit' button to edit an existing post. And you should put large codes in the pastebin.com then provide the link here.

Smaller codes you can post like this (click on the code button):

Your code here
More usefull informations here:

Official Modification Forum Rules

Gtaforums Rules

 

Back to the topic:

Did you have any problems in the gameplay? Does the code fully work? Have you tested the evants like the bribe pickup, pay&spray garage, cheats, stars blinking???

I think I'll have to start playing on the android or find a few beta testers.

https://github.com/XMDS/CLEO-STAR7/blob/master/VC

 

Stars twinkling there are problems , you can test it, I do not know how to fix this problem.

Share this post


Link to post
Share on other sites
Kucing.bertelur-

 

how to find memory addres?

Idapro tools

You want to find the Android version or PC version?

 

for android....

Share this post


Link to post
Share on other sites
VENEZUELA Z

how change the stars color for the original colors??

Share this post


Link to post
Share on other sites
Jack

how change the stars color for the original colors??

 

Use Wanted Level Editor to set the star colours. Default settings:

 

ACTIVE_STAR_COLOUR_RED = 16   ; 1 byte                                                           ACTIVE_STAR_COLOUR_GREEN = 98   ; 1 byte                                    ACTIVE_STAR_COLOUR_BLUE = 144  ; 1 byte

Share this post


Link to post
Share on other sites
LazytownSpo666

We Wanted the Android Version of STAR7

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

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