League of Legends API, .JSON file & AJAX problem

Get help using Construct 2

Post » Thu Nov 05, 2015 8:49 pm

I guess you should first check if the json you recieve is what you expect..

easy way would be to set one textobject to ajax.lastdata on ajax completed..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Nov 05, 2015 10:22 pm

easy way would be to set one textobject to ajax.lastdata on ajax completed..


I've done that before.. like.. you know.. 100 times, and AJAX receives the correct values.
The problem must be somewhere when C2 reading .JSON data using the plugin :? Here is my .capx file.. .
https :!: ://drive.google.com :!: /file/d/0B1UZzFydKGX0VkswaFV3LW1iR0k :!: /view?usp=sharing

Could you see what I'm doing wrong? :cry:
B
5
Posts: 22
Reputation: 255

Post » Fri Nov 06, 2015 6:15 pm

You have two JSON objects. You're loading the data into one of them but trying to read it from another :)
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,650

Post » Fri Nov 06, 2015 10:30 pm

Okay :D This is helpful tip, but I still don't know what I should do, if I want to Construct 2 return to me a "vagrant8" value.
Could you correct my .capx file?
Please!
B
5
Posts: 22
Reputation: 255

Previous

Return to How do I....?

Who is online

Users browsing this forum: beguinner, mcscooter, totoe, Yahoo [Bot] and 21 guests