Map Stealer related
#11

Quote:
Originally Posted by SturtIndia
Посмотреть сообщение
I am not allow to share the mod.
EDIT: Source <Removed>
The source and the compiled version are on the first page of ******, if anyone wanted it. It's there quite frankly.

You could possibly work around this by sending the data in three packets (as I've looked at the source of the MOST popular one). The most popular one attacks the packet directly, and doesn't respond to SetObjectPos() or SetObjectRot packets.

https://sampwiki.blast.hk/wiki/SetObjectPos
https://sampwiki.blast.hk/wiki/SetObjectRot

Therefore you could, possibly create your own functions to prevent the most popular one getting the information:

pawn Код:
CreateServerObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance = 200.00)
{
     new Object = CreateObject(modeid, 0, 0, 0, 0, 0, 0, 200.00);
     SetObjectPost(Object, X, Y, Z);
     SetObjectRot(Object, rX, rY, rZ);
     return 1;
}
That should work you can also use a define to make your currant objects, and your streamer also use this function. Keep in mind the streamer may not go back to the script to create the object, which would make this useless for streamed objects. Although you could try, but the define would need to be above the include!

pawn Код:
#if defined _ALS_CreateObject
    #undef CreateObject
#else
    #define _ALS_CreateObject
#endif
#define CreateObject CreateServerObject
Keep in mind however, this WILL NOT work, with the alternatives out there. This is because others seem to extract the information from the objects after they are streamed in by players. This means the positions are correct, on the bright side this one which seems more popular will no longer work.
Reply


Messages In This Thread
Map Stealer related - by biker122 - 21.09.2014, 12:37
Re: Map Stealer related - by biker122 - 21.09.2014, 14:23
Re: Map Stealer related - by Rudy_ - 21.09.2014, 14:25
Re: Map Stealer related - by rymax99 - 21.09.2014, 14:26
Re: Map Stealer related - by Pottus - 21.09.2014, 14:33
Re: Map Stealer related - by IceCube! - 21.09.2014, 14:34
Re: Map Stealer related - by biker122 - 21.09.2014, 15:24
Re: Map Stealer related - by Jimmy0wns - 21.09.2014, 15:26
Re: Map Stealer related - by KayJ - 21.09.2014, 15:56
Re: Map Stealer related - by TakeiT - 21.09.2014, 16:15
Re: Map Stealer related - by IceCube! - 21.09.2014, 16:23
Re: Map Stealer related - by rymax99 - 21.09.2014, 16:25
Re: Map Stealer related - by Pottus - 21.09.2014, 16:25
Re: Map Stealer related - by Dignity - 21.09.2014, 16:27
Re: Map Stealer related - by IceCube! - 21.09.2014, 16:28
Re: Map Stealer related - by Rudy_ - 21.09.2014, 16:31
Re: Map Stealer related - by IceCube! - 21.09.2014, 16:33

Forum Jump:


Users browsing this thread: 3 Guest(s)