Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-12-2008, 01:15 AM
Furinex
Hill Giant
 
Join Date: Apr 2002
Location: Rochester, NY
Posts: 179
Default Bazaar and Trader Problems

I am a Server Manager onboard my ship, I run the EQ server for the crew. I had a few questions, I seem to be a bit stumped by why Im getting this message. I can successfully do all of the following: get on the wooden stand points (where you have to be to be in trader mode), get Trader Satchles, put items in it, price them and set price. Now when I hit begin Trader, it gives me an Error saying... "to begin trader mode, you must be standing under one of the rows of the trader stalls." Now I know what this means, I gotta be standing on the rows of the trader stalls (duh) but I am. Hell I've walked all over the zone looking for the spot that will allow me to do it and I cant really find it. Now im running the "new" bazaar, Should I delete the file and have it revert back to the old bazaar and try it? or does it just not work? or is there somethign in the database I can change? or is there a Presice spot to go and it works? Or what... any help would be great.
Reply With Quote
  #2  
Old 03-12-2008, 01:23 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

It doesn't work. We are missing most of the Bazaar opcodes, and the code supporting it is half-implemented/broken for our current client. I've been working on getting the missing opcodes, but have met with limited success. Though, I have found something very odd, you can start trader mode if you are against the wall in the Red section. Anwywhere else, including the blue section does not work for me at all. Though, you can only start trader mode you can't do anything else. Years ago Bazaar worked (mostly) on EQEmu, I'd love for it to work again.
Reply With Quote
  #3  
Old 03-12-2008, 07:31 PM
Knightly
Accomplished Programmer
 
Join Date: Nov 2006
Location: Honolulu, HI
Posts: 91
Default

Quote:
you can start trader mode if you are against the wall in the Red section
Shot in the dark here, but does this correspond to one of the spots you could be a trader in for the OLD bazaar zone?
Reply With Quote
  #4  
Old 03-12-2008, 09:23 PM
Furinex
Hill Giant
 
Join Date: Apr 2002
Location: Rochester, NY
Posts: 179
Default

Well, I tried it today, Going into the red section and sliding up against the wall and hitting trader mode... then begin trader. It didnt give me the error message in the trader window but it also didnt set my name as "Trader <name>" either. So Im thinking it really didnt do anything besides not give me the error, I could be wrong tho.
Reply With Quote
  #5  
Old 03-12-2008, 11:06 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

I said it doesn't work

Quote:
Shot in the dark here, but does this correspond to one of the spots you could be a trader in for the OLD bazaar zone?
It lines up perfectly I bet, the little code we do have was meant for the old zone.
Reply With Quote
  #6  
Old 03-13-2008, 04:15 AM
Furinex
Hill Giant
 
Join Date: Apr 2002
Location: Rochester, NY
Posts: 179
Default

Well... have you all tried deleting or backing up the new Bazaar file and allow it to load the old one and trying it there to see if it works any better?
Reply With Quote
  #7  
Old 05-21-2008, 04:11 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Quote:
Originally Posted by Furinex View Post
Well, I tried it today, Going into the red section and sliding up against the wall and hitting trader mode... then begin trader. It didnt give me the error message in the trader window but it also didnt set my name as "Trader <name>" either. So Im thinking it really didnt do anything besides not give me the error, I could be wrong tho.
I am curious about something here... What if the person who enters trader mode using the info provided then used the "/becomenpc" command? I am rebuilding my play PC (on the linux server atm) so I can't test it out. But, I noticed that when you use the /becomenpc command, it puts "Trader" in front of your name. So, maybe that part of the code is actually for the bazaar, or could be used in getting it working? Of course, I think only a GM of certain account status level can use the command, but it might be worth looking into to see what happens. I know for sure that when you /becomenpc, you become a merchant that is selling nothing... Sounds like it might be just the right fit lol. Wouldn't that be sweet if it was all there all along lol?

I am definitely gonna check it out once I get a chance, just to see what happens. I would at least think it could get this 1 step closer. Then again, it still sounds like we would need an actual table for items that are for sale. Unless it just adds them to the merchant tables.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #8  
Old 09-09-2008, 02:38 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Quote:
Originally Posted by cavedude View Post
It doesn't work. We are missing most of the Bazaar opcodes, and the code supporting it is half-implemented/broken for our current client. I've been working on getting the missing opcodes, but have met with limited success. Though, I have found something very odd, you can start trader mode if you are against the wall in the Red section. Anwywhere else, including the blue section does not work for me at all. Though, you can only start trader mode you can't do anything else.
Thought I'd bump this old thread rather than start a new one.

I've been pouring over live packet traces and disassembly trying to figure out how the hell the client knew you where on a trader stall. I thought at first there would be a packet sent when you moved on/off them, then perhaps maybe there was a flag in the position update packets.

Turns out the trader platforms are doors! The client is looking for you to be standing on a door with opentype 155 or 153. The database has half of them as opentype 154, which is why Cavedude got the client to accept trader mode in some places and not others.

I found the main Bazaar processing routine in the client and a couple of opcodes. The couple of structs I have looked at so far seem the same as is currently used in zone/trading.cpp, so I think it should be possible to get this functional again with a bit of work.

The old trader table is defined in the SourceForge CVS, in the SQL-Files directory.

Code:
mysql> describe trader ;
+-----------+---------------------+------+-----+---------+-------+
| Field     | Type                | Null | Key | Default | Extra |
+-----------+---------------------+------+-----+---------+-------+
| char_id   | int(10) unsigned    | NO   | PRI | 0       |       |
| item_id   | int(10) unsigned    | NO   |     | 0       |       |
| item_cost | int(10) unsigned    | NO   |     | 0       |       |
| slot_id   | tinyint(3) unsigned | NO   | PRI | 0       |       |
+-----------+---------------------+------+-----+---------+-------+
Reply With Quote
  #9  
Old 09-09-2008, 03:31 PM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

If anyone can do it, you can. Bravo.
Reply With Quote
  #10  
Old 09-09-2008, 04:52 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Doors? LOL, I gotta wonder how they came up with that one. I always thought doors only worked if they were clicked or if something triggered them. This almost sounds like they can do a proximity check.

Amazing work as always Derison!
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #11  
Old 09-09-2008, 06:45 PM
rojadruid
Discordant
 
Join Date: May 2005
Location: Smith Falls, Ontario, Canada
Posts: 283
Default

I belive that doors do do a proximity check to know that you are close enough to be able to click them. I could be wrong.
__________________
Rojadruid

Innoruuk Server [legit]
Server Admin.
Server Status: UP
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:47 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