View Single Post
  #15  
Old 10-31-2022, 04:26 AM
Vire70
Sarnak
 
Join Date: Apr 2010
Posts: 33
Default

Well... on first glance it all seemed to be working. Now that I try to buy from the custom merchants I realize they won't actually let me purchase an item, though they do list them correctly. Anyone got any idea how I would go about fixing that? Talking about the Arcanum merchants. I'll have to zip over to the bazaar and check those ones later.
Seems this is the code that doesn't fire in the arcanum quest .pl files (they're all dupliacates):
Code:
if ( $client->GetCarriedMoney() >= $item_row[2] )
			{
				quest::say("Thank you, $name. Here is your $item_name.");
				quest::summonitem($text);
				$client->TakeMoneyFromPP( $item_row[2], 1 );
			}
			else
			{
				quest::say("Sorry, $name. You do not have enough coins for that $item_name.");
			}
I can't see any visible problems with the code itself & I suppose it must have worked for others in the past, so the problem must be elsewhere.
Reply With Quote