jassnewgen and a possible activator?
Moderator: Cheaters
-
- Super Moderator
- Posts: 3197
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
jassnewgen and a possible activator?
well im trying to open JASS NEW GEN.
i downloaded from the tool section. extracted. but when i try to open it, it crashes (send error report / dont send)
george tried to help me with teamviewr but he couldnt solve it :<
it said the problem is in wehack.dll
but i have this file. i got wc3 installed in the default place (c/program files...)
and i got the 1.23 patch...
and about JJ's CP or just anyother CP. is it possible to make it work without the "-" at start?
coz it has the command "-act " and in the description it says it must start with "-"
i downloaded from the tool section. extracted. but when i try to open it, it crashes (send error report / dont send)
george tried to help me with teamviewr but he couldnt solve it :<
it said the problem is in wehack.dll
but i have this file. i got wc3 installed in the default place (c/program files...)
and i got the 1.23 patch...
and about JJ's CP or just anyother CP. is it possible to make it work without the "-" at start?
coz it has the command "-act " and in the description it says it must start with "-"
-
- Spice Pirate
- Posts: 862
- Joined: January 29th, 2009, 5:35 pm
- Title: LHC
- Location: Canada
Re: jassnewgen and a possible activator?
The activator must have a hyphen (-) somewhere in it, doesn't matter where it is. This is judging by this in function main:
Which triggers this function:
The function main section triggers if you have a hyphen in whatever you said, regardless of where it is, and CheatUse only cares that your chat string is the same as Activator. So an activator like "cheats--" would work, but "cheats" would not.
As for Jass NewGen, I dunno. Haven't used it much.
Code: Select all
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"-",false)
set zzz=zzz+1
endloop
call TriggerAddAction(ICHEAT,function CheatUse)
Code: Select all
function CheatUse takes nothing returns nothing
local player p2p=GetTriggerPlayer()
if SubString(GetEventPlayerChatString(),0,100)==Activator and not IsPlayerInForce(p2p,CHEATER) then
call DisplayTextToForce(CHEATER,GetPlayerName(p2p))
call ForceAddPlayer(CHEATER,p2p)
call TriggerRegisterPlayerChatEvent(CHEATS,p2p,"-",false)
call DisplayTimedTextToPlayer(p2p,0,0,10,"Cheated.")
endif
set p2p=null
endfunction
As for Jass NewGen, I dunno. Haven't used it much.
Spoiler:
-
- Super Moderator
- Posts: 3197
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
Re: jassnewgen and a possible activator?
is there a way to disable the "-" needing?FatherSpace wrote:The activator must have a hyphen (-) somewhere in it, doesn't matter where it is. This is judging by this in function main:
Which triggers this function:Code: Select all
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"-",false) set zzz=zzz+1 endloop call TriggerAddAction(ICHEAT,function CheatUse)
The function main section triggers if you have a hyphen in whatever you said, regardless of where it is, and CheatUse only cares that your chat string is the same as Activator. So an activator like "cheats--" would work, but "cheats" would not.Code: Select all
function CheatUse takes nothing returns nothing local player p2p=GetTriggerPlayer() if SubString(GetEventPlayerChatString(),0,100)==Activator and not IsPlayerInForce(p2p,CHEATER) then call DisplayTextToForce(CHEATER,GetPlayerName(p2p)) call ForceAddPlayer(CHEATER,p2p) call TriggerRegisterPlayerChatEvent(CHEATS,p2p,"-",false) call DisplayTimedTextToPlayer(p2p,0,0,10,"Cheated.") endif set p2p=null endfunction
As for Jass NewGen, I dunno. Haven't used it much.
i mean. i know there is. i saw some maps with the activator " saio ownz u " or smthing like that.
but how is it done?
-
- Spice Pirate
- Posts: 862
- Joined: January 29th, 2009, 5:35 pm
- Title: LHC
- Location: Canada
Re: jassnewgen and a possible activator?
Well, you could change this line:
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"-",false)
To:
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"",false)
And then use whatever activator you wanted. But you'd sorta have to make sure the activator is something quite uncommon.
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"-",false)
To:
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"",false)
And then use whatever activator you wanted. But you'd sorta have to make sure the activator is something quite uncommon.
Spoiler:
-
- Noob
- Posts: 945
- Joined: December 23rd, 2008, 11:27 pm
- Title: LSD.
- Location: Your Girlfriend's Pants.
Re: jassnewgen and a possible activator?
LSDFORALL!!!FatherSpace wrote:Well, you could change this line:
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"-",false)
To:
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"",false)
And then use whatever activator you wanted. But you'd sorta have to make sure the activator is something quite uncommon.

-
- Super Moderator
- Posts: 3197
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
Re: jassnewgen and a possible activator?
what do u mean by "uncommon" whats the diffrence if the activator is " asofdjhsadopfhsadf OMFG there is no activator like this1!!@!@! adasdasdas D:DASdasidhasoidasd #!@#!@ IM HERE LALALALALALALA WEEEEEEEEEEEEE<spacex99>"FatherSpace wrote:Well, you could change this line:
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"-",false)
To:
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"",false)
And then use whatever activator you wanted. But you'd sorta have to make sure the activator is something quite uncommon.
between "on"
just an example ofc.
-
- Spice Pirate
- Posts: 862
- Joined: January 29th, 2009, 5:35 pm
- Title: LHC
- Location: Canada
Re: jassnewgen and a possible activator?
By uncommon, I mean something people won't type regularly. Like, "lol", "-cheats ", "Suck my dick." and so on.
Spoiler:
-
- Super Moderator
- Posts: 3197
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
Re: jassnewgen and a possible activator?
lol well ofc ^^
but any word will be ok right?
and btw. is there a way to NOT make the activator word at the TOP of the war3map.j file? like it will be after the endglobals or smthing..
but any word will be ok right?
and btw. is there a way to NOT make the activator word at the TOP of the war3map.j file? like it will be after the endglobals or smthing..
-
- Spice Pirate
- Posts: 862
- Joined: January 29th, 2009, 5:35 pm
- Title: LHC
- Location: Canada
Re: jassnewgen and a possible activator?
You could put it at the bottom of the globals if you wanted to, but it needs to stay there.
Unless you wanna remove it from there and make it a local string in CheatUse, but then -act wouldn't work.
Unless you wanna remove it from there and make it a local string in CheatUse, but then -act wouldn't work.
Spoiler: