CoolMenuhack -> Premium Hack problems...

Posts 1–14 of 14 · Page 1 of 1
Menuhack -> Premium Hack problems...
Hey Guys

i can't turn off the Premium Hack in Warrock on my Menu Hack.

I added this One On-Off Option :
"Off", "Bronze", "Silber", "Gold", "Platin"
I wrote a
5
at the Menu Item.


Im using this Source:

if(Premium)
{
if (Premium==1)
{
*(long*)(dwServerPtr + OFS_Premium1) = 1;
}
if (Premium==2)
{
*(long*)(dwServerPtr + OFS_Premium1) = 2;
}
if (Premium==3)
{
*(long*)(dwServerPtr + OFS_Premium1) = 3;
}
if (Premium==4)
{
*(long*)(dwServerPtr + OFS_Premium1) = 4;
}
}
Can somebody help me pls

Thx
Val 0 try
...
if(Premium)
{
if (Premium==1)
{
*(long*)(dwServerPtr + OFS_Premium1) = 1;
}
if (Premium==2)
{
*(long*)(dwServerPtr + OFS_Premium1) = 2;
}
if (Premium==3)
{
*(long*)(dwServerPtr + OFS_Premium1) = 3;
}
if (Premium==4)
{
*(long*)(dwServerPtr + OFS_Premium1) = 4;
}
}

This source is wrong the correct source is :

if (Premium==1)
{
*(long*)(dwServerPtr + OFS_Premium1) = 1;
}
if (Premium==2)
{
*(long*)(dwServerPtr + OFS_Premium1) = 2;
}
if (Premium==3)
{
*(long*)(dwServerPtr + OFS_Premium1) = 3;
}
if (Premium==4)
{
*(long*)(dwServerPtr + OFS_Premium1) = 4;
}
Quote Originally Posted by avi3kel View Post
if(Premium)
{
if (Premium==1)
{
*(long*)(dwServerPtr + OFS_Premium1) = 1;
}
if (Premium==2)
{
*(long*)(dwServerPtr + OFS_Premium1) = 2;
}
if (Premium==3)
{
*(long*)(dwServerPtr + OFS_Premium1) = 3;
}
if (Premium==4)
{
*(long*)(dwServerPtr + OFS_Premium1) = 4;
}
}

This source is wrong the correct source is :

if (Premium==1)
{
*(long*)(dwServerPtr + OFS_Premium1) = 1;
}
if (Premium==2)
{
*(long*)(dwServerPtr + OFS_Premium1) = 2;
}
if (Premium==3)
{
*(long*)(dwServerPtr + OFS_Premium1) = 3;
}
if (Premium==4)
{
*(long*)(dwServerPtr + OFS_Premium1) = 4;
}
Wouldn't an integer variable with a value other than zero return true? Hence what you did shouldn't affect anything
Hey MPGH_Alen can u add me msn pls, i need ur help take a look at my Base pls
I've at Stamina the same problems plss help me msn: taylan-11@.hotmail.de


thx
Quote Originally Posted by avi3kel View Post
if(Premium)
{
if (Premium==1)
{
*(long*)(dwServerPtr + OFS_Premium1) = 1;
}
if (Premium==2)
{
*(long*)(dwServerPtr + OFS_Premium1) = 2;
}
if (Premium==3)
{
*(long*)(dwServerPtr + OFS_Premium1) = 3;
}
if (Premium==4)
{
*(long*)(dwServerPtr + OFS_Premium1) = 4;
}
}

This source is wrong the correct source is :

if (Premium==1)
{
*(long*)(dwServerPtr + OFS_Premium1) = 1;
}
if (Premium==2)
{
*(long*)(dwServerPtr + OFS_Premium1) = 2;
}
if (Premium==3)
{
*(long*)(dwServerPtr + OFS_Premium1) = 3;
}
if (Premium==4)
{
*(long*)(dwServerPtr + OFS_Premium1) = 4;
}


it is still wrong correct one is




