Forums | Chat | News | Contact Us | Register | PSU Social |
PSU: Free booby signing by hamma!
Forums | Chat | News | Contact Us | Register | PSU Social |
Home | Forum | Chat | Wiki | Social | AGN | PS2 Stats |
|
|
|
Thread Tools | Search this Thread | Display Modes |
2013-02-25, 09:43 PM | [Ignore Me] #2 | ||
Private
|
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. |
||
|
2013-02-25, 10:50 PM | [Ignore Me] #3 | ||
Private
|
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? |
||
|
2013-02-26, 05:43 PM | [Ignore Me] #5 | ||
Private
|
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. |
||
|
2013-02-26, 06:09 PM | [Ignore Me] #6 | ||
Contributor Private
|
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"; ?>
__________________
|
||
|
2013-02-26, 06:16 PM | [Ignore Me] #7 | ||
Private
|
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.
|
||
|
2013-02-26, 11:31 PM | [Ignore Me] #9 | |||
Private
|
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. |
|||
|
2013-02-27, 11:14 AM | [Ignore Me] #10 | ||
Master Sergeant
|
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 .. |
||
|
2013-02-27, 01:56 PM | [Ignore Me] #11 | ||
Private
|
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.
|
||
|
2013-02-27, 02:07 PM | [Ignore Me] #12 | |||
PSU Code Monkey
|
|
|||
|
2013-03-01, 07:47 PM | [Ignore Me] #13 | ||
Private
|
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. |
||
|
|
Bookmarks |
|
|