These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

API and character name questions for EVE DEVs

First post First post
Author
Rondo Haxton
Accelerated Cognition
#1 - 2014-08-10 17:50:42 UTC  |  Edited by: Rondo Haxton
Hey

I would like to know if CorporationName will be added to CharacterInfo.

If not, let's say a client has 50 corporations in his employment history... I query the API with the 50 corporationIDs and then how does the cache works ? The exact query of those exact corporations in the list is cached for 24 hours ? or can I check another character with another sets of corporations right after ? Really, I'm confused. What if the two characters have the same corporation in the list... will that trigger the killbots ?


Also, since some DEVs might pop in here, I would like to get an updated Character naming Policy... I know it has been posted in the wiki, but it is out of date and no links to report.

Ex: the wiki page says only one space is allowed, which is not true anymore.

Anyway, anyone who can help is welcome!

Thanks
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#2 - 2014-08-10 18:28:25 UTC
If all you want to do is:
pull the character name
pull the corporation name
pull the alliance name

then use the characterAffiliation endpoint.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Rondo Haxton
Accelerated Cognition
#3 - 2014-08-10 18:58:18 UTC  |  Edited by: Rondo Haxton
Sorry should have been more clear

The Employment history part of CharacterInfo does not include the name of the corporation the player has been a member of, only the ID... from what I understand, I might be wrong, the only way for me to get the name, is to query CharacterNames with a list of corporationID... that doesn't seem right.
CCP FoxFour
C C P
C C P Alliance
#4 - 2014-08-11 10:47:07 UTC
Rondo Haxton wrote:
Sorry should have been more clear

The Employment history part of CharacterInfo does not include the name of the corporation the player has been a member of, only the the ID... from what I understand, I might be wrong, the only way for me to get the name, is to query CharacterNames with a list of corporationID... that doesn't seem right.


I have gone ahead and added corporationName to the employment history section. Bumps up the size for people with long history's a bit, but this is XML so it's already bloated to hell. Should get deployed around Hyperion. :)

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Rondo Haxton
Accelerated Cognition
#5 - 2014-08-11 15:18:40 UTC
That is so great thank you very much!

And you got that right about XML... the server might actually prefer to serve long string of static data instead of long requests for corporationNames which it had to evaluate somehow I presume.

Anyway that is great news.

About that other thing, I would just like to make sure the string I get from user input might be a characterName so I think I need the updated character naming Policy...


http://community.eveonline.com/support/policies/eve-user-policy/
this page says:

Valid player character names:
◦ Must be at least 4 characters.
◦ Cannot exceed 24 characters.
◦ May contain the characters A-Z, a-z, 0-9, and single quotation. (Corporation names may also include minus and dot characters.)
◦ Space or single quotation characters are not allowed as the first or last character in a name.
◦ Must be unique.

Which I feel is imcomplete... and also not true ?


Desmont McCallock
#6 - 2014-08-11 17:35:12 UTC
In EVEMon we follow the same approach but I've implemented a cacher file where EVEMon looks first, in case we have retrieved that data in the past.
Dragonaire
Here there be Dragons
#7 - 2014-08-11 18:44:21 UTC
Quote:
Which I feel is imcomplete... and also not true ?


What it says for characters is true but understand there are some different rules for corporation and alliance names and corp ticker. The main thing being the corp and alliance names can be up to 50 characters long which the page you linked does get wrong and either should be updated or simple link to the page below.

Here's a link to a page that I believe is more up to date that you might find useful.
https://community.eveonline.com/support/knowledge-base/article.aspx?articleId=37

Finds camping stations from the inside much easier. Designer of Yapeal for the Eve API. Check out the Yapeal PHP API Library thread.

Rondo Haxton
Accelerated Cognition
#8 - 2014-08-12 15:04:43 UTC  |  Edited by: Rondo Haxton
Thanks for the link Dragonaire, I was searching for it but couldn't find it... I was alsways ending on the one I posted... You're right it is a better version but still untrue...

Like characters name can have more than 24 characters now I think... anyways, I think only a dev could answer that... maybe I'll get Lucky! Thanks for your input


