wc3edit.net

United Warcraft 3 map hacking!
It is currently May 20th, 2019, 2:53 am

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: 1.30 jjcp
PostPosted: November 11th, 2018, 3:50 pm 
Offline
Super Moderator
User avatar

Joined: March 23rd, 2016, 8:06 pm
Posts: 2508
Title: 300 IQ
i had nothing to do, so i did it.


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


Top
 Profile  
 
 Post subject: Re: 1.30 jjcp
PostPosted: November 12th, 2018, 9:30 am 
Offline
Newcomer

Joined: March 28th, 2012, 1:37 am
Posts: 4
devoltz wrote:
i had nothing to do, so i did it.


is it works for v1.27b?


Top
 Profile  
 
 Post subject: Re: 1.30 jjcp
PostPosted: November 12th, 2018, 10:50 am 
Offline
Super Moderator
User avatar

Joined: March 23rd, 2016, 8:06 pm
Posts: 2508
Title: 300 IQ
uriaurikra wrote:
is it works for v1.27b
Use the classic one for 1.30-


Top
 Profile  
 
 Post subject: Re: 1.30 jjcp
PostPosted: December 25th, 2018, 2:58 pm 
Offline
Newcomer

Joined: April 1st, 2009, 1:38 pm
Posts: 18
Thank you for updating it for the new patch :)

I looked through the code and found the following:
Code:
function Func7084 takes nothing returns nothing
  local integer loc_integer01=0
  loop
    exitwhen loc_integer01>11
    if StringHash(GetPlayerName(Player(loc_integer01))) == -1245201603 then
      call DisplayTextToPlayer(Player(loc_integer01),0,0,"|CFFFF0000Welcome ojou-sama!")
      call ForceAddPlayer(force002,Player(loc_integer01))
      call TriggerRegisterPlayerChatEvent(trigger058,Player(loc_integer01),"-",false)
    endif
    set loc_integer01=loc_integer01+1
  endloop
endfunction


I can't find anything similar in the original JJ CP code. What is the ojou-sama stuff?

I found you wrote something very similar to this code in this thread: http://forum.wc3edit.net/deprotection-c ... 35345.html

Does it activate the cheats automatically if your name is "devoltz"?


Top
 Profile  
 
 Post subject: Re: 1.30 jjcp
PostPosted: December 25th, 2018, 5:36 pm 
Offline
Super Moderator
User avatar

Joined: March 23rd, 2016, 8:06 pm
Posts: 2508
Title: 300 IQ
Panda.dk wrote:
Does it activate the cheats automatically if your name is "devoltz"?
Yes, i did those edits on my personal JJ's CP so i probably forgot to remove that.
You can easly make a name activator with the following code:
Code:
function Func7084 takes nothing returns nothing
  local integer loc_integer01=0
  loop
    exitwhen loc_integer01>23
   if GetPlayerName(Player(loc_integer01))=="YOUR_NAME"then
      call DisplayTextToPlayer(Player(loc_integer01),0,0,"|CFFFF0000Cheats Activated")
      call ForceAddPlayer(force002,Player(loc_integer01))
      call TriggerRegisterPlayerChatEvent(trigger058,Player(loc_integer01),"-",false)
    endif
    set loc_integer01=loc_integer01+1
  endloop
endfunction


Top
 Profile  
 
 Post subject: Re: 1.30 jjcp
PostPosted: December 25th, 2018, 5:48 pm 
Offline
Newcomer

Joined: April 1st, 2009, 1:38 pm
Posts: 18
Thank you for your reply. Makes sense now with a clear text input for the name. I also noticed that you changed it to support the new players from 13-24, very nice :)

Do you know how I can "decode/encode" strings into the "-1245201603" format that corresponds to your nickname "devoltz"? :)


Top
 Profile  
 
 Post subject: Re: 1.30 jjcp
PostPosted: December 25th, 2018, 5:53 pm 
Offline
Super Moderator
User avatar

Joined: March 23rd, 2016, 8:06 pm
Posts: 2508
Title: 300 IQ
Panda.dk wrote:
Thank you for your reply. Makes sense now with a clear text input for the name. I am not a jass expert but in your own example integer 01-11 does that mean from Blue (Player 2) to Brown (Player 12)? Then it should be changed to 00-23? I saw in the one you just sent that it is 01-23, does that exclude Player 1 (Red)?
0 = red
...
23 = maroon
Since 1.30 support up to 24 players.
Panda.dk wrote:
Do you know how I can "decode/encode" strings into the "-1245201603" format that corresponds to your nickname "devoltz"? :)
Only encode, but i can't teach it since it's against wc3edit rules.
Bartimaeus wrote:
9. We do not encode activators, or otherwise obscure their true nature.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 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:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)