custom essays service how to write a essay introduction college essay sports college scholarship essay prompts

Bug in Drink containers

  • cunning
  • Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
1 week 6 days ago - 1 week 6 days ago #8716 by cunning
Bug in Drink containers was created by cunning
I thought i was losing my mind after my game kept crashing. So i tested on a fresh GIT of tbamud. I have confirmed what I am seeing, and i am trying to fix this bug now. What happens is that name_from_drinkcon and name_to_drinkcon are not working as intended.

The keyword (liquid type) is to be removed and replaced with the new liquid type. However, we are getting a reiteration of that string, which deletes one word and places the entire string. This is a beer mug output, after i poured it out, refilled from fountain and poured out again. Normally I would just have "MUG WATER" but you can see what i get below.

00H 100M 82V (news) (motd) > stat mug
Name: 'an empty beer mug', Keywords: mug beer beer beer beer beer beer

VNum: [34304], RNum: [ 4627], Idnum: [30000115], Type: LIQ CONTAINER, SpecProc:
None
L-Desc: 'An empty beer mug is here ready for use.'
A-Desc: '<None>'
Extra descs: [beermug mug]
Can be worn on: TAKE HOLD
Set char bits : NOBITS
Extra flags : NOBITS
Weight: 3, Value: 1, Cost/day: 0, Timer: 0, Min level: 1
In room: 65535 (Nowhere), In object: None, Carried by: Austinpowers, Worn by: No
body
Capacity: 2, Contains: 0, Poisoned: NO, Liquid: water
Affections: None
Triggers:
Last edit: 1 week 6 days ago by cunning.

Please Log in or Create an account to join the conversation.

  • cunning
  • Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
1 week 6 days ago #8717 by cunning
Replied by cunning on topic Bug in Drink containers
Further testing shows that filling from fountain, then pouring out starts the chain reaction. I am keeping the output and debug in case Thomas wants to log into my dev server. I however have been able to reproduce multiple times now.

Please Log in or Create an account to join the conversation.

  • cunning
  • Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
1 week 6 days ago #8718 by cunning
Replied by cunning on topic Bug in Drink containers
May 16 09:55:24 2020 :: AustinPowers: pour mug out
May 16 09:55:24 2020 :: NAME_FROM: liqlen = 4
May 16 09:55:24 2020 :: NAME_FROM: maxlen = 10
May 16 09:55:24 2020 :: 1) NAME_FROM: name = mug green beer
May 16 09:55:24 2020 :: 2) NAME_FROM: name = mug green beer
May 16 09:55:24 2020 :: 1) NAME_FROM: name = mug green beer
May 16 09:55:24 2020 :: 3) NAME_FROM: name = mug green beer, maxlen = 10
May 16 09:55:24 2020 :: 4) NAME_FROM: name = mug green beer, new_name
May 16 09:55:24 2020 :: 5) NAME_FROM: name = mug green beer, new_name mug green , maxlen = 10
May 16 09:55:24 2020 :: 1) NAME_FROM: name = green beer
May 16 09:55:24 2020 :: 2) NAME_FROM: name = green beer
May 16 09:55:24 2020 :: 1) NAME_FROM: name = green beer
May 16 09:55:24 2020 :: 3) NAME_FROM: name = green beer, maxlen = 7
May 16 09:55:24 2020 :: 4) NAME_FROM: name = green beer, new_name mug green
May 16 09:55:24 2020 :: 5) NAME_FROM: name = green beer, new_name mug green green , maxlen = 6
May 16 09:55:24 2020 :: 1) NAME_FROM: name = beer
May 16 09:55:24 2020 :: 2) NAME_FROM: name = beer
May 16 09:55:24 2020 :: 1) NAME_FROM: name = beer
May 16 09:55:26 2020 :: AustinPowers: stat mug

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #8719 by thomas
Replied by thomas on topic Bug in Drink containers
Thank you for the bug report. I know this is aprt of the mud that's seen multiple fixes over the years and seem to remember bugs allt the way back to circle 2.0 for this.
I'll have a look tuesday.

Please Log in or Create an account to join the conversation.

More
1 week 3 days ago #8722 by JTP
Replied by JTP on topic Bug in Drink containers
I wonder if this has something to do with that I sometimes gets really heavy drink containers. That is rather annoying.

Please Log in or Create an account to join the conversation.

  • cunning
  • Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
1 day 3 hours ago - 1 day 2 hours ago #8736 by cunning
Replied by cunning on topic Bug in Drink containers
No. That has to do with weight change name_from and name_to*, and if you dig back into D20, encumberage is something that needs to be accounted for.
Last edit: 1 day 2 hours ago by cunning.

Please Log in or Create an account to join the conversation.

Time to create page: 0.323 seconds