wc3edit.net

United Warcraft 3 map hacking!
It is currently March 28th, 2024, 2:17 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Hash Function
PostPosted: November 27th, 2018, 12:23 pm 
Offline
Junior Member
User avatar

Joined: March 30th, 2017, 5:48 am
Posts: 27
Title: Normal person
is there any way to decode a hash function to know a hidden activator like this?

Code:
if StringHash(SubString(GetEventPlayerChatString(),0,'d'))==-$50A9C479


in order to hide my activator i would like to know how to make a stringhash like this, can anyone show me the way to make it and decode it? Thanks a lots


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: Hash Function
PostPosted: November 27th, 2018, 1:22 pm 
Offline
Old Wrinkly Member
User avatar

Joined: December 17th, 2011, 9:25 am
Posts: 246
Title: Genius
qooowinnerooop wrote:
is there any way to decode a hash function to know a hidden activator like this?

Yes
qooowinnerooop wrote:
in order to hide my activator i would like to know how to make a stringhash like this, can anyone show me the way to make it and decode it? Thanks a lots

Code:
Native StringHash takes string whichString returns integer


Top
 Profile  
 
 Post subject: Re: Hash Function
PostPosted: November 28th, 2018, 1:23 am 
Offline
Also Not an Admin, but closer than devoltz
User avatar

Joined: February 14th, 2018, 5:35 am
Posts: 1791
Title: Just Another S.Mod
There's no way to decode StringHash.


Top
 Profile  
 
 Post subject: Re: Hash Function
PostPosted: November 29th, 2018, 11:29 am 
Offline
Forum Staff
User avatar

Joined: March 23rd, 2016, 8:06 pm
Posts: 3236
nuzamacuxe wrote:
There's no way to decode StringHash.
I dont doubt hinata's autism, so he probably can decode stringhash.


Top
 Profile  
 
 Post subject: Re: Hash Function
PostPosted: November 30th, 2018, 8:07 pm 
Offline
V.I.P.
User avatar

Joined: August 5th, 2017, 2:26 am
Posts: 143
Location: Discord:
Title: Moon#6000
Decoding StringHash is possible, but its almost near to impossible to find out the original cheat code from the hash value.

Think of a cheat code you want to use. For example, you want to use "cheat" as the cheat code. Create a test map where you print the hash value of cheat:
Code:
call BJDebugMsg(StringHash("cheat"))


Then you know the hash value and you can use that information in the original map. Let's assume the hash value is 1234. Input;
Code:
if StringHash(GetEventPlayerChatString())==1234 then

...
endif

In your code, you basically use this condition:
Code:
StringHash(GetEventPlayerChatString()) ==  StringHash("cheat")


But replace the StringHash("cheat") with the calculated value, so you don't actually have to put the cheat code into the map script. As I said it is pretty much impossible to find out the original cheat code from the hash value. Not impossible, but still impossible in a way.


Top
 Profile  
 
 Post subject: Re: Hash Function
PostPosted: November 30th, 2018, 9:16 pm 
Offline
Forum Staff
User avatar

Joined: March 23rd, 2016, 8:06 pm
Posts: 3236
Hinata autism + Null autism = we can decode stringhash.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)