Ryzom developer console?

Added by AlexS about 4 years ago

Is there any developer console in Ryzom, and if so how would i add custom commands to it? I am aware of the log file you can print to with nlinfo() and the like but i was wondering if there is a console where in code you can bind functions to certain commands.

If this isn't possible is there a way to bind a function to a certain key?

Thanks!


Replies (3)

RE: Ryzom developer console? - Added by molator about 4 years ago

The chat console is a dev console too (if you've got the rights).

The following wiki might help you:
http://dev.ryzom.com/wiki/ryzom/ShardCommands

RE: Ryzom developer console? - Added by AlexS about 4 years ago

Thanks so much, molator you are the man! Always seem to have the answers to my questions =]

Awesome i'm sure i can find some examples in the source of commands, would running a dev build give me the permissions by default? Or is there something i'd have to change on the server?

RE: Ryzom developer console? - Added by molator about 4 years ago

As written in the wiki, you must add dev privileges to your account:

UPDATE USER SET Privilege=':DEV:' WHERE UId=1;

assuming that your account id is 1.

(1-3/3)