wc3edit.net

United Warcraft 3 map hacking!
It is currently March 27th, 2024, 4:57 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: August 23rd, 2016, 10:27 pm 
Offline
Newcomer

Joined: August 23rd, 2016, 10:19 pm
Posts: 3
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.


Top
 Profile  
 
PostPosted: August 24th, 2016, 12:08 am 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3815
Location: JEW LAND
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:
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:

(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:
(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:
(15:42:51) Lanaya: can i suck , . . .

Code:
(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:
GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code:
(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:
(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?


Top
 Profile  
 
PostPosted: August 24th, 2016, 1:49 am 
Offline
Newcomer

Joined: August 23rd, 2016, 10:19 pm
Posts: 3
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?


Top
 Profile  
 
PostPosted: August 24th, 2016, 5:28 pm 
Offline
Senior Member
User avatar

Joined: May 15th, 2012, 6:09 pm
Posts: 182
@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/

_________________
. . .


Top
 Profile  
 
PostPosted: August 24th, 2016, 6:19 pm 
Offline
Newcomer

Joined: August 23rd, 2016, 10:19 pm
Posts: 3
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


Top
 Profile  
 
PostPosted: August 25th, 2016, 8:32 pm 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3815
Location: JEW LAND
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:
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:
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:

(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:
(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:
(15:42:51) Lanaya: can i suck , . . .

Code:
(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:
GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code:
(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:
(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?


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: Bing [Bot] and 12 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)