|
Post by bort on Dec 12, 2007 12:50:11 GMT
Thanks for the info, that means we only need to compose a list of instarez items/effects and check for their actions in the log. No problem. I have a wiz, cleric and bard with the required epics, so i'll grab a stone of rebirth and let you know the corresponding log messages asap. I'm trying to get something done regarding concealment but I'm looking at an excerpt from a huge log and can't really get a pattern that could be used, nor a "safe" number of attacks after which the concealment is definitely down. I'm not sure I understand this right. Could you try to explain it a bit? Is the concealment mechanism just coded without logs showing it (meaning the attacker only gets to roll to beat your conceal 50% of the time if your conceal is 50% but there is no actual roll on your side to see if the conceal should kick in) ? If it is so, I don't think there is any way you can say for certain when your conceal is off. Some devel help clearing things a bit perhaps? Yeah, the concealment bit isn't shown in the logs, only "target concealed x%" when it is applied. When concealment isn't applied (i.e. 50% of the time vs a creature with 50% conceal) you get "critical hit", "hit" or "miss" the same as when fighting an unconcealed creature. I agree that it's pretty much impossible to have a perfect solution for this. The closest thing I could come up with was to have a bit of code that checks the last 20 attacks for "target concealed". If the string IS present, the % conceal would be displayed and if NOT, the % conceal displayed would be shown as 0%. It might be more accurate (especially with smaller percentages of conceal) to check a larger number of attacks, somewhere between 50 and 100. Another alternative would be to have the % conceal displayed change colour according to how long it has been since "target concealed" has come up, perhaps changing from green to red, or black to white (so that it would gradually fade into the background if the target concealed message fails to come up). At the moment i'm considering tackling this in my parser by having a scrolling box which shows Crit, Hit, Miss or x% (where x is the conceal %). If you have a decent amount of conceal (i.e. 50% +) the 50% message will be displayed frequently among the list of attacks. If you have a lower amount of conceal (or none at all) the % messages will show much less frequently (or not at all) and you'll know to beg a displacement off the nearest arcane caster or recast your own conceal
|
|
|
Post by Acaos on Dec 12, 2007 16:43:38 GMT
Just so you're aware, the fugue, immortal autorez, and demigod autorez timers are all different numbers of seconds.
Also, the timers never start if you are saved by Contingency et al.
Lastly, be aware that timers run concurrently. Every time you die, a new fugue (or immortal/demi rez) timer starts. If you are dead when it takes effect, then you either fugue or get up (depending on the purpose of the timer). The only way to 'reset' timers is to wait five minutes real time.
Acaos
|
|
|
Post by bort on Dec 12, 2007 16:47:42 GMT
Thanks Acaos (edit) Hmm, multiple timers eh? Sounds tricky. Looks like i've got more testing to do... Should have some time to look at this over the weekend. Thanks again, -Bort
|
|
|
Post by Acaos on Dec 12, 2007 16:49:18 GMT
I added a bit more detail to my previous post, just so you don't miss it.
Acaos
|
|
|
Post by synan on Dec 13, 2007 8:33:01 GMT
Just so you're aware, the fugue, immortal autorez, and demigod autorez timers are all different numbers of seconds. Also, the timers never start if you are saved by Contingency et al. Thanks for the info! Wow. If I'm getting it right, every time you die a new fugue timer gets started, so if you have like 3 fugue timers running and you're down, you fugue if any one of those 3 hit zero? Sounds like a minefield
|
|
|
Post by synan on Dec 13, 2007 8:37:49 GMT
I agree that it's pretty much impossible to have a perfect solution for this. The closest thing I could come up with was to have a bit of code that checks the last 20 attacks for "target concealed". If the string IS present, the % conceal would be displayed and if NOT, the % conceal displayed would be shown as 0%. That doesn't really sound like a solution. Maybe just a tad better than not doing anything (like I am now lol) but still I think that... (continued down) ...this is a really good idea and is probably the best thing you can do really imho. You could even make pretty correct assumptions on when to change color with the number of attacks and last conceal % I'm guessing.
|
|
|
Post by Acaos on Dec 13, 2007 15:49:12 GMT
Sounds like a minefield Correct. And we prefer the term 'Life Exclusion Zone'. ;D Acaos
|
|
|
Post by Trazik on Dec 13, 2007 23:33:28 GMT
Cania run tonight ... colour change is a big improvement, Synan Even though the numbers are smashed together, the different colours make it much more readable. For some reason, the colours are duller in MS Paint than they are in use. For example, the "Elec" column is quite easily read at a glance in use. Note: that is much less xp than a Thids or Desert run Trazik
|
|
|
Post by synan on Dec 14, 2007 7:57:12 GMT
Note: that is much less xp than a Thids or Desert run I don't think that is so, last time I checked desert was around 400k. Glad you're liking it
|
|
|
Post by Midnite [UE] on Jan 3, 2008 17:18:46 GMT
Does this work for Vista? lol, I did everything the exact way, and everytime I double-click the Py. file the command prompt blinks and then nothing happens..
Midnite
EDIT: Just realized there were 7 pages to this thread, rereading them, but not deleting this incase no one else asked.. -.-
EDIT2::: Apparently I just missed a file, because its running fine now. and Im running Windows Vista, so if anyone needed a LabRat to test it, seems to be working fine.
EDIT3: Apparently it doesnt want to overlay Nwn on Vista.
|
|
|
Post by cataclysmic on Jan 3, 2008 18:29:52 GMT
Once you have it up and running have you tried alt tabbing thru to NWN again? Sometimes it will bug like that and alt tab to game usually brings it back.
Also does it just not want to overlay NWN or does it flicker? there is a script in place that should refresh it making it come back to the top of the game every couple of seconds iirc.
|
|
|
Post by Midnite [UE] on Jan 3, 2008 19:32:21 GMT
I start it up, and load NwN, it will overlay until the main menu comes up, then thats it, wont overlay anymore, have alt-tabbed, tabbed-alt, everything, it just does not want to overlay over NwN in-game. Ive tried disabling Xfire and all non-needed background programs.. still same thing, seems the only way I can get it to work is to run in Windowed mode.. and I hate windowed mode..-.-
Midnite
|
|
|
Post by cataclysmic on Jan 4, 2008 0:30:24 GMT
Ok I will get in touch with Syn and let him know, perhaps he can figure it out, I aint a programmer lol and dont use Vista so haven't a clue what else to suggest. I can only assume it is something to do with Vista since it works fine on earlier versions of windows. Hopefully Syn can sort it
|
|
|
Post by Balduvard on Jan 4, 2008 2:10:04 GMT
I have a suggestion regarding the damage field sizes getting too large...you could divide by an amount and place a suffix on the value to keep them within bounds. As it is now it looks like 5 chars is going to be the max field width when all or most of the damages are listed. Something like the following may help: Original Number | Original size | Modifier | Modified number | Modified size | 16035 | 5 | Not necessary | 16035 | 5 | 293840 | 6 | 293840/1000 | 293k | 4 | 4521364 | 7 | 4521364/1000 | 4521k | 5 | 10439284 | 8 | 10439284/1000000 | 10.4M | 5 |
Not a perfect solution (and definitely an excessive example of damage), but just a thought.
|
|
|
Post by thirddeep on Jan 5, 2008 15:40:25 GMT
First and foremost, YOU RULE :-) I had a quick look in the nwn.glade, but since I never touched GTK / Glade before I am at a loss as to how I specify where on the screen I want the window to be. I assume it's window_position, but a quick google search mostly showed GTK_WIN_POS_NONE or CENTRE. On Linux (Gnome 2.18.1) I had to set the size to 350x230. I still am unable to find how to overlay it, but that's likely because I hate GUI's in the first place and do my work cmd line only :-) Again, thanks for the work Thd.
|
|