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 02-11-2003, 06:26 AM
Bigpull
Discordant
 
Join Date: Feb 2003
Posts: 305
Default PATCH: Fixes merchants eatting whole stacks of items

DeleteItemInInventory()
Deletes whole stacks the attached patch fixes this
Reply With Quote
  #2  
Old 02-11-2003, 07:45 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Thank ya! I'll take a look at this tonight when i get in...

Also, thanks for using the CVS source, it'll make it easier to merge in..
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #3  
Old 02-11-2003, 11:40 AM
RevlinXevlin
Sarnak
 
Join Date: Feb 2003
Posts: 41
Default

I'll ask ..

How do use newbies or those running windows patch ?
Reply With Quote
  #4  
Old 02-11-2003, 11:50 AM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

If your not compiling your own world.exe and or zone.exe or have no idea what I'm talking about, you don't need to.

otherwise, you do it by hand, or use utilities that create diff files, and merge them back in. (diff.exe and merge.exe I think) try http://gnuwin32.sf.net
__________________
Please read the forum rules and look at reacent messages before posting.
Reply With Quote
  #5  
Old 02-11-2003, 11:55 AM
RevlinXevlin
Sarnak
 
Join Date: Feb 2003
Posts: 41
Default

just because I'm not using linux to run eqemu doesn't mean I have concept of eqemu.
Reply With Quote
  #6  
Old 02-11-2003, 03:08 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Looks like it works great.. Once I got over the roadblock of realizing my item database didnt have costs for any items (doh!).

I merged it in to the code, thanks for the contribution !
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #7  
Old 02-12-2003, 07:56 AM
Bigpull
Discordant
 
Join Date: Feb 2003
Posts: 305
Default I missed some bugs

Selling the last item in a stack will crash the zone server.

I moved the updateing of player inventory on a PlayerSell into the deleteitem function. and properly check against 0 now instead of 1 (oops).

Altered NPC's removeitem to take slots & quantities.

Fixed BulkSendMerchantInventory, we want 80 items not 81, and if The merchant has more than 80 items in the DB we truncate the list and send the first 80 instead of sending an empty merchant.

Ontop of all that, actualy the reason i had to do all this =) I've added code for merchants to resell items players sell to them.

They do this by adding the items into thier loot table, and removeing them when items are bought. It's got some issues, I'm pretty sure i got all the inventory corruption nailed down, but back up character_ just in case ect. Leaveing just the one client lockup, When the merchant sells the last inventory item, The client window needs updated to remove the item(or they're just big old dupeing machines), and I didn't see a nice way of telling them no sale. So the vendor will tell them they can't find the item and to try back later, then does a break; but this leaves the client locked up untill they zone/log =(

To enable add a variable MerchantsKeepItems 0/1 to the sql, it defaults to off if there is no variable MerchantsKeepItems
Reply With Quote
  #8  
Old 02-13-2003, 07:54 PM
Bigpull
Discordant
 
Join Date: Feb 2003
Posts: 305
Default Trump new patch here..

Same as above but updated for current cvs
Reply With Quote
  #9  
Old 02-14-2003, 12:25 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Thank ya!
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
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 06:31 PM.


 

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