Page 1 of 1

Accident prevention - GIVE checks

Posted: Sun Jun 09, 2013 8:43 pm
by Raona
After not having a chance to play for a while, I almost gave my loaded bag to an NPC. Made me think of the several times that's happened to me, especially early on. Would it make sense to code a check for anyone trying to hand over a container with a value above a given limit, or containing any other objects inside of it, and require confirmation before something like that is handed over to an NPC?

Re: Accident prevention - GIVE checks

Posted: Sun Jun 09, 2013 8:52 pm
by Tamryn
As a newbie, I once gave "2.platinum" to an NPC instead of "2 platinum" and lost all my money. So, I can see how this would be useful.

I would think the best fix would be either, NPCs won't accept any items except for specific quest items (or money); or else they'll give back items they don't want, like the bankers do with money. However, I imagine that might require fixing every NPC's program individually, so perhaps a lot of effort.

Re: Accident prevention - GIVE checks

Posted: Mon Jun 10, 2013 3:13 am
by Beskytter
I've been glitched by zMud soo many times it isn't funny...

recently I was run right passed my mount and when I tried to hit my go east button it appended 'e' to the command line and sent "give sat e" giving my satchel to the elven knight.

I agree that either the mobs should give back or even drop items they are given, including corpses, or there should be a direct no give to all mobs that don't have it written into their code to accept xxx item.