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

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-21-2002, 02:34 PM
kryo
Fire Beetle
 
Join Date: Mar 2002
Posts: 2
Default New commands

I've been attempting for the last few hours to add three new commands to the EMU, #findclass, #findrace and #findskill, for easy reference. I'm brand new to VCC, so I was completely clueless with how to start. I wrote the code:

void Client:;FindRace(char* search_criteria)
{
char rCriteria[255];
char raceline[255];
char* rdest

strcpy(rCriteria, search_criteria);
strupr(rCriteria);

ifstream input_file("races.txt");

while (! input_file.eof())
{
input_file >> raceline;
strupr(raceline);

rdest = strstr(raceline, rCriteria);
if (rdest != NULL) {
Message(0, " %r", raceline)
}
}
}

Think it would work? I'm really not sure how to compile or anything - I'm used to VB. Any help would be appreciated.
Reply With Quote
  #2  
Old 04-21-2002, 04:08 PM
Hmm
Discordant
 
Join Date: Jan 2002
Posts: 276
Default

cool hope it works. i made that suggest some time ago.
__________________
Hmm...
Reply With Quote
Reply


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 08:13 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