crhatfield's Recent Forum Activity

  • Hi.

    just an FYI, I'm getting this when I start up c2

    <img src="http://content.screencast.com/users/crhatfield/folders/Jing/media/901b517f-2e1f-4e4f-a607-e21e45a9f06e/2012-06-06_0301.png" border="0" />

    just now downloaded fresh copy, extracted and copy/pasted them into that folder in plugins, and still getting error *shrug*

    • Cecil
  • Hello Soybean.

    Yeah it does and so does Hash.HashTableToString - must be something in that ajax, probably the special characters in the "indexes" - not something I can control directly, will have to map that seperately with a php script prior to importing it into the game.. from there I can clean those up. Thanks for your help. I'm just glad I have the syntax/usage correct. been one of those days :)

    • Cecil

    (edit)

    OK I removed all json except these 2 groups

    {
         "cards": {
              "buscador_v2e": {
                   "faction": "mexica",
                   "ready": "8",
                   "type": "Unit",
                   "ability0": "",
                   "ability0_rank": "",
                   "ability1": "",
                   "ability1_rank": "",
                   "show": "1",
                   "attack": "2",
                   "health": "5",
                   "class": "Sniper",
                   "image": "buscador",
                   "name": "Buscador"
              },
              "pimiento_v2": {
                   "faction": "mexica",
                   "ready": "6",
                   "type": "Unit",
                   "ability0": "Poison N",
                   "ability0_rank": "2",
                   "ability1": "",
                   "ability1_rank": "",
                   "show": "1",
                   "attack": "2",
                   "health": "5",
                   "class": "Enforcer",
                   "image": "pimiento",
                   "name": "Pimiento"
              }
         }
    }
    

    and here is events I have setup.

    <img src="http://content.screencast.com/users/crhatfield/folders/Jing/media/8d975b78-3f47-43f6-a87c-b81d87272412/2012-06-06_0251.png" border="0" />

    no dice. *shrug* I had similiar problems with CSV and XML plugins, have yet found one that works for me to iterate data with..

  • Thats actually where I had it originally.. but maybe setting ajaxData variable there and then looping in a sub is hte problem, will fiddle with that but change that sub up a bit and just use ajax.lastdata instead of setting a custom variable, etc.. Thanks for the tip guys, have a great week!

    • Cecil

    (edit)

    even this isn't working.

    <img src="http://content.screencast.com/users/crhatfield/folders/Jing/media/61813015-f231-46a2-ba4c-2142caab5e06/2012-06-05_1036.png" border="0" />

    am I missing something? thanks :)

  • hi, can you tell me what I might be doing wrong here screenshot

    I originally had the for each stuff nested below the system=>ajaxData!="" stuff.. moved it down just to try something else.. the disabled append there under that system=>ajaxData!="" works btw; data is there.

    {
         "cards": {
              "general`s sword 8": {
                   "faction": "universal",
                   "ready": "6",
                   "type": "Equipment",
                   "ability0": "Command All N",
                   "ability0_rank": "2",
                   "ability1": "",
                   "ability1_rank": "",
                   "show": "1",
                   "attack": "",
                   "health": "",
                   "class": "",
                   "image": "general_s_sword_8",
                   "name": "General`s Sword"
              },
              "battle speech 4": {
                   "faction": "universal",
                   "ready": "2",
                   "type": "Special",
                   "ability0": "Gain Morale N",
                   "ability0_rank": "6",
                   "ability1": "Demoralize N",
                   "ability1_rank": "3",
                   "show": "1",
                   "attack": "",
                   "health": "",
                   "class": "",
                   "image": "battle_speech_4",
                   "name": "Battle Speech"
              },
              .....
    

    Thanks!

    • Cecil
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • yep that was it, thank you very much!

  • <img src="http://content.screencast.com/users/crhatfield/folders/Jing/media/23aa8606-df33-4872-b9cc-bda6c8c258a0/2012-06-03_0324.png" border="0" />

    been playing with this for a long time now, fiddled with xpath and can't seem to get it to put anything into the text field. just want to dump data to screen so I know its working, then I can move on to actually using it <img src="smileys/smiley2.gif" border="0" align="middle" />

crhatfield's avatar

crhatfield

Member since 3 Jun, 2012

None one is following crhatfield yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies