#gemrb@irc.freenode.net logs for 5 Feb 2013 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[00:06:10] <-- edheldil_ has left IRC (Ping timeout: 244 seconds)
[00:55:50] --> tomprince has joined #gemrb
[01:03:23] <-- traveler__ has left IRC (Ping timeout: 245 seconds)
[01:52:12] --> brada has joined #gemrb
[03:01:35] --- ermo is now known as ermo^
[03:46:01] --> ermo has joined #gemrb
[03:53:25] <-- ermo^ has left IRC (*.net *.split)
[04:47:07] <-- brada has left IRC (Quit: brada)
[04:59:43] --> brada has joined #gemrb
[05:30:23] --> cj_schnell has joined #gemrb
[05:32:42] <-- AndChat|339824 has left IRC (Ping timeout: 244 seconds)
[06:12:56] <-- WingedHussar has left IRC (Ping timeout: 255 seconds)
[06:22:05] --> WingedHussar has joined #gemrb
[06:22:18] <-- cj_schnell has left IRC (Ping timeout: 244 seconds)
[06:22:43] --> cj_schnell has joined #gemrb
[06:58:24] --> Avenger has joined #gemrb
[06:59:51] <Avenger> hehe, yesterday: [07:43:48] <Avenger> ... [19:52:20] <lynxlynxlynx> ... I guess, i have to log on afternoons :D
[07:01:05] <-- Avenger has left IRC (Client Quit)
[07:01:29] --> AndChat|339824 has joined #gemrb
[07:04:08] <-- cj_schnell has left IRC (Ping timeout: 256 seconds)
[07:04:33] --> cj_schnell has joined #gemrb
[07:04:33] <-- AndChat|339824 has left IRC (Read error: Connection reset by peer)
[07:05:46] <-- brada has left IRC (Quit: brada)
[07:08:40] --> AndChat|339824 has joined #gemrb
[07:08:41] <-- cj_schnell has left IRC (Read error: Connection reset by peer)
[07:11:08] --> cj_schnell has joined #gemrb
[07:13:11] <-- AndChat|339824 has left IRC (Ping timeout: 260 seconds)
[07:43:01] <-- cj_schnell has left IRC (Quit: Bye)
[07:43:28] --> cj_schnell has joined #gemrb
[07:51:19] --> AndChat|339824 has joined #gemrb
[07:54:21] <-- cj_schnell has left IRC (Ping timeout: 276 seconds)
[07:54:43] --> cj_schnell has joined #gemrb
[07:58:08] <-- AndChat|339824 has left IRC (Ping timeout: 255 seconds)
[08:26:43] --> edheldil_ has joined #gemrb
[08:27:25] --> AndChat|339824 has joined #gemrb
[08:29:43] <-- cj_schnell has left IRC (Ping timeout: 260 seconds)
[08:30:22] --> 1JTAAIFPU has joined #gemrb
[08:32:03] <-- AndChat|339824 has left IRC (Ping timeout: 260 seconds)
[08:57:50] --> cj_schnell has joined #gemrb
[08:58:31] --> AndChat|339824 has joined #gemrb
[08:59:47] <-- 1JTAAIFPU has left IRC (Ping timeout: 248 seconds)
[09:02:01] <-- cj_schnell has left IRC (Ping timeout: 240 seconds)
[09:06:55] --> AndChat-339824 has joined #gemrb
[09:06:55] <-- AndChat|339824 has left IRC (Read error: Connection reset by peer)
[09:08:39] --> AndChat|339824 has joined #gemrb
[09:08:39] <-- AndChat-339824 has left IRC (Read error: Connection reset by peer)
[09:16:09] --> lynxlynxlynx has joined #gemrb
[09:16:09] <-- lynxlynxlynx has left IRC (Changing host)
[09:16:09] --> lynxlynxlynx has joined #gemrb
[09:16:09] --- ChanServ gives channel operator status to lynxlynxlynx
[09:41:13] <-- nutron has left IRC (Ping timeout: 244 seconds)
[09:53:54] --> nutron has joined #gemrb
[09:59:51] --> Avenger has joined #gemrb
[10:00:39] <Avenger> hi Lynx. So, what's the conclusion? GlobalTimerExpired works differently?
[10:00:54] <fuzzie> it did sound like it
[10:01:04] <Avenger> hello fuzzie :)
[10:01:16] <lynxlynxlynx> looks like it
[10:01:34] <lynxlynxlynx> it is clearly bad for bg2 and completely fixes this totl bug
[10:01:45] <fuzzie> and, morning :)
[10:01:45] <Avenger> you wouldn't believe even the smallest quirk can be gameblocker, would you :D
[10:01:55] <lynxlynxlynx> i didn't know about the other variants (gt, lt), so i just left them alone
[10:02:23] <lynxlynxlynx> it's hard to get surprised anymore
[10:03:01] <Avenger> in bg[1/2] i guess if the variable doesn't exist it is considered false.
[10:03:48] <edheldil> hi all
[10:04:07] <Avenger> pst is likely the same. iwd1 is a question as this mouth is added later, right?
[10:04:29] <lynxlynxlynx> yep
[10:04:42] <lynxlynxlynx> like the commit said, i made the minimal change
[10:05:03] <Avenger> actually, i thought this is 'fixed' only in iwd2. i didn't expect totl or how have it.
[10:05:45] <lynxlynxlynx> unrelated, do you know if the games use a different holder for the last spell target and last attack target? We have it all in LastTarget, but then iwd2's SetSpellTarget (trigger) and SetMyTarget(action) look identical
[10:06:15] <lynxlynxlynx> (SetMyTarget being currently unimplemented in the main tree)
[10:06:22] <fuzzie> iwd2 is really different in that sense
[10:07:17] <Avenger> having it in both trigger and action makes sense for some advanced combat scripts
[10:07:18] <lynxlynxlynx> it's the only often used action left
[10:07:54] <fuzzie> from notes, I think MyTarget and SpellTarget objects are different
[10:07:59] <Avenger> in trigger, it is replacing the bg2 trick using lastseen
[10:08:01] <fuzzie> but I haven't looked at RE
[10:08:42] <fuzzie> but there are scripts which clear one (set to Nothing) and then check the other, for example
[10:08:57] <lynxlynxlynx> for spells there's also LastTargetPos, maybe that's why they used different objects
[10:09:26] <Avenger> it could be different, though. setmytarget seems to be the attack target, right?
[10:10:26] <fuzzie> yes
[10:10:48] <Avenger> it makes sense to clear the attack target before casting spell, i guess.
[10:11:25] <Avenger> or you end up casting a marked buff on your opponent :D
[10:11:43] <Avenger> so yeah, i agree, they should be different
[10:11:55] <fuzzie> usually the scripts make sure to get rid of pending marked spells too :)
[10:12:16] <lynxlynxlynx> the scripts look pretty fine
[10:12:33] <lynxlynxlynx> mostly for demons i think, so you would notice anything only pretty late in the game
[10:12:44] <Avenger> yes, iwd2 combat scripts are good. too good
[10:13:33] <Avenger> cu later
[10:13:38] <-- Avenger has left IRC (Quit: Page closed)
[10:16:35] <-- AndChat|339824 has left IRC (Ping timeout: 252 seconds)
[10:17:02] --> cj_schnell has joined #gemrb
[10:18:29] <lynxlynxlynx> too good :)
[11:01:46] --> rocket_hamster has joined #gemrb
[11:07:20] <-- rocket_hamster has left IRC (Quit: BuhBye!)
[11:41:02] --> traveler__ has joined #gemrb
[12:36:25] <lynxlynxlynx> fuzzie: leaveareaname? :(
[12:38:47] <fuzzie> I am, amazingly, still doing statistics right now.
[12:38:58] <fuzzie> 5 days after the final exam.
[12:39:20] <fuzzie> It is on my TODO though. Instants may well be more important though.
[12:40:50] <fuzzie> Not because it'll fix much but because it might break stuff.
[12:50:34] --> rocket_hamster has joined #gemrb
[12:52:37] <lynxlynxlynx> at this point, near the next release, the reverse order would be better
[12:52:51] <lynxlynxlynx> or do it in a branch/hub
[13:08:08] <fuzzie> it's always near the next release :)
[13:08:11] <fuzzie> but yes.
[13:27:49] <lynxlynxlynx> not really, it's more than two months since the last and we are only entering the proximity now
[13:29:03] <lynxlynxlynx> but we do have a flexible process for this
[14:56:18] <-- rocket_hamster has left IRC (Read error: Connection reset by peer)
[15:21:41] <-- |Cable| has left IRC (Ping timeout: 245 seconds)
[15:29:39] --> AndChat|339824 has joined #gemrb
[15:29:50] <-- cj_schnell has left IRC (Read error: Connection reset by peer)
[15:30:42] --> cj_schnell has joined #gemrb
[15:34:05] <-- AndChat|339824 has left IRC (Ping timeout: 255 seconds)
[15:35:06] --> |Cable| has joined #gemrb
[15:36:41] --> kida has joined #gemrb
[15:46:01] --> rocket_hamster has joined #gemrb
[15:49:18] --> AndChat|339824 has joined #gemrb
[15:49:24] <-- cj_schnell has left IRC (Read error: Connection reset by peer)
[15:49:45] <-- AndChat|339824 has left IRC (Remote host closed the connection)
[16:01:48] --> brada has joined #gemrb
[16:03:23] <-- traveler__ has left IRC (Ping timeout: 245 seconds)
[16:03:41] <-- rocket_hamster has left IRC (Quit: BuhBye!)
[16:19:05] <-- |Cable| has left IRC (Ping timeout: 255 seconds)
[16:33:08] --> |Cable| has joined #gemrb
[16:56:16] <-- kida has left IRC (Ping timeout: 246 seconds)
[17:08:48] --> Avenger has joined #gemrb
[17:08:48] --- ChanServ gives channel operator status to Avenger
[17:09:04] <Avenger> hello!
[17:09:26] <Avenger> what was the name of the static analyser used on gemrb?
[17:09:35] <fuzzie> i think people only used clang
[17:09:37] <lynxlynxlynx> clang's
[17:09:42] <Avenger> ok, thanks
[17:09:51] <lynxlynxlynx> i've used cppcheck before, but it is mostly noise
[17:10:00] <fuzzie> the pvs studio people would probably be happy to give a temp license if someone has the time to check
[17:10:33] <lynxlynxlynx> perhaps also the c... uhh some other one
[17:12:06] <lynxlynxlynx> hmpf, can't find it
[17:12:22] <lynxlynxlynx> some bigger project have continuous testing on their platform
[17:12:29] <lynxlynxlynx> wine and kde come to mind
[17:13:29] <Avenger> i looked at globaltimerexpired, and found iwd2 definitely returns true on non existent variable. I need to check iwd1 i guess?
[17:14:07] <Avenger> pfft, maybe i don't even have a db for iwd1
[17:15:37] <Avenger> pst was easy, it is same as bg1/2
[17:17:52] <lynxlynxlynx> ah coverity
[17:22:52] <lynxlynxlynx> it seems open, i'll register us for a scan
[17:33:11] <lynxlynxlynx> Avenger: also please check which all other timer triggers are affected by it
[17:33:28] <Avenger> notexpired and exact are not
[17:33:47] <Avenger> only expired is affected, so far i saw it in iwd2, and you noticed by experience in how
[17:34:07] <lynxlynxlynx> Started?
[17:34:26] <lynxlynxlynx> and i guess the same then applies to the Real timers
[17:34:46] <Avenger> started is a trigger too?
[17:34:48] <Avenger> hmm
[17:35:17] <Avenger> ok looking at them, but i just started a db for iwd1, it takes some time
[17:36:07] <lynxlynxlynx> you mean iwd1 without how?
[17:36:56] <lynxlynxlynx> we have GlobalTimerStarted, but there's also a note that it may be identical to GlobalTimerNotExpired
[17:37:36] <lynxlynxlynx> i guess it is in the other case, where 0 would be invalid
[17:38:23] <lynxlynxlynx> let's see who's using it at all
[17:39:08] <lynxlynxlynx> nobody
[17:40:31] <lynxlynxlynx> ah, it's not our extension, iwd2 does have it in trigger.ids
[17:40:56] <lynxlynxlynx> no other games and no uses
[17:48:30] <Avenger> yeah, but i doubt they added a new trigger, maybe they differ by the variable existance, i'll look
[17:48:50] <Avenger> i mean i doubt they added a new trigger number just for an alias
[17:49:52] <-- edheldil_ has left IRC (Read error: Operation timed out)
[17:59:37] <lynxlynxlynx> mhm
[18:12:00] <-- brada has left IRC (Quit: brada)
[18:25:35] <Avenger> ok, iwd1 also sets 1 when variable was not existent
[18:31:14] <lynxlynxlynx> cool
[18:33:02] <Avenger> globaltimerstarted seems to be the old globaltimerexpired
[18:33:32] <Avenger> hmm, that doesn't make sense, right?
[18:35:36] <lynxlynxlynx> right
[18:35:38] <Avenger> ok, i take that back, it is basically, if the variable exists, it is started.
[18:36:20] <lynxlynxlynx> so just a non-zero check?
[18:36:23] <Avenger> no
[18:36:32] <Avenger> the variable can exist and be a 0 value
[18:37:02] <Avenger> globaltimerstarted means the variable is not in the structure (not in game, area, or creature)
[18:37:08] <Avenger> i mean, it IS in
[18:37:30] <lynxlynxlynx> we check the validity only when the area may be missing, others are automatically true
[18:37:54] <Avenger> yes, we auto assume 0 value
[18:38:17] <Avenger> but these timer triggers ignore that sometimes
[18:38:51] <Avenger> iwd has no realglobaltimers?
[18:39:44] <lynxlynxlynx> seems so
[18:39:53] <Avenger> so i'm sure they behave bg2 like
[18:40:56] <Avenger> yes, variable doesn't exist --> false
[18:41:38] <lynxlynxlynx> ok, then they're covered
[18:44:36] --> brada has joined #gemrb
[18:45:25] --> Yoshimo has joined #gemrb
[18:58:19] <-- Yoshimo has left IRC (Quit: Yoshimo)
[19:16:46] <-- Avenger has left IRC (Quit: bye!)
[19:55:06] --> edheldil_ has joined #gemrb
[21:02:23] --> Yoshimo has joined #gemrb
[21:12:36] <-- brada has left IRC (Quit: brada)
[21:15:39] --> traveler__ has joined #gemrb
[21:18:17] --> brada has joined #gemrb
[21:19:24] <traveler__> https://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis
[21:19:26] <Seniorita> List of tools for static code analysis - Wikipedia, the free encyclopedia
[21:19:38] <traveler__> some time ago coverity had special license for freebsd project
[21:19:52] <traveler__> so don't know about this openess now
[21:20:21] <lynxlynxlynx> it runs for tens of projects
[21:20:28] <lynxlynxlynx> no reply yet though
[21:21:11] <traveler__> humph
[21:21:12] <traveler__> http://www.freebsd.org/doc/en/articles/committers-guide/coverity.html
[21:21:15] <Seniorita> Coverity Prevent Availability for FreeBSD Committers
[21:21:17] <traveler__> maybe it was some special package
[21:25:29] <fuzzie> well, not 'open', but as a non-profit open source project you can get access for a few devs
[21:40:58] <traveler__> i get it, but maybe coverity prevent was some special package too, i think this was their commercial one
[21:41:07] <traveler__> i don;t see info about it though
[21:49:21] <fuzzie> it's always per-project agreements
[21:49:56] <fuzzie> so probably freebsd people just got a deal for the whole thing rather than just one piece of software at a time?
[22:45:27] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[22:58:49] <traveler__> yeah, sounds like it
[22:58:52] <traveler__> bit it was 2006
[22:59:08] <traveler__> not much info on this "prevent" product
[23:24:30] <-- brada has left IRC (Quit: brada)