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. PC
      2. Gameplay
      3. Missions
      4. 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. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    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

Sign in to follow this  
Grumpy Cat

dsher

Recommended Posts

Grumpy Cat

hi everyone.

does anybody knows how to bring back dsher (desert sheriff) in the desert?

Share this post


Link to post
Share on other sites
ZAZ

The dsher model files seems to be invalid.

Share this post


Link to post
Share on other sites
Jack

This could be achieved with CLEO by replaceing country sheriff model ID with the desert sheriff at the appropriate zones. It's like Silent said a day ago - use a way like Vice City main.scm does with some gang.

Edited by Jack

Share this post


Link to post
Share on other sites
iFarbod

It could be done with memory hacking tricks too.

Share this post


Link to post
Share on other sites
Grumpy Cat

It could be done with memory hacking tricks too.

tell me how?

Share this post


Link to post
Share on other sites
little_idiot

You can find here CLEO script, which brought DSHER back to game in 2008. Thanks flashTrash (on some sources Olegator) for this. Have no idea how you guys missed this :smile:

255Rq.jpg255Rr.jpg

Edited by little_idiot

Share this post


Link to post
Share on other sites
Grumpy Cat

You can find here CLEO script, which brought DSHER back to game in 2008. Thanks flashTrash (on some sources Olegator) for this. Have no idea how you guys missed this :smile:

255Rq.jpg255Rr.jpg

i dont know how to create cleo script

Edited by catfromnesbox

Share this post


Link to post
Share on other sites
Blackalien

Oh my god, so where are going then, learn these things first. Open Sanny Builder, click on new(the blank paper), copy the code which the guy wrote and paste it in Sanny Builder, click F6 and write name and after the name put .cs

Share this post


Link to post
Share on other sites
Grumpy Cat

Oh my god, so where are going then, learn these things first. Open Sanny Builder, click on new(the blank paper), copy the code which the guy wrote and paste it in Sanny Builder, click F6 and write name and after the name put .cs

i did everything and the game crash on boot screen

Share this post


Link to post
Share on other sites
gtafan2u

Had you set the Sanny Builder to San Andreas before compiling(see the bottom right corner of SB)? I thinks you didn't.

 

And why to add .Cs extension!

Create a text file in SA Cleo folder.

Open it in Sanny Builder.

Copy the code to this document.

Compile.

Share this post


Link to post
Share on other sites
Grumpy Cat

can someone upload that cleo mod in GTAinside site

Share this post


Link to post
Share on other sites
gtafan2u

No respected modder will reupload any one else work in site like GTAInside. I can upload it in other file hosts like- Send space/Zippyshare etc and send u link through PM if you want.

Share this post


Link to post
Share on other sites
Jack

 

{$CLEO}0000: DSHERREPEAT    wait 250UNTIL 0256: player $PLAYER_CHAR defined0247: load_model #CSHER  0247: load_model #DSHER  038B: load_requested_modelsWHILE TRUE    wait 0    IF AND        8583:   NOT   player $PLAYER_CHAR in_zone 'BONE'        8583:   NOT   player $PLAYER_CHAR in_zone 'ROBAD'        8583:   NOT   player $PLAYER_CHAR in_zone 'ROBAD1'    THEN    0A8D: [email protected] = 0x8A5AA0 2 0        IF            8039:   NOT   [email protected] == #CSHER        THEN        0A8C: 0x8A5AA0 2 #CSHER 0        END    ELSE        IF OR            0583:   player $PLAYER_CHAR in_zone 'BONE'            0583:   player $PLAYER_CHAR in_zone 'ROBAD'            0583:   player $PLAYER_CHAR in_zone 'ROBAD1'        THEN        0A8D: [email protected] = 0x8A5AA0 2 0            IF                8039:   NOT   [email protected] == #DSHER            THEN            0A8C: 0x8A5AA0 2 #DSHER 0            END        END    ENDENDHEX    49 66 20 67 74 61 66 61 6e 32 75 20 75 70 6c    6f 61 64 20 74 68 69 73 20 63 6f 64 65 20 74    68 65 6e 20 68 65 27 73 20 61 20 73 74 75 70    69 64 20 6d 6f 72 6f 6e 20 77 69 74 68 20 61    6e 20 75 67 6c 79 20 66 61 63 65 20 61 6e 64    20 61 20 62 69 67 20 62 75 74 74 20 61 6e 64    20 68 69 73 20 62 75 74 74 20 73 6d 65 6c 6c    73 20 61 6e 64 20 68 65 20 6c 69 6b 65 73 20    74 6f 20 6b 69 73 73 20 68 69 73 20 6f 77 6e    20 62 75 74 74 21 20END

