Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Liquids

Liquids

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Camulos   Canada  (17 posts)  Bio
Date Sun 18 Dec 2005 07:37 PM (UTC)
Message
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.

I'm completely at a loss - Again.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Sun 18 Dec 2005 08:40 PM (UTC)
Message
Debug it, see what's wrong. See Nick's guide to gdb.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Gatewaysysop2   USA  (146 posts)  Bio
Date Reply #2 on Tue 20 Dec 2005 06:58 PM (UTC)
Message
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
Top

Posted by Samson   USA  (683 posts)  Bio
Date Reply #3 on Tue 20 Dec 2005 11:22 PM (UTC)
Message
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 :)
Top

Posted by Camulos   Canada  (17 posts)  Bio
Date Reply #4 on Wed 21 Dec 2005 06:48 AM (UTC)
Message
It's the version from the AFKmud site, actually.

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.
Top

Posted by Camulos   Canada  (17 posts)  Bio
Date Reply #5 on Wed 21 Dec 2005 07:47 AM (UTC)
Message
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."

Top

Posted by Dralnu   USA  (277 posts)  Bio
Date Reply #6 on Sun 25 Dec 2005 10:00 AM (UTC)
Message
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
Top

Posted by BrigandKing   (23 posts)  Bio
Date Reply #7 on Tue 29 Apr 2008 11:45 PM (UTC)

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?





Top

Posted by BrigandKing   (23 posts)  Bio
Date Reply #8 on Fri 02 May 2008 01:58 AM (UTC)
Message
Strange, It now works. And to be honest I didn't change anything. No idea.

Top

Posted by Conner   USA  (381 posts)  Bio
Date Reply #9 on Fri 02 May 2008 09:37 PM (UTC)
Message
Rebooted the mud?

-=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
Top

Posted by BrigandKing   (23 posts)  Bio
Date Reply #10 on Mon 05 May 2008 10:32 PM (UTC)
Message
Yes I did, guessing my computer just hates me.a
Top

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.


32,669 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.