Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 01-22-2006, 02:20 AM
sdabbs65
Dragon
 
Join Date: Dec 2003
Location: Earth
Posts: 818
Default Adding a command

it clearly tells you you need to add 3 things in the source file...

Code:
 To add a new command 3 things must be done: 


1. At the bottom of command.h you must add a prototype for it.

2. Add the function in this file.

3. In the command_init function you must add a call to command_add

for your function. If you want an alias for your command, add

a second call to command_add with the descriptin and access args

set to NULL and 0 respectively since they aren't used when adding

an alias. The function pointers being equal is makes it an alias.

The access level you set with command_add is only a default if

the command isn't listed in the addon.ini file.
__________________
hosting Eqemu/Runuo/wow Emulators.

www.cheaterz.info
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:01 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3