Resource icon

Untagged Release supremeTroll(16-01-15) + objectFinder 1.3++

Status
Not open for further replies.

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
RE: supremeTroll(16-01-15) + objectFinder 1.3+

yes if you mean weapon pickups, no if you mean weapons carried by other players
 

xRaiin

New member
Joined
Feb 15, 2014
Messages
1
Reaction score
0
I don't understand, how you're using the objectfinder. Can anyone help me?
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
@xRaiin
make sure that you have Cleo 4.1, samp 0.3.7 version and sampfuncs 5.3. To download sampfuncs go to: http://ugbase.eu/Thread-ASI-SAMPFUNCS-5-3-0-3-7

Installation:
sf_5_X_X_bin.zip : contains the main mod.
- Copy "SAMPFUNCS.asi" into your San Andreas folder.
- Run the game once to allow it to create the necessary files(SAMPFUNCS folder and SAMPFUNCS.ini)

Then copy objectFinder.cs + objectFinderSettings.ini to your cleo folder, join a server and use command "/ohelp". Then use command "/oshowid" to see all object models around you. Pick one model number (let's say it's 999) and use command "/oy 999". You should be able to see all objects that have model id equal to 999 (they should marked with yellow squares). Then you can add more searches using commands like "/ob 123", "/ov 525".

You can also search for range of objects. Using "/or 1 50000" will find all the objects around you that have model id between 1 and 50000 (they should be marked with red squares)
 

Kingboi

Member
Joined
Dec 22, 2014
Messages
6
Reaction score
0
My game crashes when using the objectfinder, is it possible if you could add into the ini file the max distance we can choose. or the amount of objects(weapons) you can find.
Other than that it's pretty amazing. Only reason i crash is i use it on a Dayz server wich ofcourse there is tons of it laying around.
 

Kingboi

Member
Joined
Dec 22, 2014
Messages
6
Reaction score
0
This is actualy a beast script but can you make it where you can find for a certian distance or item limit lets say 15 - 20 items max because my game crashes. On a regular RP server it doesnt but playing on a Dayz server does crash your game.so i'd appreciate it. also if you can put it in the .ini file too the distance/limit we can choose that be AweFuckingSome.

PS: could you maybe change the 2d box highlight just into a yellow dot?
 

Kingboi

Member
Joined
Dec 22, 2014
Messages
6
Reaction score
0
Oh wow this is weird lol whenever i edit a post it dissapears.

Monday, this script is awesome. It's just too many objects on a DayZ server is it possible if you could set a limit to the distance/items? prefferably items. Also can you change the big 2d box highlight into a yellow small dot? oh and let's not forget please make it adjustable trough the .ini file.

on the side note; i tried making a cleo but.. it's just too complicated for me.
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
so here's an "eco" version which uses small squares instead (it draws 1 line instead of 4 per each object), there's also a "/olimit <num>" command to limit maximum objects found per each square (adjustable from .ini too)
http://www.mediafire.com/file/eqo9cijto1mr1io/objectFinder.rar

idk why but /olimit command sometimes rewrites the ini like it should but sometimes it doesn't and the previous value stays (only in ini, it always changes in game)

if you'd like to change the size of the squares you could change 10 into any other val in here:
Code:
31@ += 10 //this 10
0B68: render draw_line_point1 0@ 1@ point2 30@ 31@ width 10 color 4@  //and this 10


P.S.
I found a small bug, here's the original version of the mod with it fixed, if you'd like to test it and let me know if it fixed the problem it would be great
http://www.mediafire.com/file/6jhf0p15fqy6hma/objectFinder%5B2%5D.cs
 

Kingboi

Member
Joined
Dec 22, 2014
Messages
6
Reaction score
0
monday said:
so here's an "eco" version which uses small squares instead (it draws 1 line instead of 4 per each object), there's also a "/olimit <num>" command to limit maximum objects found per each square (adjustable from .ini too)
http://www.mediafire.com/file/eqo9cijto1mr1io/objectFinder.rar

