News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

DCERouter Delay and Orbiter vs. QOrbiter

Started by WhateverFits, June 26, 2013, 09:36:14 PM

Previous topic - Next topic

WhateverFits

So, I was reading the various issues with the delay in the forums so that I could put in a delay on a Scenario. So, it fails from a normal orbiter but works fine from QOrbiter. The delay is completely skipped when executing from any orbiter except the QOrbiter. It looks like these events are going through two different code paths and one seems to work better than the other. I would like to attempt to fix this if I can. If somebody can point me in the right direction, I'll do what I can. I've been trying to get past just device development and into core coding for a while but I have yet to get everything going so I'm going to try to figure this out. Thanks!
[url="http://www.seanwalker.org"]http://www.seanwalker.org[/url]

tschak909

You'll want to look at src/DCERouter/DCERouter.cpp, as this command is implemented directly in the DCERouter itself. Do a grep for COMMAND_Delay_CONST

-Thom

Marie.O

It would surprise me a lot, if a commandgroup executed from Orbiter works different when it is executed from qOrbiter.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

WhateverFits

Thank you! I'm looking...

Well, I wouldn't be much surprised since I know the delay doesn't function on a scenario but does on an event.
[url="http://www.seanwalker.org"]http://www.seanwalker.org[/url]