Friday, 2009-06-05

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** nash_ has joined #tp00:19
*** jmtan has joined #tp00:23
CIA-46landon tpclient-pyogre * r8baa490c7407 /src/test_battle.py: Fixed several errors and updated to work with the latest 3d client code00:32
Landonforgot I had those changes sitting around00:33
Greywhindtansell: updated 100300:33
*** nash has quit IRC00:36
Landonjmtan: 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
jmtanhi Landon, what do you mean by the exception for mouse input?00:40
Landonto keep the window from grabbing the mouse in windowed mode00:41
jmtanoh, it's probably okay to commit then00:42
tansellGreywhind, done00:42
Landonok00:42
CIA-46landon tpclient-pyogre * ra3f353dfe5b6 /src/framework.py: Added a line to keep the window from hogging keyboard input00:43
Greywhindtansell: oops. too much C++ lately :P00:48
Greywhindtansell: fixed00:49
tansellotherwised looked okay00:50
Greywhindok00:50
*** jnengland77 has quit IRC00:50
CIA-46Greywhind tpclient-pywx-tp04 * rcc8945023c0d / (4 files in 2 dirs): Fixed Resources overlay to work with TP04.00:54
Greywhindtansell: http://codereview.mithis.com/200700:56
tpbTitle: Issue 2007: Added media support to the Systems-level overlay on the Starmap. - Code Review (at codereview.mithis.com)00:56
*** DTRemenak has joined #tp01:09
*** alanp has joined #tp01:26
Landonjmtan: 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 thread02:05
Landonbut how do I communicate back to ogre?02:05
Landonany topics I should look up?02:05
*** alanp has quit IRC02:09
jmtanLandon: is there any particular reason for using threads? what about using timers if you need periodic updates?02:10
Landonhm I could do that too02:11
jmtanit's difficult enough to debug without threads as it is, admittedly i haven't touched python threading too much02:13
LandonI guess the question then is where do I put in a timer02:13
jmtanwhat sort of processing do you wish to do?02:13
LandonI was going to start working on going through the rounds of a battle and setting the scenes as events happen02:14
Landonok, I'm seeing ogre docs on timers now02:22
jmtanyou can override the update method in the BattleScene class, and poll your timers from there02:23
jmtanhmm i'm not sure if there's a timer callback, that would be better02:24
Landonit looks like there is02:24
Landonhttp://www.ogre3d.org/wiki/index.php/Mogre_Basic_Tutorial_402:24
tpb<http://ln-s.net/3GwN> (at www.ogre3d.org)02:24
Landonlooking at frame listeners vs timers02:25
Landonoh02:25
Landonthat looks like a windows specific timer02:25
Landonhttp://www.ogre3d.org/wiki/index.php/TimerManager this looks like what I want though02:27
tpb<http://ln-s.net/3GwQ> (at www.ogre3d.org)02:27
jmtanyeah, it requires a bit of porting work02:27
Landonsort of... if rewriting it in python isnt a pita :P02:27
*** greenlion has joined #tp02:28
Landonit seems the threading module has a timer mechanism too02:29
Landonhttp://docs.python.org/library/sched.html and theres this!02:29
tpbTitle: 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
LandonI'll try that and see how it goes02:31
jmtanokay, but consider that ogre timers aren't that bad, and pretty simple too02:33
Landonwell, th event scheduler looks like a nice fit since it could take an ogre timer as the timing function02:34
Landonbut 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
jmtanhm, maybe you could restrict it's usage to a single thread then02:37
*** mithro has quit IRC03:14
*** mithro has joined #tp03:15
*** Greywhind has quit IRC04:18
tansellLandon, why do you need timers?04:46
*** tansell_laptop has quit IRC05:15
*** mithro has quit IRC05:17
*** Demitar has quit IRC05:44
*** Demitar has joined #tp05:44
*** JLP has joined #tp06:16
*** peres has joined #tp06:27
*** JLP has quit IRC07:29
*** greenlion has quit IRC07:29
*** JLafont has quit IRC07:29
*** JLP has joined #tp07:30
*** greenlion has joined #tp07:30
*** JLafont has joined #tp07:30
*** JLafont has quit IRC07:45
*** greenlion has quit IRC07:45
*** JLP has quit IRC07:45
*** JLP has joined #tp07:45
*** greenlion has joined #tp07:45
*** JLafont has joined #tp07:45
*** JLafont has quit IRC07:53
*** greenlion has quit IRC07:53
*** JLP has quit IRC07:53
*** JLP has joined #tp07:55
*** greenlion has joined #tp07:55
*** JLafont has joined #tp07:55
*** alanp has joined #tp08:05
*** verhoevenv has joined #tp08:34
*** mithro has joined #tp08:35
*** jmtan has quit IRC08:57
*** sladegen_ is now known as sladegen09:23
*** peres has left #tp11:54
*** zzorn has quit IRC11:59
*** zzorn has joined #tp12:02
*** JLP_ has joined #tp12:03
*** JLP has quit IRC12:04
*** zzorn has quit IRC12:11
*** zzorn has joined #tp12:15
*** zzorn has quit IRC12:16
*** zzorn has joined #tp12:16
Landontansell: no idea, I slept on it and now I dont think I need them12:39
CIA-46alanp 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
alanptiny change, but useful13:02
CIA-46alanp tpserver-cpp-mtsec * r75679be50559 /modules/games/mtsec/components.xml: Fixed comments.13:08
*** zzorn has quit IRC13:16
*** zzorn has joined #tp13:17
CIA-46alanp 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 #tp13:30
*** Erroneous has joined #tp13:39
*** verhoevenv has quit IRC13:49
*** verhoevenv has joined #tp13:49
*** verhoevenv has quit IRC13:53
*** verhoevenv has joined #tp13:53
CIA-46alanp tpserver-cpp-mtsec * r1d650bd9a1da /modules/games/mtsec/components.xml: Forgot XML tag14:57
*** alanp has quit IRC14:59
*** verhoevenv has quit IRC15:00
*** jnengland77 has joined #tp15:45
*** Greywhind has quit IRC15:50
*** verhoevenv has joined #tp16:16
*** alanp has joined #tp16:40
*** Greywhind has joined #tp17:15
*** verhoevenv has quit IRC18:34
*** greenlion has quit IRC18:54
*** jnengland77 has quit IRC18:59
CIA-46joelboh tpclient-pyweb * r4a4cbeaf574c / (5 files in 2 dirs):19:01
CIA-46Added session middleware (using beaker). Added intial code for middleman19:01
CIA-46module, currently it only connects and updates the cache.19:01
totehmm submodule thingy didnt work :/19:02
*** epyon has quit IRC19:15
*** alanp has quit IRC19:48
*** Greywhind has quit IRC20:53
*** Greywhind has joined #tp20:53
*** alanp-home has quit IRC21:14
*** Erroneous has quit IRC21:23
*** peres has joined #tp22:13
*** alanp has joined #tp23:27
*** DTRemenak has quit IRC23:58

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!