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)

Reply
 
Thread Tools Display Modes
  #1  
Old 07-09-2007, 02:06 PM
Striat
Sarnak
 
Join Date: Aug 2006
Posts: 60
Default

To fix this in perlparser.cpp

Code:
XS(XS__setguild);
XS(XS__setguild)
{
	dXSARGS;
	if (items != 2)
		Perl_croak(aTHX_ "Usage: setguild(new_guild_id, new_rank)");

		unsigned long		new_guild_id = (unsigned long)SvUV(ST(0));
	char	new_rank = (char)*SvPV_nolen(ST(1));

	quest_manager.setguild(new_guild_id, new_rank);

	XSRETURN_EMPTY;
}
Change:

Code:
char	new_rank = (char)*SvPV_nolen(ST(1));
To:
Code:
int	new_rank = (int)SvIV(ST(1));
Recompile and you should be good to go.
Reply With Quote
  #2  
Old 07-19-2007, 09:17 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

This code is working fine also
Reply With Quote
  #3  
Old 07-20-2007, 06:25 PM
Striat
Sarnak
 
Join Date: Aug 2006
Posts: 60
Default

Credit for this then would actually go to Bleh
Reply With Quote
  #4  
Old 08-26-2007, 10:56 AM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

This ever get committed?
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
Reply With Quote
  #5  
Old 08-27-2007, 03:09 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

I can check and see tonight.
Reply With Quote
  #6  
Old 08-31-2007, 01:13 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

This has been previously committed.. okay so that wasn't that night but I did get to it!
Reply With Quote
Reply

Thread Tools
Display Modes

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:17 PM.


 

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