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

03-12-2008, 01:23 AM
|
 |
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
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.
|

03-12-2008, 07:31 PM
|
Accomplished Programmer
|
|
Join Date: Nov 2006
Location: Honolulu, HI
Posts: 91
|
|
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?
|

03-12-2008, 09:23 PM
|
Hill Giant
|
|
Join Date: Apr 2002
Location: Rochester, NY
Posts: 179
|
|
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.
|

03-12-2008, 11:06 PM
|
 |
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
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.
|

03-13-2008, 04:15 AM
|
Hill Giant
|
|
Join Date: Apr 2002
Location: Rochester, NY
Posts: 179
|
|
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?
|

03-13-2008, 04:19 AM
|
 |
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
As I said above:
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.
|

03-13-2008, 03:15 PM
|
Hill Giant
|
|
Join Date: Apr 2002
Location: Rochester, NY
Posts: 179
|
|
Thats really a shame, Thank you for the input tho cavedude. Any updates on this issue would be appreciated. We only have about 279 people on board the ship and about 30 of em play, so it would be annoying to have to do it old school and spam wares in a channel.
On another note... Is there any good custom vendor scripts floating around? I ran a search but I came up pretty short... something to make it a bit easier to get armor and weapons with a lack of people... Wouldnt be the bazaar but it would definately help substituting it...
|
 |
|
 |

05-21-2008, 04:11 AM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
Quote:
Originally Posted by Furinex
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.
|
 |
|
 |
 |
|
 |

09-09-2008, 02:38 PM
|
Developer
|
|
Join Date: Feb 2004
Location: UK
Posts: 1,540
|
|
Quote:
Originally Posted by cavedude
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 | |
+-----------+---------------------+------+-----+---------+-------+
|
 |
|
 |

09-09-2008, 03:31 PM
|
Dragon
|
|
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
|
|
If anyone can do it, you can. Bravo.
|

09-09-2008, 04:52 PM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
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!
|

09-09-2008, 06:45 PM
|
Discordant
|
|
Join Date: May 2005
Location: Smith Falls, Ontario, Canada
Posts: 283
|
|
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
|

09-09-2008, 06:52 PM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
Ya, I guess I just figured that they only did that check when you actually clicked them, not anytime you got near.
And you said "do do" lol :P
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 02:36 AM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |