Snippets

Hello UGBASE, Just wanted to share a C++ snippet for enabling zombie mode on the local player. For those who don’t know what zombie mode is (mostly used with RakNet bots): It’s when a player or bot appears with a ping of 4294967295, an “unbannable” IP address, and remains in a semi-disconnected state — for lack of a better term. I managed to get it working for the local player. Not sure if this has already been released somewhere — I’m pretty sure it has, since there’s not much difference between this version and the typical bot zombie mode. // TERakClient pointer, GetInterface() method returns original g_SAMP->pRakClientInterface if (te_sdk::LocalClient) { static unsigned int binaryAddress = 0; static unsigned short port =...
Top