idk why but /olimit command sometimes rewrites the ini like it should but sometimes it doesn't and the previous value stays (only in ini, it always changes in game)

if you'd like to change the size of the squares you could change 10 into any other val in here:
Code:
31@ += 10 //this 10
0B68: render draw_line_point1 0@ 1@ point2 30@ 31@ width 10 color 4@  //and this 10


P.S.
I found a small bug, here's the original version of the mod with it fixed, if you'd like to test it and let me know if it fixed the problem it would be great
http://www.mediafire.com/file/6jhf0p15fqy6hma/objectFinder%5B2%5D.cs

THANKS WORKS LIKE A CHARM NOW even on /limit 500 dont know if it's because of the highlight or if you have reduced the distance.

I also have another suggestion, Is it possible if the dots in the minimap wont go outside of the map? or make the dots a little smaller in the minimap so it fits in there instead of overflowing the minimap that would be great. Also is it possible to add yellow dot markers on the minimap too? other than that if these things do get added in this objectfinder is litteraly the best finder out there. dead serieus.

I havent tried the original fixed version yet i will soon. if it works ill post on here aigan.

PS: The yellow looks realy alike with the white maybe change it to a darker yellow and the red marker realy looks like orange ;pp if you also could fix that that be great too =)

Like i said this cleo is awesome.


Monday, i've tested out the original one that you fixed it works flawless just like the one with 1 line only but with the original fixed one there is no /olimit. but it seems the one with the 1 line is actualy better than the original fixed one, might wanna update that on the post.

PS: monday do you know anything about the objectviewer tool? i need it, to find out object id's instead of searching on the web.


Monday i forgot to add this, In certian areas of San Andreas the objects get desynced till you move out of that certian area. The reason i asked you the big map for if the dots in the minimap get revmoed that the yellow markers on the big map stay on. Also in those certian parts of San Andreas the highlights do get removed too. if you fix this and the things i've posted previously this Cleo litteraly will be flawless.


Monday i've found the object id viewer thingy.

http://forum.sa-mp.com/showthread.php?t=575029

It says download but for some reason i cannot click on it ;O
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
the distance is not limited, it's just maximum number of objects that you can limit

the dots may go out of the map because the script doesn't take resolution into account, I'm sorry but I can't be bothered to play with this...
You could change "MAX_DISTANCE 130.0" (it won't affect objects search, it's just about the displaying distance from the center of the radar) into smaller value in the following line:
Code:
//this line occurs twice (one for all objects and one for the closest one which turns red every 500ms or something) so it should be changed at both instances

0AB1: @POSITION_TO_RADAR 7 XYZ 3@ 4@ 5@ RADAR_POS 6@ 7@ DISTANCE_MULTIPLIER 17@ MAX_DISTANCE 130.0 _STORE_TO 3@ 4@

here are the lines responsible for colours:
Code:
call @ReadArray 2 ARRAY index 0 _ret isactive 2@ lower_bord 3@ higher_bord 4@
if 2@ == 1
then
0AB1: @Find_object 10 Object number 3@ Display_offset 30@ Color 0xF7F694 blinkingStatus 8@ higher border 4@ font 23@ xy 24@ 25@ alignment 6@ disp_off2 10@ 
005A: 30@ += 14@  // (int)
//30@ += 43
end

call @ReadArray 2 ARRAY index 1 _ret isactive 2@ lower_bord 3@ higher_bord 4@
if 2@ == 1
then
0AB1: @Find_object 10 Object number 3@ Display_offset 30@ Color 0xFF4800 blinkingStatus 8@ 4@ font 23@ xy 24@ 25@ alignment 6@ disp_off2 10@ 
005A: 30@ += 14@  // (int)
//30@ += 43
end

