-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org
Amended on Wed 30 Apr 2008 04:40 AM (UTC) by BrigandKing
Message
Was wondering if anyone cleared this up? Just tried installing the code and receiving the same problems when mixing. emptying one into the other.
Running into a recurring problem with most snippets, even if the install instructions are good. They never tell you how to use it. Then you have to experiment until you figure it out so you can write a help file for your Imms.
I swear if I ever release a snippet I will also release a log of it in action with it, so people know it's working right. lol.
Are you supposed to make 3?
2 drink_cons and one container with drink_mix to hold the product?
Dunno what to say without seeing code itself, but you might try something along the lines of checks to see what is in each drinkcon, and then setting it to a 3rd value. I havn't touched code in awhile, so my memory is foggy on scripting itself, but I think that could either fix it or might could get you on your way, and if you have one see if it isn't just using something from empty con con. So, hope that helps
Okay, so I've gotten the snippet installed and it's not crashing me anymore...
Two problems though. When I mix two liquids it now empties one drinkcon completely and the other becomes filled with whatever was in the now-empty one.
Example:
I created a mixture called 'martini', one part gin and one part vodka
barrel, full of vodka(19)
wineflask, full of gin(20)
mix barrel wineflask
wineflask is now empty
barrel is now full of gin
Same vice versa.
On top of that, the example mixture included with the file, that of vodka and orange juice, just says 'They don't mix well together."
I wouldn't worry too much about the actual code and such for the snippet. Chances are it's some mistake I made somewhere while installing it. The instructions could possibly be improved a bit? Hehe.
Anyways I'm working on the whole gdb thing now, hopefully it'll shed some light.
I too would like to know which version you used and where you got it because the version now posted on my site and the one on Mudmagic were both taken directly from AFKMud where they are known to work just fine. If this is not the case then I sorta need to know so I can go fix it :)
SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center
"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
Just curious, are you using the new version posted up at Mudmagic and elsewhere, or an older version of the snippet. After the bugs I encountered before in this before I decided to keep the liquid system stock. I had been meaning to look at the new release of the snippet but as of yet I have not. If you're reporting continued issues with the newest revision, that would be useful information.
Thanks!
"The world of men is dreaming, it has gone mad in its sleep, and a snake is strangling it, but it can't wake up." -D.H. Lawrence
I just installed Noplex's liquidtable snippet, fought my way through all the bugs on compile, and everything seemed to work, until I tried to interact with a drinkcon in any way.
Examining, mixing, drinking, etc. All give me a segmentation fault.
I can fill and empty the drinkcons though, strangely enough.
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.