#exult@irc.freenode.net logs for 27 Apr 2007 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:04:02] --> Kirben has joined #exult
[00:04:02] --- ChanServ gives channel operator status to Kirben
[00:09:35] --> Marzo has joined #exult
[00:09:44] <-- SB-X has left IRC ("*casts gate travel*")
[00:09:48] --- Marzo is now known as Marzo_away
[00:21:49] <Pupnik> ow combat is cpu intensive
[00:22:11] <Pupnik> and after enemies are killed, i'm getting about 30 second freezes
[00:22:47] <Pupnik> then the victory music plays and in about 10 seconds i have control back
[00:27:41] * Pupnik tests w/o music
[00:32:20] <Pupnik> heh crash
[00:55:03] <Pupnik> yeah hangups were my fault
[00:55:55] --- Marzo_away is now known as Marzo
[00:56:00] <Marzo> How so?
[01:01:00] <Pupnik> not sure why but i saw it starting several mp3s
[01:01:43] <Marzo> Could be combat music
[01:02:04] <Marzo> (or maybe sfx)
[01:04:08] <Pupnik> once i get the dsp-accelerated mp3 playback linked-in, it should work better
[01:04:41] <Pupnik> will avoid the system() call and be able to do things like test playback etc
[01:04:51] <Pupnik> the ogg playback functions should then work properly
[01:05:22] <Pupnik> btw that gamewin.cc is calling the audio events frequently
[01:05:31] <Pupnik> not sure why yet
[01:05:38] <Pupnik> unsigned long delay = 8000;
[01:05:43] <Pupnik> that's the initial delay setting
[01:05:55] <Pupnik> but then if ogg is enabled, delay gets set down to 1500
[01:06:22] <Pupnik> hmm but that's for the random sound effects only?
[01:06:44] <Marzo> Yes, I think so
[01:06:52] <Pupnik> yeah it is
[01:07:11] <Pupnik> well regardless, i shouldn't touch anything in gamewin
[01:07:36] <Pupnik> just implement the nokia substitute functions for ogg playback
[01:07:40] <Pupnik> clean and reliably
[01:07:59] --> Colourless has joined #Exult
[01:07:59] --- ChanServ gives channel operator status to Colourless
[01:08:12] <Pupnik> project noobs who start looking at code are sometimes like bulls in a china shop :)
[01:08:17] <Pupnik> hi Colourless :)
[01:11:09] <Pupnik> i wish you could see it though, it's so beautiful with scale2x at 800x480
[01:11:15] <Pupnik> my photo doesn't do it justice
[01:12:09] <-- Kirben has left IRC ("System Meltdown")
[01:14:13] <Pupnik> another cool thing is 'top' reports exult using %19 cpu at idle and 49% when walking around
[01:14:25] <Pupnik> with x server ranging between 10 and 15%
[01:14:37] <Marzo> 10 fps?
[01:14:43] <Pupnik> got it set to 5fps
[01:14:50] <Pupnik> normally i get about 5-8 fps walking around
[01:15:46] <Pupnik> setting the game to 10fps gives more lags
[01:16:50] <Pupnik> frequently i'm getting no combat sound effects
[01:18:19] <Pupnik> ok another hang while disabling combat with 'c'
[01:18:25] <Pupnik> this time w/o music
[01:18:41] <Pupnik> about 10 sec
[01:24:22] <Pupnik> this gamma setting is sweet - going to be great for playing outdoors
[01:39:26] --> Kirben has joined #exult
[01:39:26] --- ChanServ gives channel operator status to Kirben
[01:51:30] <Pupnik> good job with the resolution independence btw
[01:51:57] <Pupnik> text wraps fine, player icons positioned fine, intro plasma effect all working at nonstandard 400x240 res
[01:52:55] <Pupnik> only intro screen failing to double-scale with scale2x
[02:19:01] --- Marzo is now known as Marzo_away
[02:39:09] <-- Colourless has left IRC (Read error: 104 (Connection reset by peer))
[02:50:07] --> Colourless has joined #Exult
[02:50:09] --- ChanServ gives channel operator status to Colourless
[02:59:25] <-- Darke has left IRC (Read error: 104 (Connection reset by peer))
[03:15:39] --> Darke has joined #exult
[04:14:35] <-- Marzo_away has left IRC ("Marzo vanishes suddenly.")
[04:44:21] --- Lord_Nightmare is now known as LordNAway
[05:42:24] <-- Sevalecan has left IRC (Read error: 104 (Connection reset by peer))
[05:42:55] --> Sevalecan has joined #exult
[08:40:50] <-- Baastuul has left IRC ("Oh, how I've dreamt of taps.")
[08:48:15] --> Baastuul has joined #exult
[08:58:09] <Pupnik> i saw some of the discussion on path setting cost (A*)
[08:58:49] <Pupnik> is that the main candidate for pauses during walking around?
[08:59:22] <Pupnik> the responsiveness of certain actions seems tied to global framerate
[08:59:39] <Pupnik> picking an item-up (dragging). moving a window (inventory)
[09:01:06] <Pupnik> i'm guessing those could be improved
[09:06:40] <-- Kirben has left IRC ("System Meltdown")
[09:56:15] <wjp> yeah, I think pathfinding would be the main candidate
[09:56:36] <wjp> in some cases maybe very complex/lengthy scripts as well
[10:23:01] <Pupnik> good overview of A* pathfinding http://www.policyalmanac.org/games/aStarTutorial.htm
[10:36:40] --> Kirben has joined #exult
[10:36:40] --- ChanServ gives channel operator status to Kirben
[11:50:38] * Pupnik stumbles through Newfile_cump.cc
[12:11:56] <-- Colourless has left IRC ("casts improved invisibility")
[13:15:33] <Pupnik> Auto-savegame naming works :)
[13:30:26] <Pupnik> hrm ok adding keys to shortcuts... in exult.cc the default case when it finds SDL_KEYDOWN is
[13:30:51] <Pupnik> if (chr) then it returns *chr
[13:30:59] <Pupnik> but who handles *chr ? :)
[13:34:02] <Pupnik> and case SDL_KEYDOWN: is a stub
[13:34:39] <Pupnik> strange that the screenshot handling is under getclick, not Handle_event
[13:45:15] <wjp> well, Get_click is a bit ugly
[13:45:31] <wjp> it's a separate event loop for when the game is waiting for input
[13:45:44] <wjp> so some of the global keybindings are duplicated in there
[13:45:47] <Pupnik> ok where do i look to add an alias to 'combat' "c" key?
[13:45:57] <wjp> (ok, so it's not a 'bit ugly' but 'very ugly')
[13:45:57] <Pupnik> i need to add buttons F5, F6, F7 to actions
[13:46:07] <wjp> those bindings are all configurable in text files
[13:46:57] <wjp> look in data/bg/defaultkeys.txt and data/si/defaultkeys.txt
[13:47:53] <Pupnik> thank you, sir!
[13:49:47] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[13:50:41] <Pupnik> for the 3 free buttons, i think i'll bind them to combat, map and food
[13:51:28] <Pupnik> does the player ever need to pull-up 'spellbook' quickly for combat?
[13:51:48] <wjp> I never use spells much in combat myself
[14:07:36] <Pupnik> ah i see it's in the cfg also
[14:20:47] <wjp> keyring is a useful key as well
[15:38:08] <-- Baastuul has left IRC ("Oh, how I've dreamt of taps.")
[15:44:03] --> Baastuul has joined #exult
[16:40:39] --> Cahaan has joined #exult
[17:04:05] <-- Darke has left IRC (Read error: 104 (Connection reset by peer))
[17:07:55] --> Fingolfin has joined #exult
[17:07:55] --- ChanServ gives channel operator status to Fingolfin
[17:20:05] --> Darke has joined #exult
[20:22:17] --> pwr has joined #exult
[20:33:29] --> Kazin has joined #exult
[20:44:51] <-- Kazinstan has left IRC (Read error: 110 (Connection timed out))
[20:57:22] <-- Baastuul has left IRC ("Oh, how I've dreamt of taps.")
[22:42:51] --> Kirben has joined #exult
[22:42:51] --- ChanServ gives channel operator status to Kirben
[23:10:06] --> Pupnik_ has joined #exult
[23:22:13] <-- Pupnik has left IRC (Read error: 110 (Connection timed out))
[23:25:51] --> Marzo has joined #exult
[23:28:09] <-- Fingolfin has left IRC ()
[23:54:29] --- Pupnik_ is now known as Pupnick