Web Apps


uiWebPrevious12345678910uiWebNext

#99 [en] 

Any quick way to translate the skills codes into something more useful?

sc, sca, scah, scal, scalb, scalg, scalp, scals, scalv, scam, scas, scj, scja, scjaa, scjb, scjba, scjd, scjda, scje, scjea, scjp, scjpa, scjr, scjra, scjrae, scm, scm1, scm2, scm2a, scm2m, scm2p, scm2s, scmc, scmca, scmcae, scr, sf, sfm, sfm1, sfm2, sfm2b, sfm2p, sfm2s, sfm2sa, sfm2ss, sfm2ssm, sfmc, sfr, sh, shf, shfd, shff, shfj, shfja, shfjae, shfl, shfp, sm, smd, smda, smdh, smdha, smdhae, smo, smoa, smoe, smoea, smoeae, smoeaem

---

Tgwaste

#100 [en] 

Yes, take a look at eg: https://github.com/nimetu/ryzom_extra/blob/master/resources/sheet s-cache/words_en_skill.serial This is a php serialized array used to convert the strings to English text. If you wish to have this in a database, here is a script to create a sqlite3 database of it: https://bitbucket.org/tux-/ryztools-android/src/master/tools/ryzo mExtraToSQLite.php

---

Ryztools

#101 [en] 

alternative to drogos:
use the logic behind it:

1st pos (can be ignored or used as verifier)
s = skill

2nd pos (basic skill)
c = crafting
f = fight
m = magic
h = harvest

3rd pos+ (details)
more details depending on previous pos

eg.
scalg = skill, craft, armor, light, gloves -> light gloves crafting
sfm2sa = skill, fight, melee, 2-handed, slicing, axes -> 2-handed axe fighting

---

#102 [en] 

There is now xsd schema covering char/guild xml at http://api.ryzom.com/common/xsd/ryzomapi.xsd (or ryzomapi_lite repo), and so there had to be some changes to xml.

* <ryzomapi/> root node has 'version' attribute
* <character/> <guild/> nodes have cached_until and modules attributes even when there was error
* shard, race, civilization, cult, faction, shop continent, craft jewel protection values are converted to lowercase
* fame factions are added using ordered list and so some tribe factions might not show up. if something went missing let me know.

These should not break anything.

---

Hello!

#103 [fr] 

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

Last edited by Misugi (10 years ago)

---

Misugi
Misulud productions

#104 [de] 

Misugi (atys)
Thanks Karu!

- The "durability" is 120 on crafted tools (instead of 100)

durability of 120 instead of just 100 could be due to encyclopedia rite fyros 2, I would guess

---

Lilsis
Leader and slave driver of
Keepers of Darkness



You can steal my status, my ideas and my work, BUT I lick every single before I post them!

#105 [en] 

tool crafted with that rite have 100 in game for me.

---

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

#106 [en] 

Misugi (atys)
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
* 43 is fyros heavy helmet... should be fixed.

* Missing sapload... found it.

* Melee weapon does not have craft stat 'range'. Sheet info has 'reach' value that is displayed client side. I'll see if I can add it.

* I believe buckler/shield color is handled as armor when crafted and so color is also calculated, but not used. Field is present, so api includes it too.

* I dont have crafted tools. Does it have craftparameters field with durability 0.2? Game takes raw value 100 and does not apply craft parameters, but api does. CGameItem::maxDurability() in server code.

* I bought one of each npc tool (q50) and they all show as hp 100. Can you tell item sheet name?

---

Hello!

#107 [fr] 

Sheet info has 'reach' value that is displayed client side
Yes that's right!
Does it have craftparameters field with durability 0.2?
An exemple below of a crafted tool (rubbarn for weapons):
<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?
Oh sorry I confused with a refugee tool.
In fact my remark was about "durability" node (not "hp") that does not exists for npc tools and refugee Tools.
But in this case, it's not a crafted item, so there is no node "craftparameters".
OK, it must be assumed that the durability equals 100.

Last edited by Misugi (10 years ago)

---

Misugi
Misulud productions

#108 [en] 

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.

---

Tgwaste

#109 [de] 

bmsite is using already that kind of you are looking for

http://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=1

all you need is to fit this with the api
http://api.ryzom.com/character.php?apikey=YOURKEY

http://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 etc

so 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

Last edited by Lilsis (10 years ago)

---

Lilsis
Leader and slave driver of
Keepers of Darkness



You can steal my status, my ideas and my work, BUT I lick every single before I post them!

#110 [en] 

Tgwaste (atys)
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.

There is dressing room url generator in ryzomapi_lite example. You would need to crop portrait from that I'm afraid.

---

Hello!

#111 [en] 

Lilsis (atys)
bmsite is using already that kind of you are looking for

http://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=1

all you need is to fit this with the api
http://api.ryzom.com/character.php?apikey=YOURKEY

http://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 etc

so 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

This is perfect! Many Thanks!

---

Tgwaste

#112 [en] 

Do API keys only display data for the first character in an account? (slot0). How do you display data for slots 1 -> 4 ?

---

Tgwaste

#113 [en] 

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

---

Hello!
uiWebPrevious12345678910uiWebNext
 
Last visit Friday, 26 April 05:48:46 UTC
P_:

powered by ryzom-api