a little cheatpack..

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Bushido

Re: a little cheatpack..

Post by Bushido »

nope , i just found this on king rpg , so it's not owning of any1 here..
except for a guy who is called chanchiem o.o
initialD
Some Honorary Title
Posts: 1713
Joined: June 8th, 2007, 5:08 am
Title: Angry Bird

Re: a little cheatpack..

Post by initialD »

There is a big problem on this cheat pack.
Only player RED can use the cheats.
So,............
.........
.........
I don't know.
I suggest you trash this. (sorry if it is too harsh)

if you are going to make it playable for all players, than you will need to add somemore codes for a cheat activation.
I don't know.
good luck anyway
User avatar
JJ2197
Legendary Genius
Posts: 1311
Joined: August 8th, 2007, 8:10 am
Title: Legendary Genius²
Location: St. George Utah

Re: a little cheatpack..

Post by JJ2197 »

This should be better

Globals
Spoiler:
trigger gg_trg_Gold
trigger gg_trg_WOod
trigger gg_trg_Level
trigger gg_trg_Mana
trigger gg_trg_Life
trigger gg_trg_Inteligince
trigger gg_trg_Strength
trigger gg_trg_Agi
trigger gg_trg_Level_Up
trigger gg_trg_Level_Down
trigger gg_trg_Level_Up_Copy
trigger gg_trg_Level_Down_Copy
trigger gg_trg_Level_Up_Copy_Copy
trigger gg_trg_Level_Down_Copy_Copy
Functions
Spoiler:
function Trig_Gold_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( S2I(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString()))), GetLocalPlayer(), PLAYER_STATE_RESOURCE_GOLD )
endfunction
function InitTrig_Gold takes nothing returns nothing
set gg_trg_Gold = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Gold, GetLocalPlayer(), "-gold", false )
call TriggerAddAction( gg_trg_Gold, function Trig_Gold_Actions )
endfunction
function Trig_WOod_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( S2I(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString()))), GetLocalPlayer(), PLAYER_STATE_RESOURCE_LUMBER )
endfunction
function InitTrig_WOod takes nothing returns nothing
set gg_trg_WOod = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_WOod, GetLocalPlayer(), "-wood", false )
call TriggerAddAction( gg_trg_WOod, function Trig_WOod_Actions )
endfunction
function Trig_Level_Func001002 takes nothing returns nothing
call SetHeroLevelBJ( GetEnumUnit(), S2I(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString()))), false )
endfunction