Share this post


Link to post
Share on other sites
liaz6212

Hi man

Nice script. Can you add also CDEPUT (files are in standart gta3.img) to Flint County and Whetstone? Instead CSHER,

Edited by liaz6212

Share this post


Link to post
Share on other sites
Blackalien

You can find here CLEO script, which brought DSHER back to game in 2008. Thanks flashTrash (on some sources Olegator) for this. Have no idea how you guys missed this :smile:

255Rq.jpg255Rr.jpg

Open the given link about DSHER and go a bit down - there is a script about DSHER, CSHER, CDEPUT and all police bikers.

Share this post


Link to post
Share on other sites
liaz6212

That script works incorrect, I tested it many times.

Share this post


Link to post
Share on other sites
Blackalien

Works just as it should for me.

Share this post


Link to post
Share on other sites
liaz6212

Crashes in clean game (only CLEO library and the script installed) in 10 minutes after start.

Share this post


Link to post
Share on other sites
Fenton

This script as Liaz said crashes the game when approaching the Flint Intersection, I think there is something wrong with the script.

Edited by Fenton

Share this post


Link to post
Share on other sites
Blackalien

My game was crashing there as well and after some time I figured out the problem. Mine was that I already tried to bring back cdeput in game by adding him in prds.ide and pedgrp, so I removed him and everythig was working well again. I mean that something else is conflicting with the script.

 

Also if you don't have any kind of mods which can possibly conflict with this one, then try by installing Open Limit Adjuster.

Edited by blackalienHD

Share this post


Link to post
Share on other sites
liaz6212

I use Fastman Limit Adjuster in changed game,

 

In clean game there are default peds.ide and pedgrp.dat. But crashes are there too.

Share this post


Link to post
Share on other sites
Blackalien

Hmm, don't know then.

Share this post


Link to post
Share on other sites
Jack

There's no need for REQUEST_MODEL and it's better to use pointer:

