just add it directly with player addmagazine and forget the fancy menu
hello ,i did a battleye bypass in the source folder using sd' survival hack 2.7, it works , i can join a game , spawn myself some weapons / local vehicules but when i try to spawn myself some ammo , it kicks me for create vehicule restriction , i tried to change the ammo in local ammo , but didnt work. Here is what i changed in the main.ccp file:
how can i change the magazines in local ?
unsigned int stopWorker = 0;
unsigned int fileWorker = spawner.MakeFileServerThread(&stopWorker,game);
unsigned int renderWorkerThreadId = game.GetThreadIdByEip(spawner.GetRenderEip());
unsigned int weapFun = !numweap ? 0 : spawner.MakeRemoteAddWeaponFunc( weapons,numweap,game);
unsigned int magsFun = !nummags ? 0 : spawner.MakeRemoteAddMagazineLocalFunc( mags,nummags,game);
unsigned int vehicFun = !vehic ? 0 : spawner.MakeRemoteCreateVehicleLocal( vehic,game);
case 18:
{
std::string mag;
unsigned int count;
cout << "Magazine: ";
cin >> mag;
cout << "Amount (1-20): ";
cin >> count;
if(count > 20) count = 20;
if(!count) count = 1;
const char ** mags = new const char*[count];
for(unsigned int i = 0; i < count; ++i)
mags[i] = mag.c_str();
SpawnWeapMagsVehic(textsize,base_module,kernel32,w s32,kernel,ntdll,spawner,game,0,0,mags,count,NULL) ;
delete[] mags;
}
Last edited by Spookyz; 10-10-2012 at 06:25 PM.
just add it directly with player addmagazine and forget the fancy menu
that's the problem , when you press 18 to spawn magazine , battleye kicks you for create vehicule restriction , what i want is to spawn local ammo in my inventory or on the floor , i don't care but i need it local
---------- Post added at 07:07 AM ---------- Previous post was at 06:39 AM ----------
i've made it works, got to change evrey values where you see spawnmagazineFunc in spawnmagazineLocal and it will work ,
/threadclosed