Chartboost Mobile Ads (Not Updated)

sanalimonova

  • Posts: 12
Hi Rob1221,

I would really appreciate if you could explain how I can award a user with an in-game currency after they've watched a rewarded video.
The currency is actually a bonus level becoming available after a video. I have tried a few block combinations, but get it wrong all the time:)  Sorry for probably asking something obvious, and thank you in advance!

rob1221

  • *
  • Posts: 9473
In the event listener block, there is a dropdown to select if the rewarded video finished playing.  Inside that block you would unlock your bonus level.  Don't forget to remove that event listener before changing scenes.  Now to change your video ad so it actually informs the user of your bonus level, you need to go to your app on the Chartboost site and go to the Video tab.  There you can set your ad text and upload a currency image.

sanalimonova

  • Posts: 12
I don't think I can test it in flash(?) (will do it later on a mobile device) so I just want to check with you if this should work:
(i've inititiated and cashed the ad in the loading scene. Block in the attachement is placed in a scene which is actually the reward /scene to be unlocked)
Thank you!!!

rob1221

  • *
  • Posts: 9473
That will just cause the listener to be removed immediately.  It should be OK to put the remove listener block just before every scene change block you have for that scene.  So in this case you can put the remove block inside the add block, just above the scene reload block.


Joraanpe

  • Posts: 287
Hey @ron1221, being curious  about that of the video ads, if im planing of using statics ads each 4 times the actor dies, and a video ad on the 5th time, do i need to have a campaign for each ad type, or just adding the respective blocks would do the job?

rob1221

  • *
  • Posts: 9473
You need a separate campaign for every ad type.  However, if using the interstitial video, you can't choose whether to show a video or a static ad since they're the same function call and same block.

Joraanpe

  • Posts: 287
You need a separate campaign for every ad type.  However, if using the interstitial video, you can't choose whether to show a video or a static ad since they're the same function call and same block.

I see, i though that as it used to show both fine with ad tests it would do also on real ones..  thanks again for your reply rob

Something else, i still have variable success with the ads, sometimes static ones show, but very rare times.... Ill post you part of my logs here, maybe it can tell you any useful info to know if im doing anything wrong, or if its common that they do not show that often!

Code: [Select]
stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826320855043338 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826319970043337 stencyl.sw.util.StreamGobbler [nme] E/NME     (26357): Using 0 args
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826319968043336 stencyl.sw.util.StreamGobbler [nme] E/NME     (26357): CallHaxe 0xac3f85b8
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826319966043335 stencyl.sw.util.StreamGobbler [nme] I/Chartboost(26357): DID FAIL TO LOAD REWARDED VIDEO: 'Default', Error:  NO_AD_FOUND
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826319751043334 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826319750043333 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826319738043332 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826319737043331 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826316860043330 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Engine.hx:1735: Switching to scene 0
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826316780043329 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826316780043328 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826316009043327 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826316009043326 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826315997043325 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826315997043324 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826314296043323 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityManager.CallbackHandler(  902): CM callback handler got msg 524290
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826314295043322 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826314295043321 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): Network NetworkAgentInfo [WIFI () - 303] was already satisfying request 1. No change.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826314294043320 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): rematching NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826314293043319 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): updateNetworkScore for NetworkAgentInfo [WIFI () - 303] to 56
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826312967043318 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Engine.hx:1735: Switching to scene 0
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826312910043317 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826312909043316 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826312092043315 stencyl.sw.util.StreamGobbler [nme] E/NME     (26357): Using 0 args
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826312087043314 stencyl.sw.util.StreamGobbler [nme] E/NME     (26357): CallHaxe 0xac3f85b8
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826312086043313 stencyl.sw.util.StreamGobbler [nme] I/Chartboost(26357): DID FAIL TO LOAD INTERSTITIAL 'Default Error: NO_AD_FOUND
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826311890043312 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826311890043311 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826311877043310 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826311871043309 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826311279043308 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityManager.CallbackHandler(  902): CM callback handler got msg 524290
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826311279043307 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826311278043306 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): Network NetworkAgentInfo [WIFI () - 303] was already satisfying request 1. No change.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826311277043305 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): rematching NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826311277043304 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): updateNetworkScore for NetworkAgentInfo [WIFI () - 303] to 60
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826308259043303 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Engine.hx:1735: Switching to scene 0
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826308257043302 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityManager.CallbackHandler(  902): CM callback handler got msg 524290
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826308257043301 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826308257043300 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): Network NetworkAgentInfo [WIFI () - 303] was already satisfying request 1. No change.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826308256043299 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): rematching NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826308255043298 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): updateNetworkScore for NetworkAgentInfo [WIFI () - 303] to 56
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826308154043297 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826308153043296 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826307365043295 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826307365043294 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826307350043293 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826307349043292 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826304253043291 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Engine.hx:1735: Switching to scene 0
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826304180043290 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826304179043289 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826303390043288 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826303389043287 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826303380043286 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826303379043285 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826303155043284 stencyl.sw.util.StreamGobbler [nme] I/wpa_supplicant( 1039): wlan0: CTRL-EVENT-SCAN-STARTED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826303148043283 stencyl.sw.util.StreamGobbler [nme] E/WifiStateMachine(  744): WifiStateMachine starting scan for "anzola"WPA_PSK with 2462
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826303147043282 stencyl.sw.util.StreamGobbler [nme] E/WifiStateMachine(  744): WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=1,10 rxSuccessRate=0,64 targetRoamBSSID=68:7f:74:f8:0a:c3 RSSI=-70
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826302223043281 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityManager.CallbackHandler(  902): CM callback handler got msg 524290
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826302223043280 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826302222043279 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): Network NetworkAgentInfo [WIFI () - 303] was already satisfying request 1. No change.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826302221043278 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): rematching NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826302220043277 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): updateNetworkScore for NetworkAgentInfo [WIFI () - 303] to 60
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826299910043276 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Engine.hx:1735: Switching to scene 0
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826299848043275 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826299847043274 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826299202043273 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityManager.CallbackHandler(  902): CM callback handler got msg 524290
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826299201043272 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826299200043271 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): Network NetworkAgentInfo [WIFI () - 303] was already satisfying request 1. No change.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826299200043270 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): rematching NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826299199043269 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): updateNetworkScore for NetworkAgentInfo [WIFI () - 303] to 56
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826298209043268 stencyl.sw.util.StreamGobbler [nme] E/NME     (26357): Using 0 args
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826298209043267 stencyl.sw.util.StreamGobbler [nme] E/NME     (26357): CallHaxe 0xac3f85b8
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826298208043266 stencyl.sw.util.StreamGobbler [nme] I/Chartboost(26357): DID FAIL TO LOAD REWARDED VIDEO: 'Default', Error:  NO_AD_FOUND
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826298015043265 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826298015043264 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826298006043263 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826298005043262 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826294049043261 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Engine.hx:1735: Switching to scene 0
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826293976043260 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826293975043259 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826292613043258 stencyl.sw.util.StreamGobbler [nme] I/wpa_supplicant( 1039): wlan0: CTRL-EVENT-SCAN-STARTED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826292603043257 stencyl.sw.util.StreamGobbler [nme] E/WifiStateMachine(  744): WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0,65 rxSuccessRate=0,32 targetRoamBSSID=68:7f:74:f8:0a:c3 RSSI=-68
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826292389043256 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826292388043255 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826292380043254 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826292379043253 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826290160043252 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityManager.CallbackHandler(  902): CM callback handler got msg 524290
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826290159043251 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826290159043250 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): Network NetworkAgentInfo [WIFI () - 303] was already satisfying request 1. No change.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826290158043249 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): rematching NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826290157043248 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): updateNetworkScore for NetworkAgentInfo [WIFI () - 303] to 60
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826287477043247 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Engine.hx:1735: Switching to scene 0
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826287435043246 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3547: Saved Game: mySave
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826287435043245 stencyl.sw.util.StreamGobbler [nme] I/trace   (26357): Script.hx:3536: FLUSHED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826284123043244 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityManager.CallbackHandler(  902): CM callback handler got msg 524290
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826284122043243 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826284122043242 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): Network NetworkAgentInfo [WIFI () - 303] was already satisfying request 1. No change.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826284121043241 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): rematching NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826284120043240 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): updateNetworkScore for NetworkAgentInfo [WIFI () - 303] to 56
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826282474043239 stencyl.sw.util.StreamGobbler [nme] I/art     (  744): Explicit concurrent mark sweep GC freed 23937(1178KB) AllocSpace objects, 6(2MB) LOS objects, 30% free, 37MB/53MB, paused 1.277ms total 76.677ms
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826278080043238 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityManager.CallbackHandler(  902): CM callback handler got msg 524290
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826278080043237 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826278079043236 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): Network NetworkAgentInfo [WIFI () - 303] was already satisfying request 1. No change.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826278078043235 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): rematching NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826278078043234 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): updateNetworkScore for NetworkAgentInfo [WIFI () - 303] to 60
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826273992043233 stencyl.sw.util.StreamGobbler [nme] D/Finsky  (23652): [1] 5.onFinished: Installation state replication succeeded.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826272549043232 stencyl.sw.util.StreamGobbler [nme] D/Volley  (26357): [1] l.b: 15662 ms: [ ] https://live.chartboost.com/api/config 0x64ca17da HIGH 3
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826272542043231 stencyl.sw.util.StreamGobbler [nme] D/Volley  (26357): [14387] u.a: HTTP response for request=<[ ] https://live.chartboost.com/api/config 0x64ca17da HIGH 3> [lifetime=15647], [size=135], [rc=200], [retryCount=0]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826269505043230 stencyl.sw.util.StreamGobbler [nme] I/ConfigService( 1345): onDestroy
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826269498043229 stencyl.sw.util.StreamGobbler [nme] I/ConfigFetchService(15392): stopping self
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826269498043228 stencyl.sw.util.StreamGobbler [nme] I/ConfigFetchService(15392): fetch service done; releasing wakelock
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826268951043227 stencyl.sw.util.StreamGobbler [nme] I/GoogleHttpClient(15392): Falling back to old SSLCertificateSocketFactory
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826268947043226 stencyl.sw.util.StreamGobbler [nme] V/ConfigFetchTask(15392): ConfigFetchTask getDeviceDataVersionInfo(): ABFEt1X2Jbo85uJ9QNog8ly1uyceqXlcxKLWjxzBkae1f7bvGKDeMLQKvEKlsTyNxVPPU0gSpbOrB04XDGlqFsgOAX8-_JQd9NWR5fYmPfRv1Gg-O0e23zf-cv259md7lff-sati99R3S9LAYG4pGtsQY2VkTbNKTfc0eSinjYSny3wkHVtA28MeIGq203N-hL7fcZa0ln11uIsyBjrdAOTGbp9k7Q8_e9D0-YSqHebDcy2MmtjIAIU-1Y0x2EE1eXV_rXhgMAOeVAn0T1nPyDlaZmdpUBFBEGlW2BvtrXjsNv56MOpKwsLAK9G8bx_56AH6GwoaFfRzLuRsr57dsrs5EOSISXfa66laygxzCygfWUNHjVRiQks
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826266167043225 stencyl.sw.util.StreamGobbler [nme] I/wpa_supplicant( 1039): wlan0: CTRL-EVENT-SCAN-STARTED
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826266161043224 stencyl.sw.util.StreamGobbler [nme] E/WifiStateMachine(  744): WifiStateMachine starting scan for "anzola"WPA_PSK with 2462
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826266160043223 stencyl.sw.util.StreamGobbler [nme] E/WifiStateMachine(  744): WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=12,45 rxSuccessRate=10,69 targetRoamBSSID=68:7f:74:f8:0a:c3 RSSI=-75
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826266032043222 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityManager.CallbackHandler(  902): CM callback handler got msg 524290
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826266031043221 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826266031043220 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): Network NetworkAgentInfo [WIFI () - 303] was already satisfying request 1. No change.
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826266030043219 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): rematching NetworkAgentInfo [WIFI () - 303]
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826266029043218 stencyl.sw.util.StreamGobbler [nme] D/ConnectivityService(  744): updateNetworkScore for NetworkAgentInfo [WIFI () - 303] to 56
jar:file:/Applications/Stencyl-full/sw.jar!/res/logview4j/images/info.gif false INFO 1420826265027043217 stencyl.sw.util.StreamGobbler [nme] I/GAV4    (26654): Thread[GAThread,5,main]: No campaign data found.

