STW patched?

Posts 1–15 of 16 · Page 1 of 2
STW patched?
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; 
}
   }
here a fixed
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; 
}
   }
Quote Originally Posted by BlackLite View Post
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; 
}
   }
hmm this doesnt Fix anything.
Quote Originally Posted by Royku View Post
hmm this doesnt Fix anything.
it worked on Cf NA

*PS: but not with that code, it dont worked
Quote Originally Posted by Royku View Post
hmm this doesnt Fix anything.
i get it work /
Quote Originally Posted by BlackLite View Post


i get it work /
you just changed true to 1, thats the same thing and 560 to 63.... just changed weapons afected ...
Quote Originally Posted by Royku View Post
hmm this doesnt Fix anything.
yes it does, look at the first post, he loops throgh all weapons for STW
Quote Originally Posted by giniyat101 View Post
yes it does, look at the first post, he loops throgh all weapons for STW
o ok .
but he also makes the Code smaller .
and that doesnt fix anything.
thx i will try
Quote Originally Posted by [I]Tfrix View Post
thx i will try
are you trying on NA or EU?
Bcus STW is patched on EU
Quote Originally Posted by Royku View Post
are you trying on NA or EU?
Bcus STW is patched on EU
ohh, then i think it is solved :[
@[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.
yep but stw is not patched
Posts 1–15 of 16 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us