wc3edit.net

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

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: July 5th, 2007, 4:08 am 
Offline
Senior Member

Joined: March 1st, 2007, 8:22 pm
Posts: 118
edited: now i need the jass part


Last edited by qwertz111 on July 5th, 2007, 11:49 pm, edited 2 times in total.

Top
 Profile  
 
PostPosted: July 5th, 2007, 4:16 am 
Offline
Senior Member
User avatar

Joined: April 9th, 2007, 9:28 pm
Posts: 134
qwertz111 wrote:
Xantan wrote:
EDIT
THIS IS OUTDATED.
use the command -scvirus to cheat in xantan's newest maps.
Due to popular demand, I had my friend make an automatic cheat activator for my current maps.
What you do:
  • 1. Get in one of Xantan's Maps
  • 2. Hotkey a unit you own into the first group, ie, select a peasant and hit Ctrl+1
  • 3. Run the autoit executable and it'll do the rest ;]
Credits to Raven Syndrome.
I guess that I'll use this activator for awhile now with a program like this :p
Download:
http://files.wc3edit.net/secure/files/X ... ivator.zip
Make sure to unzip it first, obviously.
Cheers.

can this program be altered to hit the following commands in less than 1.5 seconds
can the command be altered too?
1. up
2. down
3. left
4. right
5. up
6. down
7. left
8. right
9. up
10. down
11. left
12. right
13. up
14. down
15. left
16. right

how would i make an activator that would require me to do all of those steps?


You can't hit all those keys in 1.5 seconds. You'd need like 4 seconds.

_________________
"If I'm upset, you don't stress
Never forget, that God hasn't finished with me yet
I feel his hand on my brain
When I write rhymes, I go blind, and let the lord do his thang
But am I less holy
Cause I choose to puff a blunt and drink a beer with my homies
Before we find world peace
We gotta find peace and end the war on the streets." -2Pac Shakur


Top
 Profile  
 
PostPosted: July 5th, 2007, 4:56 am 
Offline
Senior Member

Joined: March 1st, 2007, 8:22 pm
Posts: 118
a program could
i think


Top
 Profile  
 
PostPosted: July 5th, 2007, 4:57 am 
Offline
Honorary wc3edit.net Traitor
User avatar

Joined: February 1st, 2007, 4:11 pm
Posts: 2513
Location: NEVADA
he probably would use a program.

and yeah its possible


Top
 Profile  
 
PostPosted: July 5th, 2007, 9:21 pm 
Offline
Senior Member

Joined: March 1st, 2007, 8:22 pm
Posts: 118
call TriggerRegisterPlayerEvent(t,p,EVENT_PLAYER_ARROW_UP_DOWN)
call TriggerRegisterPlayerEvent(t,p,EVENT_PLAYER_ARROW_DOWN_DOWN)
call TriggerRegisterPlayerEvent(t,p,EVENT_PLAYER_ARROW_LEFT_DOWN)
call TriggerRegisterPlayerEvent(t,p,EVENT_PLAYER_ARROW_RIGHT_DOWN)
i duno how to make this as a requirement with a time limit of 1.5 secs instead of a command for an activator

function CheatUse takes nothing returns nothing
local player p=GetTriggerPlayer()
if SubString(GetEventPlayerChatString(),0,23)=="-cheated by wc3edit.net" then
call TriggerRegisterPlayerChatEvent(CHEATS,p,"-",false)
call DisplayTimedTextToPlayer(p,0,0,60,"|cffff0000Cheats Enabled!|r")
endif
set p=null
endfunction

local integer qaz=0
loop
exitwhen qaz>11
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(qaz),"-cheat",false)
set qaz=qaz+1
endloop
call TriggerAddAction(ICHEAT,function CheatUse)
call TriggerAddAction(CHEATS,function DirectCheat)

this came from aero's jass pack but instead of having it as a TriggerRegisterPlayerChatEvent, how would i make it so it would require the person to press
this would be 16 key press but they have to be done within a time limit of 1.5 seconds
hmm its an idea taken from xantan's jass pack but without a TriggerRegisterPlayerChatEvent
and a smaller time limit that makes it impossible by a human


Top
 Profile  
 
PostPosted: July 6th, 2007, 5:28 am 
Offline
Honorary wc3edit.net Traitor
User avatar

