here a fixed
Hey guys i made a STW, and i tested on TUT camp, it just worked fine, but after 4 shoots it gave me error o.0
or maybe my mistake ....
code:
Code:if (stw) if(CShell+WallMgr) { for(int i=0; i<563; i++) { if((*(DWORD*)((*(DWORD*)(CShell+WallMgr))+(4*i))) != NULL ) *(bool*)((*(DWORD*)((CShell+WallMgr))+(4*i)+0x4F0 )) = true; *(bool*)((*(DWORD*)((CShell+WallMgr))+(4*i)+0x4EC )) = true; *(bool*)((*(DWORD*)((CShell+WallMgr))+(4*i)+0x4E8 )) = true; } }
Last edited by [I]Tfrix; 12-01-2011 at 09:04 AM.
Code:if ( stw ) { if (pWallMgr){ for(int i=0; i<63; i++){ if((*(DWORD*)((*(DWORD*)(CShell+pWallMgr))+(4*i))) != NULL ) *(float*)((*(DWORD*)((*(DWORD*)+(0x4F4)+(4*i)+0x4F0 ))))=1; *(float*)((*(DWORD*)((*(DWORD*)+(0x4F4)+(4*i)+0x4EC ))))=1; *(float*)((*(DWORD*)((*(DWORD*)+(0x4F4)+(4*i)+0x4E8 ))))=1; } }
Last edited by BlackLite; 12-01-2011 at 09:18 AM.
[I]Tfrix (12-01-2011)
thx i will try
@BlackLite ur code is very long xD it works smaller
Royku (12-01-2011)
@[I]Tfrix your wrong 560 is the weapon Loop.So that the feature will work with the 560 weapons.
but 63 which is actually 64 is the loop for the walls. So that stw works with most of the walls.
Joined MPGH: 07/08/09
i used to tell arrow to the knee jokes then i died due to blood loss from takeing tomany arrows to the knee at onceA network problem caused by you? What did you do? Trip over the cable?
yep but stw is not patched