Outfit members with no names - PlanetSide Universe
PSU Social Facebook Twitter Twitter YouTube Steam TwitchTV
PlanetSide Universe
PSU: Nano powered
Home Forum Chat Wiki Social AGN PS2 Stats
Notices
Go Back   PlanetSide Universe > PlanetSide Discussions > PlanetSide 2 API Discussion

 
 
Thread Tools Search this Thread Display Modes
Old 2013-02-23, 06:09 PM   [Ignore Me] #1
Goblinhunter
Private
 
Outfit members with no names


Has anyone else notice the API returning outfit members with no names, when you use the resolve members function?
They have other stats, but no names. Very odd.
Goblinhunter is offline  
Old 2013-02-25, 09:43 PM   [Ignore Me] #2
Willuz
Private
 
Re: Outfit members with no names


I use this querry to return the names of outfit members.

http://census.soe.com/xml/get/ps2-be...me.first,rank)


The more difficult trick that I'm still working on is to resolve the online status of each member.

Last edited by Willuz; 2013-02-25 at 09:50 PM.
Willuz is offline  
Old 2013-02-25, 10:50 PM   [Ignore Me] #3
Sinjhin
Private
 
Re: Outfit members with no names


Willuz, You can get online status by character ID I know.

https://census.soe.com/s:soe/get/ps2...10618035042753

Is that what you are looking for?
Sinjhin is offline  
Old 2013-02-26, 02:04 AM   [Ignore Me] #4
maradine
Contributor
Lieutenant Colonel
 
maradine's Avatar
 
Re: Outfit members with no names


I've had to break the query into two to get the data (enumerate to list; iterate online status resolution), as Sinjhin implies. Guessing this is a bug.
maradine is offline  
Old 2013-02-26, 05:43 PM   [Ignore Me] #5
DereksDontRun
Private
 
Re: Outfit members with no names


to get online status for a character I'm using:

http://census.soe.com/get/ps2-beta/c...e.first_lower=player_name&c:show=name&c:resolve=online_status

this gives an online_status as 0 for offline or a world_id code if they're online.

what I'm struggling with atm is to resolve the world_id code into the world name (ie id 10 = miller)

I've been trying:
&c:resolve=online_status,world(name.en,description .en)
but i think I must have the wrong options in the world(???)
any ideas?

http://census.soe.com/get/ps2-beta/world/
^ world data and trying to get name.en string chucked through in 1 link

how do you get the list of commands for what's available in the resolve brackets
http://census.soe.com/get/ps2-beta/
^ gives the resolve options for each section but not what's available in the brackets


*edit*
after a quick play I've realized that the resolve=online_status only (presently) works for /character/ requests and not /outfit/ ones, which I'm guessing is what you're after...

Last edited by DereksDontRun; 2013-02-26 at 06:19 PM.
DereksDontRun is offline  
Old 2013-02-26, 06:09 PM   [Ignore Me] #6
Dreadnaut
Contributor
Private
 
Re: Outfit members with no names


Hope this helps:

Code:
<?php
$world = array();
$world_loc = array();

$world[1] = "Connery";
$world_loc[1] = "West Coast, US";
$world[2] = "Genudine";
$world_loc[2] = "West Coast, US";
$world[3] = "Helios";
$world_loc[3] = "West Coast, US";
$world[4] = "Palos";
$world_loc[4] = "West Coast, US";
$world[5] = "Torremar";
$world_loc[5] = "West Coast, US";
$world[6] = "Voight";
$world_loc[6] = "West Coast, US";
$world[7] = "Benson";
$world_loc[7] = "West Coast, US";
$world[8] = "Everett";
$world_loc[8] = "West Coast, US";

$world[9] = "Woodman";
$world_loc[9] = "Europe";
$world[10] = "Miller";
$world_loc[10] = "Europe";
$world[11] = "Ceres";
$world_loc[11] = "Europe";
$world[12] = "Lithcorp";
$world_loc[12] = "Europe";
$world[13] = "Cobalt";
$world_loc[13] = "Europe";
$world[14] = "Mallory";
$world_loc[14] = "Europe";
$world[15] = "Rust Mesa";
$world_loc[15] = "Europe";
$world[16] = "Snowshear";
$world_loc[16] = "Europe";

$world[17] = "Mattherson";
$world_loc[17] = "East Coast, US";
$world[18] = "Waterson";
$world_loc[18] = "East Coast, US";
$world[19] = "Jaeger";
$world_loc[19] = "East Coast, US";
$world[20] = "SolTech";
$world_loc[20] = "East Coast, US";
$world[21] = "DeepCore";
$world_loc[21] = "East Coast, US";
$world[22] = "AuraxiCom";
$world_loc[22] = "East Coast, US";
$world[23] = "Snake Ravine";
$world_loc[23] = "East Coast, US";
$world[24] = "Apex";
$world_loc[24] = "East Coast, US";

