Jump to content
Cee-a90119224ca82d14

callExtention return' not hinting.

Recommended Posts

Before I get started I would like to just clerify that I've only got back into sqf after a few years.

 

Doing a SQL query using extDB.

 

_queryResult = "extDB3" callExtension "0:OurExampleSQLProtocol:SELECT * From `test`";
// _queryResult returns a string array from callExtention. "[1, [foo, bar]]"
sleep 3;

diag_log "MYSQL  QUERY RESULT!"; // 
diag_log _queryResult;			// This successfully prints inside the .rpt.

hintSilent _queryResult;			// This doesn't hint.

If this is relevant, i'm executing inside of init.sqf.

 

I'll appreciate any help, thank you kindly.

 

 

 

 

 

Share this post


Link to post
Share on other sites
23 minutes ago, killzone_kid said:

doesnt work on server

I'd presume this working in singleplayer because ones' machine takes on both realms.

 

Could you suggest how i could 'hint' my client? I'm not exactly familuar with how to communite to clients from the server. and vise versa.

 

I appreciate your help, thank you.

Share this post


Link to post
Share on other sites
30 minutes ago, killzone_kid said:

doesnt work on server

Thank you so much!

 

From looking forward from your reply, I found this: https://community.bistudio.com/wiki/Arma_3:_Remote_Execution

 

under "Use Case Example".

 

"The problem is that hint only has local effect. This means that only the machine where hint is executed will display our "You have 5 minutes left!" message."

 

So as a conclusion, seriously speaking, the server's machine itself is hinting.

 

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×