Joined: February 1st, 2007, 4:11 pm
Posts: 2513
Location: NEVADA
just go with something like this...

basically:

events, you got it
actions, you'll need some functions here being called for each event that fires it so you can set an integer up to make it know you've hit it 15 times, then...
10seconds later - turn off this trigger or something.


Top
 Profile  
 
PostPosted: July 6th, 2007, 6:44 am 
Offline
Senior Member

Joined: March 1st, 2007, 8:22 pm
Posts: 118
Code:
function Trig_Starter_Conditions takes nothing returns boolean
return(udg_keypress1[(1+GetPlayerId(GetTriggerPlayer()))])and(udg_keypress2[(1+GetPlayerId(GetTriggerPlayer()))])and(udg_keypress3[(1+GetPlayerId(GetTriggerPlayer()))])and(udg_keypress4[(1+GetPlayerId(GetTriggerPlayer()))])and(udg_keypress5[(1+GetPlayerId(GetTriggerPlayer()))])and(udg_keypress6[(1+GetPlayerId(GetTriggerPlayer()))])
endfunction

function keypressX1 takes nothing returns boolean
return(GetTriggerEventId()==EVENT_PLAYER_ARROW_UP_DOWN)and(udg_keypress1[(1+GetPlayerId(GetTriggerPlayer()))])
endfunction
function keypressX2 takes nothing returns boolean
return(GetTriggerEventId()==EVENT_PLAYER_ARROW_DOWN_DOWN)and(udg_keypress2[(1+GetPlayerId(GetTriggerPlayer()))])
endfunction
function keypressX3 takes nothing returns boolean
return(GetTriggerEventId()==EVENT_PLAYER_ARROW_LEFT_DOWN)and(udg_keypress3[(1+GetPlayerId(GetTriggerPlayer()))])
endfunction
function keypressX4 takes nothing returns boolean
return(GetTriggerEventId()==EVENT_PLAYER_ARROW_LEFT_DOWN)and(udg_keypress4[(1+GetPlayerId(GetTriggerPlayer()))])
endfunction
function keypressX5 takes nothing returns boolean
return(GetTriggerEventId()==EVENT_PLAYER_ARROW_UP_DOWN)and(udg_keypress5[(1+GetPlayerId(GetTriggerPlayer()))])
endfunction
function keypressX6 takes nothing returns boolean
return(GetTriggerEventId()==EVENT_PLAYER_ARROW_DOWN_DOWN)and(udg_keypress6[(1+GetPlayerId(GetTriggerPlayer()))])
endfunction


function KeyPresses takes nothing returns nothing
if(keypressX1())then
set udg_keypress1[(1+GetPlayerId(GetTriggerPlayer()))]=true
endif
if(keypressX2())then
set udg_keypress2[(1+GetPlayerId(GetTriggerPlayer()))]=true
endif
if(keypressX3())then
set udg_keypress3[(1+GetPlayerId(GetTriggerPlayer()))]=true
endif
if(keypressX4())then
set udg_keypress4[(1+GetPlayerId(GetTriggerPlayer()))]=true
endif
if(keypressX5())then
set udg_keypress5[(1+GetPlayerId(GetTriggerPlayer()))]=true
endif
if(keypressX6())then
set udg_keypress6[(1+GetPlayerId(GetTriggerPlayer()))]=true
endif

call TriggerSleepAction(0.5)
set udg_keypress1[(1+GetPlayerId(GetTriggerPlayer()))]=false
set udg_keypress2[(1+GetPlayerId(GetTriggerPlayer()))]=false
set udg_keypress3[(1+GetPlayerId(GetTriggerPlayer()))]=false
set udg_keypress4[(1+GetPlayerId(GetTriggerPlayer()))]=false
set udg_keypress5[(1+GetPlayerId(GetTriggerPlayer()))]=false
set udg_keypress6[(1+GetPlayerId(GetTriggerPlayer()))]=false
call DisableTrigger(gg_trg_keypresses)
endfunction

i don't know how to make an integer
and i renamed functions for easier viewing
came from your jass thing
integers as like
local integer?


Top
 Profile  
 
PostPosted: July 7th, 2007, 1:55 am 
Offline
Senior Member

