I still like the plugin. It is a primary means of communication between a certain process. Being small and streamlined is a good thing.
Also the parse XML text function was really important for me because a number of processes communicate to DBPRO via strings, this saves me alot of parsing work.
Suggestions
I think more real world ideas will come the more I use the plugin, but for now any ideas are guesses at best, maybe worth waiting a while. But if you feel like it, here are some;
A few minor suggestions;
a
I think one might want to return or set 64bit variables (DOUBLE INTEGER / DOUBLE FLOAT ). I use Double Integers for bit sets.
This plug-in provides functions to manipulate and query bitsets.
It also provides 32 bit rotation and 64 bit shifting + rotation.
Bitset manipulation
BIT CLEAR
BIT CLEAR MASK
BIT COUNT
BIT FIND FIRST CLEAR
BIT FIND FIRST SET
BIT FIND LAST CLEAR
BIT FIND LAST SET
BIT FLIP
BIT FLIP MASK
BIT GET
BIT INTERSECT MASK
BIT SET
BIT SET MASK
Rotation & Shifting
BIT ROT32 LEFT
BIT ROT32 RIGHT
BIT ROT64 LEFT
BIT ROT64 RIGHT
BIT SHIFT LEFT
BIT SHIFT RIGHT
But at the moment, I am not needing to store 64bit variables in the database, but who knows.
XML SET/GET DOUBLE INTEGER ATTRIBUTE | XML GET/SET DOUBLE FLOAT ATTRIBUTE perhaps; but if
IntVal( XML GET ATTRIBUTE(n) ) is the same thing, then no need for it.
b
Again very trivial, the word 'CHILDS' is not proper in this context; it is one of those words. I don't personally mind because I am more interested in the fact that it works, but just so you know:
XML COUNT CHILDS should be XML CHILD COUNT, XML COUNT CHILD ELEMENTS or XML COUNT CHILDREN. 'Count children' literally states that it is counting them one by one. 'Child count' is more of a noun (name) of data representing a pre-determined count. But either will do.
'Childs' isn't in the dictionary. The closest you can find is "Child's", EG: He has a child's mentality.
Question?
Should an element with text but no child nodes return 1 with XML COUNT CHILDS()?
The following code returns 1 child
XML OPEN DOCUMENT "test.xml", 1
XML PARSE DOCUMENT 1, "<message>text</message>"
XML GET ROOT ELEMENT 1, 1
Print "Number of children: "; XML COUNT CHILDS(1)
Print "Name = "; XML GET ELEMENT NAME( 1 )
Print "Text = "; XML GET TEXT( 1 )
Wait Key
even though it is text. Is text a valid child node? It isn't all that bad if it is or isn't, just wondering.
Billboards
I am using your billboards plugin for my character labels, stay tuned for my next game update which should show it in use, via my banner in a few days.