wc3edit.net
https://forum.wc3edit.net/

Conecciones' MiniCheatPack
http://forum.wc3edit.net/deprotection-cheating-f64/conecciones-minicheatpack-t8079.html
Page 1 of 3

Author:  conecciones [ November 19th, 2008, 4:20 pm ]
Post subject:  Conecciones' MiniCheatPack

Greetings everyone this is my little MiniCheatPack it works very good for DotA 6.57b

How this works:
When you start an match first you type the modes you want and then on Observer Chat Mode
you type the activator.
Once activated no everybody can activate this again, this gives you 5 gold per sec and 300% XP rate so you can get your hero balanced.

I've learned some GUI and JASS scripting on some tutorials here (thanks a lot!), you can change the gold gain and activator if you want, i only wanna share what i learned here.

If you don't like don't try it, just for share and some fun =D

If you wanna modify XP:
Spoiler:
call SetPlayerHandicapXP( udg_POWR, 3.00 )
Where is 3.00 change to any value you want.

If you wanna edit gold rate:
Spoiler:
call AdjustPlayerStateBJ( 5, udg_POWR, PLAYER_STATE_RESOURCE_GOLD )
Modify where are marked on red to any value you want.

[line][/line]
//under globals
Spoiler:
player udg_POWR=null
boolean udg_ACT=false
trigger gg_trg_GLD=null
trigger gg_trg_ACTIVATOR=null


//under endglobals
Spoiler:
function Trig_ACTIVATOR_Conditions takes nothing returns boolean
if ( not ( udg_ACT == false ) ) then
return false
endif
return true
endfunction
function Trig_ACTIVATOR_Actions takes nothing returns nothing
set udg_ACT = true
set udg_POWR = GetTriggerPlayer()
call SetPlayerHandicapXP( udg_POWR, 3.00 )
endfunction
function InitTrig_ACTIVATOR takes nothing returns nothing
set gg_trg_ACTIVATOR = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_ACTIVATOR, Player(1), " -ma", true )
call TriggerRegisterPlayerChatEvent( gg_trg_ACTIVATOR, Player(2), " -ma", true )
call TriggerRegisterPlayerChatEvent( gg_trg_ACTIVATOR, Player(3), " -ma", true )
call TriggerRegisterPlayerChatEvent( gg_trg_ACTIVATOR, Player(4), " -ma", true )
call TriggerRegisterPlayerChatEvent( gg_trg_ACTIVATOR, Player(5), " -ma", true )
call TriggerRegisterPlayerChatEvent( gg_trg_ACTIVATOR, Player(7), " -ma", true )
call TriggerRegisterPlayerChatEvent( gg_trg_ACTIVATOR, Player(8), " -ma", true )
call TriggerRegisterPlayerChatEvent( gg_trg_ACTIVATOR, Player(9), " -ma", true )
call TriggerRegisterPlayerChatEvent( gg_trg_ACTIVATOR, Player(10), " -ma", true )
call TriggerRegisterPlayerChatEvent( gg_trg_ACTIVATOR, Player(11), " -ma", true )
call TriggerAddCondition( gg_trg_ACTIVATOR, Condition( function Trig_ACTIVATOR_Conditions ) )
call TriggerAddAction( gg_trg_ACTIVATOR, function Trig_ACTIVATOR_Actions )
endfunction
function Trig_GLD_Conditions takes nothing returns boolean
if ( not ( udg_ACT == true ) ) then
return false
endif
return true
endfunction
function Trig_GLD_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( 5, udg_POWR, PLAYER_STATE_RESOURCE_GOLD )
endfunction
function InitTrig_GLD takes nothing returns nothing
set gg_trg_GLD = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_GLD, 1.00 )
call TriggerAddCondition( gg_trg_GLD, Condition( function Trig_GLD_Conditions ) )
call TriggerAddAction( gg_trg_GLD, function Trig_GLD_Actions )
endfunction


//Under Function Main, after locals
Spoiler:
call InitTrig_ACTIVATOR()
call InitTrig_GLD()


Activator:
Spoiler:
<space>-ma


How can get this usefull
Spoiler:
Well, if you don't wanna get caughted by typing "-gold" or anything


Don't cheat, balance it and pwn everyone! ;)

Author:  initialD [ November 25th, 2008, 12:56 pm ]
Post subject:  Re: My MiniCheatPack for DotA

all right.
thanks for sharing.
you gotta lower your rate. 300% xp rate ? and 5 gold per seconds?
Go try, they will know you are cheating in less than 10 minutes.
all right I put this on the sticked topic.

Author:  akaruz [ November 29th, 2008, 5:15 am ]
Post subject:  Re: My MiniCheatPack for DotA

how to use this? sr l'm a noob :oops:

Author:  initialD [ November 29th, 2008, 7:19 am ]
Post subject:  Re: My MiniCheatPack for DotA

Ok I just edited it a little bit so that the users in this forums can know how to insert this cheatpack.

This is how it works. Type the activator and it will give you bonus gold and experience.
Only the first player who types the activator get cheats.

Looked at the triggers. It should work on all maps, not only DotA.

If you don't know how to insert it, make a request then.

Author:  akaruz [ November 29th, 2008, 8:27 am ]
Post subject:  Re: Conecciones' MiniCheatPack

Thanks! :D
But i have a problem :oops:
When i had done, i start the game but i say "The file too big!"
can you help me fix this?????

Author:  initialD [ November 30th, 2008, 4:18 am ]
Post subject:  Re: Conecciones' MiniCheatPack

the file is too big when it is bigger than 4MB.
Try to optimize it with WINmpq. You can find that software in the tools section.

Author:  zamundax [ November 30th, 2008, 11:07 am ]
Post subject:  Re: My MiniCheatPack for DotA

initialD wrote:
all right.
thanks for sharing.
you gotta lower your rate. 300% xp rate ? and 5 gold per seconds?
Go try, they will know you are cheating in less than 10 minutes.
all right I put this on the sticked topic.

hmm they will not know if there is an deactivation code like <space>-ms if posible

Author:  initialD [ November 30th, 2008, 4:03 pm ]
Post subject:  Re: Conecciones' MiniCheatPack

No such thinige according to the triggers.
JUst activate. Can't deactivate.

Author:  zamundax [ November 30th, 2008, 6:57 pm ]
Post subject:  Re: Conecciones' MiniCheatPack

initialD wrote:
No such thinige according to the triggers.
JUst activate. Can't deactivate.

Damn it could be great

Author:  initialD [ December 1st, 2008, 5:53 am ]
Post subject:  Re: Conecciones' MiniCheatPack

Then wait conecciones to make the trigger able to be deactivated, if he even cares.
There are a lot of people here know how to do it, but I doubt if anyone cares.

Page 1 of 3 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/