Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Tutorials/Howto's

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

Reply
 
Thread Tools Display Modes
  #1  
Old 02-11-2004, 02:46 AM
Snappy
Fire Beetle
 
Join Date: Feb 2004
Location: Illinois, USA
Posts: 12
Default merchant id setup question

ok i am going fine with creating merchants. what i need to find out is if anyone has a list of merchant id's that shows id no's and the items that are included. I realize that this may be a huge request to fill... I do have mysql and mysql control center.
I also am trying to figure out how to put a helmet on a plate wearing vendor without changing it's gender.
I am a newb and this is my first posting.. i have been reading the forums and have garnered a wealth of info so far.
Also... is there a way ingame to edit a merchant and add his id tag etc. to make him work?
I'm hoping to be able to do this in the game... it seems a bit faster than doing it with the editors.

thanks for the great site. you all will make a programmer out of me yet!

(my head is spinning :!: this is gettin to be a really fun challenge!
Reply With Quote
  #2  
Old 02-11-2004, 04:17 AM
Monrezz's Avatar
Monrezz
Dragon
 
Join Date: Mar 2003
Location: #loc
Posts: 745
Default

The #spawn command lets you set the merchant id, not had a look at any of those commands for a while thought there could be one specifically. Try #help mer or #help id in game see if any of the results are useful. I do know spawn works though, see the sticky above.

Sorry, can't help with anything else :(

Quote:
thanks for the great site. you all will make a programmer out of me yet!

(my head is spinning this is gettin to be a really fun challenge!
This is the perfect example of the sort of attitude people need


Monrezz
__________________

kRPG Profile
Reply With Quote
  #3  
Old 02-11-2004, 07:45 AM
Cheerios
Fire Beetle
 
Join Date: Feb 2004
Posts: 9
Default

SELECT item FROM merchantlist WHERE merchantid = <your_merchant_id>;

That will dump a list of item id's for a given merchantid, and the merchantlist table is where you'll want to add/remove items on your merchants. If that's a pain for you like it is for me give it a little bit and I'll do up a perl script or two to make it a bit easier and post it for download.
Reply With Quote
  #4  
Old 02-11-2004, 07:55 AM
Monrezz's Avatar
Monrezz
Dragon
 
Join Date: Mar 2003
Location: #loc
Posts: 745
Default

Quote:
SELECT item FROM merchantlist WHERE merchantid = <your_merchant_id>;
I think he was asking for a complete list of items on Merchants in EQLive, not an SQL statement to list the items on merchants on his Emu server.

Monrezz
__________________

kRPG Profile
Reply With Quote
  #5  
Old 02-11-2004, 08:11 AM
Cheerios
Fire Beetle
 
Join Date: Feb 2004
Posts: 9
Default

Be nice, wouldn't it?
Reply With Quote
  #6  
Old 02-11-2004, 08:13 AM
Monrezz's Avatar
Monrezz
Dragon
 
Join Date: Mar 2003
Location: #loc
Posts: 745
Default

Very
__________________

kRPG Profile
Reply With Quote
  #7  
Old 02-11-2004, 08:17 AM
Cheerios
Fire Beetle
 
Join Date: Feb 2004
Posts: 9
Default

Still, going to do up that script because it annoys me having to work at a mysql prompt more than I have to. About 15% done just now.
Reply With Quote
  #8  
Old 02-11-2004, 09:36 AM
Cheerios
Fire Beetle
 
Join Date: Feb 2004
Posts: 9
Default

Hey monrezz, you know offhand what the max value for the slot column under the merchantlist table is? For the emu I mean, not in the db.
Reply With Quote
  #9  
Old 02-11-2004, 09:38 AM
wize_one
Dragon
 
Join Date: Jan 2004
Location: LasShithole, NV
Posts: 520
Default

i believe max is 80 like on live(havent tested this though)
__________________
Perfect quote from another site: it's immature pricks who refuse to read the numerous stickies in every forum pointing out what to do and what not to do that get flamed. Grow up and learn to do your fucking homework before opening your cake hole, junior. EQEmu doesn't like you anymore, and that's why you're getting errors. So go away.
__________________
Reply With Quote
  #10  
Old 02-11-2004, 09:40 AM
Cheerios
Fire Beetle
 
Join Date: Feb 2004
Posts: 9
Default

Good enough, I'll cap at 64 just to be on the safe side and adjust it later if it turns out to be worth the trouble.
Reply With Quote
  #11  
Old 02-11-2004, 02:12 PM
Cheerios
Fire Beetle
 
Join Date: Feb 2004
Posts: 9
Default

Ok; after many interruptions, some nintendo playing, a few beers, dinner, and other sundry things it's done, hosted, and announced.
Reply With Quote
  #12  
Old 02-11-2004, 04:17 PM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

a nice and convenient tool. We need more of these handy scripts. Thanks.
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 11:15 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