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

Archive Today Yesterday Tomorrow
GemRB homepage


[00:03:15] <traveler_> orange dizzy head?
[00:03:42] <traveler_> ok...
[00:04:27] <lynxlynxlynx> Display portrait icon
[00:04:32] <lynxlynxlynx> or something like that
[00:05:38] <traveler_> http://img62.imageshack.us/img62/8669/201302020101491440x900s.png pure cheese before sarevok, (well for what i would be saving potions anyway...)
[00:05:51] <traveler_> but you can see this icon i'm speaking about
[00:06:06] <traveler_> still, potion of heroism looks too strong for me
[00:06:22] <traveler_> espicially given how many of it cultists have left
[00:06:45] <traveler_> too strong because it's effects are cumulative
[00:06:46] <lynxlynxlynx> 400 hp :s
[00:06:53] <traveler_> base is 155
[00:07:00] <traveler_> yeah, that potion of heroism
[00:07:08] <traveler_> all legit, not cheated too
[00:07:26] <traveler_> as i've said, cumulative looks a bit fishy
[00:18:53] <lynxlynxlynx> the games are full of exploits
[00:19:12] <lynxlynxlynx> even the infamous ia can't get them all
[00:19:42] <traveler_> yeah but i thought that this potion is rare enough to not pose a problem
[00:20:02] <traveler_> but as i've said cultists drop it left and righ in stack of 3-4
[00:20:05] <lynxlynxlynx> i've never used it to be frank
[00:20:13] <lynxlynxlynx> does it give a % bonus?
[00:20:18] <lynxlynxlynx> like potions of power
[00:21:08] <traveler_> its one of costliest potions to buy and maybe six of them in all shops
[00:21:45] <traveler_> 90% THACO, +10% HPs
[00:22:41] <traveler_> i know it's used for speedrunning
[00:26:37] <lynxlynxlynx> 10% of 155 is 15, how many did you drink? :D
[00:26:51] <traveler_> oh, if you like you can add/or not to NEWS that bg1+tosc is 100% completable. maybe it's not news worthy though... but full durlag's tower was not possible before.
[00:26:59] <traveler_> i don't know, all of them
[00:27:01] <traveler_> ;)
[00:27:07] <traveler_> + con bonus etc
[00:27:13] <traveler_> see stats
[00:28:02] <traveler_> 10% of 155 is 15, but then you have 170 and 17 etc
[00:28:12] <traveler_> cumulative
[00:28:33] <lynxlynxlynx> yeah but that's not fast
[00:28:49] <lynxlynxlynx> if 155 was meant without the con bonus, then it makes more sense
[00:29:04] <traveler_> yeah 155 with natural 19 con
[00:29:07] <lynxlynxlynx> and thanks for checking totsc
[00:29:25] <traveler_> it was a pleasure for me
[00:31:16] <lynxlynxlynx> :)
[00:31:54] <traveler_> now i;m only waiting for angelo to become visible to get him
[00:32:10] <traveler_> then it's final low for sarevok at last
[00:34:17] <fizzle> khalid claims to be running fighter2.bcs but I cannot find that script...
[00:34:35] <fizzle> it's producing very odd results
[00:35:03] <traveler_> btw, Islanne ghost have led me astray long time ago... it always gives dialogue option to stay in tower and not be sent back instantly. even after demonknight fight. i think i was lost in tower seeking nonexistent quests because of it and i've lost patience then >.<
[00:37:58] <lynxlynxlynx> i only have fighter4 in this dump, but i think it is missing totsc
[00:38:10] <lynxlynxlynx> also could be in the player scripts dir
[00:38:18] <fizzle> I only have fighter4 as well
[00:38:21] <lynxlynxlynx> dltcep or ni should find it if it exists
[00:40:12] <fizzle> I can't find it with ni
[00:40:27] <fizzle> but it's doing *something* in-game
[00:42:08] <Seniorita> [commit] Jens Granseuer: bg1: add some more missing triggers used by TotSC http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=373a799de15d6e89af7e901ff0bf08eb53b202fc
[00:42:09] <Seniorita> [commit] Jens Granseuer: add strlcpy support http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=692366d35b3bf6b641a590cb3e9677d2a09318a0
[00:42:10] <Seniorita> [commit] Jens Granseuer: convert many strncpy users over to strlcpy http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=0e5d8c9ae164aee5adfe8c16d01fef1ebed0c15d
[00:44:55] <traveler_> fizzle: is this something i could notice?
[00:45:09] <fizzle> what "this"?
[00:45:37] <traveler_> this tosc triggers
[00:45:41] <fizzle> certainly
[00:45:46] <traveler_> where?
[00:46:23] <traveler_> i'm speaking of gameplay obviously
[00:46:30] <fizzle> I haven't checked everything but one of them for example causes damage when you walk over the slimey ground in durlag's tower
[00:47:07] <traveler_> ah
[00:47:11] <traveler_> true
[00:47:29] <fizzle> not sure where else they are used
[00:47:49] <fizzle> but I'm certain they are
[00:47:53] <traveler_> ok
[00:47:58] <traveler_> that's good
[00:48:30] <traveler_> i didn't have original running side by side, but i know where is this slime you are talking about
[00:54:24] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[00:54:31] <Seniorita> [commit] Jens Granseuer: fix erro from previous commit http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=5a5dea051f575f4b7dd3fe02139b0c2e91c11581
[00:55:35] <fizzle> man, I can't type anymore; time to go to bed
[00:58:02] <fizzle> gemrb claims there's a fighter2.bs in scripts/
[00:58:05] <fizzle> wherever that is
[00:58:40] <-- fizzle has left #gemrb
[01:23:42] <traveler_> lynx: 13 potions of heroism
[01:40:28] <-- traveler_ has left IRC (Ping timeout: 245 seconds)
[04:37:08] --- ermo is now known as ermo^
[05:50:06] <-- WingedHussar has left IRC (Ping timeout: 240 seconds)
[05:59:36] --> WingedHussar has joined #gemrb
[07:17:27] --> edheldil_ has joined #gemrb
[09:19:33] --> fizzle has joined #gemrb
[09:55:21] --> lynxlynxlynx has joined #gemrb
[09:55:25] <-- lynxlynxlynx has left IRC (Changing host)
[09:55:25] --> lynxlynxlynx has joined #gemrb
[09:55:25] --- ChanServ gives channel operator status to lynxlynxlynx
[10:03:35] <Seniorita> [commit] Jens Granseuer: fix off-by-one in variable lookup http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=f46b1abdeb4f122262660c732191f769360a7ea4
[11:14:46] <Seniorita> [commit] Jens Granseuer: refix 5a5dea05 http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=c9871f59496fbb63275dc1c2a78326858ca4aef4
[11:18:04] <lynxlynxlynx> never push after midnight :)
[11:18:57] --> Yoshimo has joined #gemrb
[11:19:03] <fizzle> absolutely
[11:23:21] <wjp> hm, are all our resrefs always null-terminated?
[11:23:51] <wjp> (if not, then we can't use strlcpy on them)
[11:27:20] <fizzle> not all of them but I didn't change those that aren't
[11:28:46] <fuzzie> um
[11:30:28] <fuzzie> isn't this exactly what I said not to do? :P
[11:30:46] <fuzzie> since now you changed behaviour
[11:31:10] <fizzle> of what?
[11:31:16] <fuzzie> of the resrefs
[11:32:13] <fuzzie> although, ok, maybe the only relevant ones have a memset() before
[11:34:06] <wjp> I'm starting to think a separate function for copying resrefs might be nice
[11:34:21] <fuzzie> (or an implicit one, due to struct zeroing)
[11:35:04] <fuzzie> well, strlcpy is a huge improvement for the codebase in any case
[11:35:06] <fuzzie> but, maybe
[11:35:37] <fuzzie> fizzle: ok, sorry, nm, it all looks probably-safe.
[11:36:20] <fuzzie> nice catch on the other bg1 triggers too.
[11:36:27] <fuzzie> i have no time to think about other resrefs.
[11:37:05] <fuzzie> it's a bit sad how fragile all the related code is right now though.
[11:37:38] <fuzzie> deciding to treat them either as strings or as not might be a nicer idea.
[11:38:31] <fuzzie> right now it's a real mess, especially since we generally write them unchanged to savegames, and thus it's easy to accidentally break something.
[11:39:34] <fuzzie> helper class maybe?
[11:39:48] <fuzzie> original engine is using a CResRef plus some template for saving them
[11:40:16] <fuzzie> which seems a bit unnecessarily complex
[11:40:37] <fuzzie> especially since they're almost universally passed by reference anyway.
[11:55:50] <-- |Cable| has left IRC (Ping timeout: 255 seconds)
[12:09:29] --> |Cable| has joined #gemrb
[12:35:17] <-- Yoshimo has left IRC (Quit: Yoshimo)
[13:26:20] --> Yoshimo has joined #gemrb
[13:45:54] --> travel has joined #gemrb
[13:46:01] <travel> hello
[13:46:28] <travel> fizzle : strlcpy thing gives new warning with clang
[13:47:53] <travel> http://pastebin.com/upgEVCEg
[13:47:54] <Seniorita> /home/Kuba/GemRBGit/gemrb/gemrb/core/Scriptable/Actor.cpp:7511:33: warning: size - Pastebin.com
[13:50:20] <wjp> another reason for a specific function for copying resrefs I think
[13:56:14] <-- travel has left #gemrb
[13:56:36] --> traveler_ has joined #gemrb
[14:02:02] <fizzle> oich
[14:02:41] <fizzle> traveler_: does that terminate the build or do you get more warnings of the sort?
[14:04:24] <traveler_> it should terminate build
[14:04:43] <traveler_> but i have wnoerror because of other warnings
[14:05:15] <fizzle> I just want to know whether it's the only warning like this
[14:05:27] <fizzle> so I don't have to fix them piecemeal
[14:05:44] <lynxlynxlynx> make a function
[14:05:53] <traveler_> only warning
[14:06:02] <traveler_> i use cmake -DDISABLE_WERROR=enabled -DCMAKE_BUILD_TYPE=Debug and clang 3.2
[14:08:55] <fizzle> and that function should zero out then?
[14:50:10] <fizzle> lynxlynxlynx, wjp: is this what you were thinking of? http://nopaste.me/paste/996089680510d2784c5e3f
[14:50:16] <Seniorita> copyresref - Diff - NoPaste.me - Secure and Anonymous
[15:01:42] <wjp> looks good
[15:02:13] <wjp> (maybe for consistency turn GroundCircleBam[size][0] = '\0'; into CopyResRef(..., "") too)
[15:30:41] <-- fizzle has left IRC (Read error: Operation timed out)
[15:43:33] <traveler_> strange
[15:43:47] <traveler_> gemrb correctly exports characters
[15:43:56] <traveler_> and apparently searches for them in the same place
[15:44:08] <traveler_> but i only see default one ones on character creation page
[15:46:43] <traveler_> and in both export and export case this is the same place
[15:46:52] <traveler_> files have the same permission
[15:47:20] <traveler_> just gemrb doesn't see files it exported moments ago
[15:48:00] <-- Yoshimo has left IRC (Quit: Yoshimo)
[15:48:11] <fuzzie> probably it's a cached directory importer and we don't refresh it
[15:48:55] <Seniorita> [commit] Jaka Kranjc: dmgtypes: added new column to specify if a type can apply for damage reduction http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=129385d3090395058e2234d3a3be3d1b8a5b1384
[15:48:57] <Seniorita> [commit] Jaka Kranjc: fx_slashing_resistance_modifier: fixed a permanency issue http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=887bf60f9aa9e10e785a91017b3cb49262955bba
[15:48:58] <Seniorita> [commit] Jaka Kranjc: IWDOpcodes: made damage reduction stack with resistance, as they use same stats http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=14bea769ff8b4b2e70621779a8e2fe66ead7b582
[15:48:59] <Seniorita> [commit] Jaka Kranjc: use safer fallbacks when getting unknown itemtype data (itemdata.2da) http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=d49753505e7198b937f527f6cc371042913d032f
[15:49:00] <Seniorita> [commit] Jaka Kranjc: implemented the missing core bits for damage reduction http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=fb61d123da039c353dce064cbf3fc49c0e00bcb5
[15:49:01] <Seniorita> [commit] Jaka Kranjc: iwd2::guirec: display any damage reduction http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=fe399adb3ac821b8b1a24cbec3674b4a13098bfe
[15:49:03] <Seniorita> [commit] Jaka Kranjc: Actor::ModifyDamage: converted prints to proper Log format http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=cd7da86fc9d659581afb90cd84fc989818ab0dd8
[15:49:04] <Seniorita> [commit] Jaka Kranjc: AttackCore: feeble attempt at trying not to spam with too many "X attacks Y" messages http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=0b2b8393955e70362167d06f808966510557fdb1
[15:49:05] <Seniorita> [commit] Jaka Kranjc: iwd2: comment out the efftext entry for Damage here too http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=c39db1aeb07ef024c14ce7cf84173e1aa8f61902
[15:49:08] <traveler_> ty fuzzie:
[15:49:56] <traveler_> wow
[15:50:21] <traveler_> i was sure i was restarting gemrb, now apparently first char i created magically appeared but second one still isn't there
[15:51:39] <traveler_> well, name appeared but is unimportable
[15:51:41] <traveler_> http://pastebin.com/KzdhKw8m
[15:51:43] <Seniorita> [GUIScript/ERROR]: Runtime Error: [Python/ERROR]: Traceback (most recent call l - Pastebin.com
[16:06:11] --> traveler has joined #gemrb
[16:06:18] <-- traveler_ has left IRC (Ping timeout: 245 seconds)
[16:26:32] <lynxlynxlynx> time for an old enemy
[16:26:47] <lynxlynxlynx> fatigue-induced max luck
[16:41:16] <traveler> :)
[16:56:35] --> kida has joined #gemrb
[17:03:37] <lynxlynxlynx> fuzzie: any comments? http://sprunge.us/aQML?diff
[17:05:13] --- ermo^ is now known as ermo
[17:11:59] --> Yoshimo has joined #gemrb
[18:48:43] --> i30817 has joined #gemrb
[19:25:05] <-- edheldil_ has left IRC (Ping timeout: 240 seconds)
[19:25:27] --> edheldil_ has joined #gemrb
[20:05:57] <-- Yoshimo has left IRC (Quit: Yoshimo)
[20:26:41] <-- kida has left IRC (Ping timeout: 245 seconds)
[21:04:24] --> Yoshimo has joined #gemrb
[22:04:07] <-- Yoshimo has left IRC (Quit: Yoshimo)
[23:13:48] <-- traveler has left IRC (Ping timeout: 245 seconds)
[23:35:30] --> nalmotnes has joined #gemrb
[23:35:46] <-- nalmotnes has left IRC (Client Quit)
[23:42:52] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[23:44:43] --> traveler has joined #gemrb