#eulora Logs for 22 Nov 2016



November 22nd, 2016 by Diana Coman
diana_coman: hanbot, bot tries to move things to the table to avoid being overweight [02:31]
diana_coman: however it moves ingredients only [02:31]
diana_coman: so it will work if you are not ow anymore once the ingredients are in table, BUT it will NOT work if you are ow with bps only or with output only [02:32]
diana_coman: also: there is an uncovered case namely if you rank simultaneously in 2 (or more) skills [02:32]
diana_coman: meaning that it will train only the first skill it knows about and therefore you'll potentially miss on the 2nd from there on [02:32]
diana_coman: also: it moves stuff but only one stack of each (so if you have 2 stacks of flotsam then it won't be able to train, no) [02:33]
diana_coman: anyways, by your setup I'd say what happens is that you are ow with the output only by the time you need training (so slag or whatever it is) [02:33]
mircea_popescu: sooo... cs gives me 4 pss per small [08:34]
mircea_popescu: diana_coman so basically there's an open chance to improve foxybot here - a) make it do all skills not just one ; b) make it move all stacks not just one ; c) make it move product not just ingredients [08:35]
shinohai: Foxybot hates me, I'm still trying to do a simple popup window to allow # of cft, etc used in exploring but fails. [08:37]
diana_coman: mircea_popescu, yes; c would even be "make it move product AND bps not just ingredients" - because one can easily be ow with bps only [08:47]
mircea_popescu: ya [08:47]
diana_coman: shinohai, do you mean a new window for config? what fails/where are you stuck? [08:47]
mircea_popescu: shinohai errors or anything ? [08:47]
diana_coman: and mircea_popescu 4 pss per small is actually GOOD , lol [08:47]
diana_coman: I even got like 2 [08:47]
diana_coman: depends on q , obv [08:47]
diana_coman: I would say the easiest there is probably a really [08:48]
diana_coman: shinohai, maybe start with that? it's really just a matter of storing the skills to train in a vector/list rather than just in a single var [08:48]
diana_coman: and then when training happens to go through them and send the training messages for each [08:48]
shinohai: no errors .... nothing happens. imma keep reading teh code but pointers definitely appreciated since http://i.imgur.com/omK9a9o.jpg [08:49]
diana_coman: ok, but what did you do so far and what is happening? [08:49]
diana_coman: did you manage to create a new window or is that where you are stuck? [08:49]
diana_coman: are you trying to create a window similar to the one where foxybot spits out messages? [08:50]
shinohai: Yes, in the foxybot .cpp files [08:51]
diana_coman: oh, you want to make it from code 100\%? [08:52]
shinohai: well if there is a simpler manner, as is I can start the client with whatever "explore" params I want using a bash script to alter it. [08:53]
shinohai: but that is kinda Rube Goldberg I admit [08:53]
diana_coman: I'm confused; what are you trying to do exactly? [08:54]
shinohai: When I start to explore, instead of immediate foxybot start, i'm trying to make a popup window that allows me to put # of cft I wish to use on that run. (to start) [08:55]
diana_coman: you do realise that the # of cft is set from the command line itself? [08:55]
diana_coman: so /bot explore 1000 line 10 1 7<- number of cft [08:56]
diana_coman: anyway, as pointer for a popup window I would say check out the one that appears when you select an item in inv so the one asking how many items you want from the stack [08:57]
shinohai: yup, this I have [08:57]
diana_coman: in terms of where to plug it in: foxybot.cpp selects the activity/command and then passes the rest of the command line to that [08:59]
diana_coman: so possibly either there if you want generally to set whatever params or otherwise directly in botactivity.cpp if you want specifically for explore [08:59]
diana_coman: the Init() method of each activity is the one called with the rest of parameters [09:00]
diana_coman: so: a). foxybot.cpp method ExecuteCmd b). botactivity.cpp method ExploreActivity::DoInit() [09:01]
diana_coman: does that make sense to you shinohai ? [09:01]
shinohai: ah si si [09:01]
diana_coman: if still stuck just ping me with some concrete stuff as to what you're doing/it's (not) doing [09:03]
shinohai: I'm embarrased to show my workspace at the moment, I have like 20 parts of the code open in vim in various states of copy xD [09:04]
diana_coman: heh, not a problem at all; feel free to pick my brain on the client/foxybot code though as I'll gladly help if I can [09:06]
diana_coman: the client code is a nightmare and there is no real doc at all for it [09:06]
diana_coman: foxybot is on purpose as separate from the rest of the client as it can be (meaning almost on its own) and I tried to write a minimal doc on the blog but I have no idea how clear that is [09:07]
shinohai: Thanks! You know I am very green when it comes to games and their mechanics. I never really bothered with C++ code before I got involved with trb [09:07]
diana_coman: what did you program in? [09:07]
shinohai: python mostly [09:07]
diana_coman: not bad, but relatively far from c/c++ indeed [09:08]
shinohai: yup [09:08]
diana_coman: stares all of a sudden at a double rainbow outside, ha! [09:09]
shinohai: Anyway I stuck around this place for education and boy am I getting one xD [09:10]
diana_coman: not that many places around where such a thing is actually available, huh [09:14]
shinohai: Not in a way that truly challenges one to think/read imo [09:15]
mircea_popescu: slowly but surely up to 130 pss [12:15]
mircea_popescu: only need like 2k or so heh. [12:15]

Comments feed: RSS 2.0

Leave a Reply