Shattered Kingdoms
https://shatteredkingdoms.org/forums/

stealing coins bug?
https://shatteredkingdoms.org/forums/viewtopic.php?f=26&t=19126
Page 1 of 2

Author:  Drewbag [ Wed Jul 29, 2009 5:58 pm ]
Post subject:  stealing coins bug?

What in the world happened here?
Quote:
> l chimp
The monkey looks to be a small chimpanzee. She is usually making
funny faces, showing off her shiny white teeth. Her jet black
fur is carefully combed and she looks well trained. Probably lost, she
looks up at you with cute blue eyes and flutters them at you.
Overall, an adorable chimp is in excellent condition.

An adorable chimp is using:
<worn as skin> fur hide (brand new)

You peek at their inventory:
4 copper coins
7 silver coins
9 gold coins
5 platinum coins

[HP:100%] [ME:100%] [PE: 50%]
> steal plat chimp
You got it!

[HP:100%] [ME:100%] [PE: 50%]
> bac
list
You put 7 copper coins in a scarlet paenula embroidered with mithril wire.
You put 8 silver coins in a scarlet paenula embroidered with mithril wire.
You put 2 gold coins in a scarlet paenula embroidered with mithril wire.
You put 4 platinum coins in a scarlet paenula embroidered with mithril wire.

[HP:100%] [ME:100%] [PE: 50%]
> i
You are carrying:
a fragile, blown glass vial of word of recall

[HP:100%] [ME:100%] [PE: 50%]
> i
You are carrying:
a fragile, blown glass vial of word of recall

[HP:100%] [ME:100%] [PE: 64%]
> l chimp
The monkey looks to be a small chimpanzee. She is usually making
funny faces, showing off her shiny white teeth. Her jet black
fur is carefully combed and she looks well trained. Probably lost, she
looks up at you with cute blue eyes and flutters them at you.
Overall, an adorable chimp is in excellent condition.

An adorable chimp is using:
<worn as skin> fur hide (brand new)

You peek at their inventory:
10 copper coins
8 silver coins
16 gold coins

Author:  Rynusi [ Wed Jul 29, 2009 6:07 pm ]
Post subject: 

Dulrik is aware of this bug, stealing NPCs are able to steal from containers due to the new coin coding.

Author:  Edoras [ Wed Jul 29, 2009 6:34 pm ]
Post subject: 

Rynusi missed the point.


Why you only got 4 platinum instead of 5 I have no idea.

Quote:
[HP:100%] [ME:100%] [PE: 50%]
> i
You are carrying:
a fragile, blown glass vial of word of recall

TICK PASSES
[HP:100%] [ME:100%] [PE: 64%]

> l chimp
The monkey looks to be a small chimpanzee. She is usually making
funny faces, showing off her shiny white teeth. Her jet black
fur is carefully combed and she looks well trained. Probably lost, she
looks up at you with cute blue eyes and flutters them at you.
Overall, an adorable chimp is in excellent condition.

An adorable chimp is using:
<worn as skin> fur hide (brand new)

You peek at their inventory:
10 copper coins
8 silver coins
16 gold coins


But a tick did pass in between your two peeks. Maybe for some reason the monkey's gold was refactored.

Author:  Carsetius [ Wed Jul 29, 2009 9:07 pm ]
Post subject: 

looks like the plat turned into gold there.

Author:  Rynusi [ Thu Jul 30, 2009 4:59 am ]
Post subject: 

But not in the correct amount.

Author:  Drewbag [ Thu Jul 30, 2009 6:47 am ]
Post subject: 

So wait... initiate NPCs can steal from containers but gm pc's cant?

Poop on that I say. Poop.

Author:  Rynusi [ Thu Jul 30, 2009 9:33 am ]
Post subject: 

They can only steal coin and it has to do with the weird new coding

Author:  Viltrax [ Thu Jul 30, 2009 10:07 pm ]
Post subject: 

Were you perhaps carrying 3 copper before the theft?

NPC before: 5974
You stole: 4284
NPC after: 1690

Author:  Drewbag [ Thu Jul 30, 2009 11:50 pm ]
Post subject: 

I only stole 4000, just the plat.

Author:  Viltrax [ Fri Jul 31, 2009 4:56 am ]
Post subject: 

I know you stole 'plat', but it seemed coincidental that the figures add up correctly if three assumptions are made:

1. The code intepreted your 'plat' target as (effectively) 'coin'
2. You got a partial success, and
3. You were carrying 3 copper at the start of the log.

To rule out needing to make any such assumptions, I suppose the better response is that for anyone replicating this bug in the future, please check your amount of coin carried prior to the theft so we have a known starting point.

Page 1 of 2 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/