*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
llnz | hi all | 00:41 |
---|---|---|
*** tuna-fish has joined #tp | 00:45 | |
*** tuna-fish is now known as tuna | 00:46 | |
CIA-28 | llnz tpserver-cpp * r0d471be58948 /tpserver/ (playerview.cpp playerview.h): | 00:55 |
CIA-28 | Removed consts from functions that will no longer be const in PlayerView. | 00:55 |
CIA-28 | Needed for persistence. | 00:55 |
*** Demitar has quit IRC | 02:04 | |
*** vi1985 has quit IRC | 03:17 | |
*** ryan_ has quit IRC | 03:38 | |
CIA-28 | llnz tpserver-cpp * rfb7e86953609 /tpserver/playerview.cpp: Persistence working for DesignView. | 05:31 |
*** ryan_ has joined #tp | 05:32 | |
llnz | hi ryan_ | 05:56 |
*** jmtan has joined #tp | 06:00 | |
llnz | hi jmtan | 06:03 |
jmtan | hi :) | 06:03 |
jmtan | can i ask something? | 06:04 |
jmtan | is the metaserver the only list of games available? | 06:05 |
llnz | the metaserver lists games which the admin have said are available | 06:10 |
jmtan | thanks, i was wondering whether there were any competitive games going on | 06:13 |
*** accAgon has joined #tp | 06:14 | |
*** JLP_ is now known as JLP | 06:18 | |
JLP | good mornign people | 06:18 |
llnz | jmtan: demo1 is normally busy | 06:18 |
jmtan | llnz: yup, but that is more like a demo server, don't think there will a winner soon | 06:20 |
jmtan | hi jlp, it's evening here | 06:21 |
*** llnz2 has joined #tp | 06:37 | |
*** llnz has quit IRC | 06:46 | |
*** llnz2 is now known as llnz | 06:46 | |
mithro | jmtan: hey :) | 07:18 |
jmtan | hi mithro | 07:18 |
mithro | no we don't have regular games yet | 07:19 |
jmtan | how long would a normal game last? | 07:19 |
jmtan | um, for lets say, rtfs ruleset | 07:20 |
mithro | not sure | 07:20 |
mithro | our current problem is that you have to start from the begining when tpserver-cpp crashes | 07:20 |
mithro | llnz is working hard on getting persistence working again | 07:21 |
llnz | it's nearly there | 07:21 |
mithro | llnz: really cool :) | 07:21 |
mithro | llnz: so we will have a 0.5.0rc1 soon/ | 07:22 |
llnz | hopefully | 07:22 |
llnz | next week or so | 07:22 |
mithro | llnz: cool! | 07:23 |
mithro | jmtan: we are hoping by the end of GSoC we can start having tournaments and stuff | 07:23 |
jmtan | that's great | 07:24 |
jmtan | any server can register itself with the metaserver? | 07:25 |
mithro | jmtan: yes | 07:25 |
mithro | infact tpserver-cpp regularly complains if it doesn't! :P | 07:25 |
mithro | jmtan: did you get my email? | 07:32 |
jmtan | mithro, yes i did, brb dinner | 07:33 |
mithro | jmtan: okay cool | 07:33 |
*** AquaFox has joined #tp | 07:52 | |
*** Demitar has joined #tp | 08:05 | |
*** jmtan has quit IRC | 08:14 | |
*** jmtan has joined #tp | 08:22 | |
jmtan | mithro: hi | 08:22 |
mithro | i'll be back in 5 | 08:30 |
mithro | back | 08:37 |
mithro | jmtan: you still around? | 08:37 |
jmtan | yeah | 08:37 |
jmtan | is this a good time? | 08:38 |
mithro | jmtan: have you ever done open source before? | 08:38 |
jmtan | no | 08:38 |
mithro | I'll be heading to bed in about 20-30 minutes | 08:38 |
jmtan | okay | 08:38 |
mithro | I'm just copying the client to my desktop computer | 08:38 |
mithro | I've yet to compile python-ogre for Ubuntu | 08:38 |
jmtan | mithro: have you compiled it before? | 08:39 |
mithro | not recently | 08:39 |
mithro | I did compile pyogre | 08:39 |
jmtan | it should be easier than before | 08:40 |
jmtan | since the wiki has a nice help page | 08:41 |
*** Kraplax has joined #tp | 08:41 | |
Kraplax | hi there! | 08:41 |
llnz | hi Kraplax | 08:41 |
jmtan | hi kraplax | 08:41 |
Kraplax | i've jsut downloaded the tpclient | 08:41 |
Kraplax | and want to try this game out | 08:42 |
jmtan | mithro: may i ask what you meant by "each commit is a logical change"? | 08:42 |
Kraplax | but it seems like i need an account | 08:42 |
mithro | jmtan: okay - a single feature/bug fix/etc | 08:42 |
jmtan | mithro: what if i just update the readme? | 08:42 |
Kraplax | therefore a reasonable question - how do i get my own account? | 08:43 |
mithro | yeah - seperate commit is good | 08:43 |
mithro | commits are cheap | 08:43 |
llnz | Kraplax: you can create one | 08:43 |
Kraplax | how? | 08:43 |
mithro | Kraplax: I'm assuming you are using tpclient-pywx 0.3.1.1 ? | 08:43 |
Kraplax | i hope so ) | 08:43 |
Kraplax | nope | 08:43 |
Kraplax | 0.3.1.0 | 08:44 |
jmtan | mithro: i have this mindset that each commit is like a version increment, but i'll change it now :) | 08:44 |
mithro | jmtan: commits are "I changed this" | 08:44 |
mithro | so you don't want unrelated changes in a single commit | 08:45 |
mithro | with things like git/mecurial it's pretty easy to do | 08:45 |
mithro | (as branches are cheap) | 08:46 |
Kraplax | mithro: llnz: could you help me with getting my own account through 0.3.1.0 client? | 08:46 |
jmtan | a single feature could be pretty major | 08:46 |
mithro | Kraplax: you first need to upgrade to 0.3.1.1 | 08:46 |
Kraplax | ow... but then - how one created account before 3.1.1 | 08:47 |
Kraplax | ? | 08:47 |
mithro | jmtan: commit often and early :) | 08:47 |
llnz | Kraplax: on demo1 and llnz-dev2 you can just login with a new username and password | 08:48 |
Kraplax | oh. i c )) | 08:48 |
mithro | any time you feel like you are going to make a change which you might want to revert back | 08:48 |
Kraplax | i just tried to do that on demo2 )) | 08:48 |
* mithro pokes llnz | 08:48 | |
llnz | Kraplax: but better would be to update, then click the "Find" button, select a server and click "New Account" | 08:48 |
llnz | mithro: what? | 08:49 |
llnz | rfts only allows 4 players, and demo2 is running rfts | 08:49 |
jmtan | mithro: okay, but it's okay to make the commits locally, then dump them to the server in one shot later? | 08:50 |
Kraplax | llnz: thanx... but i have only 64kbps and another 10M would be a bit long time to wait, since i'm trying to get Mandriva 2008.1 DVD from torrents... | 08:50 |
mithro | jmtan: yes | 08:50 |
mithro | Kraplax: 0.3.1 has a serious bug which can stop turn updating if an object is destroyed | 08:50 |
Kraplax | oh... and when was 3.1.1 released? | 08:51 |
mithro | about a week after 0.3.1 | 08:54 |
Kraplax | oh, sorry! i have 3.1.1, but when i hovered mouse over the executable it shows me 3.1.0. | 08:54 |
Kraplax | a bit confusing. I just wanted to upgrade and found out that downloaded installer is 3.1.1 so i don't need to redownload it )) thanx, all! )) | 08:55 |
mithro | Kraplax: okay cool | 08:55 |
mithro | normally to create an account | 08:55 |
mithro | go into the server browser | 08:55 |
mithro | and there is a "New Account" button | 08:56 |
mithro | (you get into the server browser by the find button) | 08:56 |
Kraplax | what do u mean "go into the server browser"? | 08:56 |
mithro | Kraplax: the find button on the first window | 08:56 |
Kraplax | oh. yes )) | 08:57 |
mithro | jmtan: btw - you shouldn't really have committed tp client and tp netlib into your repository | 08:57 |
jmtan | mithro: okay, i'll remove them then? | 08:58 |
mithro | jmtan: would be good if it didn't steal mouse focus unless full screened too :P | 08:58 |
Kraplax | mithro: i got problem - it says Account creation error - bad username or password. What does it mean? | 08:59 |
mithro | Kraplax: there could be a number of reason | 08:59 |
Kraplax | like there's another Kraplax there? O_o | 08:59 |
llnz | what server? | 09:00 |
jmtan | mithro: ois doesn't do that on windows, i'll look into it | 09:00 |
mithro | Kraplax: normally means the username is already taken | 09:01 |
mithro | jmtan: I'm using it on windows | 09:01 |
llnz | Kraplax: what server? | 09:01 |
Kraplax | demo2 | 09:01 |
llnz | demo2 is full, try a different server | 09:02 |
* JLP is back as visitors left | 09:02 | |
llnz | i'll add fixing the error message to my todo | 09:02 |
Kraplax | it complains on Kraplax and Kraplaxed logins. I don't think that it's the problem of uniqe name... | 09:02 |
Kraplax | llnz: fixing means adding more detailed description? | 09:03 |
llnz | DEMO2 IS FULL, NOT MORE ACCOUNTS CAN BE CREATED | 09:03 |
llnz | yes | 09:03 |
llnz | more accurate | 09:03 |
JLP | Kraplax: the game on demo2 has a limit of only 4 players, so you can't join because all the 4 players are already there | 09:03 |
llnz | "the game is not accepting new players at this time" | 09:03 |
Kraplax | oh! | 09:04 |
Kraplax | i see )) | 09:04 |
Kraplax | i wanted to get in there just because there's only 4 player and i thought it would be better to start with.. )) | 09:04 |
* llnz wonders if those 4 players are actually playing... | 09:06 | |
Kraplax | ^_^ | 09:06 |
tpb | aloril has joined on worldforge | 09:06 |
* llnz wanders off | 09:07 | |
llnz | later all | 09:07 |
*** llnz has quit IRC | 09:07 | |
mithro | jmtan: I'm using windows | 09:09 |
mithro | maybe it's directx verse opengl or something? | 09:09 |
jmtan | mithro: that's a problem, it didn't steal my focus at all | 09:09 |
jmtan | mithro: i should double-check | 09:09 |
mithro | jmtan: the mouse cursor won't go outside the box | 09:09 |
jmtan | but it does steal focus in linux :( | 09:10 |
mithro | :( | 09:16 |
mithro | jmtan: it's probably an opengl thing? | 09:18 |
jmtan | it's the behaviour of OIS, the input library | 09:18 |
mithro | oh okay | 09:19 |
jmtan | i can't think of a quick fix, i'll have to look into it after my exams unless an idea suddenly pops up | 09:21 |
jmtan | but will alt-tab restore the mouse? | 09:21 |
mithro | jmtan: no problems | 09:23 |
mithro | jmtan: dunno - have to check later | 09:23 |
mithro | jmtan: when are you exams again? | 09:29 |
jmtan | starts this wednesday, lasts until 2 may | 09:29 |
mithro | you have many exams? | 09:32 |
jmtan | i have 6 | 09:32 |
jmtan | not sure if that counts as many | 09:33 |
jmtan | any study tips from the graduates here? :) | 09:36 |
*** JLP has quit IRC | 09:37 | |
*** JLP has joined #tp | 09:37 | |
mithro | jmtan: do your best - leave some time for non-study activity (but not too much! :) | 09:41 |
jmtan | mithro: ois dev's response to loss of mouse focus is to alt-tab: http://www.wreckedgames.com/forum/index.php/topic,919.0.html | 09:43 |
tpb | <http://ln-s.net/1o4J> (at www.wreckedgames.com) | 09:43 |
jmtan | mithro: yeah, i know | 09:44 |
mithro | jmtan: ahh okay | 09:44 |
SmokingRope | jmtan: i haven't been paying attention to the conversation but remember reading that forum post about ois too, what are you trying to do exactly? | 09:47 |
jmtan | smokingrope: ois steals mouse focus | 09:48 |
jmtan | SmokingRope, so when running windowed app the mouse cursor is lost | 09:48 |
SmokingRope | jmtan: i managed to solve that in windows | 09:49 |
SmokingRope | jmtan: do a search for 'non-exclusive' i believe | 09:49 |
jmtan | SmokingRope, will do! thanks a lot | 09:50 |
SmokingRope | you can see a demo that does the nonexclusive input on my tp proposal too | 09:50 |
SmokingRope | http://easlnx01.eas.muohio.edu/~hannasm/TPProposal/ | 09:50 |
tpb | <http://ln-s.net/1jvd> (at easlnx01.eas.muohio.edu) | 09:50 |
SmokingRope | the solar system example :P | 09:50 |
SmokingRope | i didn't post the source code but i could always upload if anybody wants to see it | 09:51 |
jmtan | SmokingRope, firstly, you've got a really nice proposal :) | 09:52 |
SmokingRope | =) | 09:52 |
jmtan | what's librocket? | 09:52 |
SmokingRope | it is a GUI library based on css and xhtml | 09:52 |
SmokingRope | it's really neat | 09:52 |
jmtan | oh kind of like navi huh | 09:53 |
SmokingRope | it is actually cross platform | 09:53 |
SmokingRope | navi is not | 09:53 |
jmtan | that's very cool | 09:53 |
SmokingRope | jmtan: also, librocket created it's own dialect of xhtml | 09:53 |
jmtan | SmokingRope, is that an advantage? i'm just wondering | 09:54 |
SmokingRope | jmtan: in general it means librocket is faster | 09:54 |
SmokingRope | jmtan: but there are some features that aren't supported | 09:55 |
jmtan | oic, so a subset of xhtml then | 09:55 |
SmokingRope | jmtan: yep, they are trying to just implement features that would appeal to game developers | 09:55 |
SmokingRope | jmtan: it's not open source but is a lot easier to customize than CEGui which is nice | 09:56 |
SmokingRope | jmtan; they have a license for OSS that makes it an option for thousand parsec | 09:56 |
jmtan | yup, looking at their site now | 09:57 |
jmtan | looks like they have python bindings of some sort too | 09:58 |
SmokingRope | jmtan: yep, you can embed python scripts in the html if you want | 09:58 |
SmokingRope | jmtan: there have been a few 'security holes' identified but in general it's a nice feature | 09:59 |
SmokingRope | jmtan: any time you display user input, it's possible for someone to inject python into your forms using <script>system.format("C:\");</script> or something | 10:00 |
SmokingRope | that was the example in the forums IIRC | 10:00 |
tpb | aloril has quit worldforge (Read error: Connection reset by peer) | 10:00 |
*** accAgon has quit IRC | 10:01 | |
SmokingRope | if you don't enable the python bindings it's not an issue though | 10:01 |
jmtan | hm, well anyway the html part is great, a lot easier to make a css skin than falagard | 10:03 |
SmokingRope | aye | 10:03 |
*** Kraplax has quit IRC | 10:11 | |
jmtan | SmokingRope, thank you very much, it works great | 10:19 |
jmtan | mouse behaviour now behaves like a windowed app should | 10:19 |
SmokingRope | i'm not sure, but i think doing that breaks fullscreen mode though | 10:20 |
jmtan | well, one problem at a time :) | 10:20 |
SmokingRope | i believe you would have to shutdown OIS and then reinitialize it to get both | 10:20 |
jmtan | you mean when switching between fullscreen and window while the app is running? | 10:21 |
SmokingRope | yep, i haven't tried it, but i am pretty sure OIS only lets you change the exclusive setting on initialization | 10:22 |
mithro | is librocket FOSS? | 10:24 |
mithro | it appears not - http://www.librocket.com/licenses | 10:25 |
tpb | Title: licenses - libRocket (at www.librocket.com) | 10:25 |
SmokingRope | mithro: they support open source software | 10:26 |
mithro | unless it's FOSS itself, we can't really use it | 10:27 |
SmokingRope | mithro: http://www.ogre3d.org/phpBB2/viewtopic.php?p=269626#269626 | 10:27 |
tpb | <http://ln-s.net/1o4X> (at www.ogre3d.org) | 10:27 |
SmokingRope | sorry, FOSS? | 10:27 |
mithro | Open Source Software | 10:28 |
JLP | Your product will be given away without any charge. <- even this is not foss compatible | 10:28 |
SmokingRope | they have caluses in their license agreement for freeware / open source | 10:28 |
SmokingRope | s/caluses/clauses/ | 10:28 |
mithro | JLP: exactly | 10:28 |
mithro | SmokingRope: unless it's using an OSI approved license then it's not open source | 10:30 |
jmtan | mithro: i've updated my repo, it should not steal the cursor anymore | 10:30 |
mithro | jmtan: great! | 10:30 |
jmtan | mithro: i added the code for windows and linux, but only tested on linux so far | 10:30 |
SmokingRope | mithro: the idea is you can dynamically link to the libraries they release in any open source project free of charge | 10:31 |
SmokingRope | mithro: we might have to take a look at it together at some point, i don't have a full understanding of the TP licensing yet | 10:32 |
mithro | SmokingRope: well according to the license I'm reading on their webpage - it's nowhere near compatible with FOSS stuff | 10:32 |
SmokingRope | mithro: see 51 | 10:33 |
mithro | plus being dependent on a non-FOSS library is a pretty much a no-no | 10:33 |
SmokingRope | err 5.1 | 10:33 |
SmokingRope | i agree that it is a point against libRocket that it's not OSS | 10:34 |
mithro | SmokingRope: yeah that is non-FOSS compatible | 10:34 |
mithro | it's freeware compatible - which is quite different | 10:35 |
mithro | anyway I should be in bed | 10:39 |
SmokingRope | mithro: do you have a definition of FOSS before you go? | 10:39 |
tpb | aloril has joined on worldforge | 10:39 |
mithro | jmtan: do you want me to put together a list of things that would be good to work on? | 10:40 |
JLP | SmokingRope: for example - http://www.fsf.org/licensing/essays/free-sw.html | 10:41 |
tpb | <http://ln-s.net/a0i> (at www.fsf.org) | 10:41 |
SmokingRope | mithro: ty | 10:41 |
mithro | SmokingRope: http://en.wikipedia.org/wiki/Free_Software | 10:41 |
tpb | Title: Free software - Wikipedia, the free encyclopedia (at en.wikipedia.org) | 10:41 |
SmokingRope | mithro: goodnight :) | 10:41 |
mithro | http://opensource.org/docs/osd | 10:42 |
tpb | Title: The Open Source Definition | Open Source Initiative (at opensource.org) | 10:42 |
jmtan | mithro: yes, that would be great | 10:47 |
jmtan | mithro: oops, guess you're off for the night | 10:48 |
mithro | jmtan: I'll put it together tommorrow | 10:49 |
mithro | have a good day/night | 10:49 |
jmtan | good night | 10:49 |
*** mithro has quit IRC | 11:27 | |
*** andrei has joined #tp | 11:32 | |
*** accAgon has joined #tp | 11:59 | |
tpb | disconnected from worldforge: Ping sent at 2008-04-13T12:13:40 not replied to. | 12:16 |
tpb | tpb has joined on worldforge | 12:19 |
tpb | aloril has quit worldforge (purple.worldforge.org blue.worldforge.org) | 12:26 |
tpb | aloril has joined on worldforge | 12:26 |
*** jmtan has left #tp | 12:29 | |
*** JLafont has joined #tp | 12:55 | |
*** vi1985 has joined #tp | 13:46 | |
vi1985 | mornin' all | 13:47 |
*** Epyon has joined #tp | 14:01 | |
*** AquaFox has quit IRC | 14:16 | |
tpb | aloril_ has joined on worldforge | 15:08 |
tpb | aloril has quit worldforge (Ping timeout: 378 seconds) | 15:10 |
*** karol has joined #tp | 15:17 | |
karol | hi all | 15:17 |
tpb | aloril__ has joined on worldforge | 15:31 |
tpb | aloril_ has quit worldforge (Ping timeout: 378 seconds) | 15:35 |
*** Demitar has quit IRC | 16:20 | |
*** andrei has quit IRC | 16:31 | |
*** karol has quit IRC | 16:33 | |
*** ryan_ has quit IRC | 17:11 | |
*** accAgon has quit IRC | 17:26 | |
*** JLP has quit IRC | 17:35 | |
*** JLP has joined #tp | 17:38 | |
*** ryan_ has joined #tp | 19:04 | |
*** vi1985 has quit IRC | 19:22 | |
*** mithro has joined #tp | 19:28 | |
mithro | greywhind: ping? | 19:30 |
mithro | ~seen llnz | 19:30 |
tpb | mithro: llnz was last seen in #tp 10 hours, 23 minutes, and 5 seconds ago: <llnz> later all | 19:30 |
greywhind | mithro: pong | 19:30 |
mithro | greywhind: sorry I haven't been around much! | 19:31 |
greywhind | it's alright. i do need some guidance on the filtering though. | 19:31 |
Epyon | mithro, anything else I should add to the apps? | 19:31 |
*** andrei has joined #tp | 19:48 | |
*** Epyon has quit IRC | 20:54 | |
*** bddebian has joined #tp | 21:00 | |
bddebian | Heya | 21:02 |
greywhind | mithro: so do you have time to give me some information on how the message filtering might be able to work? | 21:02 |
mithro | sure! | 21:02 |
mithro | bddebian: you up for a challenge? :) | 21:03 |
bddebian | Uh oh | 21:03 |
bddebian | What's up? | 21:04 |
*** llnz has joined #tp | 21:06 | |
llnz | hi all | 21:06 |
mithro | morning llnz | 21:06 |
SmokingRope | self.max_score += totalScore | 21:07 |
mithro | bddebian: any chance you could look at packaging python-ogre? | 21:07 |
SmokingRope | lol whoops | 21:08 |
bddebian | Hmm, we don't have it? | 21:08 |
mithro | not that I see | 21:10 |
llnz | hi mithro | 21:10 |
mithro | ezod: Couldn't find package python-ogre | 21:10 |
bddebian | mithro: You're on Ubuntu right? | 21:13 |
mithro | yeah | 21:13 |
bddebian | Darn, they're usually ahead of us | 21:14 |
mithro | it's pretty new | 21:14 |
bddebian | Is it on the ogre site or a seperate project? | 21:15 |
mithro | seperate project | 21:15 |
mithro | http://wiki.python-ogre.org/index.php/Main_Page | 21:15 |
mithro | it will be needed for tpclient-pyogre | 21:16 |
mithro | greywhind: okay - the first piece of information you need is that each message comes with a bunch of references as described by the GRS | 21:16 |
greywhind | GRS? | 21:17 |
mithro | Generic Reference System | 21:17 |
mithro | see the protocol document | 21:22 |
bddebian | Could that build system possibly get any uglier? | 21:23 |
greywhind | mithro: where's the protocol document? | 21:24 |
mithro | bddebian: probably ;) | 21:25 |
mithro | http://www.thousandparsec.net/tp/dev/documents/protocol3.php#GenericReferenceSystem | 21:25 |
tpb | <http://ln-s.net/1o6q> (at www.thousandparsec.net) | 21:25 |
greywhind | mithro: thanks | 21:26 |
*** PunD has joined #tp | 21:32 | |
mithro | bddebian: most of those dependencies probably should be using the already packaged versions | 21:33 |
bddebian | Aye but WTF is the actual build in that train-wreck | 21:34 |
*** ryan_ has quit IRC | 21:41 | |
mithro | bddebian: not quite sure | 21:48 |
mithro | python python-ogre/BuildModule.py -r -b cegui ois ogre | 21:49 |
mithro | hrm | 21:49 |
mithro | I think that would possibly build cegui, ois and ogre | 21:49 |
mithro | bddebian: I'm just checking out the source now to see what I need to do | 21:50 |
*** Kraplax has joined #tp | 21:57 | |
Kraplax | hi, all! =) | 21:57 |
Kraplax | it's me again )) | 21:57 |
Kraplax | is there anyone who's not asleep? | 21:58 |
bddebian | ZZZzzzz | 21:58 |
Kraplax | oh... i c )) | 21:58 |
bddebian | :) | 21:58 |
Kraplax | well, there's something wrong with the game client or server... | 21:59 |
Kraplax | i thought it would be better to tell you ))) | 21:59 |
Kraplax | something wrong with linz server | 22:00 |
greywhind | mithro: so i might start by letting them filter out all messages that refer to the same type of object, like all "player action reference" related messages? | 22:01 |
mithro | yeah | 22:01 |
greywhind | mithro: if the reference type is -4, does it then have an added number 1-3 somewhere as well to say it's a player quit message, for instance? | 22:02 |
mithro | greywhind: each reference is two numbers | 22:02 |
greywhind | mithro: ah. that makes sense. | 22:02 |
mithro | the first tells you what the type of the second | 22:02 |
greywhind | so it would be -42 for player quit? | 22:02 |
llnz | -4, 2 | 22:03 |
mithro | greywhind: there is a GRS decoder in libtpproto-py | 22:04 |
mithro | greywhind: see GenericRS.py | 22:05 |
greywhind | mithro: k, thanks | 22:05 |
mithro | see the panelMessage for a very simple example | 22:06 |
greywhind | mithro: yeah, I was looking at that. | 22:07 |
mithro | greywhind: cool | 22:08 |
greywhind | mithro: my next question - what's the simplest way to implement the filtering itself (to prevent showing the filtered messages) | 22:11 |
mithro | greywhind: if you look at an older version of tpclient-pywx there was some filtering code there | 22:12 |
mithro | it would be good if you could click the filtered button to show filtered messages | 22:13 |
greywhind | mithro: i'll try designing a popup menu or window or something that will allow you to manage filters | 22:13 |
mithro | check the template too | 22:17 |
mithro | check the html_filtered | 22:19 |
mithro | it should display a cool looking "filtered" in the background | 22:19 |
greywhind | hmm... but the point of filtering would be to avoid having to click through the message at all, wouldn't it? | 22:20 |
mithro | yeah | 22:20 |
mithro | but there should be an option to "show filtered messages" | 22:21 |
greywhind | mmm. | 22:21 |
greywhind | my question, though, is how to force messages not to be shown | 22:21 |
mithro | greywhind: you will have to modify panelMessage to do so | 22:22 |
greywhind | mithro: thought so... would I add a check in MessageSet somewhere? | 22:22 |
mithro | greywhind: I'm thinking you should do it in the messages property | 22:23 |
greywhind | and what does the message_filter variable do? | 22:23 |
mithro | greywhind: nothing at the moment :P | 22:24 |
greywhind | also, what's self.bid? | 22:24 |
mithro | greywhind: try having a look at 0.2.x series, it had some rudimentary message filtering (not using the GRS however) | 22:25 |
mithro | Board ID | 22:25 |
greywhind | ah | 22:25 |
mithro | oid == Object ID | 22:25 |
greywhind | so instead of return self.application.cache.messages[self.bid] | 22:25 |
mithro | pid == Player ID | 22:25 |
greywhind | i'm going to return some subset of those message? | 22:25 |
greywhind | *messages | 22:25 |
mithro | yeah | 22:27 |
mithro | sounds like a plan | 22:27 |
greywhind | mithro: that makes sense to me. | 22:27 |
mithro | I think that is how I did it previously | 22:27 |
greywhind | however it might make it more difficult to do the "show filtered messages" feature | 22:27 |
mithro | well - when the "show filtered messages" just return everything? | 22:28 |
greywhind | actually... not really, since it could just return the "filtered message" message in place of those it would normally drop | 22:28 |
greywhind | right | 22:28 |
greywhind | with a marker that they should have the "filtered" graphic behind them | 22:28 |
*** Kraplax has quit IRC | 22:29 | |
greywhind | mithro: as for filtering messages to begin with, would you rather have "filter messages like this one" or a checklist of possible conditions? | 22:29 |
mithro | greywhind: I think maybe a "Filter messages exactly like this one" and "Filter messages of this type"? | 22:30 |
greywhind | mithro: ok. sounds good. | 22:30 |
greywhind | would the "Filter messages exactly like this one" only filter out ones with the exact same text? | 22:31 |
mithro | I think ones which have the exactly the same GRS | 22:31 |
greywhind | and "of this type" would be just the first number the same? | 22:32 |
mithro | IE Ship A has moved to X | 22:32 |
mithro | where as "of this file" would be either all Ship A messages or all moved to X messages | 22:32 |
greywhind | k | 22:33 |
*** PunD has quit IRC | 22:35 | |
*** PunD has joined #tp | 22:46 | |
*** JLafont has quit IRC | 22:54 | |
*** JLafont_ has joined #tp | 22:54 | |
JLafont_ | hallo | 22:58 |
JLafont_ | ~seen nash | 23:03 |
tpb | JLafont_: nash was last seen in #tp 4 days, 1 hour, 45 minutes, and 20 seconds ago: <nash> (emotion is required for the main build at the moment) | 23:03 |
JLafont_ | >.< | 23:03 |
*** ryan__ has joined #tp | 23:33 | |
*** tuna has quit IRC | 23:34 | |
mithro | JLafont_: nash is in the USA now | 23:38 |
JLafont_ | ahh ok | 23:38 |
mithro | any reason you where after him? | 23:40 |
JLafont_ | Was wondering about a bug report he submitted | 23:42 |
mithro | oh? for | 23:42 |
JLafont_ | tpserver-py: It said that the server wouldn't update the turn number | 23:42 |
JLafont_ | I played around and found out it updated the universe turns but not the Game turns (if that makes sense) | 23:43 |
JLafont_ | I'm just wondering for which part the turn number needs to be updated. Because I found a quick hack that would fix it for mtsec but I'm not sure if it would work for any other rulesets. | 23:44 |
JLafont_ | err minsec | 23:44 |
mithro | bug url? | 23:45 |
JLafont_ | http://sourceforge.net/tracker/index.php?func=detail&aid=1726265&group_id=132078&atid=723099 | 23:45 |
tpb | <http://ln-s.net/1o7J> (at sourceforge.net) | 23:45 |
mithro | I'm pretty sure the universe turn number is being updated? | 23:46 |
JLafont_ | It is | 23:46 |
mithro | cool | 23:46 |
JLafont_ | The "Game" object isn't updating the turn though | 23:46 |
mithro | oh | 23:46 |
JLafont_ | so when the tool does --status, It shows all games as being in turn 0 | 23:46 |
mithro | JLafont_: ahh | 23:47 |
mithro | maybe the game instance should be updated that the universe should get the value from that? | 23:47 |
mithro | maybe the game instance should be updated and the universe should get the value from that? | 23:47 |
llnz | tpserver-cpp does both independently | 23:48 |
mithro | llnz: we don't have to be like tpserver-cpp ;) | 23:48 |
llnz | true | 23:48 |
mithro | it's probably better to do it that way? | 23:49 |
mithro | (turn data only stored in one location) | 23:50 |
JLafont_ | Getting the Universe from the Game Object is a little tricky | 23:52 |
JLafont_ | At least with minisec | 23:53 |
JLafont_ | I had to do something like self.ruleset.orderOfOrders[-1].Object(id=0) to get it | 23:53 |
JLafont_ | It was not pretty | 23:53 |
JLafont_ | I probably just have to look at the code more | 23:54 |
mithro | hrm? | 23:55 |
*** tuna-fish has joined #tp | 23:55 | |
mithro | in Turn.py | 23:57 |
mithro | you should just be able to do | 23:57 |
mithro | what is already in there | 23:57 |
*** bddebian has quit IRC | 23:57 | |
JLafont_ | Alright | 23:58 |
mithro | Object(id=0) is all you needed | 23:58 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!