if (Premium==1)
if(dwServerPtr !=1) // it is very important to add this in every source starting which includes dwServerPtr like (dwServerPtr=OFS_Premium1)
{
*(long*)(dwServerPtr + OFS_Premium1) = 1;
}
if (Premium==2)
{
*(long*)(dwServerPtr + OFS_Premium1) = 2;
}
if (Premium==3)
{
*(long*)(dwServerPtr + OFS_Premium1) = 3;
}
if (Premium==4)
{
*(long*)(dwServerPtr + OFS_Premium1) = 4;}
@Alen was coder ? :O.
but try 5>0
Quote Originally Posted by MrSizeman View Post
@Alen was coder ? :O.
but try 5>0
Alen can code to
Awesome


---------- Post added at 09:56 AM ---------- Previous post was at 09:54 AM ----------

Quote Originally Posted by roti View Post
it is still wrong correct one is




if (Premium==1)
if(dwServerPtr !=1) // it is very important to add this in every source starting which includes dwServerPtr like (dwServerPtr=OFS_Premium1)
{
*(long*)(dwServerPtr + OFS_Premium1) = 1;
}
if (Premium==2)
{
*(long*)(dwServerPtr + OFS_Premium1) = 2;
}
if (Premium==3)
{
*(long*)(dwServerPtr + OFS_Premium1) = 3;
}
if (Premium==4)
{
*(long*)(dwServerPtr + OFS_Premium1) = 4;}
Your only adding 1 check, so it has no point if the value of premium is more then 1

it should be this

Code:
switch(Premium)
{
case 0: *(long*)(dwServerPtr+0x58C) = 0; break;
case 1: *(long*)(dwServerPtr+0x58C) = 1; break;
case 2: *(long*)(dwServerPtr+0x58C) = 2; break;
case 3: *(long*)(dwServerPtr+0x58C) = 3; break;
}
Quote Originally Posted by MrSizeman View Post
@Alen was coder ? :O.
but try 5>0
Quote Originally Posted by AeroMan View Post
Alen can code to
I can program, I know quite a few languages and my main source of income was programming. But not hacking, hence I don't really know much about the important hacking stuff (ie reverse engineering, bypassing, asm in general etc.). Not the best person to ask for hacking stuff, especially if it's DirectX related (OGL<3? Mono<3? Fuck Windows and Microsoft ).

Quote Originally Posted by AeroMan View Post


---------- Post added at 09:56 AM ---------- Previous post was at 09:54 AM ----------



Your only adding 1 check, so it has no point if the value of premium is more then 1

it should be this

Code:
switch(Premium)
{
case 0: *(long*)(dwServerPtr+0x58C) = 0; break;
case 1: *(long*)(dwServerPtr+0x58C) = 1; break;
case 2: *(long*)(dwServerPtr+0x58C) = 2; break;
case 3: *(long*)(dwServerPtr+0x58C) = 3; break;
}
Why make four checks if you can only do one?
Quote Originally Posted by Alen View Post
I can program, I know quite a few languages and my main source of income was programming. But not hacking, hence I don't really know much about the important hacking stuff (ie reverse engineering, bypassing, asm in general etc.). Not the best person to ask for hacking stuff, especially if it's DirectX related (OGL<3? Mono<3? Fuck Windows and Microsoft ).



Why make four checks if you can only do one?
it doesnt use checks, a check is a when you check if a ptr is running for example
Code:
if( ServerPtr != 0 )
{
//Source
}
i added cases, so if you add premium +1 it will go to the next case, so first
Code:
None
Bronze
Silver
Gold
Quote Originally Posted by AeroMan View Post
it doesnt use checks, a check is a when you check if a ptr is running for example
Code:
if( ServerPtr != 0 )
{
//Source
}
i added cases, so if you add premium +1 it will go to the next case, so first
Code:
None
Bronze
Silver
Gold
I was talking about the original if(Premium) statement
it's not that hard do code 3-4 premium of visual
Posts 1–14 of 14 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us