$world[25] = "Briggs";
$world_loc[25] = "Australia";
$world[26] = "Morgannis";
$world_loc[26] = "Australia";
$world[27] = "Saerro";
$world_loc[27] = "Australia";
$world[28] = "Vaemar";
$world_loc[28] = "Australia";
$world[29] = "Jagged Lance";
$world_loc[29] = "Australia";
$world[30] = "Alkali";
$world_loc[30] = "Australia";
$world[31] = "Stillwater";
$world_loc[31] = "Australia";
$world[32] = "Black Ridge";
$world_loc[32] = "Australia";
?>
__________________
Dreadnaut is offline  
Old 2013-02-26, 06:16 PM   [Ignore Me] #7
DereksDontRun
Private
 
Re: Outfit members with no names


cheers m8 - that was what i was expecting to do - hard, code it into an array instead of having it as parsed data direct from SOE. In some respects I was trying to avoid it, if possible, just in case any server-changes/merges/etc spawn new world_ids and thus a need to update the code each time.
DereksDontRun is offline  
Old 2013-02-26, 08:04 PM   [Ignore Me] #8
Hamma
PSU Admin
 
Hamma's Avatar
 
Re: Outfit members with no names


Yep hard coded here on PSU as well.
__________________

PlanetSide Universe - Administrator / Site Owner - Contact @ PSU
Hamma Time - Evil Ranting Admin - DragonWolves - Commanding Officer
Hamma is offline  
Old 2013-02-26, 11:31 PM   [Ignore Me] #9
Willuz
Private
 
Re: Outfit members with no names


Originally Posted by Sinjhin View Post
Willuz, You can get online status by character ID I know.
Originally Posted by maradine View Post
I've had to break the query into two to get the data (enumerate to list; iterate online status resolution), as Sinjhin implies. Guessing this is a bug.
I came to the same conclusion about Online Status in a resolve of outfit member_character requiring multiple queries. It's easy to query in the character page though.

This problem has been acknowledged on the SOE API forum and they plan to include online status in the member_character resolve in the future.

Last edited by Willuz; 2013-02-26 at 11:32 PM.
Willuz is offline  
Old 2013-02-27, 11:14 AM   [Ignore Me] #10
Stanis
Master Sergeant
 
Re: Outfit members with no names


Thanks for the information in this thread.

It's not just me trying to get outfit member online status :P
I've broken it down into an outfit lookup, then character lookup.
With a common sense rule - don't check anyone last_login > 24hrs agoo.


Has anyone got an idea what "ts" is?
I was hoping to take a good guess at online status by comparing lastlogin/lastsave/ts ..
Stanis is offline  
Old 2013-02-27, 01:56 PM   [Ignore Me] #11
Willuz
Private
 
Re: Outfit members with no names


Originally Posted by Goblinhunter View Post
Has anyone else notice the API returning outfit members with no names, when you use the resolve members function?
They have other stats, but no names. Very odd.
Sorry, I completely derailed this thread by misunderstanding the problem. Yes, I also see the resolve members function returning members with no names, but in my case they don't have stats either. I wonder if these are people who deleted an account before leaving the outfit.
Willuz is offline  
Old 2013-02-27, 02:07 PM   [Ignore Me] #12
Ghryphen
PSU Code Monkey
 
Ghryphen's Avatar
 
Re: Outfit members with no names


Originally Posted by Willuz View Post
Sorry, I completely derailed this thread by misunderstanding the problem. Yes, I also see the resolve members function returning members with no names, but in my case they don't have stats either. I wonder if these are people who deleted an account before leaving the outfit.
Yes, I think it is something like that. Big outfits say their total members on PSU don't match in game. I'm betting it is because their roster is full of ghost accounts. For PSU I skip all that have no name and give that total.
__________________

Twitter | Dragon Wolves
Ghryphen is offline  
Old 2013-03-01, 07:47 PM   [Ignore Me] #13
Goblinhunter
Private
 
Re: Outfit members with no names


Yeah, i'm mostly seeing accounts with no names, or stats, but there are some with stats, and then some with names that have missing stats, or stats in a completely different format to everyone else.

All a little bit annoying, but as you say the easiest option is to just clean them out.
Goblinhunter is offline  
 
  PlanetSide Universe > PlanetSide Discussions > PlanetSide 2 API Discussion

Bookmarks

Discord


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:42 PM.

Content © 2002-2013, PlanetSide-Universe.com, All rights reserved.
PlanetSide and the SOE logo are registered trademarks of Sony Online Entertainment Inc. © 2004 Sony Online Entertainment Inc. All rights reserved.
All other trademarks or tradenames are properties of their respective owners.
Powered by vBulletin
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.