function Trig_Level_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsSelectedAll(GetLocalPlayer()), function Trig_Level_Func001002 )
endfunction
function InitTrig_Level takes nothing returns nothing
set gg_trg_Level = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Level, GetLocalPlayer(), "-level", false )
call TriggerAddAction( gg_trg_Level, function Trig_Level_Actions )
endfunction
function Trig_Mana_Func001002 takes nothing returns nothing
call SetUnitManaBJ( GetEnumUnit(), S2R(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString()))) )
endfunction
function Trig_Mana_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsSelectedAll(GetLocalPlayer()), function Trig_Mana_Func001002 )
endfunction
function InitTrig_Mana takes nothing returns nothing
set gg_trg_Mana = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Mana, GetLocalPlayer(), "-mana", false )
call TriggerAddAction( gg_trg_Mana, function Trig_Mana_Actions )
endfunction
function Trig_Life_Func001002 takes nothing returns nothing
call SetUnitLifeBJ( GetEnumUnit(), S2R(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
endfunction
function Trig_Life_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsSelectedAll(GetLocalPlayer()), function Trig_Life_Func001002 )
endfunction
function InitTrig_Life takes nothing returns nothing
set gg_trg_Life = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Life, GetLocalPlayer(), "-life", false )
call TriggerAddAction( gg_trg_Life, function Trig_Life_Actions )
endfunction
function Trig_Inteligince_Func001002 takes nothing returns nothing
call ModifyHeroStat( bj_HEROSTAT_INT, GetEnumUnit(), bj_MODIFYMETHOD_SET, S2I(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
endfunction
function Trig_Inteligince_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsSelectedAll(GetLocalPlayer()), function Trig_Inteligince_Func001002 )
endfunction
function InitTrig_Inteligince takes nothing returns nothing
set gg_trg_Inteligince = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Inteligince, GetLocalPlayer(), "-int", false )
call TriggerAddAction( gg_trg_Inteligince, function Trig_Inteligince_Actions )
endfunction
function Trig_Strength_Func002002 takes nothing returns nothing
call ModifyHeroStat( bj_HEROSTAT_STR, GetEnumUnit(), bj_MODIFYMETHOD_SET, S2I(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
endfunction
function Trig_Strength_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsSelectedAll(GetLocalPlayer()), function Trig_Strength_Func002002 )
endfunction
function InitTrig_Strength takes nothing returns nothing
set gg_trg_Strength = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Strength, GetLocalPlayer(), "-str", false )
call TriggerAddAction( gg_trg_Strength, function Trig_Strength_Actions )
endfunction
function Trig_Agi_Func002002 takes nothing returns nothing
call ModifyHeroStat( bj_HEROSTAT_AGI, GetEnumUnit(), bj_MODIFYMETHOD_SET, S2I(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
endfunction
function Trig_Agi_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsSelectedAll(GetLocalPlayer()), function Trig_Agi_Func002002 )
endfunction
function InitTrig_Agi takes nothing returns nothing
set gg_trg_Agi = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Agi, GetLocalPlayer(), "-agi", false )
call TriggerAddAction( gg_trg_Agi, function Trig_Agi_Actions )
endfunction
function Trig_Level_Up_Func002001002 takes nothing returns boolean
return ( IsUnitSelected(GetFilterUnit(), GetLocalPlayer()) == true )
endfunction
function Trig_Level_Up_Func002A takes nothing returns nothing
call SetHeroLevelBJ( GetEnumUnit(), ( GetHeroLevel(GetEnumUnit()) + 1 ), true )
endfunction
function Trig_Level_Up_Actions takes nothing returns nothing
set bj_wantDestroyGroup = true
call ForGroupBJ( GetUnitsInRectMatching(GetPlayableMapRect(), Condition(function Trig_Level_Up_Func002001002)), function Trig_Level_Up_Func002A )
endfunction
function InitTrig_Level_Up takes nothing returns nothing
set gg_trg_Level_Up = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Level_Up, GetLocalPlayer(), "+", false )
call TriggerAddAction( gg_trg_Level_Up, function Trig_Level_Up_Actions )
endfunction
function Trig_Level_Down_Func002001002 takes nothing returns boolean
return ( IsUnitSelected(GetFilterUnit(), GetLocalPlayer()) == true )
endfunction
function Trig_Level_Down_Func002A takes nothing returns nothing
call SetHeroLevelBJ( GetEnumUnit(), ( GetHeroLevel(GetEnumUnit()) - 1 ), true )
endfunction
function Trig_Level_Down_Actions takes nothing returns nothing
set bj_wantDestroyGroup = true
call ForGroupBJ( GetUnitsInRectMatching(GetPlayableMapRect(), Condition(function Trig_Level_Down_Func002001002)), function Trig_Level_Down_Func002A )
endfunction
function InitTrig_Level_Down takes nothing returns nothing
set gg_trg_Level_Down = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Level_Down, GetLocalPlayer(), "-", true )
call TriggerAddAction( gg_trg_Level_Down, function Trig_Level_Down_Actions )
endfunction
function Trig_Level_Up_Copy_Func002001002 takes nothing returns boolean
return ( IsUnitSelected(GetFilterUnit(), GetLocalPlayer()) == true )
endfunction
function Trig_Level_Up_Copy_Func002A takes nothing returns nothing
call SetHeroLevelBJ( GetEnumUnit(), ( GetHeroLevel(GetEnumUnit()) + 10 ), true )
endfunction
function Trig_Level_Up_Copy_Actions takes nothing returns nothing
set bj_wantDestroyGroup = true
call ForGroupBJ( GetUnitsInRectMatching(GetPlayableMapRect(), Condition(function Trig_Level_Up_Copy_Func002001002)), function Trig_Level_Up_Copy_Func002A )
endfunction
function InitTrig_Level_Up_Copy takes nothing returns nothing
set gg_trg_Level_Up_Copy = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Level_Up_Copy, GetLocalPlayer(), "+10", false )
call TriggerAddAction( gg_trg_Level_Up_Copy, function Trig_Level_Up_Copy_Actions )
endfunction
function Trig_Level_Down_Copy_Func002001002 takes nothing returns boolean
return ( IsUnitSelected(GetFilterUnit(), GetLocalPlayer()) == true )
endfunction
function Trig_Level_Down_Copy_Func002A takes nothing returns nothing
call SetHeroLevelBJ( GetEnumUnit(), ( GetHeroLevel(GetEnumUnit()) - 10 ), true )
endfunction
function Trig_Level_Down_Copy_Actions takes nothing returns nothing
set bj_wantDestroyGroup = true
call ForGroupBJ( GetUnitsInRectMatching(GetPlayableMapRect(), Condition(function Trig_Level_Down_Copy_Func002001002)), function Trig_Level_Down_Copy_Func002A )
endfunction
function InitTrig_Level_Down_Copy takes nothing returns nothing
set gg_trg_Level_Down_Copy = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Level_Down_Copy, GetLocalPlayer(), "-10", true )
call TriggerAddAction( gg_trg_Level_Down_Copy, function Trig_Level_Down_Copy_Actions )
endfunction
function Trig_Level_Up_Copy_Copy_Func002001002 takes nothing returns boolean
return ( IsUnitSelected(GetFilterUnit(), GetLocalPlayer()) == true )
endfunction
function Trig_Level_Up_Copy_Copy_Func002A takes nothing returns nothing
call SetHeroLevelBJ( GetEnumUnit(), ( GetHeroLevel(GetEnumUnit()) + 100 ), true )
endfunction
function Trig_Level_Up_Copy_Copy_Actions takes nothing returns nothing
set bj_wantDestroyGroup = true
call ForGroupBJ( GetUnitsInRectMatching(GetPlayableMapRect(), Condition(function Trig_Level_Up_Copy_Copy_Func002001002)), function Trig_Level_Up_Copy_Copy_Func002A )
endfunction
function InitTrig_Level_Up_Copy_Copy takes nothing returns nothing
set gg_trg_Level_Up_Copy_Copy = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Level_Up_Copy_Copy, GetLocalPlayer(), "+100", false )
call TriggerAddAction( gg_trg_Level_Up_Copy_Copy, function Trig_Level_Up_Copy_Copy_Actions )
endfunction
function Trig_Level_Down_Copy_Copy_Func002001002 takes nothing returns boolean
return ( IsUnitSelected(GetFilterUnit(), GetLocalPlayer()) == true )
endfunction
function Trig_Level_Down_Copy_Copy_Func002A takes nothing returns nothing
call SetHeroLevelBJ( GetEnumUnit(), ( GetHeroLevel(GetEnumUnit()) - 100 ), true )
endfunction
function Trig_Level_Down_Copy_Copy_Actions takes nothing returns nothing
set bj_wantDestroyGroup = true
call ForGroupBJ( GetUnitsInRectMatching(GetPlayableMapRect(), Condition(function Trig_Level_Down_Copy_Copy_Func002001002)), function Trig_Level_Down_Copy_Copy_Func002A )
endfunction
function InitTrig_Level_Down_Copy_Copy takes nothing returns nothing
set gg_trg_Level_Down_Copy_Copy = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Level_Down_Copy_Copy, GetLocalPlayer(), "-100", true )
call TriggerAddAction( gg_trg_Level_Down_Copy_Copy, function Trig_Level_Down_Copy_Copy_Actions )
endfunction
function InitCustomTriggers takes nothing returns nothing
call InitTrig_Gold( )
call InitTrig_WOod( )
call InitTrig_Level( )
call InitTrig_Mana( )
call InitTrig_Life( )
call InitTrig_Inteligince( )
call InitTrig_Strength( )
call InitTrig_Agi( )
call InitTrig_Level_Up( )
call InitTrig_Level_Down( )
call InitTrig_Level_Up_Copy( )
call InitTrig_Level_Down_Copy( )
call InitTrig_Level_Up_Copy_Copy( )
call InitTrig_Level_Down_Copy_Copy( )
endfunction
Computer Specs:
Motherboard: GA-990FXA-UD3
CPU: FX-8350 @ 4.0GHz
PSU: Corsair CX500
RAM: G.Skill Ripjaws X 8GB @ 1866
GPU: Radeon HD 4870 1GB
HDD: OCZ Vertex series 30GB SSD
Case: Antec 900
Monitor: Toshiba 32"
OS: Windows 7 Ultimate
Bushido

