Client en Bois

From EncyclopAtys

Revision as of 15:44, 1 July 2010 by CeNobiteElf (talk | contribs)
Jump to: navigation, search

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

Below is a list of a few of the main features:

  • Support of Ryzom chat support servers
  • Multi-servers managing
  • Multilingual
  • Tabs for tell, wall, who, etc
  • Support of Lua scripting
  • Search feature
  • Logs
  • Nicknames completion
  • Auto-connections
  • "About me" popups (Warningo)
  • Tray icon (with activity warning)
  • Auto-away and auto-leave
  • Keep-Alive

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 filter allows one to do calculations in CeB as well as use certain special os functions. Basic calculations as well as many more complex ones can be done with this filter applied, it should be noted though that this filter makes heavy use of Lua math library for more complex calculations.

Below is a list of more commonly used functions and operators, for a full list of Lua math functions see the Lua Math Library and for a full list of Lua os functions see the Lua Os 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 functions are in radians, to convert it to degrees make use of math.deg(<operand>)

Os

  • os.clock() Returns CPU time since Lua started
  • os.exit() Terminates the host program
  • os.getenv("<variable>") Returns the value of the process environment variable <variable>, or nil if the variable is not defined
  • os.time() Displays time in system seconds

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