View Single Post
  #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