Bixby Sayz Posted November 14, 2011 Share Posted November 14, 2011 (edited) Anybody used WaitFuncEx? This returns False: Result := WaitFuncEx('CheckSmeltAmount', [Amount], True, 25, 50, 2000, 2000); while this returns True: Wait(2000); Result := CheckSmeltAmount(Amount); They are the same thing aren't they? Edit: Just realized this is an OSI function. Should have posted in another section. Edited November 14, 2011 by Bixby Sayz Quote Link to comment Share on other sites More sharing options...
Wanted Posted November 14, 2011 Share Posted November 14, 2011 Nah you're ok in this section. I've been having troubles trying to get it to work too. I can't seem to figure it out, it may just be an impossible function. Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted November 14, 2011 Author Share Posted November 14, 2011 I just fell back to the standard loop routine. I just like how "clean" using waitfunc/waitfuncex can make your code. Not the end of the world without it I guess. Quote Link to comment Share on other sites More sharing options...
Wanted Posted November 14, 2011 Share Posted November 14, 2011 Yea WaitFunc works fine. I don't think I ever remember using WaitFuncEx explicitly, it's never been fully proven. Quote Link to comment Share on other sites More sharing options...
KingKong Posted November 14, 2011 Share Posted November 14, 2011 The problem lies in CallProc. It doesn't return anything(it actually returns a empty char?). Read the last few posts in this thread: http://forums.scar-divi.com/showthread.php?168-CallProc-variable-parameters.-Is-it-possible&p=837 Quote Link to comment Share on other sites More sharing options...
FHannes Posted January 26, 2012 Share Posted January 26, 2012 I've found the problem with CallProc and fixed it, as of 3.31 it will return the result (epic bump is epic) Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted January 26, 2012 Author Share Posted January 26, 2012 Freddy you just get more awesome every day. Quote Link to comment Share on other sites More sharing options...
FHannes Posted January 26, 2012 Share Posted January 26, 2012 (edited) Don't thank me just yet, atm SCAR is barely capable of running a script I'm hoping to have the first alpha out in like half an hour, but it will be very unstable, code completion, code hints, breakpoints, pausing, ... don't work yet. I've been working for 6 hours straight trying to get as much of the script functionality working again as possible. Though like half of the error handling and stuff has been implemented Kind of funny... Parsing and compiling is completely done, everything that happens after that is totally uncontrolled But I would ask for some people to test it anyway, see if they can find any immediate bugs I should worry about... This is a giant overhaul of the system after all... EDIT: Looks like I have more work before I can release =/ Some stuff is not compiling yet, I guess I'll have more of the system smoothed out by the first alpha release then... Edited January 26, 2012 by Freddy Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted January 26, 2012 Author Share Posted January 26, 2012 Lol that is always the way. Just as you are about to release you discover a ton of issues that need to be dealt with first. Quote Link to comment Share on other sites More sharing options...
Wanted Posted January 27, 2012 Share Posted January 27, 2012 Glad to hear Quote Link to comment Share on other sites More sharing options...
Wanted Posted March 11, 2013 Share Posted March 11, 2013 Ultra bump. Still can't get this working =/ Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted March 17, 2013 Author Share Posted March 17, 2013 Did you ever get this working? Would make my life soo much easier if it did. Quote Link to comment Share on other sites More sharing options...
Wanted Posted March 17, 2013 Share Posted March 17, 2013 No I haven't... at least not with some of the functions I tried. It might work with others I haven't tested.. Quote Link to comment Share on other sites More sharing options...