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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-20-2003, 10:56 AM
used_pawn
Sarnak
 
Join Date: Apr 2003
Posts: 53
Default Added code fix for giving item(s) to NPCs etc...

One more annoyance fix.

When giving an item to an NPC I was getting an error message [error] GetItem at 0x0bb8 slot (or something like that)

here is my fix:

../zone/client.cpp : line 6042 or thereabouts in Client::GetItemAt() INSERT this:

Code:
	else if (in_slot >= 3000 && in_slot <= 3016) // trade window :used_pawn
		return 0xFFFF;
not CERTAIN if its stable (i have tested it quite a bit though) but it doesnt give the error message anymore.
Reply With Quote
 

Thread Tools
Display Modes

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 09:50 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