*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** verhoevenv has quit IRC | 00:46 | |
*** verhoevenv has joined #tp | 00:49 | |
*** Linkadmin has joined #tp | 01:04 | |
*** nash has joined #tp | 01:25 | |
*** CIA-29 has quit IRC | 01:31 | |
*** CIA-32 has joined #tp | 02:36 | |
*** glew has quit IRC | 04:48 | |
*** nash has quit IRC | 05:07 | |
*** llnz has quit IRC | 05:34 | |
*** llnz has joined #tp | 05:38 | |
*** Greywhind has joined #tp | 06:04 | |
*** cahirwpz has joined #tp | 08:19 | |
*** null_000 has joined #tp | 11:54 | |
*** verhoevenv has joined #tp | 13:49 | |
*** glew has joined #tp | 14:09 | |
*** Agon has joined #tp | 14:20 | |
*** null_000 has quit IRC | 15:10 | |
*** null_000 has joined #tp | 15:31 | |
null_000 | ping glew | 16:09 |
---|---|---|
*** cahirwpz has quit IRC | 16:14 | |
*** verhoevenv has quit IRC | 16:15 | |
null_000 | ~seen JLP | 16:31 |
tpb | null_000: JLP was last seen in #tp 11 weeks, 3 days, 18 hours, 49 minutes, and 42 seconds ago: <JLP> in that case i would also propose you add your blog to Planet KDE, if you decide to set it up | 16:31 |
glew | null_000: pong | 16:32 |
null_000 | glew: you are working on single player scenarios (and saving/loading) right? | 16:33 |
glew | yes | 16:33 |
null_000 | glew: since I am working on the AI for MTSec and scenarios will include AI I was wondering if I could help | 16:34 |
null_000 | specifically with saving/loading for AI | 16:34 |
glew | right, i have been trying to think about how to tackle restoring the AI | 16:35 |
glew | so I had been working with daneel-ai and was considering just pickling it, but i haven't looked too much into it | 16:35 |
null_000 | pickle should be ok as far as I know ^_^ | 16:36 |
glew | are you writing the AI in python? | 16:36 |
null_000 | yes | 16:36 |
glew | ok, well basically the save file is an sqlite database, I haven't done too much research into pickling the AI | 16:37 |
null_000 | what ruleset will you use for the scenario? | 16:38 |
glew | my mentor, ezod, told me pickling the AI should be a messy but simple way of saving the AI | 16:38 |
glew | um i've been working with minisec, mtsec, and risk | 16:38 |
glew | but I had been having trouble running MTsec sometimes, something about an xml error | 16:38 |
null_000 | in daneel-ai risk is coded in a way that doesn't need to save any data (I think, check with Iwanowitch to be sure) | 16:40 |
glew | really, ok | 16:40 |
null_000 | I'm coding for MTSec and there is only one array that needs to be saved (and only if the AI is currently attacking) | 16:41 |
null_000 | and minisec is broken for now | 16:41 |
null_000 | but there is one more thing... the current single player doesn't have any difficulty options but only ruleset options... | 16:42 |
glew | right | 16:42 |
glew | does your AI have some sort of difficulty setting? | 16:42 |
glew | because I think in the xml file, that defines the AI, you can put a parameter for difficulty | 16:43 |
* null_000 checks the wiki | 16:43 | |
glew | null_000: http://thousandparsec.net/wiki/Single_Player | 16:44 |
tpb | Title: Single Player - Thousand Parsec Wiki (at thousandparsec.net) | 16:44 |
glew | i think its at the bottom of hte page | 16:44 |
null_000 | I don't see any difficulty settings | 16:45 |
glew | there aren't any | 16:45 |
glew | but if your AI has some kind of difficulty parameter | 16:45 |
glew | you can define it as a parameter | 16:46 |
glew | I'm not sure if daneel-ai has a difficulty setting to begin with | 16:46 |
null_000 | hmm... is there a way to make the dialog ask for difficulty only for certain rulesets | 16:47 |
null_000 | because daneel-ai supports 3 rulesets now... but only MTSec will have difficulty settings | 16:47 |
glew | null_000: i'm not sure, and now i'm not sure if AIclients can have parameters, it might have to be added, but I don't think it would be too bad. | 16:48 |
glew | um i've been trying to figure out if you can have "conditional" parameters | 16:48 |
glew | but i haven't thought of a way or found a way | 16:48 |
*** Agon has quit IRC | 16:49 | |
null_000 | currently I could fake it by presenting each difficulty as a new ruleset (mtsec-easy, mtsec-hard) | 16:49 |
*** Agon has joined #tp | 16:50 | |
null_000 | but the server probably wouldn't like that ^_^ | 16:50 |
glew | yeah, I'm not sure what the best solution would be | 16:51 |
glew | thats a good idea though | 16:53 |
null_000 | AI Client xml should specify a list of difficulty options for each ruleset | 16:53 |
null_000 | and make the selected option a part of the commandstring | 16:53 |
glew | right | 16:53 |
glew | is the AI Client you're writing now only for MTsec or does it cover other rulesets? | 16:56 |
null_000 | there should also be support for risk and reach for the stars | 16:57 |
null_000 | if nothing broke when it was moved to tp04 libraries | 16:57 |
glew | null_000: because you can also have multiple xml files for the AI Client, one for each ruleset it implements. This might have been the multiple xml files you suggested earlier | 16:58 |
glew | then you would define the different parameters for AI-mtsec.xml and say AI-risk.xml | 16:58 |
null_000 | this might be the solution | 16:59 |
glew | but if difficulty is going to be a parameter in all the rulesets, the you can just define it as a parameter and it should appear for all rulesets | 16:59 |
null_000 | great | 17:00 |
null_000 | I'll have to test it | 17:00 |
glew | are you running games in a SinglePlayer format? | 17:01 |
null_000 | no I run clients by hand (actually in a debugger) | 17:03 |
glew | ok | 17:04 |
glew | null_000: and a strange thing happens for me that happens with minisec for you, when i try to start a tpserver-cpp with mtsec, i get an metaserver update problem, found you reported a similar error but with minisec | 17:05 |
null_000 | I don't remember that one... which issue number is it? | 17:06 |
glew | um issue 101 | 17:08 |
null_000 | oh that one... | 17:09 |
null_000 | to be honest I just wanted to see what reconfigure does when I found that one ^_^ | 17:09 |
glew | ok | 17:10 |
glew | do you use the master branch of tpserver-cpp? | 17:11 |
null_000 | yes | 17:11 |
null_000 | used to use an old mtsec branch until this week (master branch had mtsec broken) | 17:12 |
glew | oh, so the master branch has mtsec broken, maybe thats my problem | 17:13 |
null_000 | not any more | 17:14 |
glew | hm... | 17:14 |
null_000 | not sure if I can help but what problem do you have? | 17:14 |
glew | null_000: actually, i'm not exactly sure what it is | 17:17 |
glew | null_000: well i found the error, but don't worry about it if you dont' know the solution: | 17:20 |
glew | Error: could not load properties XML file | 17:20 |
glew | tpserver-cpp: mtsec.cpp:177: void MTSecRuleset::MTSec::createProperties(): Assertion `xmlImporter->importProps()' failed. | 17:20 |
null_000 | don't have a clue... | 17:21 |
null_000 | ^_^ | 17:21 |
null_000 | if you need any help getting daneel-ai to work or saving it's state just ping me | 17:23 |
glew | ok will do, thanks | 17:25 |
null_000 | alanp: ping | 18:14 |
*** Agon has quit IRC | 19:00 | |
*** tanoku has joined #tp | 19:40 | |
*** peres has joined #tp | 20:18 | |
*** verhoevenv has joined #tp | 20:53 | |
*** null_000 has quit IRC | 21:16 | |
*** peres has quit IRC | 21:23 | |
llnz | glew: mtsec imports data from an XML file, it appears it's not finding it | 22:52 |
llnz | morning all | 22:52 |
*** tanoku has quit IRC | 23:02 | |
*** cahirwpz has joined #tp | 23:19 | |
*** cahirwpz has quit IRC | 23:44 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!