Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Database/World Building

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #16  
Old 07-21-2004, 03:53 PM
Darkdrizzt
Sarnak
 
Join Date: Nov 2003
Posts: 56
Default

woot thanks sotonin
Reply With Quote
  #17  
Old 07-21-2004, 04:13 PM
Cripp's Avatar
Cripp
Discordant
 
Join Date: Oct 2003
Location: The Shire
Posts: 474
Default

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.
__________________
Nug Blazers - ServerOP / founder
^^comming... later!

www.nugblazers.com
Reply With Quote
  #18  
Old 07-22-2004, 12:07 AM
rizzen04
Hill Giant
 
Join Date: Apr 2004
Location: The Overthere
Posts: 123
Default

why comment things out when you can change it from

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, "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, "Banker"); 
   else if (ns->spawn.class_==ADVENTUREMERCHANT)
Just removing the EQEMU part out.[/quote]
__________________
Rizzen
[ServerOp]Shattered Lands(active...kinda)
MUD? whats that? telnet://shattered-lands.net:6666
*****
If it doesn
Reply With Quote
  #19  
Old 07-22-2004, 02:12 AM
sotonin
Demi-God
 
Join Date: May 2004
Posts: 1,177
Default

Because most people do not want anything there. They want the NPC's lastname, Which tells specifics about what they sale
Reply With Quote
  #20  
Old 07-22-2004, 04:13 PM
Cripp's Avatar
Cripp
Discordant
 
Join Date: Oct 2003
Location: The Shire
Posts: 474
Default

Quote:
Originally Posted by rizzen04
why comment things out when you can change it from

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, "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, "Banker"); 
   else if (ns->spawn.class_==ADVENTUREMERCHANT)
Just removing the EQEMU part out.

because if you do that, the lastname still wont work and everyone would still be stuck with Shopkeeper for all there merchants. taking it out will make lastname work, so you can have Spell Merchant, Supplies, or whatever you want.
__________________
Nug Blazers - ServerOP / founder
^^comming... later!

www.nugblazers.com
Reply With Quote
  #21  
Old 07-22-2004, 04:22 PM
govtcheeze
Hill Giant
 
Join Date: Mar 2004
Location: South Florida
Posts: 247
Default

rofl cripp, that avatar owns
__________________
GovtCheeze, Welfare Warrior
"Listen, here's the thing. If you can't spot the sucker in the first half hour at the table, then you ARE the sucker." -- Mike McDermott, Rounders

Developer of the original (circa 2004):
Loots v2.0, bitch!
Faction v1.0, bitch!
Magelo-like clone v0.3, bitch!
Zone geometry and spawn/path viewer, bitch!
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 03:29 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