ryzom_status_array()

Added by Thicor over 5 years ago

I suggest that this would return an additional field per shard like below.

        [0] => Array
        (
            [shardid] => ani
            [shard] => Aniro
            [status] => 1
            [lang] => fr
        )


Replies (3)

RE: ryzom_status_array() - Added by Thicor over 5 years ago

In addition, shardid here is not consistent with $user['shardid'], or ryzom_get_param('shardid')

RE: ryzom_status_array() - Added by Thicor over 5 years ago

currently in my apps, I have this expanded like this..

Array
(
    [101] => Array
        (
            [shardid] => 101
            [shard] => Aniro
            [status] => 1
            [lang] => fr
            [sname] => ani
        )

    [102] => Array
        (
            [shardid] => 102
            [shard] => Leanon
            [status] => 1
            [lang] => de
            [sname] => lea
        )

    [103] => Array
        (
            [shardid] => 103
            [shard] => Arispotle
            [status] => 1
            [lang] => en
            [sname] => ari
        )

)

shardid has been changed to be consistent
sname is the short name for the shard
lang was added.

RE: ryzom_status_array() - Added by vl over 5 years ago

Hello,

You can provide the patch or the new file and we'll integrate it.

(1-3/3)