rob1221

  • *
  • Posts: 9473
Chartboost ran out of ads to show you.  I'm guessing you live in a tier 2 or 3 country where ad inventory is much less.  Use test ads when testing.

EDIT: I've added a note about that in the first post.  If you live outside the US or UK, you can't rely on ads being available most of the time.

« Last Edit: January 09, 2015, 10:37:35 am by rob1221 »

Joraanpe

  • Posts: 287
Chartboost ran out of ads to show you.  I'm guessing you live in a tier 2 or 3 country where ad inventory is much less.  Use test ads when testing.

EDIT: I've added a note about that in the first post.  If you live outside the US or UK, you can't rely on ads being available most of the time.

So its what you though at the beginning , thanks for confirming.
Ill hope they can be displayed properly for my users of other countries :)

ManicZombie

  • Posts: 126
So I hope you all don't mind another newbie question. I don't quite grasp how to use the event listeners. Are they acting like If-Then statements, essentially saying, "if the ad loaded/displayed, do this, otherwise do this"? I've perused this whole thread but it still escapes me. Can someone point me to a few examples?

I ask because I've successfully implemented interstitial video ads, but once one plays, my game just plays video after video after video--the X/close button doesn't kick you back to the game. I realize I need to find a way to say Hey game, just play one video, thanks.