call @ReadArray 2 ARRAY index 2 _ret isactive 2@ lower_bord 3@ higher_bord 4@
if 2@ == 1
then
0AB1: @Find_object 10 Object number 3@ Display_offset 30@ Color 0x00C8FF blinkingStatus 8@ 4@ font 23@ xy 24@ 25@ alignment 6@ disp_off2 10@
005A: 30@ += 14@  // (int)
//30@ += 43
end

call @ReadArray 2 ARRAY index 3 _ret isactive 2@ lower_bord 3@ higher_bord 4@
if 2@ == 1
then
0AB1: @Find_object 10 Object number 3@ Display_offset 30@ Color 0xD900FF blinkingStatus 8@ 4@ font 23@ xy 24@ 25@ alignment 6@ disp_off2 10@ 
005A: 30@ += 14@  // (int)
//30@ += 43
end

call @ReadArray 2 ARRAY index 4 _ret isactive 2@ lower_bord 3@ higher_bord 4@
if 2@ == 1
then
0AB1: @Find_object 10 Object number 3@ Display_offset 30@ Color 0x1EFF00 blinkingStatus 8@ 4@ font 23@ xy 24@ 25@ alignment 6@ disp_off2 10@
005A: 30@ += 14@  // (int)
//30@ += 43
end

call @ReadArray 2 ARRAY index 5 _ret isactive 2@ lower_bord 3@ higher_bord 4@
if 2@ == 1
then
0AB1: @Find_object 10 Object number 3@ Display_offset 30@ Color 0xFFFFFF blinkingStatus 8@ 4@ font 23@ xy 24@ 25@ alignment 6@ disp_off2 10@ 
005A: 30@ += 14@  // (int)
//30@ += 43
end

each "@Find_object" call has a different color as a parameter, the calls are in this order:
Code:
//yellow
//red
//blue
//violet
//green
//white

if you want to change yellow you'd have to change this "Color 0xF7F694" into any other value in the following line:
Code:
0AB1: @Find_object 10 Object number 3@ Display_offset 30@ Color 0xF7F694 blinkingStatus 8@ higher border 4@ font 23@ xy 24@ 25@ alignment 6@ disp_off2 10@


btw
The reason i asked you the big map for if the dots in the minimap get revmoed that the yellow markers on the big map stay on.
what do you mean?



In certian areas of San Andreas the objects get desynced till you move out of that certian area.
This could be caused by limiting the maximum number of objects that can be found... When you limit them it doesn't scan through all + sort depending on closest distance + display the closest ones. Instead it scans through the memory for any objects at any distances and when you move around then the different objects get omitted due to the limit and it seems that some appear/disappear
 

Fhs

New member
Joined
Apr 20, 2015
Messages
4
Reaction score
0
Object finder is very nice,but i wanna see objects that are very far away ,at 700m distance for example.Can you do something like this?
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
@Fhs
impossibru I'm afraid
max distance of this mod depends on the server's streaming distance
 

qICEp

Member
Joined
Oct 5, 2014
Messages
13
Reaction score
0
Very nice thing, a bit messy on smaller screens like mine but at least we can configure it from in game without the need to quit and edit cfg/ini files.
And by the way i have noticed one small thing, these cleo does not render (only) samp objects, it also renders gta objects, just keep that in mind when using it (maybe its good idea to put a note in a first post about these).
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
@qICEp
it used to find only samp objects but it didn't detect pickups, so instead of looping through samp objects+pickups it just goes through all gta objects. I'd add a note but the forum is messed up little bit, every time you edit a post in cleo section it has to be approved by a moderator (even if it's just a comment)

@Tuziukas
the trolling mod is old, it was made for 0.3z version (object finder christmas edition too), also a lot of servers developed
 

Min

Well-known member
Joined
Jun 13, 2014
Messages
220
Reaction score
1
Does it still work ?  :surprised:
It's been long time since i play SAMP so i'm not sure.  :sadpepe:
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
@Min
only the object finder works under 0.3.7 version
 
Status
Not open for further replies.
Top