Re: a little cheatpack..

Post by Bushido »

lol JJ , thanks ^^could u edit it on the first page too? i'm playing atm xD
thank u very much <3 wanna marry me? XD
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4441
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: a little cheatpack..

Post by Bartimaeus »

Gripen2 wrote:
initiald wrote:Moderators are helping fullfilling people's requests.
You don't see it because you are new to this site.
Im not fucking new.Maybe you are, becaus you haven't seen me here.
Gripen2 wrote:I've been inactive for long.But still, i like this.
Yes, i will use it on RPG maps, when i found out how to remove singe player protection. :?
You aren't going to be here much longer if you continue to be a complete arse to the other moderators and making outrageous comments and claims. I could ban you now for insulting moderators and administrators, and I doubt I would get repriminaded. So if you're going to be making any more comments like the ones you've already posted, don't think you'll not be removed. Unless you have a LEGITIMATE point that actually makes sense and is not flaming, please shut up.

My point still stands that you shouldn't be making grammar comments about other people when I could to the same exact thing for your every post. Want me to do that? Whenever you make a post, I'll type, "Your grammar sucks, you know." or, "Learn English, kid." or some other mean comment that would be the equivalent of your comment. Understand that we're not trying to be mean, merely upholding justice when it's due.

Also, initiald has been here longer than you, both in activity and join date, so don't say he's a newby, when he's a moderator, and you're not.
Bushido

