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

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-14-2009, 08:09 PM
leslamarch
Discordant
 
Join Date: Sep 2006
Location: Green Bay, WI
Posts: 436
Default Compile Error in REV 661

Just figured I would post this. Compiled under VS 2008

Code:
Error    144    error C2664: 'command_add' : cannot convert parameter 4 from 'void (__cdecl *)(Client *)' to 'CmdFuncPtr'    \zone\command.cpp    349
Reply With Quote
  #2  
Old 06-14-2009, 08:23 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Hmm, it compiled fine under Linux for me. Maybe removing the "Seperator *sep" causes a problem with Windows compiles. You can try changing this:


/zone/command.cpp line 5218
Code:
void command_randomfeatures(Client *c)
to this:
/zone/command.cpp line 5218
Code:
void command_randomfeatures(Client *c, const Seperator *sep)
And also changing this:
/zone/command.h line 222
Code:
void command_randomfeatures(Client *c);
to this:
/zone/command.h line 222
Code:
void command_randomfeatures(Client *c, const Seperator *sep);
If that fixes it and the command still works properly, then I can correct that on the next SVN update I do unless someone wants to add it in before that.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!

Last edited by trevius; 06-15-2009 at 07:07 AM..
Reply With Quote
  #3  
Old 06-14-2009, 09:11 PM
leslamarch
Discordant
 
Join Date: Sep 2006
Location: Green Bay, WI
Posts: 436
Default

no go, that leads to another error
Code:
Error    5    error C2447: '{' : missing function header (old-style formal list?)    \zone\command.cpp    5219

If I'm the only one having problems with this I'll work on this when I have time, Kinda strange I'm the only one though. Thanks for the suggestion as always its appreciated.
Reply With Quote
  #4  
Old 06-14-2009, 09:27 PM
Domel
Fire Beetle
 
Join Date: Oct 2008
Location: Washington
Posts: 23
Default

I'm getting the same error.../nod
Reply With Quote
  #5  
Old 06-14-2009, 10:17 PM
realityincarnate
Developer
 
Join Date: Dec 2007
Posts: 122
Default

Remove the semi-colon from the end of line 5218 in Trevius' modifications and it should work.
Reply With Quote
  #6  
Old 06-14-2009, 11:07 PM
Domel
Fire Beetle
 
Join Date: Oct 2008
Location: Washington
Posts: 23
Default

Ahh, right on ! That got it
Reply With Quote
  #7  
Old 06-14-2009, 11:09 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Yeah, my bad, I corrected the stuff to change in the original post I made here.

I will get it changed tonight on the SVN if I remember. I didn't think much about it since it compiled and runs ok on Linux. Didn't think it needed the sep stuff since the command isn't taking an argument. I guess the fact that all other commands are set that way should have tipped me off that it was required :P
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
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 07:35 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3