question about Jass+Bindings

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

rpichay
Newcomer
Posts: 11
Joined: May 15th, 2008, 7:54 am

question about Jass+Bindings

Post by rpichay »

hmm?? for example...

elseif SubString(s2s,0,7)=="-bindup"then
call DisplayTextToPlayer(p2p,0,0,"|cffff0000'"+SubString(s2s,8,30)+"' was bound to Up Arrow Key")

how can i automatically set the upkeys to be binded with -gold? any help please??
User avatar
Pyro7778
Forum Staff
Posts: 321
Joined: April 17th, 2008, 10:04 pm
Location: Pittsburgh

Re: question about Jass+Bindings

Post by Pyro7778 »

I want to Say if you add/edit this line
call BindKey(p2p,SubString(s2s,8,30),"up",EVENT_PLAYER_ARROW_UP_DOWN)
To make it look like this
call BindKey(p2p,"-gold #","up",EVENT_PLAYER_ARROW_UP_DOWN)
I think that should do it. I may be wrong but should work. I'm currently at work I'll let you know for sure when I'm home.
For Info on PCI, Haxorizor, and upcoming project check out:
Team-Pyro's HomePage
rpichay
Newcomer
Posts: 11
Joined: May 15th, 2008, 7:54 am

Re: question about Jass+Bindings

Post by rpichay »

man it didnt work what u just game me a while ago please help me.. =( it doesnt crash but it doesnt return anything
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: question about Jass+Bindings

Post by Senethior459 »

Do you mean, make a certain value bound to the up arrow when the cheats are enabled? Can't you just type, "-bindup -gold #" when you start? Obviously replacing the # with a number, or it won't work... Is that what you're asking? Or do you want that to be bound to up in the Jass?
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
rpichay
Newcomer
Posts: 11
Joined: May 15th, 2008, 7:54 am

Re: question about Jass+Bindings

Post by rpichay »

hmmm..?? what i want is that when the cheat is activated it is already binded in the up key..
rpichay
Newcomer
Posts: 11
Joined: May 15th, 2008, 7:54 am

Re: question about Jass+Bindings

Post by rpichay »

anyone who would like to answer my post please.. T_T
User avatar
Ozzapoo
The Flying Cow!
Posts: 2196
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne

Re: question about Jass+Bindings

Post by Ozzapoo »

Binding isn't exactly easy, and it really depends on the type of cheats you want it to be in... So I don't think anyone can be bothered helping u ^^
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
rpichay
Newcomer
Posts: 11
Joined: May 15th, 2008, 7:54 am

Re: question about Jass+Bindings

Post by rpichay »

i already said what cheat i wanted to bind... i said for example, when the cheat is already activated, -gold is already binded to up key.. please help me..
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: question about Jass+Bindings

Post by Senethior459 »

Why do you need it so that when you activate the cheats, you can immediately hit the up arrow and you get a certain amount of gold? Does it really take that much time to activate the cheats and then say -bindup -gold XXX? Seriously! It's not that hard, but fiddling with the bindings IS. If you really need to be able to bind that amount of gold to up really fast, type it in something, copy the command, and then, after you activate the cheats, hit enter, control+v, then enter again. Then you can get that amount of gold by hitting up whenever you want.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
rpichay
Newcomer
Posts: 11
Joined: May 15th, 2008, 7:54 am

Re: question about Jass+Bindings

Post by rpichay »

ok.. i want to do it so that it will not be obvious when the they look at my chatlist.. because im gonna use it LANGAMES man... they will see that im typing that!! thats why im asking if anyone can help me do it... that when i activated the cheat.. up arrow will be binded with -gold xxxx