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 09-08-2004, 08:50 PM
sgaske24
Sarnak
 
Join Date: Sep 2004
Posts: 30
Default Three questions

Greetings,

I have three questions -

1) What code do you change to increase the max level on your server?

2) How do you change the default "EQEmu Shopkeeper/banker" to your own custom lastnames? (#npcedit doesn't work on those 2)

3) How do you compile eqemu with Perl using Visual Studio.NET 2003? Can't find any info...

I have tried using Search which I honestly think just spits out random pages when you search, totally unsuccessful and also browsing threads, which I can't find any info there either.

I remember vaguely some FAQ post or something that explained how to compile with perl, but I couldn't find it. I did find a post about compiling with perl using VC++6, however I don't have VC++6, I have Visual Studio.NET 2003. I tried to compile with perl and got all sorts of errors but I can compile without perl just fine. So if anyone could spare some instructions this would be great, thanks.

Respectfully,
Zenrix
Reply With Quote
  #2  
Old 09-08-2004, 09:30 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

1) http://www.eqemulator.net/forums/vie...ighlight=level

2) http://www.eqemulator.net/forums/vie...ght=shopkeeper

3) You could try Codemonkey's suggestion at the end of this thread:
http://www.eqemulator.net/forums/vie...ht=vs+net+perl
Reply With Quote
  #3  
Old 09-08-2004, 09:44 PM
sgaske24
Sarnak
 
Join Date: Sep 2004
Posts: 30
Default

I'll be damned! I sat here searching for 45 minutes looking for that info :( I got my max level changed and also my merchant and bankers changed to my liking but now I'm left with compiling with perl under VS.NET 2003 - those instructions are good but it still doesn't work.

I thank you kindly for your help Derision!

Request: If anyone has the time could a Perl section be added to the VS.NET compile tutorial? VS.NET 2003 and VC++6 seem to be different because even following the instructions to a T, I get tons of errors. Thanks.

Respectfully,
Zenrix
Reply With Quote
  #4  
Old 09-09-2004, 01:47 AM
sotonin
Demi-God
 
Join Date: May 2004
Posts: 1,177
Default

You don't have to change any files at all to compile under vs.net... nothing. You only have to set up your dependencies properly
Reply With Quote
  #5  
Old 09-09-2004, 02:41 AM
killspree
Dragon
 
Join Date: Jun 2002
Posts: 776
Default

Honestly I'd just comment the code that involves the merchant check for lastname out completely so you can load the merchant lastname from the db(allows for each specific merchant to have a different lastname if you want it that way).
__________________
Xeldan
Lead Content Designer
Shards of Dalaya
Reply With Quote
  #6  
Old 09-09-2004, 03:01 AM
sotonin
Demi-God
 
Join Date: May 2004
Posts: 1,177
Default

Quoted from Cripp who posted on a previous post about this.

to take out "EQEmu shopkeeper" and "EQEmu Banker"..

in mob.cpp around line 555...

change
Code:
   if (ns->spawn.class_==MERCHANT) 
      strcpy(ns2->spawn.last_name, "EQEmu Shopkeeper"); 
   else if (ns->spawn.class_==TRIBUTE_MASTER) 
      strcpy(ns2->spawn.last_name, "Tribute Master"); 
   else if (ns->spawn.class_==BANKER) 
      strcpy(ns2->spawn.last_name, "EQEmu Banker"); 
   else if (ns->spawn.class_==ADVENTUREMERCHANT)
to

Code:
   /*if (ns->spawn.class_==MERCHANT) 
      strcpy(ns2->spawn.last_name, "EQEmu Shopkeeper"); 
   else if (ns->spawn.class_==TRIBUTE_MASTER) 
      strcpy(ns2->spawn.last_name, "Tribute Master"); 
   else if (ns->spawn.class_==BANKER) 
      strcpy(ns2->spawn.last_name, "EQEmu Banker"); 
   else */if (ns->spawn.class_==ADVENTUREMERCHANT)

and around line 630 change..

Code:
   if (ns->spawn.class_==MERCHANT) 
      strcpy(ns->spawn.last_name, "EQEmu Shopkeeper"); 
   else if (ns->spawn.class_==BANKER) 
      strcpy(ns->spawn.last_name, "EQEmu Banker"); 
   else if (ns->spawn.class_==ADVENTUREMERCHANT)
to

Code:
   /*if (ns->spawn.class_==MERCHANT) 
      strcpy(ns->spawn.last_name, "EQEmu Shopkeeper"); 
   else if (ns->spawn.class_==BANKER) 
      strcpy(ns->spawn.last_name, "EQEmu Banker"); 
   else */if (ns->spawn.class_==ADVENTUREMERCHANT)
so basically just comment out the merchant and banker lastnames in those 2 parts and the lastname in npc_types should work for them.
Reply With Quote
  #7  
Old 09-09-2004, 07:51 AM
monalin crusader
Hill Giant
 
Join Date: May 2004
Posts: 238
Default

Quote:
You don't have to change any files at all to compile under vs.net... nothing. You only have to set up your dependencies properly
Dont forget to add the files you need to do a search for the one stop error guide it has a nice set of instructions on how to go about enableing perl, but the chances are if you cant search around on these boards you cant code for a server, thus i suggest you getting someone who can since if you really want a successful server you need a coder.
__________________
Ascending Dawn Server Op
Coder/Quester/Mysql
Reply With Quote
  #8  
Old 09-09-2004, 10:06 PM
sgaske24
Sarnak
 
Join Date: Sep 2004
Posts: 30
Default

Killspree your idea was pretty good, and since well, I'm not really a coder, I never thought to do that However I did get it set up the way I wanted, so I'm happy.

As far as compiling with perl under VS.NET 2003, I now have it down to a T, unfortunately none of the tutorials posted that I could find, or shown to me in this thread, helped at all. I ended getting live help from Branks (thanks man) in compiling it, and there were a few steps left out for VS.NET 2k3 as compared to C++6, because of the differences in layout of the two programs.

If anyone else has issues compiling with perl under VS.NET 2003 (I can't be the only one lol) feel free to PM me and I'll explain what you have to do. Thanks to all who replied your efforts are very much appreciated, thank you!

Respectfully,
Zenrix the Almighty
ServerOP, Chronicles of Norrath
Eqemu 5.8 (with qsts)
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:19 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