Web Apps


uiWebPrevious12345678910uiWebNext

#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 (1 decade 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 (1 decade 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!

#42 [en] 

Hello,

Nice... I manage to make it work in a web browser.

At the moment, I am not able to make it work as a personal IG web app (I am using the same url as the one used in the web browser).

Any idea ?

Tthanks you in advance

#43 [en] 

Depyraken (atys)
At the moment, I am not able to make it work as a personal IG web app (I am using the same url as the one used in the web browser).
If you want to open RyzomAPI app from ingame, then currently use '/appzone 928' chat command.

---

Hello!

#44 [fr] 

Hello,

Thanks for your answer... I already tried what you suggest, and it seems that with appzone 928 I am only able to create, edit or delete my keys.

I have added a new app configured so it is pointing on to my web site (where I have installed the php source code you provided us with). But It doesn't seem to work: I get connection timeout errors.

Edited 2 times | Last edited by Depyraken (1 decade ago)

#45 [en] 

I noticed the ingame browser to be quite pedantic about valid html. The timeout error is one of the error messages i got from malformed html. Make sure:
- html is valid and supported (use older doctypes, certainly not html5)
- make sure all resources (images, css) are available
- if you got javascript on your page add markup to make it look like a html comment to old browsers

---

Casy * Foreign Secretary * Alliance of Honor
Intensive Care Bear
uiWebPrevious12345678910uiWebNext
 
Last visit Tuesday, 19 March 06:02:12 UTC
P_:

powered by ryzom-api