playMaker

Author Topic: XML ... Please help with some doc's and examples for 2022  (Read 315 times)

t4d

  • Junior Playmaker
  • **
  • Posts: 70
XML ... Please help with some doc's and examples for 2022
« on: January 03, 2022, 09:04:55 PM »
HI I have got XML working a few years back but today I've spent a few hours reading forums and watching tutorials trying to get it working again and I'm lost

a lot of threads here cross-referencing other threads and "I'll post a working example later "  seem to be the end of the thread. ( Jean Your legend But  ;D   )

can we get a working link to clean a simple working example for "load text from a XML" and a separate tutorial "Saving text to the XML" or something?

maybe put it on a sticky ? 


so far I feel too many threads &  tutorials I've found jump into complex stuff without showing the simple load and save data and showing a working connection from playmaker to a XML file,

The frustrating thing is I have done this before in Playmaker maybe best spend 2 hours finding the old project may be quicker.  LOL my bad  :P

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 6878
    • jinxtergames
Re: XML ... Please help with some doc's and examples for 2022
« Reply #1 on: January 03, 2022, 09:12:17 PM »
Hi.

I have some tut videos using xml.
But i believe only for loading, as its not a good way to save data.

Here are some videos :









t4d

  • Junior Playmaker
  • **
  • Posts: 70
Re: XML ... Please help with some doc's and examples for 2022
« Reply #2 on: January 04, 2022, 05:18:04 PM »
Thanks djaydino

I think the tricky bit is working out the XML side of things, I have got it working again  ( last time I used easy save )

This is the first time I have used hash tables nice  Thanks for that

but is it normal to have empty cells in the hash table ?

t4d

  • Junior Playmaker
  • **
  • Posts: 70
Re: XML ... Please help with some doc's and examples for 2022
« Reply #3 on: January 04, 2022, 05:33:15 PM »
Opps once I set the prefill count to ZERO in the Hash table the empty value went away  ;D

All cool there not in order in the hash table, but I don't think that matters  ?

Again thanks

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 6878
    • jinxtergames
Re: XML ... Please help with some doc's and examples for 2022
« Reply #4 on: January 04, 2022, 06:23:51 PM »
Hi.
Hash tables are not in order, its a C# thing (or general with hashtables)