Hey Hamdi!
I didn't know I could do it that way, can I notify about app installations to Facebook with just an api call?
Posts by AlanRuno
Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
-
-
¡Hello Everyone!
I'm looking forward to promote my app on facebook ads.
However, in order to see actual results, I was told I needed to integrate facebook SDK into my app.
I don't have enough knowledge or experience to do it on my own.
So I open up this request.
I don't need complex actions or logins.
Just integrate the sdk to the application so it can report the installs, I don't know if it's done automatically or need an action.Let me know if someone is available.
Cheers! Alan.
-
-
I might have some information to share. PM me if interested.
-
Hey, thanks for that info Yves!
I only use one object, I didn't know ctx could help me with that, but yeah that is passed on to the function, I will store rdPtr there.
I case it doesn't work I can try the other two options
Thanks!! -
Normal conditions have the EVFLAGS_ALWAYS flag. If you remove it, it's a triggered (green) condition. See the "Condition flags" topic in the SDK documentation.
The Simple Control example provided in the SDK has an example of such a condition: CND_CHANGED. Check also how the condition has to be implemented:
Code
Display Morelong WINAPI DLLExport CndChanged(LPRDATA rdPtr, long param1, long param2) { // Always TRUE if first condition if (rdPtr->rHo.hoFlags & HOF_TRUEEVENT) return TRUE; // Otherwise true only if same loop number LPRH rhPtr = rdPtr->rHo.hoAdRunHeader; if ( rhPtr->rh4.rh4EventCount == rdPtr->dwLastChangedLoopNumber ) return TRUE; return FALSE; } long WINAPI DLLExport CndChanged(LPRDATA rdPtr, long param1, long param2) { // Always TRUE if first condition if (rdPtr->rHo.hoFlags & HOF_TRUEEVENT) return TRUE; // Otherwise true only if same loop number LPRH rhPtr = rdPtr->rHo.hoAdRunHeader; if ( rhPtr->rh4.rh4EventCount == rdPtr->dwLastChangedLoopNumber ) return TRUE; return FALSE; }
rh4EventCount is the current game loop number, dwLastChangedLoopNumber is the loop number when the event is triggered (stored in Runtime.cpp).
Excelent!
Thank you for that info!
However I've gotten into a situation , because of my lack of experience, where I don't have the runtime data on scope inside a function that needs to trigger the instant event.This is the function that needs to trigger the instant event:
Code
Display Morestatic void CCONV onDistanceChange(PhidgetDistanceSensorHandle ch, void* ctx, uint32_t distance) { int port; Phidget_getHubPort((PhidgetHandle)ch, & port); ::GPV_last_distance_port = port; switch (port) { case 0: ::GPV_last_distance_changed = 1; ::GPV_last_distance_value = distance; break; case 2: ::GPV_last_distance_changed1 = 1; ::GPV_last_distance_value1 = distance; break; case 3: ::GPV_last_distance_changed2 = 1; ::GPV_last_distance_value2 = distance; break; case 4: ::GPV_last_distance_changed3 = 1; ::GPV_last_distance_value3 = distance; break; default: break; } //LPRDATA rdPtr = ::GPV_runtime_pointer; // no :( //GenerateEvent(NULL,3); // no :( PhidgetLog_log(PHIDGET_LOG_CRITICAL, "Distance Changed"); }
As you can see, I had to make a switch to set duplicated global values and trigger duplicated regular conditions (distance1, distance2 etc.)
I want to call an instant condition and be able to retrieve the port instantly. but I don't know how to call an instant function from here. Because this function gets called by the device-threaded handler and doesn't pass the rdPtr. -
Hello,
What SDK do you use ?You are a flag for condition param to says that is an event. To call event you need to call the function:
Code[COLOR=#24292E][FONT=SFMono-Regular]rdPtr->[/FONT][/COLOR][COLOR=#24292E][FONT=SFMono-Regular]rRd[/FONT][/COLOR][COLOR=#24292E][FONT=SFMono-Regular]->[/FONT][/COLOR][COLOR=#005CC5][FONT=SFMono-Regular]GenerateEvent[/FONT][/COLOR][COLOR=#24292E][FONT=SFMono-Regular]([/FONT][/COLOR][COLOR=#005CC5][FONT=SFMono-Regular]CONDITION_ID[/FONT][/COLOR][COLOR=#24292E][FONT=SFMono-Regular]);
[/FONT][/COLOR]Hey! Thanks for the response!
Im using fusion 2.5 sdk
How can i flag the condition as an event? I checked out the examples I might have missed that.
what if I don't have rdPtr in scope inside the function triggered?? -
Hi!
I've been developing a Phidgets extension for Fusion.
It's going really good.In case you don't know what a Phidget is:
Please login to see this link.However I have a question regarding Windows Extension Development.
How can I make an instant condition? Those conditions that appear green on the editor and are triggered immediately?Thanks in advance!
-
Still Looking!. I currently made a dummy extension with working features but I don't know how to manage runtime variables. Anyone willing to make the extension still?? Paying 500 USD.
-
-
Hi Everyone.
I'm looking for a developer to write an extension for Fusion, that is able to communicate with Phidgets™ devices.
Phidgets™ devices currently have a variety of SDK's and Drivers.You can check out more at this link:
Please login to see this link.Note:
Source Code is not needed, you may also hold intellectual property of the extension and sell it on the CT Store.
Payment will be made as requested.Please Send me a PM for more information.
Cheers.
-
-
Great Phi!
I will surely join as a patreon.
You've made great extensions for fusion!
I bet you're not done yet. -
Hmm would pay $100 bucks or more for it... heck even a subscription.
-
[MENTION=6268]Fernando[/MENTION] , And is there a possibility to start a new kickstarter? I didn't know about it when it came out. Perhaps this time it will be different.
-
-
-
11 years later and still saving lives.
Hope you're having a great life! xD -
-