Difference between revisions of "Check PlayerInfos ARCC EN"

From Ryzom Forge Wiki

Jump to: navigation, search
Line 89: Line 89:
 
:*fyros, matis, tryker, zoraï
 
:*fyros, matis, tryker, zoraï
 
:*kami, karavan
 
:*kami, karavan
Combinations may be obtained for instance to test marauders, rangers...
+
::Combinations may be used to test marauders, rangers...
 
*'''2)''' below_or_above:  determines if the test is on the lower or higher of the following''' '' value'' ''' ​​given in next field '''(3)'''.
 
*'''2)''' below_or_above:  determines if the test is on the lower or higher of the following''' '' value'' ''' ​​given in next field '''(3)'''.
 
*'''3)''' Valeur: minimum or maximum level required for the fame respectively with the comparison selected in the previous field below_or_above ''below_or_above'' '''(2)'''.
 
*'''3)''' Valeur: minimum or maximum level required for the fame respectively with the comparison selected in the previous field below_or_above ''below_or_above'' '''(2)'''.
 
</div>
 
</div>
 
|}
 
|}
{{WIP}}
+
 
 
==== weCPlayerGuild ====
 
==== weCPlayerGuild ====
Teste le grade du joueur dans sa guilde
+
Tests the rank of the player in his guild
 
{|
 
{|
 
|[[File: Group.png|32px]]
 
|[[File: Group.png|32px]]
 
|
 
|
 
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 
<div style="margin:0em; padding:0em;border: none;background:yellow;">
*'''1)''' rank: Chef, Officier supérieur, Officier, Membre.
+
*'''1)''' rank: Leader, High Officer, Officer, Member.
 
</div>
 
</div>
 
|}
 
|}
  
 
==== weCPlayerGuildDappers ====
 
==== weCPlayerGuildDappers ====
Teste si une quantité minimum de dappers est dans le trésor de la guilde.
+
Tests if a minimum amount of dappers is in the treasury of the guild.  
 
{|
 
{|
 
|[[File: Money dollar.png|32px]]
 
|[[File: Money dollar.png|32px]]
 
|
 
|
 
<div style="margin:0em; padding:0em;border: none;background:yellow;">
 
<div style="margin:0em; padding:0em;border: none;background:yellow;">
*'''1)''' Quantity: quantité de dappers requise.
+
*'''1)''' Quantity: quantity of required dappers.
 
</div>
 
</div>
 
|}
 
|}
  
 
==== weCPlayerFreetrial ====
 
==== weCPlayerFreetrial ====
Test si le joueur est en version gratuite ou non.
+
Test if the player is free version or not.
 
{|
 
{|
 
|[[File: Emotion tongue.png|32px]]
 
|[[File: Emotion tongue.png|32px]]
Line 124: Line 124:
 
</div>
 
</div>
 
|}
 
|}
 
 
<noinclude>
 
<noinclude>
 
'''[[ARCC Guide EN|←ARCC Guide EN]]'''
 
'''[[ARCC Guide EN|←ARCC Guide EN]]'''

Revision as of 11:08, 20 September 2014

Check PlayerInfos

Vcard.png Function name : weCPlayerInfos

weCPlayerInfos can test any information stored on the server for the player and run an appropriate action.

WeCPlayerInfos window
  • 1) checks: A list of tests that will be performed in this step added by the "plus" icon.
  • 2) valideAction: Action to do if all the tests are validated (True).
  • 3) failAction: Action to do if at least one test is not validated (False).
  • 4) resetScriptIfFailed: (Yes / No) Resetting the script if failure (at least one test is not validated).
  • 5) openWindow: Window to be open to display the tests results. (None, WebIG, Browse NPC, Web Transaction).
  • 6) hiddenWindow (Yes / No)
  • 7) [commun] Internal name of the function. This name is used especially for jumps, loops ...

weCPlayerFaction

Tests if the player belongs to a faction.

Medal gold 1.png
  • 1) faction: faction to test. This faction may take one of the following:
  • neutral civ, neutral cult, neutral civ cult;
  • fyros, matis tryker, zorai;
  • kami, karavan;
  • marauder, ranger, trytonist.

weCPlayerDappers

Tests if the player has a certain amount of dappers.

Money euro.png
  • 1) Quantity: quantity of required dappers.

weCPlayerPosition

Examines the position of the player. If the player is in the rectangle bounded by coordinates mi /max x/y the return value is TRUE.

Map magnify.png
  • 1) min_x: minimum x-coordinate in absolute in the map of Atys.
  • 2) min_y: minimum y-coordinate in absolute in the map of Atys.
  • 3) max_x: maximum x-coordinate in absolute in the map of Atys.
  • 4) max_y: maximum y-coordinate in absolute in the map of Atys.

weCPlayerItem

Tests if a certain amount of item at certain level is present in one of the containers of the player.

Package.png
  • 1) inventory: Location where should be found the item: bag, player_room, guild, pet_animal (1-4) or temporary.
  • 2) sheet name
  • 3)Quality: the required quality of the item.
  • 4) minQuantity: the minimum amount.

weCPlayerTarget

Tests if the target is the desired one.

Arrow in.png
  • 1) type: Sheet, bot_name, player_name, leaguemate, teammate or guildmate.
  • 2) Value: the first three types require precision (Sheet, bot_name, player_name)

weCPlayerFame

Tests reputation in the nations and factions.

Award star gold 1.png
  • 1) faction: faction that can be tested are:
  • fyros, matis, tryker, zoraï
  • kami, karavan
Combinations may be used to test marauders, rangers...
  • 2) below_or_above: determines if the test is on the lower or higher of the following value ​​given in next field (3).
  • 3) Valeur: minimum or maximum level required for the fame respectively with the comparison selected in the previous field below_or_above below_or_above (2).

weCPlayerGuild

Tests the rank of the player in his guild

Group.png
  • 1) rank: Leader, High Officer, Officer, Member.

weCPlayerGuildDappers

Tests if a minimum amount of dappers is in the treasury of the guild.

Money dollar.png
  • 1) Quantity: quantity of required dappers.

weCPlayerFreetrial

Test if the player is free version or not.

Emotion tongue.png

no params

←ARCC Guide EN

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