Thanks very much.

rob1221

  • *
  • Posts: 9473
The event listeners are activated when triggered by Chartboost, and any blocks inside the add event listener block will then run.  They are not if statements, do not have an otherwise portion, and they will typically be used in "when created".  I can't answer why your video keeps playing without seeing your blocks.

ManicZombie

  • Posts: 126
Thanks, that makes sense. So is the reason that the listeners typically are use in "when created" is because it's a best practice to run ads in their own scene?

I fixed my endless playing by throwing a boolean flag around it so it only plays once. Seems to have worked. The irony isn't lost on me that while most people posting here have trouble getting videos to play, I couldn't get them to stop!

Thanks again for this very handy extension.

rob1221

  • *
  • Posts: 9473
So is the reason that the listeners typically are use in "when created" is because it's a best practice to run ads in their own scene?
No, it's because the block should only need to be used once per scene.  It isn't meant to be run regularly like if statements.  Think of it like a custom event.  A custom event is setup only once and then called when needed.  The event listener block is used only once and then called when needed, but in this case Chartboost handles when to call it.  It would make more sense to set this up as an event type and not a block, but AFAIK such events cannot be created via extension.

authwob

  • Posts: 51
Does anyone else have problems with chartboost on iPad? I've only test it on Simulator, it seems that the interstitial came to big and it doesn't fit the screen and you cannot close it since the x button is off the screen borders. It only happens on iPad without retina, on retina it works great aswell as on other devices (simulator).
I've attached a screenshot and a log (if it somehow helps :P ).