Warsow related programming
Sticky Threads
just wh and a drawtext /* Warsow 0.50 BaseHooK by King-orgy Credits:gamedeception.net,ida,Ang3l,warsow SDK and everyone i vergot :( */
i think not much people mess with warsow at all, but i was bored of cs and started with warsow and this is the result ;p used game and sdk version: 0.42 Readme: :::::::::::::::::::::::::::::::::: :: Warsow I-Base v1 by I-Candy :::::::::::::::::::::::::::::::::: :: features:
For Warsow Version 0.5 bool isVisible( vec3_t point ) { trace_t t; glob->Trace(&t,w_cg->view.origin, vec3_origin, vec3_origin,point, -1 , MASK_OPAQUE ); return ( t.fraction == 1.0f ); }
for(int i = 0; i < MAX_CLIENTS; i++) { if(i == pcgs->playerNum || i == pcg->chasedNum) continue; centity_t *cent = cg_entities + i + 1; if(!cent->current.modelindex) continue; vec3_t dir = {0, 0, 0}; VectorSubtract(cent->ent.origin, pcg->refdef.vieworg, dir); if( DotProduct(dir,...
Title says all, this isn't the best way to do it though. I think h1web sorted a better method but thats entirely up to him. Word of warning, this is abosolutely lethal! If you know how to properly strafe jump and use the various ramps in the maps, you can go so fucking fast. static bool...
void Hooked_R_AddEntityToScene(entity_t *ent) { if(ent->model && strstr((char*)ent->model,"players/")) if(ent->customShader) ent->customShader->passes->depthfunc = 0x207; ocg_import.R_AddEntityToScene(ent); } void Hooked_CG_AddPlayerEnt(centity_t * cent)
void R_AddEntityToScene(entity_t *ent) { if(cvWallhack->value == 1) { char *pszModel = (char*)ent->model; if(pszModel && strstr(pszModel,"models/players/")) ent->flags |= RF_WEAPONMODEL; }
Weapons esp : const char *szWeapons = { {"NONE"}, //0 {"GunBlade"}, //1 {"ShockWave"}, //2 {"RiotGun"}, //3 {"GrenadeLauncher"}, //4 {"RocketLauncher"}, //5 {"PlasmaGun"}, //6
Here is the assembly to CG_Init, which is good for getting the cg, cgs, and cg_entities pointers. I gave it some extra comments which you might find useful. Executable modules, item 4 Base=0DF60000 Size=000FE000 (1040384.) Entry=0DF995E3 game_x86.<ModuleEntryPoint> Name=game_x86
cvar_t * pCvar = (cvar_t*)0x994F98; // you should be able to find a better way as a static offset static bool bDone; if(!bDone) { do { if(pCvar->flags & CVAR_CHEAT) pCvar->flags &=~ CVAR_CHEAT; } while(pCvar = pCvar->next);
Well, whilst I realise this has been done-to-death, I like to try things my own way. This project comes with a basic wrapper class for using the Drx registers for hardware breakpointing. The project is an example of the hooking for the game Warsow, but this can be used on anything. You need to...
Well, i'm still learning so don't bite my head off if this is a stupid way of doing it centity_t *cent; int pnum; vec3_t dir = {0, 0, 0}; vec2_t coords = {0, 0}; for( pnum = 0; pnum < pcg->frame.numEntities; pnum++) {
I made this basically because I was bored. It's not that great but here's the code anyway in light of bringing some new traffic to G-D. void R_RenderScene(refdef_t *fd) { // Call original first gImports.R_RenderScene(fd); refdef_t Render; // We create our own because the sound...
*edit* optimized it a bit nothing special just some saystats. hooking for(;psvcmd->name;psvcmd++) { if(!strcmp("obry", psvcmd->name))
*edited* void Hooked_S_StartSound(vec3_t origin, int entnum, int entchannel, struct sfx_s *sfx, float fvol, float attenuation, float timeofs ) { if(entnum != pcg->chasedNum + 1 && entnum != pcgs->playerNum +1 ) { while(sound_ent.die > pcg->time) { if(iSIndex<MAX_SINDEX)...
works for battleeye detour LoadGameLibrary, remove your detour before you return, apply your detour again in your hooked Shutdown. void * Hooked_Sys_LoadGameLibrary( gamelib_t gamelib, void *parms ) { void * Ret = (*pSys_LoadGameLibrary)(gamelib,parms); cg_export =...
Normal Threads
when i try to inject a simple messagebox-dll into the warsow process nothing happens but GetLastError returns 0x5 and the function OpenProcess returns 0 as handle. my loaders works with other games like cs and with version 0.42 it worked fine but on version 0.5 it fails. i have win7 x64 if that...
hey i cant fucking find that dll. When debugging with olly or ida and setting breakpoints on some win APIS like LoadLibrary, GetModuleHandle, GetProcAddress the dll does not appear. I hope someone can help me. Does this dll contain GetGameApis? because thats what im looking for, i want to hook this...
Hi, after i saw BIGmAc's great hack i tryed to code his QuadChams for 0.5 because i previously skinned the players with a colored Fullbright skin and i never liked it at all. So basically i copied his OpenGL Hooks and the R_RenderMeshBuffer Hook what tells me when a player is drawn. So i...
hey would you mind giving me a hand with the mcHook, i copied all the stuff over into the folder. and i tried to inject the dll but it says "exe protected" or something like that. also i dont know how to code, but i can compile, so if someone gives me a code plz say what language it is. im new at...
I post some code for people who want start to code a warsow cheat (for warsow 0.21) Cg , Cgs , Cg_Entities : pCg = ( cg_state_t * )( (DWORD)getCgame_x86Base() + (DWORD)0x1B8200 ); pCgs = ( cg_static_t * )( (DWORD)getCgame_x86Base() + (DWORD)0x186BC0 ); pCg_Entities = ( centity_t * )(...
PITCH: dword ptr ds: YAW: dword ptr ds: ROLL: dword ptr ds: in the main wsw exe 3 floats beware though, PITCH changes more than 90 degrees, are reset to 90deg changes! i'm sure you can find that ;)
There are currently 1 users browsing this forum. (0 members & 1 guests)
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.
Forum Rules