Développement


uiWebPrevious123uiWebNext

#1 Multilingue 

Multilingue | English | [Français]
Coucou,

Je suis actuellement en train de développer une fonctionnalité de groupes d'items, et je cherche des beta tester.

L'idée est simple : vous pouvez mettre dans un groupe des objets (portable uniquement), et les déplacer/équiper instantanément, au lieu de le faire un par un. C'est actuellement en beta, vous risquez donc d'avoir des crash (même si c'est peu possible), et j'attends des retours pour améliorer le tout.

Actuellement, voilà ce que vous pouvez faire :
* Créer un groupe d'item, en portant tous les items concernés puis en utilisant la commande /createGroup name_of_group. Le nom doit être unique : s'il est déjà utilisé par un autre groupe, cela ne marchera pas.
* Équiper un groupe d'item en utilisant la commande /equipGroup name_of_group. Le client essaiera d'équiper tous les items du groupe de tous les inventaires disponibles
* Clic droit sur un objet qui fait parti d'un groupe ouvrira un nouveau sous-menu (qui s'appelle pour l'instant "uiGroup") où vous pouvez :
* Voir le nom du groupe de l'item
* Équiper le groupe (comme la commande précédente)
* Déplacer le groupe vers un inventaire. Cela déplacera les items vers la destination en les prenant de tous les inventaires disponibles. Par exemple, si vous avez des items divisés entre votre sac et votre premier mektoub et que vous déplacez dans le deuxième, cela prendra les objets dans votre sac ET dans votre premier mektoub (tant qu'il y assez de place dans la destination)
* Lister les groupes qui existent avec la commande /listGroup
* Une commande /naked pour devenir complètement nu (bijoux inclus)
* Supprimer un group avec la commande /deleteGroup name_of_group
* Faire tout cela avec tous les inventaires disponibles (sac, mektoub, appartement, guilde). Cela ne marche pas avec les objets équipés (il faudra les désequipper manuellement). C'est désactivé par défaut pour votre guilde, mais vous pouvez l'activer en rajoutant la ligne suivante au client.cfg (pas client_default.cfg) :
ItemGroupAllowGuild = 1;
* Retirer un objet avant d'équiper un groupe. Par exemple, si vous équippez le groupe "légère", vous préférerez sans doute enlever votre casque. Pour cela, il faudra éditer manuellement le fichier groups.xml et rajouter la ligne suivante dans le groupe correspondant :
<remove slot="head" />
Les différents slot possibles viennent de SLOT_EQUIPMENT::TSlotEquipment, voilà la correspondance (c'est insensible à la casse, les majuscules n'ont pas d'impact):



Les groupes sont stockés dans un fichier XML qui s'appelle groups_nomduperso.xml (comme les touches / l'interface) dans le répertoire save. Vous pouvez éditer manuellement ce fichier si vous le voulez (c'est actuellement la seule manière de renommer un groupe)

Actuellement j'utilise l'itemSheet (seuls deux objets avec le même plan ont le même itemSheet - un anneau fyros plan 3 aura un itemSheet différent d'un anneau fyros plan 2, par exemple), la qualité, la couleur (tous les objets en ont un, même si ça ne se voit pas comme les bijoux / armes), et le poids pour identifier un objet. C'est suffisant dans 99.9% des cas pour avoir un ID pseudo-unique.

Cependant sur les bijoux, c'est plus difficile à faire car le poids d'un bijou va de 0.1 kg à 0.20 kg, il y a donc très peu de variations (contrairement aux autres objets, les amplificateurs ça va de 2.00 à 4.00kg par exemple). Cela fait que sur des recettes trop similaires, c'est impossible de les différencier juste avec ces critères.

Vous pouvez donc utiliser le prix de l'objet pour différencier encore plus, ceci dit cela ne marchera pas dans l'inventaire de guilde / appartement (on n'a pas accès au prix dans ces inventaires), et que cela peut arrêter de marcher plus tard, car le prix change en fonction de la recette de l'item (immuable) et surtout des PV actuels. C'est la dernière solution, en gros. Pour faire cela, il suffit de modifier à la main les valeurs "minPrice" et "maxPrice" dans le fichier "groups_name.xml", et ça cherchera des objets dont le prix est compris entre minPrice (inclus) et maxPrice (inclus)

Comment l'obtenir :

Version Mac (utilisez là si vous savez comment l'utiliser !), merci à Siela ! Ryzom.app

Vous aurez besoin du client (linux version 64 bits uniquement ou Windows(version 32bits)) du fichier widgets.xml, du fichier macros.xml et du fichier commands.xml (clic droit > sauvegarde la cible du lien sous ... ou votre navigateur l'ouvrira directement). Le premier doit être mis dans le même dossier que le ryzom_client classique, les deux suivants dans votre répertoire user/).

Pour lancer le jeu, il suffit de changer l'exécutable avec ryzom_installer (préférences > profil > exécutable > "parcourir" et prenez le bon), ou de lancer ryzom_client_glorf au lieu de ryzom_client (si vous utilisez une installation à un seul répertoire).

Le code source est disponible dans mon repo bitbucket, dans la branche item_group

Edité 7 fois | Dernière édition par Tamarea (il y a 5 ans).

---

#2 [fr] 

This sounds promising! :D However, i use a Mac book pro :(

#3 [en] 

The compiled client with changes for Mac is now available, check link in Lopyrech's post.
You just have to copy the data folder from your normal Ryzom install (right-click on the program -> show package contents -> Contents -> Resources -> data) to the downloaded Ryzom, to the same place. The files mentioned in Lopyrechs post (widgets.xml and commands.xml) need to be copied to /Users/<user>/Library/Application Support/Ryzom/user folder. Have fun testing it out :D If you have any questions contact me.

Dernière édition par Siela (il y a 7 ans).

---



#4 Multilingue 

I love this, thank you so much. With macro, a simple key press will change my dig outfit to elemental outfit.

Is there a way to replace items belonging to a group incase the item worn out or you want to change item example: (maga to cheng amp). So far I love it. Again thank you so much.

---

#5 [en] 

Afriel
I love this, thank you so much. With macro, a simple key press will change my dig outfit to elemental outfit.

Is there a way to replace items belonging to a group incase the item worn out or you want to change item example: (maga to cheng amp). So far I love it. Again thank you so much.

You can manually edit the groups.xml file, but the easiest way is to delete the group (/deleteGroup name), equip the new item, and recreate the groupe (/createGroup name)

---

#6 Multilingue 

Ok got it. Thanks again. Hope somebody will compile for windows so windows user can test it to.

---

#7 [en] 

Will this take the same time to put on the armor/rings that putting them on individually will take? If not, then I suspect that CSRs might have something to say about it.

I'm all for the convenience. I'm against having a complete armor and jewels switch taking place in the time it takes to normally equip one item.

---


Remembering Tyneetryk
Phaedreas Tears - 15 years old and first(*) of true neutral guilds in Atys.
(*) This statement is contested, but we are certainly the longest lasting.
<clowns | me & you | jokers>

#8 [en] 

If this feature makes it to the official client, there won't be any gap between people. Simply a gap between those who can follow written instructions, and those who cannot.

+1 for a Windows version, please :)

---

#9 [en] 

When you equip (manually) multiple items, the last item refresh the "invalid timer". It's the same here, but since we equip all at the same time, it's invalid for the highest "invalid time" (usually an armor piece, around 5secondes) ; it's not really different from a quick manual equip.

If you were to do a "sum of time" for invalidation, equipping a jewel set + an HA would take 50 seconds, that's wayyyy too much imo !

And as Mjol says, if everyone has the feature, no one has an advantage :-)

I'll try to find someone to compile a windows version :)

---

#10 [fr] 




(don't worry windows client are coming ^^)

---

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

#11 [en] 

Lopyrech
When you equip (manually) multiple items, the last item refresh the "invalid timer". It's the same here, but since we equip all at the same time, it's invalid for the highest "invalid time" (usually an armor piece, around 5secondes) ; it's not really different from a quick manual equip.

If you were to do a "sum of time" for invalidation, equipping a jewel set + an HA would take 50 seconds, that's wayyyy too much imo !

I doubt that even the fastest clicker can change armor and jewels in less than 4 or five "equip times". I agree that simply summing the "equip time"s is wrong, but so is doing it in one.

The game is set up to make equipping take time. Making it too short goes against the balance of the game, in my opinion.

The only time that Mjollren's comment makes sense is in the case of PvP.

---


Remembering Tyneetryk
Phaedreas Tears - 15 years old and first(*) of true neutral guilds in Atys.
(*) This statement is contested, but we are certainly the longest lasting.
<clowns | me & you | jokers>

#12 Multilingue 

In my opinion if this feature is not to be implemented in game then we already have an official comment from winch gate saying it is prohibited to use/develop this feature any person who uses this will be ban.

Since I don't see any official comment from winch gate then I will welcome this feature and glad to test it before it will officialy integrated in game.

I was asking for windows version so windows user can use this to be fair in all players in game and to eliminate the thought of being unbalance before it will be officially integrated in game.

As Mjollren said:
If this feature makes it to the official client, there won't be any gap between people. Simply a gap between those who can follow written instructions, and those who cannot.

---

#13 [en] 

Bitttymacod
Lopyrech
When you equip (manually) multiple items, the last item refresh the "invalid timer". It's the same here, but since we equip all at the same time, it's invalid for the highest "invalid time" (usually an armor piece, around 5secondes) ; it's not really different from a quick manual equip.

If you were to do a "sum of time" for invalidation, equipping a jewel set + an HA would take 50 seconds, that's wayyyy too much imo !

I doubt that even the fastest clicker can change armor and jewels in less than 4 or five "equip times". I agree that simply summing the "equip time"s is wrong, but so is doing it in one.

The game is set up to make equipping take time. Making it too short goes against the balance of the game, in my opinion.

The only time that Mjollren's comment makes sense is in the case of PvP.

I'm fine with 1 equip time (requires no change server-side), in reality it takes around 3-5 seconds max to change jewels or armor (armor being faster), so 2 equip time for an item set seems fine (that's 10 seconds if you change armor)


in regards to official statement, it has been said multiples times that it's a wanted option, I wouldn't worry about it :)

---

#14 [en] 

@ Bittty:

This feature is useful in several situations when you need to change gear.

Let's pick one: say you're a healer, and your tank pulled several aggros accidentally (e.g. najabs or kinchers, I've had it happen so many times I lost count). You healed before you realized what's happening. The tank is going to die, and you need to escape fast. It would be HIGHLY useful to be able to automatically equip your HA that 's sitting in your bag, so that you don't have to bother clicking items piece-wise while aggros are biting at your arse. Why do you change into HA? You already have low hp (at best, ~4k from being in LA), but if you change into HA you absorb more damage and increase your chances to survive.

Let's pick another example: you're killing a boss in Lands of Umbra. Enough said. You don't really want to pvp - but it not up to you, if someone teleports in the region and attacks you, you could use a way to quickly change your jewels to a pvp set. Same for digging in a pvp-enabled region. Going from focus jewels to pvp may be the difference between life and death.

Third example: you're wearing your focus-boosted LA in PR. You fail to notice the kirosta patrol in time, so they rush to eat you. Try to run away, but most likely you will run into MORE aggros. What would be useful? A quick change to another form of armor, so the boosted one doesn't take unnecessary damage. Oh, and this holds true for the accidental aggro drag. You have a supreme material popped and someone drops an aggro on you, what do you want more? A potential rez, which may take 4 full minutes IF the other person doesn't die too? Or a quick change of gear, giving you more life and more chances at survival, and of coming back to continue digging?

I haven't even gotten into the examples of friendly sparring, where you may have 2-3 pairs of amps with different enchants, but I'm sure you can imagine them.

Yes, all these options "soften" the game experience. I strongly support such a change.

Edité 2 fois | Dernière édition par Mjollren (il y a 7 ans).

---

#15 [fr] 

Indépendamment de la fonction elle même bravo pour le taff !

---

Osquallo
Les rêveries du yubo flaneur
The musings of the rambling yubo
uiWebPrevious123uiWebNext
 
Last visit jeudi 25 Avril 04:55:25 UTC
P_:

powered by ryzom-api