Forums » TECHNICAL SUPPORT / WEB APPs BUGS » Web Apps » New Ryzom API

#31 [en] 

Karu (atys)
… Try accessing api app from ingame, type /appzone 928, see if that fixes the issue outgame aswell.
Yes, this "fixed" the issue. Now I can create guild api key. But I still had to manually change the type=c for type=g in the url.

#32 [en] 

Syphox (atys)
there are only 2 errors i saw

<error>guild data is not initialized</error> -> is caching
<error>invalid key</error> -> key not valid or exist
I added 'code' attribute to 'error' node.
403 - expired, but valid key
404 - not found
503 - cache error, try again

Last edited by Karu (8 years ago)

---

Hello!

#33 [en] 

Xiena (atys)
Yes, this "fixed" the issue. Now I can create guild api key. But I still had to manually change the type=c for type=g in the url.
had? ryzomapi app shows guild keys in main page now?

---

Hello!

#34 [en] 

Karu (atys)
Xiena (atys)
Yes, this "fixed" the issue. Now I can create guild api key. But I still had to manually change the type=c for type=g in the url.
had? ryzomapi app shows guild keys in main page now?

Yes, I could not create guild keys at all. No button to press, and if I went to make a toon key, and then changed type=c in the url for type=g, and pressed save, it just gave an error. The button is still not there, but now it will save if I change the url manually.

… Looks like the button comes up if you have a guild key from before. If I have one guild key created the button is there to add more. If I delete all the keys, the button disappears also, and I have to go to toon creation again, and change the type=c for type=g again.

#35 [en] 

Xiena (atys)
Looks like the button comes up if you have a guild key from before. If I have one guild key created the button is there to add more. If I delete all the keys, the button disappears also,
thanks, it's now fixed.

---

Hello!

#36 [en] 

Updated first post with this info:
I created lite version of ryzom api for php (minimal set of functions).
There is also example script and live example.

---

Hello!

#37 [fr] 

Hahaha I'm a tryker on your Live exemple (it's say matis but show a tryker^^) but thanks for this :)

Last edited by Osquallo (8 years ago)

---

Osquallo
Les rêveries du yubo flaneur
The musings of the rambling yubo

#38 [en] 

Osquallo (atys)
Hahaha I'm a tryker on your Live exemple (it's say matis but show a tryker^^) but thanks for this :)

that was issue with dressing room script. all good now.

---

Hello!

#39 [en] 

Any way to find out if a key is from a character or guild? It would be cool (i think..) if we could download the XML using a single URL and check the key type on the resulting xml, or if we could look at the key and figure it out.

Sometimes the api allows me to download character data with the guild url and a character key, but not always. No idea why...

What do you think Karu?

#40 [en] 

Dinorath (atys)
Any way to find out if a key is from a character or guild? It would be cool (i think..) if we could download the XML using a single URL and check the key type on the resulting xml, or if we could look at the key and figure it out.
Keys are now prefixed with 'c' or 'g' making them 41 chars long. Old keys should still work.
Dinorath (atys)
Sometimes the api allows me to download character data with the guild url and a character key, but not always. No idea why...
it was possible when cache was not expired yet. cache files are now properly prefixed, so this does not happen anymore.

---

Hello!

#41 [en] 

Thank you!
/var/www/api/server/scripts/generate_guild_icon.sh 110142619738866381 b 2>&1Array ( [0] => 110142619738866381 [1] => /var/www/api/server/scripts/generate_guild_icon.sh: line 25: convert: command not found [2] => /var/www/api/server/scripts/generate_guild_icon.sh: line 26: convert: command not found [3] => /var/www/api/server/scripts/generate_guild_icon.sh: line 27: convert: command not found [4] => /var/www/api/server/scripts/generate_guild_icon.sh: line 34: composite: command not found [5] => /var/www/api/server/scripts/generate_guild_icon.sh: line 37: composite: command not found [6] => rm: cannot remove '/home/api/public_html/data/cache/guild_icons//tmp/110142619738866381_b_*': No such file or directory ) Cannot generate guild icon