« first day (9 days earlier)    last day (15 days later) » 

15:56
greatings
^^
Perfect
ok so 1 key to buy through different items and another to go back to item 1
quite easy
that would be a start
i could tweak it a bit
Well lets say I'm gonna tweak it for several hero i use on diferent keys but a genereic script for starter would be nice
15:58
my idea would be.
button 1 does tell you in ingamechat "quickbuy item is bottle". if you press button 1 again it will say in chat "quickbuy item is boots" and so on.

button 2 would be the buybutton for the according item
would that be better ? to know where the buyscript is
i am writing your ideas down sec
I dont know if spamming the chat with my future purchase is a good idea though
agreed
if i figure out a way to say it to only the user himself
i would take that route^^
maybe its possible to speak to the coach only
even if you have no coach
there is a way but it is not userfriendly at all. you would need to open up the console every time. i can print it directly into the console
but if you for example never opened the console before
not userfriendly as i said
good idea!
writing down
ok i will build you a prototype and after that tweak it with the resetbutton
can u name some items that would be part of the list while i am working on it?^^
that woould be some basics item like
glove > midas > boots > power tread
or bottle > boots > urn of shadow
I've udnerstand the principle of buying the item n° X on tab X so i think I could personalize it myself if needed
16:07
thats good to hear
i need some time to make it work since i am at home for the holidays. my laptop does not have all my dota scripts i made on my desktop pc^^ so i need to make it from scratch atm
Sure no problem, im not in a hurry at all
ok i have a itembuy cycle now
bottle to boots
this would work with the autoconfig.exe
?
i am currently only in the autoexec file ;)
since i am working from scratch
OKay
16:18
but on my desk i have a pudge.cfg, puck.cfg etc
for hero specific scripts
and myBindings.cfg for normal stuff
how does that work does the game recognize the script by name or do you ahve to do something before ?
myNetwork.cfg for network settings
etc
yes source will only execute autoexec on start
all other cfg need to be executed manually via command "execute pudge.cfg" for example
but ofc we can do that command via button too :P
so for example i can press 7 on my numpad which loads pudge cfg
and exec your other cfg could be done through the autoexec ?
and the press 7 again to buy all my pudge stuff
because i overwrote 7 ;)
sure
i always load my bindings and network stuff automatically with autoexec
that's pretty neat
wish i'd known that before
16:20
i can give you all my stuff when i am at my desktop again :)
i managed to reset the cycle now too
something missing?
does it write in the chat ?
i can buy with 1 button from bottle to tp in 3 steps
and reset
ah not yet^^
this might be the tricky part but its not absolutely required
since i can see my item progression in my inventory
its just more userfriendly
wait
we could use quick buy too... we could set the next item that would be bought as quick buy too
so you would see it
right
16:22
if you dont use quickbuy otherwise?
I think i never use quickbuy
and there is one neat thing too... normal people dont know it
do you know that there is a tp scroll icon next to quickbuy
right side
to buy tp quickly
we can change that icon to any item too ;)
yes the "sticky" thing
is that possible to modify the sticky item to anything ?
did not know it is called that. is there a way to change it by user without command?
any item
did not try to put roshan in it yet :D
well in that case the script could become => put each item of the list on the sticky item, and one key to reset the list
wouldnt that be simpler ?
16:27
same deal for me. its your choice if you want to buy stuff with a button or with a rightclick on the sticky
you can set a key in the settings for sticky so
i just found out that you can drag any item on that little icon so it will change and you could use it too
I didnt know that x)
me neither :D
so
1 script would take the current list of item and put it one by one on the sticky part
1 key to reset the list
16:30
well. if we sum it up:
either we buy items step by step with a button and show it on the sticky too so the user sees it.
or we just drag items of our desire to the icon and rightclick it when we need it
there is 1 advantage and disadvantage in the script
advantage, it goes on and on by itself
disadvantage. it is fixed
if you have quite a fixed itemlist for some heroes then it would be better i guess?
I dont mind it being fixed
most heroes need boots for example so ^^
ill give you the script i have so far. will add info text how to extend/modify to your needs tho
come the next level, bind a key to set up a list for each hero : Example i press keypad 1 => item list = Pudge ; Keypad 2 item list = Invoker
etc
for now i did not find a way to chat to a coach
not a big issue
16:33
@WizLiz should i add that feature first b4 i send the code?
pudgelist etc
well if you can achieve it i dont mind waiting
kk
ok i have a prob now
not that i could not archive it. there are 2 ways to do it and i need your advice :P
Sure
would you like to have a pudge.cfg and an invoker.cfg (as an example) or would you like to have it all in 1 autoexec
i think an external cfg is easy to manage
and for you to modify to your needs
Yes I think so too
16:37
k then i will build it that way
wow i just found a way to make the script much more readable for you
happy
17:09
ok
was a lot more work then i expected
:D
as i said im not in a hurry
i found another way to do it which is much easier (if it works).
so i will send you this version 1 but i will build a new one^^
Sure go ahead
I myself thought of something that could be nice : Having a key to cycle through hero shop list : Press 1 => pudge list => press 1 => invoker list and then with the other script buy the item one by one
thats possible sure
but its alot harder to make the user know which list is selected
if chat is forbidden:P
can be writtend in the console
if you select the list wthin the first 30 sec of the game
thats not a big usse
17:13
well
your idea is not good
instead of cycling throu heroes
you could write "exec hero.cfg" directly into console, that would be much faster
right
but if you would use lets say 9 heroes the most
you could set those on your numpad
to be quick without console
yup
but cycling throu herobuilds is slow and not good
aren't there any ways to exec current_hero_name.cfg
and get the current her oname from anything
17:15
hehe ;) i wanted that too but did not find any way to archive that
that would be perfect
Being limited to only consle command doesnt help
do you know any good one click hoster where i can upload
Nop I usualy use shared text pad for quick text sharing
17:16
ah pastebin
that link is my autoexec
you can ignore items and item stickies for now
perfect
cycle is where you define your list
im looking at right now
thats some nice work
17:20
and now the pudge.cfg
for better modification
it only contains the itemlist
thats mostly all you need
if you would want to add lets say a tango you would need to add a line item4
Perfect, im going to test this right now
in the autoscript.cfg are the 3 important buttons you need to bind
bind "b" "shopping"
bind "v" "resetshopping"
bind "KP_7" "exec pudge.cfg"
you should change those to your needs
Yup
but as i said i have another idea which would reduce the code to about 60% of the current
and still be simpler :D
So far this one is easy to read and modify
Im gonna work with it till you finish the other version
and test it in game
17:25
for further help i recommend my answer on arqade
3
A: How can I toggle/cycle through settings?

