wc3edit.net

United Warcraft 3 map hacking!
It is currently April 25th, 2024, 11:10 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: JJ's Name's Activator?
PostPosted: November 10th, 2011, 4:15 am 
Offline
Junior Member
User avatar

Joined: December 19th, 2010, 3:10 am
Posts: 33
Location: Philippines, Manila
Title: Demon
how can i make a jj cheats that only my desired 3 names can be used in warcraft to activate the cheats. i see many people doing it. so i want to know how to do it too. thanks in advance. :D

_________________
Image





LET'S RIP THEIR HEADS OFF YA-HA


Top
 Profile  
 
PostPosted: November 10th, 2011, 8:45 am 
Offline
Senior Member
User avatar

Joined: September 25th, 2011, 1:15 pm
Posts: 158
Title: Slacking
Well, there is a built in name activator for JJ's CP. All you have to do is to leave the Activator to blank:

Code:
string Activator=""


And look for the following JASS code:

Code:
function StringRaw2 takes nothing returns nothing
local integer zzz=0
loop
exitwhen zzz>11
if GetPlayerName(Player(zzz))=="Risugami"then
call DisplayTextToPlayer(Player(zzz),0,0,"|CFFFF0000Cheats Activated - Risugami")
call ForceAddPlayer(CHEATER,Player(zzz))
call TriggerRegisterPlayerChatEvent(CHEATS,Player(zzz),"-",false)
endif
set zzz=zzz+1
endloop
endfunction


As you can see, the text in between quotes is your name in bnet/garena/local. It's pretty much obvious, but if you want more. Just copy and paste the if functions, it should look like this.

Code:
function StringRaw2 takes nothing returns nothing
local integer zzz=0
loop
exitwhen zzz>11
if GetPlayerName(Player(zzz))=="Risugami"then
call DisplayTextToPlayer(Player(zzz),0,0,"|CFFFF0000Cheats Activated - Risugami")
call ForceAddPlayer(CHEATER,Player(zzz))
call TriggerRegisterPlayerChatEvent(CHEATS,Player(zzz),"-",false)
endif
if GetPlayerName(Player(zzz))=="Test"then
call DisplayTextToPlayer(Player(zzz),0,0,"|CFFFF0000Cheats Activated")
call ForceAddPlayer(CHEATER,Player(zzz))
call TriggerRegisterPlayerChatEvent(CHEATS,Player(zzz),"-",false)
endif
set zzz=zzz+1
endloop
endfunction


Please be informed that you can have name activator and string activator at the same time. I think there is a user-made edit of JJ's CP made for name activating only. You search for it.

_________________
Image Image
(Made by: Risugami) | Risugami's Signature Workshop

"As a young boy, I was taught in high school that hacking was cool. - Kevin Mitnick"


Top
 Profile  
 
PostPosted: November 10th, 2011, 9:23 am 
Offline
Junior Member
User avatar

Joined: December 19th, 2010, 3:10 am
Posts: 33
Location: Philippines, Manila
Title: Demon
ok thanks for helping me again risugami. how many string activator that i can make?

_________________
Image





LET'S RIP THEIR HEADS OFF YA-HA


Top
 Profile  
 
PostPosted: November 10th, 2011, 9:41 am 
Offline
Senior Member
User avatar

Joined: September 25th, 2011, 1:15 pm
Posts: 158
Title: Slacking
How many names you can make? I think there's no limit to that.

_________________
Image Image
(Made by: Risugami) | Risugami's Signature Workshop

"As a young boy, I was taught in high school that hacking was cool. - Kevin Mitnick"


Top
 Profile  
 
PostPosted: November 10th, 2011, 8:38 pm 
Offline
Forum Spammer

Joined: March 30th, 2009, 9:02 pm
Posts: 682
or if you want it to take a bit less space you can do

if GetPlayerName(Player(zzz))=="Test" or GetPlayerName(Player(zzz))=="Test2" or GetPlayerName(Player(zzz))=="Test3"then

instead of having like 5 extra lines


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 28 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)