{$CLEO}0000:REPEAT    wait 250UNTIL 0256:   player $PLAYER_CHAR defined0AC6: [email protected] = label @CopModelByTown offsetCONST    MODEL_CSHER = 0x11B    MODEL_DSHER = 0x120ENDWHILE TRUE    wait 0    0085: [email protected] = [email protected]    [email protected] += 3    0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0    [email protected] += 0    IF OR        0154: actor $PLAYER_ACTOR in_zone 'BONE'          0154: actor $PLAYER_ACTOR in_zone 'SUNMA'        0154: actor $PLAYER_ACTOR in_zone 'SUNNN'        0154: actor $PLAYER_ACTOR in_zone 'BIGE'        0154: actor $PLAYER_ACTOR in_zone 'ELQUE'        0154: actor $PLAYER_ACTOR in_zone 'BARRA'        0154: actor $PLAYER_ACTOR in_zone 'CARSO'    THEN        0A8C: write_memory [email protected] size 4 value MODEL_DSHER virtual_protect 0    ELSE        IF OR            0154: actor $PLAYER_ACTOR in_zone 'PAYAS'            0154: actor $PLAYER_ACTOR in_zone 'PROBE'            0154: actor $PLAYER_ACTOR in_zone 'ELCA'            0154: actor $PLAYER_ACTOR in_zone 'ARCO'            0154: actor $PLAYER_ACTOR in_zone 'VALLE'            0154: actor $PLAYER_ACTOR in_zone 'ROBINT'            0154: actor $PLAYER_ACTOR in_zone 'TOM'        THEN            0A8C: write_memory [email protected] size 4 value MODEL_DSHER virtual_protect 0        ELSE            IF OR                0154: actor $PLAYER_ACTOR in_zone 'ALDEA'                0154: actor $PLAYER_ACTOR in_zone 'BRUJA'                0154: actor $PLAYER_ACTOR in_zone 'ROBAD'                0154: actor $PLAYER_ACTOR in_zone 'QUARY'                0154: actor $PLAYER_ACTOR in_zone 'OCTAN'                0154: actor $PLAYER_ACTOR in_zone 'PALMS'                0154: actor $PLAYER_ACTOR in_zone 'DAM'            THEN                0A8C: write_memory [email protected] size 4 value MODEL_DSHER virtual_protect 0            ELSE                0A8C: write_memory [email protected] size 4 value MODEL_CSHER virtual_protect 0            END        END    ENDEND        :CopModelByTownHEX    8B 04 BD A0 5A 8A 00END/*CLEO script for GTA:SA written in GTA3script.Description: DesertSheriff on DesertAreas*/SCRIPT_START{LVAR_INT PlayerLVAR_INT MODEL_CSHER    LVAR_INT MODEL_DSHERLVAR_INT var0 var31GET_LABEL_POINTER CopModelByTown var31MODEL_CSHER = 0x11BMODEL_DSHER = 0x120:main_loop    WAIT 0    SET_LVAR_INT_TO_LVAR_INT var0 = var31    var0 += 3    READ_MEMORY var0 4 FALSE var0    var0 += 0    IF OR        IS_CHAR_IN_ZONE Player 'BONE'          IS_CHAR_IN_ZONE Player 'SUNMA'        IS_CHAR_IN_ZONE Player 'SUNNN'        IS_CHAR_IN_ZONE Player 'BIGE'        IS_CHAR_IN_ZONE Player 'ELQUE'        IS_CHAR_IN_ZONE Player 'BARRA'        IS_CHAR_IN_ZONE Player 'CARSO'    THEN        WRITE_MEMORY var0 4 MODEL_DSHER FALSE    ELSE        IF OR            IS_CHAR_IN_ZONE Player 'PAYAS'            IS_CHAR_IN_ZONE Player 'PROBE'            IS_CHAR_IN_ZONE Player 'ELCA'            IS_CHAR_IN_ZONE Player 'ARCO'            IS_CHAR_IN_ZONE Player 'VALLE'            IS_CHAR_IN_ZONE Player 'ROBINT'            IS_CHAR_IN_ZONE Player 'TOM'        THEN            WRITE_MEMORY var0 4 MODEL_DSHER FALSE        ELSE            IF OR                IS_CHAR_IN_ZONE Player 'ALDEA'                IS_CHAR_IN_ZONE Player 'BRUJA'                IS_CHAR_IN_ZONE Player 'ROBAD'                IS_CHAR_IN_ZONE Player 'QUARY'                IS_CHAR_IN_ZONE Player 'OCTAN'                IS_CHAR_IN_ZONE Player 'PALMS'                IS_CHAR_IN_ZONE Player 'DAM'            THEN                WRITE_MEMORY var0 4 MODEL_DSHER FALSE            ELSE                WRITE_MEMORY var0 4 MODEL_CSHER FALSE            ENDIF        ENDIF    ENDIFGOTO main_loop}SCRIPT_ENDCopModelByTown:HEX    8B 04 BD A0 5A 8A 00END

Share this post


Link to post
Share on other sites
Jack

hey i been trying to create cleo script by using your code in there and then i got error message that says: Unknown directive SCRIPT_START

 

Those are 2 codes actually.

The 1st one uses the opcodes while the 2nd one uses the commands instead.

Share this post


Link to post
Share on other sites
Grumpy Cat

 

hey i been trying to create cleo script by using your code in there and then i got error message that says: Unknown directive SCRIPT_START

 

Those are 2 codes actually.

The 1st one uses the opcodes while the 2nd one uses the commands instead.

 

thanks it worked.

Edited by catfromnesbox

Share this post


Link to post
Share on other sites
ChengizVlad09
Posted (edited)

Is there a script that brings back "cdeput" the same way it brings back "dsher" to the game? I mean, makes it "usable" again? Thanks!

 

Btw, I have no idea what those hieroglyphics mean, sry.

Edited by ChengizVlad09

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.

Sign in to follow this  

  • 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.