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

0xd4d

How to locate blip/marker?

Recommended Posts

OrionSR

Your image link doesn't work right.

 

Generally, the easiest way to to find the coordinates of blips is to go to the marker and take a coordinate reading with a trainer or other coord tool. Then search for blip codes in a main.scm that's been decompiled with Sanny Builder until you find something close to your reading. Or if it's a non-standard blip then search in the cleo script that created it.

 

Blips are hard to work with. If I understood your purpose better I might be able to provide better information.

Edited by OrionSR

Share this post


Link to post
Share on other sites
0xd4d
4 minutes ago, OrionSR said:

Your image link doesn't work right.

 

Generally, the easiest way to to find the coordinates of blips is to go to the marker and take a coordinate reading with a trainer or other coord tool. Then search for blip codes in a main.scm that's been decompiled with Sanny Builder until you find something close to your reading. Or if it's a non-standard blip then search in the cleo script that created it.

 

Blips are hard to work with. If I understood your purpose better I might be able to provide better information.

 

 

Problem is more complicated because i need to find a blip/marker what is created by SAMP server in random location :/

Share this post


Link to post
Share on other sites
OrionSR

Why do you need to find this marker? What do you intend to do with this information if you find it?

 

I don't know how SAMP works. Did it add a blip to your save? Why did SAMP add this blip?

Share this post


Link to post
Share on other sites
0xd4d
1 minute ago, OrionSR said:

Why do you need to find this marker? What do you intend to do with this information if you find it?

 

I don't know how SAMP works. Did it add a blip to your save? Why did SAMP add this blip?

This markers (REUPLOADED PHOTO) represent spheres on which I have to stand, that is why i need to know coords of it.

Share this post


Link to post
Share on other sites
OrionSR

I don't understand why you need coords to stand in a sphere. 

 

All I know about SAMP is that it's a multiplayer mod. I'm reluctant to provide any information that you might use to gain an advantage over other players.

Share this post


Link to post
Share on other sites
0xd4d

I dont want to make cheat or something like that (anyway im newbie in cleo xd). I just need to know a distance between point and player in straight line, that's why i need to know coords of point :/

Share this post


Link to post
Share on other sites
OrionSR

Okay. I'm not sure this will be much help but...

 

The radar blip structure in memory is described in the opening post of this topic

 

It looks like the icon in the image matches the Light (56) icon from this SAMP documentation.

 

I learned memory editing writing PS2 cheat device codes so my strategies tend to be fairly primitive. There might be fancy Cleo4 opcodes that can accomplish similar tasks. Assuming that the Light icon is unique on the map, write yourself a loop that checks the iconID of each blip in memory and then pull the coords from the appropriate offsets if the ID matches the light.

 


Pool start: 0xBA86F0
Pool size: 175 items
Item size: 0x28 (40 bytes)

float fPosX; // 8
float fPosY; // 12
float fPosZ; // 16
BYTE byteIcon; // 36

 

Limit the loop to 175 records. Start at memory address 0xBA86F0. Then add 36 to find the iconID (byteIcon).  If there is no match then add 40 to find the next iconID. If a match is found then subtract 28 to find the start of the coordinates.

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.