And thanks Steve for making those sql exports Big smile (Didn't realise it was you :P)
Dragonaire
Here there be Dragons
#9 - 2014-08-12 19:19:25 UTC
I think the 24 char limit is still true on character names if not no one has noticed it and said anything because that's what I use in Yapeal.

Finds camping stations from the inside much easier. Designer of Yapeal for the Eve API. Check out the Yapeal PHP API Library thread.

Hel O'Ween
Men On A Mission
#10 - 2014-08-13 16:40:55 UTC  |  Edited by: Hel O'Ween
Dragonaire wrote:

What it says for characters is true [...]

Here's a link to a page that I believe is more up to date that you might find useful.
https://community.eveonline.com/support/knowledge-base/article.aspx?articleId=37


That info is wrong for character names, at least for the already mentioned "1 space" limitation

Here's a quick
SELECT clientName from banav_tWalletTransactions WHERE clientName LIKE '% % %' ORDER BY clientName
Quote:

7 of 9
A A Cunningham
a DAMN PATRIOT
A Dying Wish
A J Frost
A Necessary End
A Rex Andedare
Aaron Caesar Baudrillard
Aaron J Brewster
Abul Khayr Hajari


[ADDED]

The 24 char limit also seems outdated:

select clientName, LEN(clientName) AS nameLen from banav_tWalletTransactions WHERE clientName LIKE '% % %'
ORDER BY LEN(clientName) DESC
Quote:

Doctor IronNiggaFredrick Kendrick 33
Frederic 'Hephaistos' Severasse 31
PUTABOUNTYON WCKDABBER Kashuken 31
Greeksoldier Twinkies Aldetore 30
Barbarella's Grandchild Duran 29
Captain Lockheed Sovereignthy 29
Dmitri Iwanowitsch Mendelejew 29
Gallente Citizen 827473904574 29
Iron Cedric Fredrick Kendrick 29
NeedMissle FeelEmpty Charante 29
Renard Queenston GonYiffYaMun 29
Unprovoked Attack Jibberjabba 29
Borneo Snaggans Technodeuche 28
Engrados Destroyer Boloskarl 28
low hanginglugnutz PIMPSLAPP 28
Professor Frederick Johansen 28
Proffesor Zachery Crendraven 28
Ripped McBigHuge SquatThrust 28
Captain Katrina Swiftrunner 27
Captain Starkiller Dimaloun 27
Contele Revelion Foreverich 27
Elizabeth Two-Sheds Jackson 27
Fryda 'Dragonclaw' Elristan 27


P.S. Don't blame me for potential offensive char names. Those are real names taken from my wallet transations API.

EVEWalletAware - an offline wallet manager.

Dragonaire
Here there be Dragons
#11 - 2014-08-14 06:20:07 UTC
Based on what Hel O'Ween is finding it looks like character names are also allowing up to 50 chars now. Guess I better do some updates in Yapeal then to allow for longer names. Maybe CCP FoxFour can do some research for us and let us know if the names are limited to 50 chars or not. I'd also like to know if it's only limited to ASCII character set or if we need to go to UTF-8 now.

Finds camping stations from the inside much easier. Designer of Yapeal for the Eve API. Check out the Yapeal PHP API Library thread.

Rondo Haxton
Accelerated Cognition
#12 - 2014-08-14 13:19:52 UTC
Dragonaire wrote:
Maybe CCP FoxFour can do some research for us and let us know if the names are limited to 50 chars or not. I'd also like to know if it's only limited to ASCII character set or if we need to go to UTF-8 now.


Yes Please! Blink

Thanks Hel for posting some infos

This has something somewhat positive for people like you Dragonaire... I think now characters also must have at least one space... That means nobody will ever be able to get a name like yours now, without a family name... That will add to the value of the character lol
Hel O'Ween
Men On A Mission
#13 - 2014-08-14 17:10:23 UTC
Rondo Haxton wrote:

I think now characters also must have at least one space...


Certainly not. A single word without any space as a name ist still a valid option. I just happen to remember that I've seen clients with more than one space in their char names and crafted the SQL query to look for those only.

EVEWalletAware - an offline wallet manager.

Peter Powers
Terrorists of Dimensions
HORSE-KILLERS
#14 - 2014-08-18 11:20:51 UTC
you can't rely on the character names following the scheme - sadly there where characters named before it was enforced, and also some GMs rename characters.... to illegal names.

3rdPartyEve.net - your catalogue for 3rd party applications