*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** nash_ has joined #tp | 00:19 | |
*** jmtan has joined #tp | 00:23 | |
CIA-46 | landon tpclient-pyogre * r8baa490c7407 /src/test_battle.py: Fixed several errors and updated to work with the latest 3d client code | 00:32 |
---|---|---|
Landon | forgot I had those changes sitting around | 00:33 |
Greywhind | tansell: updated 1003 | 00:33 |
*** nash has quit IRC | 00:36 | |
Landon | jmtan: I have some modifications in the client to keep it from hogging keyboard input, am I safe to commit it or is there a reason why you only had an exception for mouse input? | 00:38 |
jmtan | hi Landon, what do you mean by the exception for mouse input? | 00:40 |
Landon | to keep the window from grabbing the mouse in windowed mode | 00:41 |
jmtan | oh, it's probably okay to commit then | 00:42 |
tansell | Greywhind, done | 00:42 |
Landon | ok | 00:42 |
CIA-46 | landon tpclient-pyogre * ra3f353dfe5b6 /src/framework.py: Added a line to keep the window from hogging keyboard input | 00:43 |
Greywhind | tansell: oops. too much C++ lately :P | 00:48 |
Greywhind | tansell: fixed | 00:49 |
tansell | otherwised looked okay | 00:50 |
Greywhind | ok | 00:50 |
*** jnengland77 has quit IRC | 00:50 | |
CIA-46 | Greywhind tpclient-pywx-tp04 * rcc8945023c0d / (4 files in 2 dirs): Fixed Resources overlay to work with TP04. | 00:54 |
Greywhind | tansell: http://codereview.mithis.com/2007 | 00:56 |
tpb | Title: Issue 2007: Added media support to the Systems-level overlay on the Starmap. - Code Review (at codereview.mithis.com) | 00:56 |
*** DTRemenak has joined #tp | 01:09 | |
*** alanp has joined #tp | 01:26 | |
Landon | jmtan: I'm not very familiar with threads, but I think I have it figured out that the battle events should be processed in a seperate thread | 02:05 |
Landon | but how do I communicate back to ogre? | 02:05 |
Landon | any topics I should look up? | 02:05 |
*** alanp has quit IRC | 02:09 | |
jmtan | Landon: is there any particular reason for using threads? what about using timers if you need periodic updates? | 02:10 |
Landon | hm I could do that too | 02:11 |
jmtan | it's difficult enough to debug without threads as it is, admittedly i haven't touched python threading too much | 02:13 |
Landon | I guess the question then is where do I put in a timer | 02:13 |
jmtan | what sort of processing do you wish to do? | 02:13 |
Landon | I was going to start working on going through the rounds of a battle and setting the scenes as events happen | 02:14 |
Landon | ok, I'm seeing ogre docs on timers now | 02:22 |
jmtan | you can override the update method in the BattleScene class, and poll your timers from there | 02:23 |
jmtan | hmm i'm not sure if there's a timer callback, that would be better | 02:24 |
Landon | it looks like there is | 02:24 |
Landon | http://www.ogre3d.org/wiki/index.php/Mogre_Basic_Tutorial_4 | 02:24 |
tpb | <http://ln-s.net/3GwN> (at www.ogre3d.org) | 02:24 |
Landon | looking at frame listeners vs timers | 02:25 |
Landon | oh | 02:25 |
Landon | that looks like a windows specific timer | 02:25 |
Landon | http://www.ogre3d.org/wiki/index.php/TimerManager this looks like what I want though | 02:27 |
tpb | <http://ln-s.net/3GwQ> (at www.ogre3d.org) | 02:27 |
jmtan | yeah, it requires a bit of porting work | 02:27 |
Landon | sort of... if rewriting it in python isnt a pita :P | 02:27 |
*** greenlion has joined #tp | 02:28 | |
Landon | it seems the threading module has a timer mechanism too | 02:29 |
Landon | http://docs.python.org/library/sched.html and theres this! | 02:29 |
tpb | Title: 9.8. sched — Event scheduler Python v2.6.2 documentation (at docs.python.org) | 02:30 |
Landon | (which, after reading recommends the threading.Timer class, heh) | 02:31 |
Landon | I'll try that and see how it goes | 02:31 |
jmtan | okay, but consider that ogre timers aren't that bad, and pretty simple too | 02:33 |
Landon | well, th event scheduler looks like a nice fit since it could take an ogre timer as the timing function | 02:34 |
Landon | but I'm worried aboout what it says about multithreaded environments "In multi-threaded environments, the scheduler class has limitations with respect to thread-safety," | 02:34 |
jmtan | hm, maybe you could restrict it's usage to a single thread then | 02:37 |
*** mithro has quit IRC | 03:14 | |
*** mithro has joined #tp | 03:15 | |
*** Greywhind has quit IRC | 04:18 | |
tansell | Landon, why do you need timers? | 04:46 |
*** tansell_laptop has quit IRC | 05:15 | |
*** mithro has quit IRC | 05:17 | |
*** Demitar has quit IRC | 05:44 | |
*** Demitar has joined #tp | 05:44 | |
*** JLP has joined #tp | 06:16 | |
*** peres has joined #tp | 06:27 | |
*** JLP has quit IRC | 07:29 | |
*** greenlion has quit IRC | 07:29 | |
*** JLafont has quit IRC | 07:29 | |
*** JLP has joined #tp | 07:30 | |
*** greenlion has joined #tp | 07:30 | |
*** JLafont has joined #tp | 07:30 | |
*** JLafont has quit IRC | 07:45 | |
*** greenlion has quit IRC | 07:45 | |
*** JLP has quit IRC | 07:45 | |
*** JLP has joined #tp | 07:45 | |
*** greenlion has joined #tp | 07:45 | |
*** JLafont has joined #tp | 07:45 | |
*** JLafont has quit IRC | 07:53 | |
*** greenlion has quit IRC | 07:53 | |
*** JLP has quit IRC | 07:53 | |
*** JLP has joined #tp | 07:55 | |
*** greenlion has joined #tp | 07:55 | |
*** JLafont has joined #tp | 07:55 | |
*** alanp has joined #tp | 08:05 | |
*** verhoevenv has joined #tp | 08:34 | |
*** mithro has joined #tp | 08:35 | |
*** jmtan has quit IRC | 08:57 | |
*** sladegen_ is now known as sladegen | 09:23 | |
*** peres has left #tp | 11:54 | |
*** zzorn has quit IRC | 11:59 | |
*** zzorn has joined #tp | 12:02 | |
*** JLP_ has joined #tp | 12:03 | |
*** JLP has quit IRC | 12:04 | |
*** zzorn has quit IRC | 12:11 | |
*** zzorn has joined #tp | 12:15 | |
*** zzorn has quit IRC | 12:16 | |
*** zzorn has joined #tp | 12:16 | |
Landon | tansell: no idea, I slept on it and now I dont think I need them | 12:39 |
CIA-46 | alanp tpserver-cpp-mtsec * r8f922877e1e9 /modules/games/mtsec/components.xml: Added spacing in names of components as per mithros. Will be finishing components this weekend. | 13:02 |
alanp | tiny change, but useful | 13:02 |
CIA-46 | alanp tpserver-cpp-mtsec * r75679be50559 /modules/games/mtsec/components.xml: Fixed comments. | 13:08 |
*** zzorn has quit IRC | 13:16 | |
*** zzorn has joined #tp | 13:17 | |
CIA-46 | alanp tpserver-cpp-mtsec * rb7d0bd176a98 /modules/games/mtsec/components.xml: Component propertylist was not properly implemented according to my previous spec. | 13:20 |
*** Greywhind has joined #tp | 13:30 | |
*** Erroneous has joined #tp | 13:39 | |
*** verhoevenv has quit IRC | 13:49 | |
*** verhoevenv has joined #tp | 13:49 | |
*** verhoevenv has quit IRC | 13:53 | |
*** verhoevenv has joined #tp | 13:53 | |
CIA-46 | alanp tpserver-cpp-mtsec * r1d650bd9a1da /modules/games/mtsec/components.xml: Forgot XML tag | 14:57 |
*** alanp has quit IRC | 14:59 | |
*** verhoevenv has quit IRC | 15:00 | |
*** jnengland77 has joined #tp | 15:45 | |
*** Greywhind has quit IRC | 15:50 | |
*** verhoevenv has joined #tp | 16:16 | |
*** alanp has joined #tp | 16:40 | |
*** Greywhind has joined #tp | 17:15 | |
*** verhoevenv has quit IRC | 18:34 | |
*** greenlion has quit IRC | 18:54 | |
*** jnengland77 has quit IRC | 18:59 | |
CIA-46 | joelboh tpclient-pyweb * r4a4cbeaf574c / (5 files in 2 dirs): | 19:01 |
CIA-46 | Added session middleware (using beaker). Added intial code for middleman | 19:01 |
CIA-46 | module, currently it only connects and updates the cache. | 19:01 |
tote | hmm submodule thingy didnt work :/ | 19:02 |
*** epyon has quit IRC | 19:15 | |
*** alanp has quit IRC | 19:48 | |
*** Greywhind has quit IRC | 20:53 | |
*** Greywhind has joined #tp | 20:53 | |
*** alanp-home has quit IRC | 21:14 | |
*** Erroneous has quit IRC | 21:23 | |
*** peres has joined #tp | 22:13 | |
*** alanp has joined #tp | 23:27 | |
*** DTRemenak has quit IRC | 23:58 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!