Difference between revisions of "ARCC Expert EN"

From Ryzom Forge Wiki

Jump to: navigation, search
(Created page with "{{tabLang|EN|DE|ARCC Expert EN|ES|ARCC Expert FR|RU}} {{WIP}} {{ToTrad|DE|DE translation needed please}} {{ToTrad|ES|ES translation needed please}} {{ToTrad|EN|FR translation...")
 
Line 17: Line 17:
  
 
Dans les affichages des exemples, nous utilisons le '''caractère gras''' pour l'attribut et l'''italique'' pour le texte.  
 
Dans les affichages des exemples, nous utilisons le '''caractère gras''' pour l'attribut et l'''italique'' pour le texte.  
 +
<hr/>
 
===url===
 
===url===
 
====Paramètres====
 
====Paramètres====
Line 104: Line 105:
 
</div>
 
</div>
 
===map===
 
===map===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
*[map]18176,-29492[/map]
 
*[map]18176,-29492[/map]
 
===link===
 
===link===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
*[link][/link] &rArr; http://app.ryzom.com/app_arcc/index.php?action=script_Edit&event=211&script=1929
 
*[link][/link] &rArr; http://app.ryzom.com/app_arcc/index.php?action=script_Edit&event=211&script=1929
 
:http://app.ryzom.com/app_arcc/index.php?action=scripts_Main&event=211 (A.R.C.C. » TESTS » Bepock » UserGuide » NewEvent »  Nouvel event )
 
:http://app.ryzom.com/app_arcc/index.php?action=scripts_Main&event=211 (A.R.C.C. » TESTS » Bepock » UserGuide » NewEvent »  Nouvel event )
Line 114: Line 129:
 
A.R.C.C. » TESTS » Bepock » UserGuide » NewEvent » NewEvent »  BBCODE: stage weGPlayerInfos_BBCodeTest)
 
A.R.C.C. » TESTS » Bepock » UserGuide » NewEvent » NewEvent »  BBCODE: stage weGPlayerInfos_BBCodeTest)
 
===validate===
 
===validate===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===trad===
 
===trad===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===t===
 
===t===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===math===
 
===math===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
@process randint(0, 100)
 
@process randint(0, 100)
  
 
===timer===
 
===timer===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===date===
 
===date===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===func===
 
===func===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===itemicon===
 
===itemicon===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===lua===
 
===lua===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===param===
 
===param===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===data===
 
===data===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===session===
 
===session===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===get===
 
===get===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===post===
 
===post===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 +
 
===playerinfos===
 
===playerinfos===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*text: is a "pseudo" array with "|" delimiters. It contains:
 +
** first field, one of: 'name', 'fullname', 'id', 'guild', 'guild_id', 'pvp_points', 'money',  'cid', 'gender' or 'api'.
 +
