#nuvie@irc.freenode.net logs for 2 Mar 2014 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage


[00:06:15] <Yuv422> hmm alt-214 seems to be broken. :(
[02:13:01] --> Malignant_Manor has joined #nuvie
[02:13:27] <Malignant_Manor> Yuv422: It worked when I played through the game.
[02:15:32] <Yuv422> hey Malignant_Manor
[02:15:42] <Yuv422> I think it doesn't accept hex values
[02:16:50] <Malignant_Manor> it always accepts them
[02:17:21] <Malignant_Manor> I thought
[02:17:41] <Malignant_Manor> and didn't use base 10 numbers
[02:18:44] <Malignant_Manor> ah
[02:18:53] <Malignant_Manor> numbers only problem probably
[02:19:01] <Malignant_Manor> I see letters not working
[02:20:07] <Yuv422> it looks like a fairly simple fix
[02:21:01] <Malignant_Manor> Maybe 1891 broke it
[02:22:16] <Malignant_Manor> probably comparing 0123456789 but missing abcdef
[02:22:31] <Malignant_Manor> since it reaches the end of what it is comparing
[02:24:35] <Malignant_Manor> get_scroll_input() has set_numbers_only_to_true as true by default
[02:25:09] <Malignant_Manor> when allowed = NULL by default which would be wrong.
[02:25:48] <Malignant_Manor> I will have to set it to false by default or have allowed be 012346789 by default
[02:26:45] <Malignant_Manor> allowed being null by default seems wrong
[02:27:59] <Malignant_Manor> it seems like numbers are overwhelmingly the default
[02:30:35] <Malignant_Manor> Yuv422: do we want hex for anything other than teleporting? Does the game know the input numbers are hex without something like 0x or letters in it?
[02:35:32] <Malignant_Manor> It seems like hex doesn't work unless it has letters.
[02:36:40] <Yuv422> I dn;t think anything else uses hex
[02:36:54] <Yuv422> maybe some stuff in the spam menu
[02:37:01] <Yuv422> you shouldn't use 0x
[02:37:20] <Yuv422> I think you need to use 16 in the strtol function
[02:37:31] <Yuv422> I can fix it if you like
[02:37:59] <Malignant_Manor> I think teleport should use hex only
[02:38:11] <Yuv422> yes
[02:38:24] <Malignant_Manor> The rest should use numbers
[02:39:26] <Malignant_Manor> so line 191 in Event.h needs *allowed = "0123456789"
[02:39:48] <Malignant_Manor> and the teleport code needs changed
[02:40:42] <Yuv422> why do we need the allowed argument and the set_number_only_to_true?
[02:41:10] <Yuv422> couldn't the number only mode be accomplished with only the allowed argument?
[02:41:43] <Malignant_Manor> I don't believe set_number_only_to_true would be needed any more but would need to look at the code.
[02:41:51] <Malignant_Manor> I really doubt it is needed.
[02:42:11] <Malignant_Manor> I should have done the allowed = change in the first place
[02:44:59] <Malignant_Manor> I am sharing a cable instead of using a hub.
[02:45:10] <Malignant_Manor> I will undo the numbers only part.
[02:45:26] <Malignant_Manor> I need to log now. Be back in a sec.
[02:45:36] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424])
[02:54:57] --> Malignant_Manor has joined #nuvie
[02:55:58] <Malignant_Manor> Yuv422: I'm testing compilation and writing changelog notes.
[02:56:14] <Yuv422> righto
[02:57:03] <Malignant_Manor> MsgScroll checks string length for numbers only so it wouldn't make any sense to use that bool.
[03:00:53] <Malignant_Manor> I even added the string length check the same revision.
[03:01:39] <Malignant_Manor> Yuv422: did you forget to update the changelog?
[03:02:20] <Yuv422> I didn't think I did
[03:02:26] * Yuv422 checks
[03:02:30] <Malignant_Manor> Yes
[03:02:32] <Malignant_Manor> will fix
[03:02:42] <Yuv422> cool thanks
[03:04:25] <Malignant_Manor> hmm
[03:04:31] <Malignant_Manor> glad I tested
[03:04:48] <Yuv422> found something else?
[03:04:56] <Malignant_Manor> will have to make input null for hex or it will only accept one character
[03:05:08] <Malignant_Manor> oh, yeah
[03:05:18] <Malignant_Manor> That numbers only is needed.
[03:06:03] <Malignant_Manor> for numbers that need more than one digit returned
[03:06:24] <Yuv422> ah k
[03:07:11] <Malignant_Manor> So I guess I need to leave it at NULL.
[03:07:56] <Yuv422> yeah at this stage lets make small changes
[03:14:56] <Malignant_Manor> Yuv422: I just commited
[03:15:20] <Malignant_Manor> so it is okay to start coding hex only for teleport cheat
[03:16:11] <Malignant_Manor> I wonder if the preset teleport coordinates have any that are wrong because of using hex but no letter.
[03:23:57] <Malignant_Manor> Nuvie acted like the original engine and anytime you set the allowed characters, it would only allow one character. The bool was a workaround to allow for multiple digits.
[03:25:50] <Malignant_Manor> I still have no idea why the original engine didn't include that. It would have made things much better for joystick users (which wasn't an input option back then).
[03:42:47] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424])
[08:11:50] <-- Yuv422 has left IRC (Quit: Yuv422)
[20:01:42] --> Yuv422 has joined #nuvie
[20:17:15] * Yuv422 looks through the irc logs
[20:17:37] <Yuv422> Nuvie's anniversary is coming up
[20:17:48] <Yuv422> I'll try not to miss it this time
[20:19:00] <Yuv422> it might be cool to do the 0.5 release then too
[20:19:11] <Yuv422> 11 years to get to 0.5
[20:20:06] <Yuv422> Here's my first post about the possibility of creating the nuvie project. In the exult logs.
[20:20:11] <Yuv422> [11:46:20] <Yuv422> The forum has got me interested in a U6 port again ;)
[20:20:12] <Yuv422> [11:47:55] <Yuv422> I might see if I can get U6 running on the mac using bochs
[20:20:12] <Yuv422> [11:50:16] <Yuv422> maybe if I make a U6 map editor for linux people will turn it into a fully functional game engine! ;)
[20:20:12] <Yuv422> [11:52:35] <wjp> :-)
[20:20:12] <Yuv422> [11:53:19] <Darke> It's not like *that* will ever happen!
[20:20:33] <Yuv422> #exult@irc.freenode.net logs for 23 Feb 2003 (GMT)
[20:30:15] --> Malignant_Manor has joined #nuvie
[20:31:09] <Malignant_Manor> Yuv422: when is the anniversary?
[20:35:26] <Malignant_Manor> Do you have time to look into volcanoes and fumaroles?
[20:40:21] <Yuv422> Hi Malignant_Manor
[20:40:25] <Yuv422> the 14th
[20:40:54] <Yuv422> which is when I registered the project on sf.net
[20:41:09] <Malignant_Manor> It's a long wait until the anniversary.
[20:42:05] <Malignant_Manor> fumaroles and volcanoes would need to use distance from the player instead of being on screen.
[20:42:15] <Yuv422> yeah
[20:42:31] <Yuv422> I'
[20:42:32] <Malignant_Manor> mapcoord distance and not attack range distance
[20:42:38] <Yuv422> I'll have a look at it
[20:43:04] <Malignant_Manor> You knew where the logic was awhile back
[20:43:22] <Lightkey> March?
[20:44:32] <Yuv422> Lightkey: yeah
[20:44:55] <Yuv422> Malignant_Manor: what did you change on the telescope logic?
[20:45:06] <Lightkey> why is it a long wait then? :-)
[20:45:36] <Yuv422> hehe that's a long wait by Malignant_Manor's standards
[20:46:09] <Malignant_Manor> Almost 2 weeks
[20:46:35] <Malignant_Manor> last release was a long time ago
[20:46:53] <Malignant_Manor> I just had it not show the cursor to tell the game that we really need a direction instead of a location.
[20:47:34] <Malignant_Manor> Otherwise you got the target cursor and have to press enter to start the telescope.
[20:49:00] <Yuv422> is this with the mouse?
[20:49:28] <Malignant_Manor> with the keyboard
[20:49:43] <Malignant_Manor> This is with fullscreen input.
[20:50:10] <Yuv422> what happened to || push_actor)
[20:50:17] <Yuv422> is that no longer needed?
[20:50:24] <Malignant_Manor> it is in the bool function
[20:50:57] <Yuv422> I'm just looking at the diff
[20:50:59] <Yuv422> - if((input.get_direction && (map_window->get_interface() == INTERFACE_NORMAL || last_mode == CAST_MODE)) || push_actor)
[20:50:59] <Yuv422> + if((input.get_direction && (map_window->get_interface() == INTERFACE_NORMAL || last_mode == CAST_MODE)) ||
[20:50:59] <Yuv422> + dont_show_target_cursor())
[20:51:32] <Malignant_Manor> Event::dont_show_target_cursor() { if(do_not_show_target_cursor || push_actor) return true
[20:51:50] <Yuv422> righto
[20:52:35] <Yuv422> also Game::get_game()->get_event()->do_not_show_target_cursor = true;
[20:52:46] <Yuv422> we should have a setter method here
[20:53:02] <Malignant_Manor> I was lazy and used public
[20:53:14] <Malignant_Manor> when I implemented it.
[20:53:52] <Yuv422> ;)
[20:54:05] <Yuv422> lets clean that up after release
[20:54:25] <Malignant_Manor> I don't see it ever needing anything else done when set.
[20:55:10] <Malignant_Manor> It is more c++ preferred method (bloat).
[20:55:54] <Yuv422> it makes your class interaction cleaner
[20:55:58] <Malignant_Manor> Well, object oriented not really c++
[20:57:10] <Yuv422> I've got to go now
[20:57:11] <Yuv422> cya
[20:57:25] <Malignant_Manor> bye
[20:57:28] <-- Yuv422 has left IRC (Quit: Yuv422)
[21:10:39] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424])