Question about hidden activators

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Post Reply
Gathron42
Newcomer
Posts: 3
Joined: August 23rd, 2016, 10:19 pm

Question about hidden activators

Post by Gathron42 »

Hello!

I have a question concerning hidden codes/activators in maps, but specifically in Castlevania RoS 2.7.7. When I look at the coding with MPQ Editor I can see that there are lots of places where codes would be, but it is blank. I know there are hidden codes present because I already know of two of them, but there are many others I have no idea about.

An example of what I mean:
call TriggerRegisterPlayerChatEvent(kR,Player(1),"",false)
call TriggerRegisterPlayerChatEvent(kR,Player(2),"",false)
call TriggerRegisterPlayerChatEvent(kR,Player(3),"",false)
call TriggerRegisterPlayerChatEvent(kR,Player(4),"",false)
call TriggerRegisterPlayerChatEvent(kR,Player(5),"",false)

So my question is, why are there empty activators and how are they hidden? Is there any way I can reveal the codes? Any insight would be appreciated.

I've attached the map so you can look for yourself to see what I mean, there are many places in the coding similar to the one I listed above.

Thank you very much!
You do not have the required permissions to view the files attached to this post.
User avatar
haxorico
Super Moderator
Posts: 3816
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Contact:

Re: Question about hidden activators

Post by haxorico »

Those aren't activators. Without getting too much into jass. That means that whenever players 1-5 write anything. It will trigger the trigger called kR. Check at its actions /conditions to learn more.

You can see these lines in all cheat packs as well.
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
Gathron42
Newcomer
Posts: 3
Joined: August 23rd, 2016, 10:19 pm

Re: Question about hidden activators

Post by Gathron42 »

Oh interesting.. thank you very much for your reply. Although I'm not sure how to figure out what the different triggers such as kR do. Do I need to look at things in the World Editor to get a better idea?

Edit: So I did some looking into the coding and I understand what you were saying but I am still a little lost in other aspects. I was looking at this trigger in particular:

set pR=CreateTrigger()
call TriggerRegisterPlayerChatEvent(pR,Player(0),"",false)
call TriggerAddCondition(pR,Condition(function yy))
call TriggerAddAction(pR,function zy)

So as you said I should check the actions and conditions, and since I'm looking for activators and such conditions is what I should be looking at. So I loooked up function yy and found this trigger.

function yy takes nothing returns boolean
return(StringLength(GetEventPlayerChatString())<=25)and(RectContainsUnit(Mr,SN))
endfunction

What I've learned from this is that there is some thing that Player(0) needs to type in order to cause the Action to happen. Is there any way to figure out what the specific chat string is to activate the trigger?
User avatar
XD!
Senior Member
Posts: 182
Joined: May 15th, 2012, 6:09 pm

Re: Question about hidden activators

Post by XD! »

@better idea...
Yes, in World Editor (WE) you may slowly try cheats it in GUI (world editor guided user interface?) and then custom script it and/or can read lotsa jass samples on the web. You may also join online forums where a number of modders do still reply for those beginners on jass coding.

You may find this cool (open in WE to see some of JJCP in lengthier, GUI trigger version):
"JJ Cheatpack Gui 0.4S by [DEADRIZE]" epicwar.com/maps/257515/
. . .
Gathron42
Newcomer
Posts: 3
Joined: August 23rd, 2016, 10:19 pm

Re: Question about hidden activators

Post by Gathron42 »

Thank you for your reply. Honestly I'm just interested in the secrets of this map, I know that there are hidden activators because I already know two of them and I know of three others that exist. I would like to learn how to find them but if that is too complicated then I understand. Would it be possible for you to find them?

Thanks again
User avatar
haxorico
Super Moderator
Posts: 3816
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Contact:

Re: Question about hidden activators

Post by haxorico »

Moving to triggering section.
Looking at the condition you posted. It means the command is at maximum. 25 characters and it has a second condition.

Code: Select all

RectContainsUnit(Mr,SN))

This means that there is a unit at "Mr" - This is a rect, some kind of an area. Gotta look at the code for the X,Y,Z (exact location)
In that location, there has to be the unit "SN" - Check for that variable to see what unit it is.

What happens when those conditions are met. Look for function zy.
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
Post Reply