On Tue, Jun 24, 2008 at 9:00 PM, Dariusz Dawidowski <[EMAIL PROTECTED]> wrote: > why by default my trigger has delay 200 and jitter 10 ? > also jitter setted to 0 crashes:
Well it has to have some default. What is wrong with those defaults? Yes, the code doesn't check for that. Greetings, > > Program received signal SIGFPE, Arithmetic exception. > [Switching to Thread 0x7f7f4172e730 (LWP 12053)] > 0x00007f7f11bc3bbe in celPcTrigger::SetMonitorDelay (this=0x7f7f2211396c, > delay=0, jitter=0) at plugins/propclass/trigger/trigger.cpp:363 > 363 delay+(rand () % (jitter+jitter))-jitter, CEL_EVENT_PRE); > Current language: auto; currently c++ > #0 0x00007f7f11bc3bbe in celPcTrigger::SetMonitorDelay (this=0x7f7f2211396c, > delay=0, jitter=0) at plugins/propclass/trigger/trigger.cpp:363 > #1 0x00007f7f11bc2766 in celPcTrigger::SetPropertyIndexed ( > this=0x7f7f2211396c, idx=1, b=0) > at plugins/propclass/trigger/trigger.cpp:235 > #2 0x00007f7f334637e5 in celPcCommon::SetPropertyTemplated<long> ( > this=0x7f7f2211396c, [EMAIL PROTECTED], l=0, type=CEL_DATA_LONG) > at libs/celtool/stdpcimp.cpp:112 > #3 0x00007f7f3345f4e5 in celPcCommon::SetProperty (this=0x7f7f2211396c, > [EMAIL PROTECTED], l=0) at libs/celtool/stdpcimp.cpp:136 > #4 0x00007f7f3371b456 in iCelPropertyClass_SetPropertyLong ( > self=0x7f7f22113984, [EMAIL PROTECTED], l=0) > at ./out/linux/debug/plugins/behaviourlayer/python/blcel.cpp:5148 > #5 0x00007f7f337cc27c in _wrap_iCelPropertyClass_SetPropertyLong ( > args=0x5a30f50) > at ./out/linux/debug/plugins/behaviourlayer/python/blcel.cpp:32887 > #6 0x00007f7f40def780 in PyEval_EvalFrameEx () > > > Greetings > Darek > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Cel-main mailing list > Cel-main@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/cel-main > -- Project Manager of Crystal Space (http://www.crystalspace3d.org) and CEL (http://cel.crystalspace3d.org) Support Crystal Space. Donate at https://sourceforge.net/donate/index.php?group_id=649 Visit my town at http://waldir.myminicity.com/ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cel-main mailing list Cel-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cel-main