WandangTo cycle through different names/settings/scripts etc you need to follow the following pattern (At the end there is the full code if you want to skip the details): Step 1: Set a starting point alias cycler "useName1" Now if we trigger cycler -> useName1 will be executed. cycler and useName1 ...

Yup I already bookmared this with your other answer about quickbuy
fuck
the sticky code does not work. valve disabled changing icons from sticky with the command
damn
can you tell me what experience you have with code / programming
so i can estimate how much i go on your nerves by explaining stuff you already know^^
3 years in computer science
for school
and i've been working for almost a year now
C# developper
but I like learning and i dont know much about dota so feel free to explain
I had a question regarding the script to auto buy. Does it work even if I use the other layout for the shop
17:36
yes
i for example always use the one where i can see all items at once
OKay me too
i had a c# course but i struggle with that language for no real reason
:/
I struggled at school for no reason because once you start working in an actual compagny, coding becom suddelny much easier
i assume stress of the exam and failure is off the table
so thats why
my dreams just got crushed by valve. i hoped to use the sticky function with the lists. this would remove the need for x and y coordinates in the shopping menu and just set sticky item to tpscroll for example and after that i would buy sticky
but i cannot set sticky :(
I was hoping you could
17:39
well i do a dual study, 2 days a week studying and 3 days working in an institute
at the end i will have a bachelor and an apprenticeship
but my institute treats me as a full time employee which sux
You earn more money
and actually i did the same
2 years full school
then 1 year with 2days a week working for a company
yes money is ok. not much but better then my first normal studying without any money
where i had 10 bucks left for the last week of the year..
now i can even go plan a trip to japan
Just tested the script, it works like a charm
thats good
but i would recommend removing the sticky parts
since they have no use
yup
17:47
shortens the code a little
now the funny part will be to write the cfg for each hero
idd
if you want to print something on console just use echo
like in php
echo "invokercfg loaded" for example
that idea was great non the less
i enjoyed finding a partial solution for it
noted
actually it works pretty well
too bad that valve prevent from modifying the sticky item
y
well its a bit complicated
the command changes the sticky.. but only after you refreshed the game
:D
thats why it could be that next time you are ingame the sticky is a bottle or boots
until you delete the sticky code ;)
if you want you can ask a question on arqade for that functionality and i can answer that with my script. otherwise i will do the question ^^
Yup, I will do that
Thanks for your help
17:55
np :) have a great holiday
You too ^_^

« first day (9 days earlier)    last day (15 days later) »