Difference between revisions of "Database ARCC EN"

From Ryzom Forge Wiki

Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{tabLang|EN|DE|Database ARCC EN|ES|Database ARCC FR|RU}}
+
{{migrated to|:en:ARK/Database}}
 +
<noinclude>{{tabLang|EN|Database ARCC DE|Database ARCC EN|Database ARCC ES|Database ARCC FR|Database ARCC RU}}
 +
{{toTrad|DE}}
 +
{{toTrad|ES}}
 +
{{toTrad|FR|À revérifier par rapport à la version anglaise maintenue à jour}}
 +
{{toTrad|RU}}
 
===Database===</noinclude>
 
===Database===</noinclude>
 
{|
 
{|
Line 12: Line 17:
 
*'''1)''' Database name : for the whole the event, Omega, in the example.
 
*'''1)''' Database name : for the whole the event, Omega, in the example.
 
*'''2)''' databaseRow : Khi, in the example.
 
*'''2)''' databaseRow : Khi, in the example.
<div style="margin:0em; padding:0em;border: none;background:yellow;">
+
*'''3)''' databaseId : player, guild, arcc, civ, cult, org, race.
*'''3)''' databaseId : meaning in the game? changing rights, visibility?...
+
*'''4)''' Conversion method : (setvalue/addvalue) : there are two modes of insertion into the database, or overwriting the previous contents or by adding another algebraic value.
 
</div>
 
</div>
{|
+
*'''5)''' param : may be different static values ​​recovered from elsewhere or calculated. Those are:
|1 player
+
:*A Blank or an <empty>. In calculation, the "empty" may be equated with "zero."
|-
+
:*A Constant: "-1" in "Addvalue" mode creates a decrement.
|2 guild
+
:*A common parameter to the event : [param]Max_player_bag[/param] or [session]LocalTemporaryData[/session]
|-
+
:*A value contained in another database : [db=Player_Bag]Last[/db]
|3 arcc
+
:*A function : [func]now[/func]
|-
+
:*A calculation :  
|4 civ
 
|-
 
|5 cult
 
|-
 
|6 org
 
|-
 
|7 race
 
|}
 
{{WIP}}
 
*'''4)''' Conversion method : (setvalue/addvalue) : il y a deux mode d'insertion dans la base, soit en écrasant le contenu antérieur, soit en ajoutant au sens algébrique du terme une autre valeur.
 
*'''5)''' {param} : peut être différente valeurs statiques, récupérée ailleurs ou calculée :
 
**Le champ vide en mode « setvalue » met à « vide » la cellule de la base consernée. Dans un calcul, le « vide » peut-être assimilé à « zéro ».
 
**<empty> (rien)
 
**Une constante : « -1 » en mode « addvalue » permet de créer une décrémentation.
 
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 
:*Un paramètre commun à l'event : [param]Max_player_bag[/param] (comment a été créé ce paramètre?)
 
</div>
 
**Une valeur contenue dans une base : [db=Player_Bag]Last[/db]
 
**Une fonction : [func]now[/func]
 
**Un calcul :  
 
 
<div style="margin:0em; padding:1em 2em;border: thin inset #{{ColorAtys|type=dark|group=HRP}};background:#{{ColorAtys|type=light|group=HRP}};color:#{{ColorAtys|type=fg|group=HRP}};">
 
<div style="margin:0em; padding:1em 2em;border: thin inset #{{ColorAtys|type=dark|group=HRP}};background:#{{ColorAtys|type=light|group=HRP}};color:#{{ColorAtys|type=fg|group=HRP}};">
 
<poem>
 
<poem>
Line 56: Line 41:
 
</poem></div>
 
</poem></div>
 
</div><noinclude>
 
</div><noinclude>
 +
'''[[ARCC Guide EN|←ARCC Guide EN]]'''
 +
{{In_Category|ARCC}}
 
{{TPInWikiRyzom‎}}
 
{{TPInWikiRyzom‎}}
 
 
[[Category:Tutorials]]  
 
[[Category:Tutorials]]  
 
[[Category:ARCC]]
 
[[Category:ARCC]]
 
[[Category:EN]]</noinclude>
 
[[Category:EN]]</noinclude>

Latest revision as of 00:10, 22 June 2018

Migration

Please use the migrated document at URL shown below.

Migrated to en:ARK/Database at 2018-06-22

Flag-DE

Übersetzung , bitte.

Flag-ES

Traducción, por favor.

Flag-FR

À revérifier par rapport à la version anglaise maintenue à jour

Flag-RU

перевод, пожалуйста.

Database

Database add value.png Function name : weADatabase_v2

This function is used to store information in a usable local DB thereafter in the same script or another in the same event. It can also increment the numerical values.

It is best to use the assisted edition mode in a first step, as viewed here.

WeADatabase window
  • 1) Database name : for the whole the event, Omega, in the example.
  • 2) databaseRow : Khi, in the example.
  • 3) databaseId : player, guild, arcc, civ, cult, org, race.
  • 4) Conversion method : (setvalue/addvalue) : there are two modes of insertion into the database, or overwriting the previous contents or by adding another algebraic value.
  • 5) param : may be different static values ​​recovered from elsewhere or calculated. Those are:
  • A Blank or an <empty>. In calculation, the "empty" may be equated with "zero."
  • A Constant: "-1" in "Addvalue" mode creates a decrement.
  • A common parameter to the event : [param]Max_player_bag[/param] or [session]LocalTemporaryData[/session]
  • A value contained in another database : [db=Player_Bag]Last[/db]
  • A function : [func]now[/func]
  • A calculation :

[func=min]
  [math]
    ([func]now[/func]
    -
    [db=Bags]
      Status:[get]bag[/get]
    [/db])
  [/math]
..|12
[/func]

</div> ←ARCC Guide EN

63 pages in ARCC

Ryzom Wiki: Ryzom Commons | DE • EN • ESFRRU | Ryzom Forge