Difference between revisions of "Client en Bois"

From EncyclopAtys

Jump to: navigation, search
(Created page with ''''CeB''' or '''Client en Bois''' is a <Mtp> chat client written using C++ and Qt4. It ultimately replaced Klients as the inter…')
(No difference)

Revision as of 16:10, 30 June 2010

CeB or Client en Bois is a <Mtp> chat client written using C++ and Qt4. It ultimately replaced Klients as the interface for accessing the support chat for Ryzom.

Development

Features

Access from within Ryzom

Chat commands

There are a wide variety of chat commands available

Filters

This feature of CeB makes it possible to apply a "filter" to what you type. Only certain things can go through the filter and this will have a certain output, depending on the filter applied naturally. Those familiar with Lua should have no problem making use of filters.

calc

This pretty much makes CeB a calculator. Basic calculations can be done with this filter applied as well as many more complex ones.

For a full list of Lua math functions see the Lua Math Library.

Operators

  • + for addition
  • for subtraction
  • * for multiplication
  • / for division
  • ^ for exponents (eg. 5^3 ≡ 53)

Trigonometry

  • math.sin(<operand>) Outputs the sine value of the operand
  • math.cos(<operand>) Outputs the cosine value of the operand
  • math.tan(<operand>) Outputs the tangent value of the operand

Note: The output of these function are in radians, to convert it to degrees make use of math.deg(<operand>).

Other

  • math.pi Outputs the value of π
  • math.random() Outputs a random value between zero and one
    • math.random(<parameter>) Outputs a random value between zero and the given parameter
    • math.random(<parameter>,<parameter>) Outputs a random value between the first parameter and the second parameter
  • math.floor(<operand>) Rounds the value of operand down to the nearest integer
  • math.ceil(<operand>) Rounds the value of operand up to the nearest integer

code

justify

See also

References