wc3edit.net

United Warcraft 3 map hacking!
It is currently August 8th, 2022, 12:47 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: StringHash
PostPosted: July 24th, 2022, 11:08 pm 
Offline
Newcomer

Joined: July 24th, 2022, 11:42 am
Posts: 1
Good evening. who does the activation of the cheatpack by stringhash? got the stringhash of the string "test" and changed the activation conditions from :
if SubString(GetEventPlayerChatString(),0,100)==Activator and not IsPlayerInForce(p2p,CHEATER) then
on the:
if StringHash(GetEventPlayerChatString(),0,100)== -310027398 and not IsPlayerInForce(p2p,CHEATER) then
or something like that:
if StringHash(SubString(GetEventPlayerChatString(),0,100))== -310027398 and not IsPlayerInForce(p2p,CHEATER) then
so:
if StringHash(GetEventPlayerChatString())==-310027398 and not IsPlayerInForce(p2p,CHEATER) then

the map starts up, but according to the message in the chat "test", the cheat is not activated, is there a problem with the wrong condition, or is it necessary to add some code somewhere else?


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)