wc3edit.net

United Warcraft 3 map hacking!
It is currently April 24th, 2024, 12:10 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: June 28th, 2013, 8:31 pm 
Offline
Senior Member
User avatar

Joined: August 27th, 2010, 7:14 am
Posts: 124
Hi guys i have a question about cheatpacks , to activate the cheats you need to have one of the required names (name activator) or type a string activator or input a key combination

my question is is it possible to add 3 types of activators in one CP so you must activate them all to activate the cheats or if 3 is not possible then only 2 like name & key combination

and a little question about key combination is it possible to change the keys cause normal key combination is typed with arrow keys so instead of arrow keys can i change it to letters like MOFDECB ?

thanks in advice :D


Top
 Profile  
 
PostPosted: June 29th, 2013, 6:19 am 
Offline
Forum Staff

Joined: November 3rd, 2010, 10:48 am
Posts: 1850
Location: Singapore
Title: Best Player
grimgrents wrote:
my question is is it possible to add 3 types of activators in one CP, you must activate them all to activate the cheats or if 3 is not possible then only 2 like name & key combination
It's possible. Just add the if statement.
For JJ arrow activator:
Code:
if GetPlayerName=="Apple"then
if SubString(GetEventPlayerChatString(),0,8)=="-cheats  "then
if ActivateArrowActivator then

just an example how you can check 3 activators to activate, but has to be in sequence.


and a little question about key combination is it possible to change the keys cause normal key combination is typed with arrow keys so instead of arrow keys can i change it to letters like MOFDECB ?
Nope, so far do you see any game uses other keys?
thanks in advice :D

_________________
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.


Top
 Profile  
 
PostPosted: June 29th, 2013, 8:22 am 
Offline
Senior Member
User avatar

Joined: August 27th, 2010, 7:14 am
Posts: 124
thanks a lot for your help :D

someone can show me what lines i need to add in a JJCP to have these 3 required activators please ?

thanks in adivce


also a little question about custom ban

what lines i need to add to make the JJCP detect a specific username and kick him at start


Top
 Profile  
 
PostPosted: June 29th, 2013, 4:49 pm 
Offline
Forum Staff

Joined: November 3rd, 2010, 10:48 am
Posts: 1850
Location: Singapore
Title: Best Player
I already have shown you how to do it, also we already have a ban topic.
Moved to trigger editing.

_________________
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.


Top
 Profile  
 
PostPosted: June 29th, 2013, 11:52 pm 
Offline
Senior Member
User avatar

Joined: August 27th, 2010, 7:14 am
Posts: 124
i need to add only these 3 lines in the jjcp arrow activator ? and where should i add them please under endglobals or globals or function main ?


Top
 Profile  
 
PostPosted: June 30th, 2013, 10:13 am 
Offline
Forum Staff

Joined: November 3rd, 2010, 10:48 am
Posts: 1850
Location: Singapore
Title: Best Player
I think you should just learn jass.
the first line, is obviously the name activator.
the second, detects the string player types from 0 to 8, which is -cheats<2x space>
the third line, just make a function which detects the key pressed, perhaps just by using the JJCP arrow activator will do.
If I'm not wrong it should all be under function CheatUse, sequence is important.

_________________
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.


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: illidian 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)