#106 Eingetragen von Karu vor 1 Jahrzehnt
Thanks Karu!I updated zyRoom (changelog) with last changes in the API, and I have some remarks about XML :- Sometimes, body information are wrong, for ex. hairtype=43 and haircolor=7 (instead of 4 and 3 - XSD invalid)- Some weapons (in my case a long sword) have an empty value in "sapload" (XSD invalid)- The "range" is missing for melee weapons- Shields and bucklers have a "color" (?) but not in the game- The "durability" is 120 on crafted tools (instead of 100)- The "durability" is missing on NPC tools
---
#107 Eingetragen von Misugi vor 1 Jahrzehnt
Sheet info has 'reach' value that is displayed client side
Does it have craftparameters field with durability 0.2?
<item id="7317404498765903474" slot="34"> <stack>1</stack> <sheet>icokamtmwea_2.sitem</sheet> <quality>150</quality> <locked>0</locked> <hp>90</hp> <craftparameters> <durability value="120">0.200000</durability> <protection>none</protection> <protection1>none</protection1> <protection2>none</protection2> <protection3>none</protection3> </craftparameters></item>
I bought one of each npc tool (q50) and they all show as hp 100. Can you tell item sheet name?
Zuletzt geändert von Misugi (vor 1 Jahrzehnt)
#108 Eingetragen von Tgwaste vor 1 Jahrzehnt
#109 Eingetragen von Lilsis vor 1 Jahrzehnt
Zuletzt geändert von Lilsis (vor 1 Jahrzehnt)
#110 Eingetragen von Karu vor 1 Jahrzehnt
Hello, Is there any way to construct a character portrait image using the API?I found something API related to this within the BM site but it seems hardly public. Any help is appreciated. I have something special coming soon.
#111 Eingetragen von Tgwaste vor 1 Jahrzehnt
bmsite is using already that kind of you are looking forhttp://ballisticmystix.net/api/dressingroom.php?angle=0&race= ma&gender=m&hair=97/3&tattoo=12&eyes=0&head=i gmhu/7&chest=iccalv/7&arms=iccals/7&hands=iccalg/7&am p;feet=iccalb/7&legs=iccacp/7&size=large&morph=1& gabarit=1all you need is to fit this with the apihttp://api.ryzom.com/character.php?apikey=YOURKEYhttp://link.php?hair=HAIRNUMBER/HAIRCOLOR&chest=ARMORID/ARMOR COLOR&etc<body><hairtype>97</hairtype><haircolor>3</haircolor><tattoo>12</tattoo><eyescolor>0</eyescolor></body>+<equipment><chest ... color="7">AMORID</chest></equipment>(the armorID can end with _1 _2 _3 if there are more than the main quality exist for that. so 1 for low q, 2 for mid q and 3 for high q)so in the end you need to have to put all image pieces together you need,...gender,hair,tattoo etcso if you need more help than this, please be a bit more specific. or i dont get it right what you was asking for :D
#112 Eingetragen von Tgwaste vor 1 Jahrzehnt
#113 Eingetragen von Karu vor 1 Jahrzehnt
Do API keys only display data for the first character in an account? (slot0). How do you display data for slots 1 -> 4 ?
#114 Eingetragen von Tgwaste vor 1 Jahrzehnt
Tgwaste (atys)Do API keys only display data for the first character in an account? (slot0). How do you display data for slots 1 -> 4 ?each character has separate keys
#115 Eingetragen von Tgwaste vor 1 Jahrzehnt
#116 Eingetragen von Karu vor 1 Jahrzehnt
P.S. it would be really cool if the API would do some translations for us. IE: Skill strings to full names, items sheets/id to full item names, etc.
I know there are other methods out there but they are not convenient especially if you have no idea what a sqlite3DB is. :)
#117 Eingetragen von Tgwaste vor 1 Jahrzehnt
What language? In php you can include ryzom_extra.php and use ryzom_translate(id, lang) on the fly. Problem might arise when php has limited memory and you loading many different data files into memory. Then you should consider moving it to sql.
Zuletzt geändert von Tgwaste (vor 1 Jahrzehnt)
#118 Eingetragen von Karu vor 1 Jahrzehnt
#119 Eingetragen von Tgwaste vor 1 Jahrzehnt
I updated my ryzom_extra repository and added json-resources branch for non-php projects to import into format they can use.
#120 Eingetragen von Tgwaste vor 1 Jahrzehnt
Karu (atys)I updated my ryzom_extra repository and added json-resources branch for non-php projects to import into format they can use.Can you please elaborate on this? Is this just a repo for others contributions or is there something new here? It still looks like a bunch of PHP to me. :)Ill continue to work through my problems on my own but for someone who's not worked with PHP or Sqlite3 (or whatever odd format the .serial files are in) development is painful. :)
powered by ryzom-api