** next fields up to 2: values of that key if needed.
 +
                        if ($attr[0] == "#")
 +
                                $name = ryzom_get_param(substr($attr, 1));
 +
                        else
 +
                                $name = $attr;
 +
                       
 +
                        $db = ryDB::getInstance('webig');
 +
                        $player_infos = $db->querySingle('players', array('name' => strtolower($name), 'deleted' => 0, 'shard' => ryzom_get_param('shard', _user()->shardid)));
 +
                        p($player_infos);
 +
                        if ($player_infos) {
 +
                                $text = explode('|', $text);
 +
                                switch ($text[0]) {
 +
                                        case 'id':
 +
                                                return $player_infos['id'];
 +
                                        case 'cid':
 +
                                                return $player_infos['cid'];
 +
                                        case 'api':
 +
                                                return ryzom_player_value($player_infos['id'], $text[1], '$text[2]');
 +
*attribut:
 +
** Empty
 +
** "#"
 +
** <''name''>
 +
====Exemples====
 +
</div>
 
===gender===
 
===gender===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===playerbackup===
 
===playerbackup===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===playerstat===
 
===playerstat===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===scriptinfos===
 
===scriptinfos===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===if===
 
===if===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===ifnot===
 
===ifnot===
 +
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 +
====Paramètres====
 +
*texte:
 +
*attribut: significatif si texte est nul
 +
**
 +
====Exemples====
 +
</div>
 
===hack===
 
===hack===
 
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 
<div style="margin:0em; padding:0em;border: none;background:yellow;">

Revision as of 20:49, 21 September 2014

WIP
in Arbeit - work in progress - trabajo en curso - travaux en cours - незавершенное


Flag-DE

DE translation needed please

Flag-ES

ES translation needed please

Flag-EN

FR translation needed please


Manuel d’utilisation de l' A.R.C.C.

BBCODE

Les BBcode auront toujours la même description:

[Ryzom_BBCode=attribut]texte[/Ryzom_BBCode]

Dans les affichages des exemples, nous utilisons le caractère gras pour l'attribut et l'italique pour le texte.


url

Paramètres

texte

URL ou titre_à_afficher

attribut

URL lorsque le texte n'est pas nul

    • titre_à_afficher: Nom ou intitulé de l'URL

Exemples

  • [url]http://forge.ryzom.com/wiki/ARCC_Expert_EN[/url]
  • [url=http://forge.ryzom.com/wiki/ARCC_Expert_EN]The ARCC[/url]

scripturl

Paramètres

  • texte: ajoute une extension PHP à L’URL fournie dans l'attribut.
  • attribut: ne semble pas marcher (un seul caractère parsé). S'il est nul, remonte l'URL du script en cours.

Exemples

  • [scripturl]ryform_action=edit&ryform_name=stages%3A0[/scripturl] donne:
http://app.ryzom.com/app_arcc/index.php?action=script_Edit&script=2088&ryform_action=edit&ryform_name=stages%3A0

imgurl

Paramètres

  • texte: 2 champs poossibles:
    1. URL de l'image, obligatoire: image clicable;
    2. Affichage du nom de l'URL au survol de la souri sur l'icone. Précédé du caractère souligné ("_"), il s'agit d'un texte à traduire qui sera entre parenthèses "{}" s'il n'est pas traduit.
  • attribut: URL

Exemples

  • [imgurl=http://forge.ryzom.com/wiki/ARCC_Expert_EN]http://app.ryzom.com//data/icons/32/emotion_tongue.png _The_ARCC[/imgurl]

The_ARCC

db

Paramètres

  • texte:
    1. chargement d'une donnée: cellule = valeur
    2. extraction d'une donnée enregistrée: cellule
cellule est défini par: ligne: colonne
  1. ligne = enregistrement dans la base (peut être nommé ou numéro d'ordre à partir de 0)
  2. colonne ou "scope" = domaine d’application:
    1. player
    2. guild
    3. arcc => 0
    4. civ
    5. cult
    6. org
    7. race
  • attribut: Nom de la base.

Exemples

  • [db=TestDB]0:0=100[/db] chargement d'une valeur (100) dans une DB.
  • [db=TestDB]3:0[/db] RAZ dans une DB.

img

Paramètres

  • texte: nul ou adresse_de_l_image nom_de_l_image
  • attribut: significatif si texte est nul
    • nom_de_l_image (utilisé aussi pour l'affichage de remplacement si est image absente. Éventuellement traduite automatiquement)

Exemples

  • [img]emotion_happy.png[/img]

div

Paramètres

  • texte: texte qui sera affiché dans une page HTML dans un bloc "div" HTML. C'est un container qui divise la page en une section contenant ses propres objet et styles.
  • attribut: array composé de trois éléments:
    • class
    • id
    • style

Exemples

  • [div]Un texte[/div]
  • [div=Classe|identiy|color:#f00;...???]txt[/div]

expr

  • affichage du calcul
  • affichage du résultat

map

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

  • [map]18176,-29492[/map]

link

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

http://app.ryzom.com/app_arcc/index.php?action=scripts_Main&event=211 (A.R.C.C. » TESTS » Bepock » UserGuide » NewEvent » Nouvel event )
http://app.ryzom.com/app_arcc/index.php?action=script_Edit&script=1936&version=0 (A.R.C.C. » TESTS » Bepock » UserGuide » NewEvent » NewEvent » GrimSon)
http://app.ryzom.com/app_arcc/index.php?message=recipe_updated&action=script_Edit&script=2088&ryform_action=&ryform_name= (

A.R.C.C. » TESTS » Bepock » UserGuide » NewEvent » NewEvent » BBCODE: stage weGPlayerInfos_BBCodeTest)

validate

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

trad

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

t

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

math

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

@process randint(0, 100)

timer

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

date

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

func

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

itemicon

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

lua

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

param

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

data

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

session

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

get

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

post

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

playerinfos

Paramètres

  • text: is a "pseudo" array with "|" delimiters. It contains:
    • first field, one of: 'name', 'fullname', 'id', 'guild', 'guild_id', 'pvp_points', 'money', 'cid', 'gender' or 'api'.
    • next fields up to 2: values of that key if needed.
                       if ($attr[0] == "#")
                               $name = ryzom_get_param(substr($attr, 1));
                       else
                               $name = $attr;
                       
                       $db = ryDB::getInstance('webig');
                       $player_infos = $db->querySingle('players', array('name' => strtolower($name), 'deleted' => 0, 'shard' => ryzom_get_param('shard', _user()->shardid)));
                       p($player_infos);
                       if ($player_infos) {
                               $text = explode('|', $text);
                               switch ($text[0]) {
                                       case 'id':
                                               return $player_infos['id'];
                                       case 'cid':
                                               return $player_infos['cid'];
                                       case 'api':
                                               return ryzom_player_value($player_infos['id'], $text[1], '$text[2]');
  • attribut:
    • Empty
    • "#"
    • <name>

Exemples

gender

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

playerbackup

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

playerstat

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

scriptinfos

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

if

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

ifnot

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

hack

Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

HTML


Alpha :([db=TestDB]0:0[/db]+2000)/4000
Beta : [db=TestDB]1:0[/db]/4000+60
Gamma : [db=TestDB]2:0[/db]/4000
Delta : [db=TestDB]3:0[/db]/4000

[list=1] [*]now:[func]now[/func] [*]rand %:[func=rand]0|100[/func] [*]calc:[math](10*2)[/math] [*]session DATE:[session=DATE][func]now[/func][/session] [*]DATE:[session]DATE[/session] [*]date:[date]DATE[/date] [*]rand*DATE:[math][func=rand]0|100[/func]*[session]DATE[/session][/math] [*]rand*DATE:[math]([func=rand]0|100[/func]*[session]DATE[/session])%100[/math] [*] [/list]

[list] [*]session DATE:[session=DATE][func]now[/func][/session] [*]DATE:[session]DATE[/session] [*]date:[date]DATE[/date]

[*]1 [date shard=atys][/date] [*]2 [date=atys][/date] [*]3 [date shard][/date] [*]4 [date][/date] [*]5 [date]1407426669[/date] [session=DATE][func]now[/func]+1000[/session] [*]6 [time][session]DATE[/session][/time] [*] [*]Samedi 8 Novembre 12:00:00 UTC (dans 3 mois) [*]17h - Tria, Pluvia 15, 3e CA 2580 [*][time]2014-11-08 12:00[/time] [*]1:[date shard=atys]2014-11-08 12:00[/date] [*]2:[date=atys]2014-11-08 12:00[/date] [*]3:[date shard]2014-11-08 12:00[/date] [*]4:[date]2014-11-08 12:00[/date] [*] [*]1:[date shard=atys]2014-11-08 12:00[/date] [*]2:[date=atys]2014-11-08 12:00[/date] [*]3:[date shard]2014-11-08 12:00[/date] [*]4:[date]2014-11-08 12:00[/date] [*] [*]1:[shard=atys]2014-11-08 12:00[/shard] [*]2: [*]3:[shard]2014-11-08 12:00[/shard] [*]4:[date]2014-11-08 12:00[/date] [*] [*]1:[date shard=atys=2014-11-08 12:00][/date] [*]2:[date=atys=2014-11-08 12:00][/date] [*]3:[date shard=2014-11-08 12:00][/date] [*]4:[date=2014-11-08 12:00][/date] [*] [*] [*] [*] [*] [*] [*] [*] [/list]


liste des item .ps et .sitem?

players dans les db permet de différencier et mémoriser chaque players ! il doir en etre de meme pour guilde etc...


Paramètres

  • texte:
  • attribut: significatif si texte est nul

Exemples

Autre soutils de l'ARCC


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