#eulora Logs for 25 Apr 2016



April 25th, 2016 by Diana Coman
alikim: hi mircea [04:39]
diana_coman: hi alikim , how's it going? [05:15]
alikim: hi diana, I've been pretty busy on the weekend otherwise, so hopefully today will start working on the bot [05:43]
alikim: wanna take botting here to new heights, might take a week or so to program what I want [05:44]
diana_coman: what are those heights? [05:46]
diana_coman: 1 week or 2 doesn't sound that bad - it certainly took me more to get the bot even where it is now (figuring out movement esp was a pain) [05:47]
alikim: navigating the island on it's own mostly [05:50]
diana_coman: heh, that'd be cool; tbh after I figured out movement that follows quite smoothly; the only stumbling block is mainly avoiding getting stuck/falling to death [05:51]
alikim: I'm gonna finish ai and then see how bad the movement is, since you don't send it to specific coordinates but rather tell it to wals for certain amount of time, checking if the destination has been reach might be painful [05:54]
diana_coman: there is the /pos thing [05:54]
diana_coman: bot can run that and check [05:54]
alikim: yeah I know [05:54]
alikim: oh well, there is only one way to figure out [05:55]
alikim: then there is a sphere, that needs to be accounted for as well [05:56]
diana_coman: that's not the main trouble [05:57]
diana_coman: you can get stuck in all sorts of big objects [05:57]
diana_coman: as in: the table in the village [05:57]
diana_coman: or the houses [05:58]
diana_coman: anyway, worth a try for sure [05:58]
alikim: you can either remove them or discourage the bot from visiting those areas [05:58]
diana_coman: there is some code commented out in the client, attempting to do path avoidance [05:58]
diana_coman: it basically sweeps a region in front of you checking for this kind of things [05:59]
diana_coman: well, removing them works for now, yeah, will correct that [05:59]
diana_coman: if you are at that, you can just teleport for now, for as long as that still holds [05:59]
alikim: swepps how? checking if there are any world objects ahead? [05:59]
diana_coman: pretty much: it defines an area in front and checks what objects are in there and where [06:00]
diana_coman: it's some legacy code from planeshift client so no idea how well it worked /if it worked, but maybe worth having a look at it [06:00]
alikim: I'd rather tell the bot not to visit certain areas since houses are not moving [06:01]
alikim: no, I'm actually writing a legit bot, no teleporting [06:01]
diana_coman: well, trouble is that you don't know whether you are not basically wiping out also all chances of finding some resources that way [06:01]
alikim: resources inside the house? [06:02]
diana_coman: ah, no, but do you mean you can take them out so precisely as not to miss anything outside? [06:02]
alikim: yeah down to one unit of coordinate [06:03]
diana_coman: hm, how does that work given that movement is not that precise; how often would you check where you are to avoid going there? [06:03]
alikim: that's what I said, depend on how precisely you can control the bot position [06:04]
alikim: and how often you need to check coordinates [06:04]
diana_coman: maybe you find a better way of doing movement, dunno; currently bot starts movement and then stops it, so no direct control over coordinates as such, more a matter of checking pos all the time - could work [06:06]
jurov: yes it works [06:08]
diana_coman: at 1 coord max precision jurov , did you implement that? [06:09]
jurov: let me try measure [06:09]
jurov: looks like with checking position every frame I can have precision about +-0.2 [06:12]
alikim: you could ofc implement a routine that checks coordinates after making a half of remaining distance [06:12]
alikim: jurov: where do I look for a place to do something every frame? [06:13]
jurov: seaarch for frame in psengine.cpp [06:14]
alikim: or is there an event you need to subscribe? [06:14]
alikim: ok thanks [06:14]
jurov: yes you can subcribe too but it means hairy C++ [06:14]
alikim: I don't suffer from dc but also need to write a simple watchdog that relogs [06:15]
alikim: just in case [06:16]
jurov: and I think to have network of known safe paths instead of full-fledged collision/fall avoidance will be simpler [06:19]
jurov: plus directions which sections need switch to walking [06:21]
alikim: maybe but it requires a lot of manual work [06:27]
jurov: if you're the superman that can implement wayfinding optimalizer in few days, then need not do any "manual work" :D [06:31]
alikim: maybe I am xD [06:45]
diana_coman: <jurov> looks like with checking position every frame I can have precision about +-0.2 <- does this slow it down in any noticeable way? [07:36]
jurov: no [07:39]
diana_coman: cool then [07:39]
jurov: it calls only GetLastPosition , not the server [07:41]
jurov: and executing additional chunk of code 15 times per second is not a big deal [07:41]
diana_coman: &item Homunculus [09:42]
euporium: I know nothing of Homunculus [09:42]
jurov: that's a thing? [09:42]
diana_coman: according to electron's bundles it is a resource jurov , yes [10:50]
mircea_popescu: alikim> navigating the island on it's own mostly << now that would rock. [11:59]
mircea_popescu: especially as i'm pondering doing an update for death, where instead of nothing you get teleported to a labyrinth island and have to find your way out. [12:00]
mircea_popescu: alikim : re checking destination, don't forget you have /pos so you can implement various interpolation methods to reach a certain value. [12:00]
mircea_popescu: there's a lot of literature on how to make ai reach arbitrary point in such a system, mostly a solved problem. [12:01]
mircea_popescu: jurov> looks like with checking position every frame I can have precision about +-0.2 << iirc this is what i found also. should be ample. [12:45]
mircea_popescu: ahahahaha wayfinder optimalizer this is best item! [12:46]
mircea_popescu: AUCTION 1 stack LBN, q 339, 1.5mn heard hanbot ; 1 stack CFT, q 157, 3.4mn heard hanbot . eta 17:00 GMT << bout three hours. [12:48]
alikim: <mircea_popescu> especially as i'm pondering doing an update for death, where instead of nothing you get teleported to a labyrinth island and have to find your way out << that will kill all barehanded exploration [12:55]
jurov: no wonder, they are plotting to kill barehanded exploration for a long time already [12:57]
mircea_popescu: alikim why kill it ? you get out, start over. [12:57]
mircea_popescu: but yes, barehanded exploration is not intended to last forever. [12:58]
mircea_popescu: generally death will keep getting upgraded in inconvenience until it comes into its eventual, permanent form. also something like this will allow adding healing effects to the game, which is obviously something coming. [13:05]
jurov: do resource locations change nowadays? a week ago i was still getting some rf from previously known rf place [14:03]
jurov: now i'm exploring whole day and not got any rf [14:04]
danielpbarron: kinda [14:15]
mircea_popescu: jurov it... vaires [14:36]
danielpbarron: why does the dreamcoat equip to the head? [14:52]
mircea_popescu: lol! [15:31]
mircea_popescu: oversight, prolly [15:31]
Birdman: took 5 cs farming ords to level up farming once [15:51]
Birdman: such a bitch of a skill [15:51]
danielpbarron: not bad actually [15:52]
Birdman: i guess i've nothing to compare it to [15:55]
Birdman: it seems to me the cs ords are worse for exp than my barehanded ones [15:55]
Birdman: do you have DT for sale per your shop mircea_popescu ? [15:57]
alikim: why if I subscribe to psengine->GetMsgHandler()->Subscribe(this, MSGTYPE_PERSIST_ITEM); then the client stops processing this message and all items disappear from the game? [15:57]
alikim: same for MSGTYPE_PERSIST_ACTOR [15:58]
jurov: alikim you must rewind any messages [15:58]
mircea_popescu: Birdman fraid not. you'll have to talk to whoever won the auction for dt bps [15:58]
Birdman: Ah, thanks [15:59]
alikim: jurov: what do you mean? normally I just subscribe and process them in HandleMessage, it doesn't affect any other subcribers [15:59]
Birdman: it is definitely frustrating being such a shitty crafter, i feel i could be bidding on some of these things to help myself but it'd probably be wasted on me [15:59]
jurov: alikim: don't have the sources open right now, dunno if it's called rewind(), but there's a function like that which must be called if the messages are intercepted [15:59]
jurov: otherwise the other listeners fail to process them [16:00]
alikim: widgets do not do that [16:01]
jurov: foxybot does it [16:01]
alikim: it only happens with these two messages I guess [16:02]
jurov: no, i do it with all messages i'm subscribed to [16:03]
jurov: maybe it's unnecessary but harmless [16:04]
mircea_popescu: turns out a standard for all this would be more than useful. [16:04]
mircea_popescu: Birdman you can always bid and cut a deal with a diff crafter to actually run them. [16:05]
Birdman: yeah i guess that is a possibility, and lets me control costs entirely [16:06]
alikim: message->Reset() [16:09]
Birdman: so mircea_popescu what if you ~lose~ value while overcrafting something? how would that be accounted for in your pay if i were to rent your services [16:12]
mircea_popescu: how would i lose value ? [16:13]
Birdman: is it possible to use such high ingreds that the end products are less in bv than you started with? [16:14]
mircea_popescu: certainly [16:15]
danielpbarron: Birdman, i charge by the click [16:15]
Birdman: right so 120\% value added would be a negative value [16:17]
danielpbarron: you'd have to run the numbers on whatever you'd end up using the things for [16:17]
danielpbarron: might seem like a loss but really it's a gain [16:17]
Birdman: what do you mean [16:17]
Birdman: i get that, but for arguments sake we have to look at the bv [16:18]
danielpbarron: what's the difference in output on a consideration between your tomb and whoever's tomb [16:18]
Birdman: tome* [16:18]
mircea_popescu: Birdman well that's why the "basis" is there, you know. [16:19]
Birdman: so it'd have to be negotiated in that certain case? [16:20]
danielpbarron: my clicks include the equipment [16:21]
mircea_popescu: well in all cases, yeah. [16:22]
Birdman: danielpbarron which supplications looted grc? [16:26]
hanbot: Birdman it's stones. [17:11]
Birdman: thanks [17:11]
mircea_popescu: sooo in my queue, 14k cft ; 3k dg ; 1k io. look at me... buys as a bee... where'd i get this energy... [23:09]

Comments feed: RSS 2.0

Leave a Reply