mistery said:nice thanks for trying with that script
i couldn't make it work either
i belive there are private versions of this, but they won't be released anytime soon...maybe never
Any ideas ? Have u tried my code ?mistery said:nice thanks for trying with that script
i couldn't make it work either
i belive there are private versions of this, but they won't be released anytime soon...maybe never
WTF language is that ? I need help ? Please post your code so everybody could talk about this stupid ideas to making a stupid cleo ?RyanCollier said:Topic nào của ng nước ngoài hay của t hay của bất cứ ai cũng có vết răng mày vậy chó ?WillSay said:Máy thanh niên VN clone vào làm trò màu
It should work then u shooting or aiming am i right?_C1ph3r_ said:Hi all, i was trying to make something called "Spec Warning"... and it here but seems like it doesn't work
I've done many research on this project and i found that to detect the admin while they're watching u must have this steps
Step 1: Fake location, coordinates
Step 2: Loop Step 1
Step 3: Check !
Step 4: Print or add message on the screen so the user could realize that they're being watched by admin
Download: In Attachment ( For someone who want to try it )
And i made this from a mess with Snippets, old code, scratch...
Here is the code, could someone give me ideas or check if it work...
Code:{$CLEO .cs} 0B34: "warningspec" @AntiSpec 0BE2: raknet setup_outcoming_packet_hook @packet_manage thread "_C1ph3r_" 0000: NOP 9@ = 0 10@ = 0 :AntiSpecLoop wait 0 if 9@ == 1 then if or key_down 2 key_down 1 then Actor.StorePos($PLAYER_ACTOR, 0@, 1@, 2@) call @SendFakeSpecSync 3 0@ 1@ 2@ 0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to $asd closest_ped_to 18@ if and 056D: actor 18@ defined 00EC: actor 18@ sphere 0 near_point 0@ 1@ radius 4.0 4.0 then actor.StorePos(18@, 4@ , 5@ ,6@) 050A: 7@ = distance_between_XYZ 0@ 1@ 2@ and_XYZ 4@ 5@ 6@ if 7@ < 4.0 then 0AF8: samp add_message_to_chat "{FF0000}WARNING!!!: Player %d is watching you" 18@ 0AF8: samp add_message_to_chat "{FF0000}Last Distance: %d" 7@ wait 100 end end end end jump @AntiSpecLoop :AntiSpec if 9@ == 0 then wait 1000 printf "~b~SpecWarning by _C1ph3r_ ~r~ON~b~!" time 1500 wait 1750 9@ = 1 else wait 1000 printf "~b~SpecWarning by _C1ph3r_ ~r~OFF~b~!" time 1500 wait 1750 9@ = 0 end SAMP.CmdRet :SendFakeSpecSync Actor.StorePos($PLAYER_ACTOR, 0@, 1@, 2@) alloc 3@ 18 0C0D: struct 3@ offset 0 size 2 = 0 // sLeftRightKeys; 0C0D: struct 3@ offset 2 size 2 = 0 // sUpDownKeys; 0C0D: struct 3@ offset 4 size 2 = 0 // sKeys; 0C0D: struct 3@ offset 6 size 4 = 0@ //fPosition[X]; 0C0D: struct 3@ offset 10 size 4 = 1@ // fPosition[Y]; 0C0D: struct 3@ offset 14 size 4 = 2@ //fPosition[Z]; 0B3D: raknet 4@ = new_bit_stream 0B40: raknet bit_stream 4@ write 212 type 0 size 1 0B40: raknet bit_stream 4@ write 3@ type 5 size 18 0B8B: raknet send bit_stream 4@ 0B3E: raknet delete_bit_stream 4@ free 3@ ret 0 :packet_manage 0BE5: raknet 1@ = get_hook_param 1 if and 9@ == 1 1@ == 200 then if 10@ == 0 then 0BE0: raknet hook_ret false else 0BE0: raknet hook_ret true end else 0BE0: raknet hook_ret true end if and 9@ == 1 1@ == 207 then if 10@ == 0 then 0BE0: raknet hook_ret false else 0BE0: raknet hook_ret true end else 0BE0: raknet hook_ret true end
Thanks for reading !
No you wrong !mistery said:yeah but the big problem is that the spectator can(and will)change his camera position while spectating someone,thus this will never work,look i explain:
if you are somewhere random on the map and there are many players around you(like in russian 1000/1000 servers) and someone is spectating you,the script will take the closest ped from those many peds that are around you,you don't know if the script takes the spectator as the closest ped.Chances are it will not.
also,let's say that by miracle the script choses the spectator as the closest ped.Then what? the spectator will move his mouse and will move the camera,and next time you will try the script it won't take the spectator again..
if you wanna test this alone with a friend that spectates you,then it might detect it as spectator,but if you wanna use it on big servers...no way
No, As u can see in my code:Edvincik said:It should work then u shooting or aiming am i right?_C1ph3r_ said:Hi all, i was trying to make something called "Spec Warning"... and it here but seems like it doesn't work
I've done many research on this project and i found that to detect the admin while they're watching u must have this steps
Step 1: Fake location, coordinates
Step 2: Loop Step 1
Step 3: Check !
Step 4: Print or add message on the screen so the user could realize that they're being watched by admin
Download: In Attachment ( For someone who want to try it )
And i made this from a mess with Snippets, old code, scratch...
Here is the code, could someone give me ideas or check if it work...
Code:{$CLEO .cs} 0B34: "warningspec" @AntiSpec 0BE2: raknet setup_outcoming_packet_hook @packet_manage thread "_C1ph3r_" 0000: NOP 9@ = 0 10@ = 0 :AntiSpecLoop wait 0 if 9@ == 1 then if or key_down 2 key_down 1 then Actor.StorePos($PLAYER_ACTOR, 0@, 1@, 2@) call @SendFakeSpecSync 3 0@ 1@ 2@ 0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to $asd closest_ped_to 18@ if and 056D: actor 18@ defined 00EC: actor 18@ sphere 0 near_point 0@ 1@ radius 4.0 4.0 then actor.StorePos(18@, 4@ , 5@ ,6@) 050A: 7@ = distance_between_XYZ 0@ 1@ 2@ and_XYZ 4@ 5@ 6@ if 7@ < 4.0 then 0AF8: samp add_message_to_chat "{FF0000}WARNING!!!: Player %d is watching you" 18@ 0AF8: samp add_message_to_chat "{FF0000}Last Distance: %d" 7@ wait 100 end end end end jump @AntiSpecLoop :AntiSpec if 9@ == 0 then wait 1000 printf "~b~SpecWarning by _C1ph3r_ ~r~ON~b~!" time 1500 wait 1750 9@ = 1 else wait 1000 printf "~b~SpecWarning by _C1ph3r_ ~r~OFF~b~!" time 1500 wait 1750 9@ = 0 end SAMP.CmdRet :SendFakeSpecSync Actor.StorePos($PLAYER_ACTOR, 0@, 1@, 2@) alloc 3@ 18 0C0D: struct 3@ offset 0 size 2 = 0 // sLeftRightKeys; 0C0D: struct 3@ offset 2 size 2 = 0 // sUpDownKeys; 0C0D: struct 3@ offset 4 size 2 = 0 // sKeys; 0C0D: struct 3@ offset 6 size 4 = 0@ //fPosition[X]; 0C0D: struct 3@ offset 10 size 4 = 1@ // fPosition[Y]; 0C0D: struct 3@ offset 14 size 4 = 2@ //fPosition[Z]; 0B3D: raknet 4@ = new_bit_stream 0B40: raknet bit_stream 4@ write 212 type 0 size 1 0B40: raknet bit_stream 4@ write 3@ type 5 size 18 0B8B: raknet send bit_stream 4@ 0B3E: raknet delete_bit_stream 4@ free 3@ ret 0 :packet_manage 0BE5: raknet 1@ = get_hook_param 1 if and 9@ == 1 1@ == 200 then if 10@ == 0 then 0BE0: raknet hook_ret false else 0BE0: raknet hook_ret true end else 0BE0: raknet hook_ret true end if and 9@ == 1 1@ == 207 then if 10@ == 0 then 0BE0: raknet hook_ret false else 0BE0: raknet hook_ret true end else 0BE0: raknet hook_ret true end
Thanks for reading !
Talking about this code
0B34: "warningspec" @AntiSpec
_C1ph3r_ said:No you wrong !mistery said:yeah but the big problem is that the spectator can(and will)change his camera position while spectating someone,thus this will never work,look i explain:
if you are somewhere random on the map and there are many players around you(like in russian 1000/1000 servers) and someone is spectating you,the script will take the closest ped from those many peds that are around you,you don't know if the script takes the spectator as the closest ped.Chances are it will not.
also,let's say that by miracle the script choses the spectator as the closest ped.Then what? the spectator will move his mouse and will move the camera,and next time you will try the script it won't take the spectator again..
if you wanna test this alone with a friend that spectates you,then it might detect it as spectator,but if you wanna use it on big servers...no way
When the admin start to write /spec
the camera position will set at my ped and it's default so it will have the closest distance about 3-4 metres from my actor ped and the script is fast enough to detect it !
For the second problem ( 1000/1000 players ) You could increase it by adding a list of admins so the script just check the name of Ped in your list ( .ini ) And it could be able to work !
Big server is okay ! i'm working with my friend in NGG Gaming
No, As u can see in my code:Edvincik said:It should work then u shooting or aiming am i right?_C1ph3r_ said:Hi all, i was trying to make something called "Spec Warning"... and it here but seems like it doesn't work
I've done many research on this project and i found that to detect the admin while they're watching u must have this steps
Step 1: Fake location, coordinates
Step 2: Loop Step 1
Step 3: Check !
Step 4: Print or add message on the screen so the user could realize that they're being watched by admin
Download: In Attachment ( For someone who want to try it )
And i made this from a mess with Snippets, old code, scratch...
Here is the code, could someone give me ideas or check if it work...
Code:{$CLEO .cs} 0B34: "warningspec" @AntiSpec 0BE2: raknet setup_outcoming_packet_hook @packet_manage thread "_C1ph3r_" 0000: NOP 9@ = 0 10@ = 0 :AntiSpecLoop wait 0 if 9@ == 1 then if or key_down 2 key_down 1 then Actor.StorePos($PLAYER_ACTOR, 0@, 1@, 2@) call @SendFakeSpecSync 3 0@ 1@ 2@ 0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to $asd closest_ped_to 18@ if and 056D: actor 18@ defined 00EC: actor 18@ sphere 0 near_point 0@ 1@ radius 4.0 4.0 then actor.StorePos(18@, 4@ , 5@ ,6@) 050A: 7@ = distance_between_XYZ 0@ 1@ 2@ and_XYZ 4@ 5@ 6@ if 7@ < 4.0 then 0AF8: samp add_message_to_chat "{FF0000}WARNING!!!: Player %d is watching you" 18@ 0AF8: samp add_message_to_chat "{FF0000}Last Distance: %d" 7@ wait 100 end end end end jump @AntiSpecLoop :AntiSpec if 9@ == 0 then wait 1000 printf "~b~SpecWarning by _C1ph3r_ ~r~ON~b~!" time 1500 wait 1750 9@ = 1 else wait 1000 printf "~b~SpecWarning by _C1ph3r_ ~r~OFF~b~!" time 1500 wait 1750 9@ = 0 end SAMP.CmdRet :SendFakeSpecSync Actor.StorePos($PLAYER_ACTOR, 0@, 1@, 2@) alloc 3@ 18 0C0D: struct 3@ offset 0 size 2 = 0 // sLeftRightKeys; 0C0D: struct 3@ offset 2 size 2 = 0 // sUpDownKeys; 0C0D: struct 3@ offset 4 size 2 = 0 // sKeys; 0C0D: struct 3@ offset 6 size 4 = 0@ //fPosition[X]; 0C0D: struct 3@ offset 10 size 4 = 1@ // fPosition[Y]; 0C0D: struct 3@ offset 14 size 4 = 2@ //fPosition[Z]; 0B3D: raknet 4@ = new_bit_stream 0B40: raknet bit_stream 4@ write 212 type 0 size 1 0B40: raknet bit_stream 4@ write 3@ type 5 size 18 0B8B: raknet send bit_stream 4@ 0B3E: raknet delete_bit_stream 4@ free 3@ ret 0 :packet_manage 0BE5: raknet 1@ = get_hook_param 1 if and 9@ == 1 1@ == 200 then if 10@ == 0 then 0BE0: raknet hook_ret false else 0BE0: raknet hook_ret true end else 0BE0: raknet hook_ret true end if and 9@ == 1 1@ == 207 then if 10@ == 0 then 0BE0: raknet hook_ret false else 0BE0: raknet hook_ret true end else 0BE0: raknet hook_ret true end
Thanks for reading !
Talking about this code
when u type /warningspec
Code:0B34: "warningspec" @AntiSpec
the script start to change 9@ 10@ to 1 so the script is actived and start to fake the coordinate, location ( Pos ) and loop the check if anyone is near you
_C1ph3r_ said:No you wrong !mistery said:yeah but the big problem is that the spectator can(and will)change his camera position while spectating someone,thus this will never work,look i explain:
if you are somewhere random on the map and there are many players around you(like in russian 1000/1000 servers) and someone is spectating you,the script will take the closest ped from those many peds that are around you,you don't know if the script takes the spectator as the closest ped.Chances are it will not.
also,let's say that by miracle the script choses the spectator as the closest ped.Then what? the spectator will move his mouse and will move the camera,and next time you will try the script it won't take the spectator again..
if you wanna test this alone with a friend that spectates you,then it might detect it as spectator,but if you wanna use it on big servers...no way
When the admin start to write /spec
the camera position will set at my ped and it's default so it will have the closest distance about 3-4 metres from my actor ped and the script is fast enough to detect it !
For the second problem ( 1000/1000 players ) You could increase it by adding a list of admins so the script just check the name of Ped in your list ( .ini ) And it could be able to work !
Big server is okay ! i'm working with my friend in NGG Gaming
No, As u can see in my code:Edvincik said:It should work then u shooting or aiming am i right?_C1ph3r_ said:Hi all, i was trying to make something called "Spec Warning"... and it here but seems like it doesn't work
I've done many research on this project and i found that to detect the admin while they're watching u must have this steps
Step 1: Fake location, coordinates
Step 2: Loop Step 1
Step 3: Check !
Step 4: Print or add message on the screen so the user could realize that they're being watched by admin
Download: In Attachment ( For someone who want to try it )
And i made this from a mess with Snippets, old code, scratch...
Here is the code, could someone give me ideas or check if it work...
Code:{$CLEO .cs} 0B34: "warningspec" @AntiSpec 0BE2: raknet setup_outcoming_packet_hook @packet_manage thread "_C1ph3r_" 0000: NOP 9@ = 0 10@ = 0 :AntiSpecLoop wait 0 if 9@ == 1 then if or key_down 2 key_down 1 then Actor.StorePos($PLAYER_ACTOR, 0@, 1@, 2@) call @SendFakeSpecSync 3 0@ 1@ 2@ 0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to $asd closest_ped_to 18@ if and 056D: actor 18@ defined 00EC: actor 18@ sphere 0 near_point 0@ 1@ radius 4.0 4.0 then actor.StorePos(18@, 4@ , 5@ ,6@) 050A: 7@ = distance_between_XYZ 0@ 1@ 2@ and_XYZ 4@ 5@ 6@ if 7@ < 4.0 then 0AF8: samp add_message_to_chat "{FF0000}WARNING!!!: Player %d is watching you" 18@ 0AF8: samp add_message_to_chat "{FF0000}Last Distance: %d" 7@ wait 100 end end end end jump @AntiSpecLoop :AntiSpec if 9@ == 0 then wait 1000 printf "~b~SpecWarning by _C1ph3r_ ~r~ON~b~!" time 1500 wait 1750 9@ = 1 else wait 1000 printf "~b~SpecWarning by _C1ph3r_ ~r~OFF~b~!" time 1500 wait 1750 9@ = 0 end SAMP.CmdRet :SendFakeSpecSync Actor.StorePos($PLAYER_ACTOR, 0@, 1@, 2@) alloc 3@ 18 0C0D: struct 3@ offset 0 size 2 = 0 // sLeftRightKeys; 0C0D: struct 3@ offset 2 size 2 = 0 // sUpDownKeys; 0C0D: struct 3@ offset 4 size 2 = 0 // sKeys; 0C0D: struct 3@ offset 6 size 4 = 0@ //fPosition[X]; 0C0D: struct 3@ offset 10 size 4 = 1@ // fPosition[Y]; 0C0D: struct 3@ offset 14 size 4 = 2@ //fPosition[Z]; 0B3D: raknet 4@ = new_bit_stream 0B40: raknet bit_stream 4@ write 212 type 0 size 1 0B40: raknet bit_stream 4@ write 3@ type 5 size 18 0B8B: raknet send bit_stream 4@ 0B3E: raknet delete_bit_stream 4@ free 3@ ret 0 :packet_manage 0BE5: raknet 1@ = get_hook_param 1 if and 9@ == 1 1@ == 200 then if 10@ == 0 then 0BE0: raknet hook_ret false else 0BE0: raknet hook_ret true end else 0BE0: raknet hook_ret true end if and 9@ == 1 1@ == 207 then if 10@ == 0 then 0BE0: raknet hook_ret false else 0BE0: raknet hook_ret true end else 0BE0: raknet hook_ret true end
Thanks for reading !
Talking about this code
when u type /warningspec
Code:0B34: "warningspec" @AntiSpec
the script start to change 9@ 10@ to 1 so the script is actived and start to fake the coordinate, location ( Pos ) and loop the check if anyone is near you
_C1ph3r_ said:Yeah, i just don't have time to check it out ! So please test it and give me the result if it work or not ! So i could change and make it better
also if u have any ideas just tell me !
Could possible ! But it depends on which cleo does that player useEdvincik said:_C1ph3r_ said:Yeah, i just don't have time to check it out ! So please test it and give me the result if it work or not ! So i could change and make it better
also if u have any ideas just tell me !
For example if it would work is it possible to somehow dont take player if its near u but visible,just warn u when it near u and invisible
Ryancollier reply:"Youth VN machine as a game clone color"
Willsay reply:"Topic of Foreign ng of t or of anyone with this eyebrow dog teeth marks?"
"Stick your ears rather unfortunately nien VN xam ash cans colors representing nen lam itchy eyes due ma =)) clone roi tu tu lap topic rep cmt =)))))))))"
Ryancollier reply:"Youth too large gray machine clone reduce household oi =)) self clone themselves as strangers rep cmt not see shame =))))"
Willsay reply:"Clone Smile))) vc Comedy, apple also where the fuck wants to speak Vietnamese, asked her to watch ngta topic to cooperate well done fuck, bold eyebrows Vietnam blood too! Easter, young buffalo came from within facebook ugbase Smile"
"UA in Fb I have nc with you why I do not know, huh ha back "milk Harrows" =)))))) 2003 hihi you do not know who is spreading rumors in 2003 and then my friend))"
So what should i do ? Do you have any ideas better than this dummy topic ? Please give me ideas so i could train my skillsspringfield said:There is no player actor created for the spec person, so searching for the closest ped, near ped etc. doesn't help with anything.
... Please, reply me, i need your help to make thisspringfield said:There is no player actor created for the spec person, so searching for the closest ped, near ped etc. doesn't help with anything.
Maybe it's impossible ( at least now ? )springfield said:I don't know if there's a way to detect it, never tried. But i know there's no updates from the spectating player, neither is he streamed, so lookin' for the ped is no help.
Edvincik said:Maybe we can somehow check distance between ourself and spectator, for example in the server where i am playing is command to follow player, and for example if you are following him and random distance like 0.58km between us if he starts spectating me distance lowers to 0.00km and maybe warning could apear if distance between players changes to 0.00km?
Nope ! Roleplay server won't show player icon on radar when the spectator is watching u !mistery said:Edvincik said:Maybe we can somehow check distance between ourself and spectator, for example in the server where i am playing is command to follow player, and for example if you are following him and random distance like 0.58km between us if he starts spectating me distance lowers to 0.00km and maybe warning could apear if distance between players changes to 0.00km?
nope,same as above
i wonder if there's any way to check the radar and see if a player's square dissapears...maybe this would be the solution?
or maybe...hmm...got an idea
CMD:spec(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 2 && PlayerInfo[playerid][pHelper] < 3 && !GetPVarType(playerid, "pWatchdogWatching"))
{
SendClientMessageEx(playerid, COLOR_GREY, "You don't have permission to use this command.");
return 1;
}
if(strcmp(params, "off", true) == 0)
{
if(Spectating[playerid] > 0 && PlayerInfo[playerid][pAdmin] >= 2 || PlayerInfo[playerid][pHelper] >= 3 && Spectating[playerid] > 0)
{
if(GetPVarType(playerid, "pWatchdogWatching"))
{
SendClientMessage(playerid, COLOR_WHITE, "You have stopped DM Watching.");
DeletePVar(playerid, "pWatchdogWatching");
}
GettingSpectated[Spectate[playerid]] = INVALID_PLAYER_ID;
Spectating[playerid] = 0;
Spectate[playerid] = INVALID_PLAYER_ID;
SetPVarInt(playerid, "SpecOff", 1 );
TogglePlayerSpectating(playerid, false);
SetCameraBehindPlayer(playerid);
return 1;
}
else
{
SendClientMessageEx(playerid, COLOR_GREY, "You're not spectating anyone.");
return 1;
}
}
new giveplayerid;
if(sscanf(params, "u", giveplayerid)) return SendClientMessageEx(playerid, COLOR_GREY, "Usage: /spec (playerid/off)");
if(IsPlayerConnected(giveplayerid))
{
if((PlayerInfo[playerid][pHelper] >= 3 && !(2 <= PlayerInfo[giveplayerid][pHelper] <= 4)) && !GetPVarType(playerid, "pWatchdogWatching"))
{
SendClientMessageEx(playerid, COLOR_GREY, "You can only spectate other advisors");
return 1;
}
if(GetPVarType(playerid, "pWatchdogWatching") && (GetPVarInt(playerid, "pWatchdogWatching") != giveplayerid))
{
SendClientMessageEx(playerid, COLOR_GREY, "You can only spectate the person you are DM Watching.");
return 1;
}
if(PlayerInfo[giveplayerid][pAdmin] == 99999 && !GetPVarType(giveplayerid, "EASpecable")) return SendClientMessageEx(playerid, COLOR_WHITE, "You cannot spectate this person.");
if(PlayerInfo[playerid][pAdmin] >= 4 && Spectate[giveplayerid] != INVALID_PLAYER_ID && Spectating[giveplayerid] == 1)
{
new string[128];
format(string, sizeof(string), "Admin %s is speccing %s", GetPlayerNameEx(giveplayerid), GetPlayerNameEx(Spectate[giveplayerid]));
SendClientMessageEx(playerid, COLOR_GREEN, string);
return 1;
}
SpectatePlayer(playerid, giveplayerid);
}
else
{
SendClientMessageEx(playerid, COLOR_WHITE, "Target is not available.");
}
return 1;
}