0xd4d Posted January 23, 2019 Share Posted January 23, 2019 Hi everyone. How can i get coords of marker/blip what is already placed? https://img42.com/Mei5O (PHOTO) Link to comment Share on other sites More sharing options...
OrionSR Posted January 23, 2019 Share Posted January 23, 2019 (edited) 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 January 23, 2019 by OrionSR Link to comment Share on other sites More sharing options...
0xd4d Posted January 23, 2019 Author Share Posted January 23, 2019 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 Link to comment Share on other sites More sharing options...
OrionSR Posted January 23, 2019 Share Posted January 23, 2019 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? Link to comment Share on other sites More sharing options...
0xd4d Posted January 23, 2019 Author Share Posted January 23, 2019 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. Link to comment Share on other sites More sharing options...
OrionSR Posted January 23, 2019 Share Posted January 23, 2019 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. Link to comment Share on other sites More sharing options...
0xd4d Posted January 23, 2019 Author Share Posted January 23, 2019 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 Link to comment Share on other sites More sharing options...
OrionSR Posted January 24, 2019 Share Posted January 24, 2019 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. Link to comment Share on other sites More sharing options...