Re: a little cheatpack..

Post by Bushido »

Some1 tryed the Cheatpack out?
User avatar
Shamanno1
Forum Staff
Posts: 912
Joined: October 21st, 2007, 6:17 am
Title: 11
Location: WorLd Of WaRcrAfT

Re: a little cheatpack..

Post by Shamanno1 »

no :(, i like to be player 4 when i play :P
~Everything changes~
I have met people who have no dreams, who have simply accepted their fate to work, exist, and die. They are the most miserable people I have ever known.
User avatar
JJ2197
Legendary Genius
Posts: 1311
Joined: August 8th, 2007, 8:10 am
Title: Legendary Genius²
Location: St. George Utah

Re: a little cheatpack..

Post by JJ2197 »

Umm it doesn't matter what player you are?
Computer Specs:
Motherboard: GA-990FXA-UD3
CPU: FX-8350 @ 4.0GHz
PSU: Corsair CX500
RAM: G.Skill Ripjaws X 8GB @ 1866
GPU: Radeon HD 4870 1GB
HDD: OCZ Vertex series 30GB SSD
Case: Antec 900
Monitor: Toshiba 32"
OS: Windows 7 Ultimate
User avatar
Shamanno1
Forum Staff
Posts: 912
Joined: October 21st, 2007, 6:17 am
Title: 11
Location: WorLd Of WaRcrAfT

Re: a little cheatpack..

Post by Shamanno1 »

i didn't saw u made it for all players :/
~Everything changes~
I have met people who have no dreams, who have simply accepted their fate to work, exist, and die. They are the most miserable people I have ever known.
Bushido

Re: a little cheatpack..

Post by Bushido »

he fixed it ^^
and i really appreciate it =)