Jump to content
You need to play a total of 20 battles to post in this section.
Jarod997

"Peculiar" XML entry

7 comments in this topic

Recommended Posts

139
[CS7]
Alpha Tester, In AlfaTesters
554 posts
8,077 battles

So I was perusing the games XML looking for my replay key binds, and I came across this line in the "preferences.xml" file:

Quote

<peculiarities>    262139    </peculiarities>

Anyone have any clue what this could be referring to?

Share this post


Link to post
Share on other sites
6,911
[WOLF9]
Wiki Lead, Privateers
18,991 posts
5,224 battles

Try asking in the Mods section.

 

  • Cool 1

Share this post


Link to post
Share on other sites
139
[CS7]
Alpha Tester, In AlfaTesters
554 posts
8,077 battles

Thread "moved" to here:

 

Share this post


Link to post
Share on other sites
138
[PHD]
Members
473 posts
24,867 battles

Any clue? Not really, but...

Decimal 262139 is hex 3FFFB or binary 11 1111 1111 1111 1011.

Could be a bunch of bit flags. It's something I used to do when I wrote software.

  • Cool 1

Share this post


Link to post
Share on other sites
139
[CS7]
Alpha Tester, In AlfaTesters
554 posts
8,077 battles
22 minutes ago, Potohto928 said:

Any clue? Not really, but...

Decimal 262139 is hex 3FFFB or binary 11 1111 1111 1111 1011.

Could be a bunch of bit flags. It's something I used to do when I wrote software.

Which is easier to write and store as a Hex, why bother converting it to Dec?

Share this post


Link to post
Share on other sites
138
[PHD]
Members
473 posts
24,867 battles
37 minutes ago, Jarod997 said:

Which is easier to write and store as a Hex, why bother converting it to Dec?

I vaguely remember that It's much easier to read and write decimal to an XML file than hex.

Being a lazy programmer that's probably what I would have done.

 

For fun I checked my own and found 237307 = binary 11 1001 1110 1111 1011.

If my junch is correct a couple of my flags are turned off.

 

Edited by Potohto928

Share this post


Link to post
Share on other sites
139
[CS7]
Alpha Tester, In AlfaTesters
554 posts
8,077 battles
On 4/22/2022 at 10:41 AM, Potohto928 said:

I vaguely remember that It's much easier to read and write decimal to an XML file than hex.

Being a lazy programmer that's probably what I would have done.

 

For fun I checked my own and found 237307 = binary 11 1001 1110 1111 1011.

If my junch is correct a couple of my flags are turned off.

Ok, so you could turn any decimal into a hex, into a binary; and it makes sense that it's a set of flags - the question then is, what do the flags and "peculiar" have in common? :)

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×