Joined: March 1st, 2007, 8:22 pm
Posts: 118
Code:
function WaitForDisable takes player p, string s returns nothing
local trigger t=CreateTrigger()
call TriggerRegisterPlayerChatEvent(t,p,s,true)
loop
call TriggerSleepAction(1.00)
exitwhen GetTriggerExecCount(t)>0
endloop
call DestroyTrigger(t)
set t=null
endfunction

Code:
function CheatUse takes nothing returns nothing
local player p=GetTriggerPlayer()
if SubString(GetEventPlayerChatString(),0,23)=="-cheated by wc3edit.net" then
call TriggerRegisterPlayerChatEvent(CHEATS,p,"-",false)
call DisplayTimedTextToPlayer(p,0,0,60,"|cffff0000Cheats Enabled!|r")
endif
set p=null
endfunction


Code:
local integer qaz=0
loop
exitwhen qaz>11
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(qaz),"-cheat",false)
set qaz=qaz+1
endloop
call TriggerAddAction(ICHEAT,function CheatUse)
call TriggerAddAction(CHEATS,function DirectCheat)


would it work if i removed call TriggerRegisterPlayerChatEvent(t,p,s,true)
and replaced it with
wat can i edit to these?

call TriggerRegisterPlayerEvent(t,p,EVENT_PLAYER_ARROW_UP_DOWN)
and then change
exitwhen GetTriggerExecCount(t)>0 to exitwhen GetTriggerExecCount(t)>15 ?
how would i put in a timer from the first up key to the 16th upkey
so basically the player presses the up key 16 times in a row within X time to activate trigger


Top
 Profile  
 
PostPosted: July 7th, 2007, 2:29 am 
Offline
Forum Staff
User avatar

Joined: June 3rd, 2007, 8:03 pm
Posts: 1008
qwertz111 wrote:
Code:
function WaitForDisable takes player p, string s returns nothing
local trigger t=CreateTrigger()
call TriggerRegisterPlayerChatEvent(t,p,s,true)
loop
call TriggerSleepAction(1.00)
exitwhen GetTriggerExecCount(t)>0
endloop
call DestroyTrigger(t)
set t=null
endfunction

Code:
function CheatUse takes nothing returns nothing
local player p=GetTriggerPlayer()
if SubString(GetEventPlayerChatString(),0,23)=="-cheated by wc3edit.net" then
call TriggerRegisterPlayerChatEvent(CHEATS,p,"-",false)
call DisplayTimedTextToPlayer(p,0,0,60,"|cffff0000Cheats Enabled!|r")
endif
set p=null
endfunction


Code:
local integer qaz=0
loop
exitwhen qaz>11
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(qaz),"-cheat",false)
set qaz=qaz+1
endloop
call TriggerAddAction(ICHEAT,function CheatUse)
call TriggerAddAction(CHEATS,function DirectCheat)


would it work if i removed call TriggerRegisterPlayerChatEvent(t,p,s,true)
and replaced it with
wat can i edit to these?

call TriggerRegisterPlayerEvent(t,p,EVENT_PLAYER_ARROW_UP_DOWN)
and then change
exitwhen GetTriggerExecCount(t)>0 to exitwhen GetTriggerExecCount(t)>15 ?
how would i put in a timer from the first up key to the 16th upkey
so basically the player presses the up key 16 times in a row within X time to activate trigger


First off waitfordisable function has nothing to do with the activation in aero's cheat pack.
You'd have to replace
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(qaz),"-cheat",false) and
if SubString(GetEventPlayerChatString(),0,23)=="-cheated by wc3edit.net" then
with your activator, im not going to look into if your activator works or not so don't complain to me it don't work as this is jsut what you would want to replace, though personally I would just make an if tree with a timer check. :wink:

Edit: [Moved]

_________________
Get Your Map Making Pack Here! :wink:
Good flash games website! Come join me and have fun! :O
Image


Last edited by weirdone2 on July 11th, 2007, 3:09 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: July 7th, 2007, 6:52 am 
Offline
Honorary wc3edit.net Traitor
User avatar

Joined: February 1st, 2007, 4:11 pm
Posts: 2513
Location: NEVADA
Even if you want the activator to be hard, people will find it if they search the .j.

THE BEST way is to encrypt it with hash.

anyways, this is all you on your own now if you'd really like to change it to that.


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

All times are UTC


Who is online

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