#nuvie@irc.freenode.net logs for 15 Jun 2012 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage


[01:22:24] --> Kirben has joined #nuvie
[01:34:58] <-- Kirben has left IRC (Read error: Connection reset by peer)
[01:35:09] --> Kirben has joined #nuvie
[04:36:54] <-- CIA-75 has left IRC ()
[04:37:26] --> CIA-5 has joined #nuvie
[04:37:31] --> CIA-8 has joined #nuvie
[04:38:54] <-- CIA-8 has left IRC ()
[06:44:31] --> servus has joined #nuvie
[06:44:31] <-- servus has left IRC (Client Quit)
[11:48:42] --> Yuv422 has joined #nuvie
[13:16:30] <-- Yuv422 has left IRC (Quit: Yuv422)
[13:57:01] <-- Kirben has left IRC ()
[22:36:58] --> Yuv422 has joined #nuvie
[22:52:47] --> Malignant_Manor has joined #nuvie
[22:54:04] <Yuv422> hi Malignant_Manor
[22:54:16] <Malignant_Manor> What's a good message to display that taking an item would be stealing after using the look command? It needs to be 17 characters including spaces to fit on the line
[22:54:16] <Yuv422> thanks for the bug reports
[22:54:20] <Malignant_Manor> hi
[22:54:26] <Malignant_Manor> you're welcome
[22:55:03] <Yuv422> not yours to take
[22:56:33] <Malignant_Manor> The stealing message is one good thing U6O does.
[22:58:14] <Yuv422> thou does see 10 gold coins they are not free to take
[22:58:55] <Malignant_Manor> Well, the coding I did was after the weight.
[22:59:10] <Yuv422> ah k
[22:59:51] <Malignant_Manor> I'll have to look and see if it can be inserted there.
[23:00:03] <Malignant_Manor> That seems a better place.
[23:01:32] <Yuv422> Look-Thou dost see a wine glass. It weighs 0.1 stones. It is private property
[23:02:21] <Malignant_Manor> Too bad "It is private property" is 5 characters too many.
[23:02:36] <Malignant_Manor> just private property maybe
[23:02:44] <Yuv422> yeah
[23:02:52] <Malignant_Manor> all caps or something
[23:08:44] <Yuv422> yeah that looks good
[23:08:52] <Yuv422> and would be easy to do
[23:09:20] <Malignant_Manor> Already coded except for reading the cfg file.
[23:09:30] <Yuv422> cool
[23:11:12] <Malignant_Manor> Do the other games have stealing?
[23:11:39] <Yuv422> I don't think so
[23:11:44] <Malignant_Manor> I can't ever remember SE having it and doubt MD does.
[23:16:06] <Malignant_Manor> Does the engine still read from the ultima6 xml if playing another game?
[23:16:36] <Malignant_Manor> Should this option default to yes or no?
[23:16:51] <Malignant_Manor> ie config/ultima6/show_stealing
[23:17:21] <Yuv422> it's safe to go in the ultima6 section
[23:17:33] <Yuv422> just make the default no
[23:17:53] <Malignant_Manor> I'm just wondering if it will call useless code while playing other games.
[23:18:24] <Yuv422> if the default is no
[23:18:45] <Yuv422> the other game types won't call the code
[23:19:00] <Yuv422> because they won't have the option in their config elements
[23:19:09] <Malignant_Manor> bool show_stealing;
[23:19:18] <Malignant_Manor> config->value("config/ultima6/show_stealing", show_stealing);
[23:19:43] <Yuv422> ah you need to get the config element dynamically
[23:19:50] <Yuv422> based on the current game type
[23:20:18] <Yuv422> let me find an example
[23:21:30] <Yuv422> config_get_game_key(config);
[23:21:44] <Yuv422> show_eggs_key = config_get_game_key(config);
[23:21:44] <Yuv422> show_eggs_key.append("/show_eggs");
[23:22:06] <Yuv422> this will get a config key for the current game
[23:22:38] <Yuv422> brb
[23:36:04] <Yuv422> in this case what we need is a way to get config values from lua script
[23:36:26] <Malignant_Manor> There's one minor issue with hidden items. The lion statue giving "PRIVATE PROPERTY" message when the note is hidden in it.
[23:36:49] <Malignant_Manor> Since the statue now weights .1 instead of 0.
[23:37:08] <Yuv422> yeah that lion was always a pain
[23:38:59] <Malignant_Manor> I added the patch to the tracker. https://sourceforge.net/tracker/?func=detail&aid=3535596&group_id=76419&atid=547065
[23:44:11] <Yuv422> thanks
[23:44:21] <Yuv422> I'll add it in
[23:44:28] <Yuv422> I've got to go now though
[23:44:43] <Yuv422> I'll check it in later today
[23:44:51] <Yuv422> I've also got a fix for the event assert
[23:44:51] <Malignant_Manor> Bye
[23:44:57] <Yuv422> when dropping
[23:44:59] <Yuv422> cya
[23:45:45] <Malignant_Manor> I did some work on dragging in the game window but have a weird bug.
[23:46:27] <Malignant_Manor> The item that gets dragged still appears there when you try to drag on that tile again.
[23:46:28] <Yuv422> the event system is quite fragile :(
[23:46:46] <Yuv422> hmm
[23:47:00] <Yuv422> that doesn't sound good
[23:47:06] <Yuv422> gotta go
[23:47:06] <Yuv422> cya
[23:47:13] <-- Yuv422 has left IRC (Quit: Yuv422)
[23:47:30] <Malignant_Manor> I didn't really look into it.
[23:48:36] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.88.2 [Firefox 13.0/20120601045813])