The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

> UB bug still present in v16, [split by Baronius]
Baronius
post Mar 17 2008, 10:47 PM
Post #1


Master of energies
Group Icon

Council Member
Posts: 3328
Joined: 9-July 04
From: Magyarország




The bug was known for v15 already. Wouldn't it be easier to fix it in UB itself?

[This topic was split from this]


--------------------
Mental harmony dispels the darkness.
Go to the top of the page
 
Quote Post
 
Start new topic
Replies
plainab
post Sep 1 2008, 05:25 AM
Post #2





Forum Member
Posts: 21
Joined: 18-November 06




QUOTE
To cut a long story, common sense says that a fixpack -- regardless of its definitions -- shouldn't cause PROBLEMS. We say that a fix should never cause problems -- a fix should SOLVE problems, instead.

This is true. However, may I bring up something that has been noticed within the vanilla and expansion games of BG? I am sure we are all familiar with Oublek in Nashkell and the bounty rewards he can give, specifically the bounty for the emeralds gained from Prism. Now in this case there is a problem that needs solved. A problem that can cause more problems. To be exact there is an action which works but is broken in that it does not do exactly as intended. TakePartyItem(S:resref) takes all items of the specified item from the party's inventory not just one. This is a problem in that Oublek needs to take two, but will take one or more of the given item. This is what has led to the Oublek Bounty Reward Exploit Fix of Baldurdash. However, that fix only works for ToTSC and even that in a limited fashion.
Where does actually solving it cause more problems? Due to the lack of specific actions to take only two items and that the triggers are lacking in the vanilla game to find only two of an item, to truly correct it the items would need to be replaced with a known unique item (i.e. a mod added item). This in turn could cause issues with a mod added later that for some reason has another bounty hunter come and steal them from the party. You can see that a fix that works and solves the problem in a way that works around and with the limits of the game engine based on an unmodded game, can indeed cause problems with an added mod.
Should we forgo the fix because of the possibility of a future conflict? No, I don't think we should. I do think that since such a situation could cause a foreseeable problem, that it be well described in what is wrong, why it is believed to be wrong, and the steps taken to correct such action.

To make it shorter because my explanations can be mud:
1) It's a fix to place a variable to keep the state from repeating.
2) It's still a problem that since it uses a fairly common gem item that the player might have more than two and lose the extras because of the hardcoded limitations of the game engine or an exploit in that the player could leave one behind, get the reward and sell the other for more gold.
3) #2 can be fixed but it requires using at least one unique item (a copy of the original but with a new resref) so that there will be no question, within the confines of the game, how many of the given item there are.
4) #3 then creates the potential for a 'bug' with another mod (I would say incompatibility here) that for some reason has someone interact with the party based on them having the game original items.

This sorta ties into that one example you, Baronius, gave earlier about giving the two swords to a creature. However, unlike that one where it was merely a subjective reason based on D&D or what have you. This issue is entirely based on the game engine and our current understanding of how it works. So this may very well be an example of an issue where changing the items a creature has can not correct a problem but work around a game engine limitation. This would then as I understand it be totally doable as a fix to solve a situation that can not be solved short of porting the game to a newer engine ala BGT/TUTU. Any mods out there that may already do something with these existing items, should be communicated with and determine if they have a better solution to the issue. If not, then it would be their choice to modify to become compatible or they can change the files back so that the remainder of the fixes could be used in games containing their mod.

As an aside, I started out with the bad habit of making the code, making sure it would install with no errors, but never did much real testing with it. Some of the partners want to get all the code together and then test (sort of like the BG2Fixpack I suppose) but I'm glad that's not happening. I've got someone who has not just volunteered but is actually installing each bit of code and testing it in game. Boy has he found problems, the theories to fix may be sound but sometimes as in the above situation game mechanics don't allow it. I'm also finding that it is much better to keep each specific issue as it's own component. 1) It's easier to locate within a tp2 file 2) It's easier to see exactly what files you adjust. 3) If you're there doing one issue and you're testing it properly, you can usually find if there are other problems besides the "reported" one. At this point in time, when the BG1Fixpack does come out, be prepared for individual components that will 1) work on the unmodded game without too much deviation from the expected 2) have been at least tested with as many existing mods as possible 3) any known conflicts would be listed along with the steps being taken to correct. I don't foresee making too many changes that aren't specifically a fix of broken code or the addition of variables to make sure certain things don't take place.
Isn't it a issue that when you were going to be struck by a lightening bolt from that mad wizard Ramazith you ran all the way up the stairs only to find Ramazith there attacking you? Maybe not so much, but after you kill him and go back downstairs, he's standing right there where he was when you dodged his attack. Now that just ruins the immersion and the belief of the game. It's one thing if a person shows up a little early, but if the guy is dead that's just ridiculous.

I would be more than willing to discuss issues with the bg1 fixpack in a more public place other than the 'private by invitation only' workroom at G3. When we started back in 2006/2007, Cam just gave us access to the 'old' workroom from the previous fixpack attempt that more or less fell onto Unfinished Business to include any non-baldurdash fixes as they saw fit. We've just been there making our slow, silent and steady progress. Seems though that there are a few people who are interested, there are new modders/players who want to help, Cam usually gives them access after a one of us 'moderators' requests. Most share problems they run across with the unmodded game, a few actually help with thoughts on fixing certain issues, and a couple actually test things out (some of it I can't, don't have access to ToTSC). I just wander how many more people would be interested in seeing a fixpack for BG1. A fixpack that does what Baldurdash and Dudleyville do together in one location plus maybe a few more things (I wouldn't say hundreds more, unless you count all the little errors DLTCEP throws at you because the LastTalkedToBy didn't have the '()' at the end. Didn't break the game, doesn't break the game to change, and can't break any future mods by changing, but if left unchanged makes DLTCEP spout a bunch of unnecessary errors.

Earlier you said something along the lines that you knew how to build a better program than weidu to create and distribute mods, but that no one has asked you. This was the first that I've ever heard that you have such knowledge (not saying you don't I've just not read or heard it anywhere until now). If you could make a better program than weidu to create mods that wouldn't overwrite the entire file for just a simple change like increasing/decreasing weight to match the description, why haven't you? If there were something better available, I'm sure many would use it, especially if it didn't require a good grasp of programming to understand. I'm self taught when it comes to weidu (self taught as in, ask questions and look at other code). I think it's pretty poor of a program's developer to say 'the best way to learn how to use it is to look at how others have used it'. True, seeing the work of others can be enlightening. But if you can't understand what is being described in the help documents that come with the program, how are you going to understand what others do with it? If I hadn't even had the slightest understanding of computer programming (self taught basic back in the late 80's when I was in junior high), I would never have attempted doing any kind of mods. This is because weidu assumes a certain level of programming knowledge within it's documentation a level that can be hard to obtain for someone just starting out with nothing but the basic know how to turn on the computer and start their favorite RPG.

Okay, I'm done.
ab
Go to the top of the page
 
Quote Post
The Bigg
post Sep 1 2008, 10:30 AM
Post #3





Forum Member
Posts: 165
Joined: 29-January 05
From: Modena (Italy)




QUOTE(plainab @ Sep 1 2008, 05:25 AM) *
I think it's pretty poor of a program's developer to say 'the best way to learn how to use it is to look at how others have used it'. True, seeing the work of others can be enlightening. But if you can't understand what is being described in the help documents that come with the program, how are you going to understand what others do with it?

The docs can be improved, and the tutorials can be written or amended - one of the things I'd like to do if I had the required skills is to largely rewrite them. Unfortunately, people that are good at programming, I.E. talking clearly with computers, aren't necessarily good at talking clearly with human beings. Additionally, a program developer is ill-suited to write detailed documentations about it, since he might be 'innately' aware of quirks within the program that newbies will have troubles figuring out on their own (and no, not only WeiDU has harmful quirks).
However, it isn't just me and Weimer being lazy and not wanting to write detailed documentations. The best way to learn a program is to read beginner tutorials, read other people's code, experiment with their code, and write your own similar code (repeating the cycle in this order two or three times). This is what programming books (or courses) do: explain a concept, give examples, make you do simple exercises on given code, make you write your own code.
The docs are meant as a reference for already skilled people, not as a beginner's read.


--------------------
Please do not contact me for assistance in using BGT, BP, any other of the 'large mods', or a mod I didn't write or contribute to. I'm not your paid support staff, so I'd suggest you to direct your help questions to the forum relative to the mod you're playing.

Thanks for your cooperation.
Go to the top of the page
 
Quote Post

Posts in this topic
Baronius   UB bug still present in v16   Mar 17 2008, 10:47 PM
kulyok   Naturally, and I do wish it were fixed, as well as...   Mar 18 2008, 07:46 AM
Sikret   Naturally, and I do wish it were fixed, as well as...   Mar 19 2008, 08:20 AM
Jab   UB and QP have been severely bugged for years. The...   Mar 19 2008, 04:26 PM
Moongaze   I agree about stability. ....and likely writing i...   Mar 19 2008, 08:29 AM
Sikret   "Stability" is not the only criterion, b...   Mar 19 2008, 09:54 AM
Sikret   @Jab It's funny that you quoted a paragraph w...   Mar 19 2008, 04:56 PM
Jab   Misreading my name for Vlad's is the simplest ...   Mar 19 2008, 05:16 PM
Sikret   No flamewar is in progress in this thread; it...   Mar 19 2008, 06:58 PM
Jab   No flamewar is in progress in this thread; it...   Mar 19 2008, 07:20 PM
Sikret   No flamewar is in progress in this thread; it...   Mar 19 2008, 08:08 PM
Baronius   1) Some people consider this as a competition (or ...   Mar 19 2008, 08:58 PM
The Bigg   I was going to post about how backwards compatibil...   Mar 19 2008, 09:14 PM
Baronius   Accidents and problems always happen, but: 1) It ...   Mar 19 2008, 09:48 PM
DavidW   I'm deeply reluctant (as a newish observer of ...   Mar 20 2008, 02:07 AM
Valiant   Exaggerating you say? Well, not at all. I believe ...   Mar 20 2008, 08:44 AM
Baronius   First of all, it's important to note that the ...   Mar 20 2008, 09:01 PM
SimDing0   The is pretty good work, guys. You're actually...   Mar 22 2008, 01:08 PM
Valiant   The is pretty good work, guys. You're actually...   Mar 22 2008, 01:37 PM
SimDing0   Because this is all daft and I don't care?   Mar 22 2008, 01:50 PM
Valiant   If you don´t care and all is daft, then just simp...   Mar 22 2008, 01:53 PM
SimDing0   Expressing my contempt for the proceedings is a pe...   Mar 22 2008, 01:57 PM
Valiant   If you say so...   Mar 22 2008, 02:01 PM
DavidW   Replying rather late (I've been away). I'm...   Mar 25 2008, 01:05 PM
Sikret   UB has many other serious bugs even if we put asid...   Mar 25 2008, 02:50 PM
Baronius   They are interrelated to a certain extent (depende...   Mar 25 2008, 02:51 PM
DavidW   Almost forgot: It's a specific case, indeed. ...   Mar 25 2008, 03:50 PM
DavidW   Okay, so I seriously don't want to get into di...   Mar 25 2008, 03:47 PM
Baronius   Then the coupling of SCS2 is stronger than I thoug...   Mar 25 2008, 04:06 PM
plainab   I recently came across this issue as I was working...   Aug 27 2008, 11:23 PM
Baronius   Nice solution, plainab. :thumb: It's "int...   Aug 28 2008, 02:51 AM
plainab   He likes the code and that makes me happy. :D ...   Aug 28 2008, 08:02 AM
Baronius   @plainab: This is exactly why I gave up any attem...   Aug 28 2008, 05:05 PM
Sir_Carnifex   I haven't said anything in these fixpack, etc....   Aug 28 2008, 05:39 PM
Sikret   the G3FP developers have defined a new way of tria...   Aug 28 2008, 10:21 PM
DavidW   the G3FP developers have defined a new way of tria...   Aug 28 2008, 10:33 PM
plainab   I need to calm down. 10...9...8...7...6...5...4.....   Aug 28 2008, 10:06 PM
Sikret   The fact that the developers of BG2 fixpack don...   Aug 28 2008, 10:47 PM
DavidW   And the last point: if you are ready to object aga...   Aug 28 2008, 10:57 PM
Baronius   DavidW, I'm sure Sikret has even less hope tha...   Aug 28 2008, 11:18 PM
Ancalagon_UK   Theres something I still dont get though, Baronius...   Aug 29 2008, 09:53 AM
Sikret   Theres something I still dont get though, Baronius...   Aug 29 2008, 10:24 AM
Ancalagon_UK   Ba ha ha ha ha! Yes, you are attacking it. You...   Aug 29 2008, 10:40 AM
Sikret   Actually no, players who use free mods have no rig...   Aug 29 2008, 11:16 AM
Baronius   Ancalagon_UK, I would suggest to you to study the ...   Aug 29 2008, 10:44 AM
DavidW   3. They blackmail mod developers to use the G3 Fix...   Aug 29 2008, 11:20 AM
The Bigg   proper testing IS possible, if they allocate time ...   Aug 29 2008, 11:57 AM
Ancalagon_UK   hey I'm a professional software developer wi...   Aug 29 2008, 11:19 AM
Baronius   They're still manipulating, and the practice h...   Aug 29 2008, 11:38 AM
DavidW   Is this partly the issue? I don't and didn...   Aug 29 2008, 11:45 AM
Baronius   Well, I do. They have succeeded to advertise it e...   Aug 29 2008, 11:55 AM
DavidW   Well, I do. Okay, so since I don't really ...   Aug 29 2008, 12:06 PM
Baronius   As I've said, it's a question of definiti...   Aug 29 2008, 12:06 PM
coaster   A player's perspective - I am not even going t...   Aug 29 2008, 01:08 PM
Jarno Mikkola   At its current status, the Bg2 fixpack is best be ...   Aug 29 2008, 01:50 PM
Sikret   At its current status, the Bg2 fixpack is best be ...   Aug 30 2008, 10:33 PM
DavidW   2- Hidden bugs, which will come to surface and sho...   Aug 30 2008, 10:40 PM
Sikret   So I'm wondering what would make something a ...   Aug 30 2008, 10:51 PM
DavidW   So I'm wondering what would make something a ...   Aug 30 2008, 11:00 PM
Jarno Mikkola   No, even if you install it alone, it will add lots...   Sep 1 2008, 11:25 AM
Sikret   Like what? If we are talking about the key items t...   Sep 1 2008, 02:30 PM
Lorph Halys   See my edit to this post for the reason I'm no...   Sep 1 2008, 02:51 PM
Baronius   If this has been your impression, then I must have...   Aug 29 2008, 04:32 PM
Sir_Carnifex   Even if you are right, if you resort to posting li...   Aug 29 2008, 05:18 PM
The Bigg   This from a person who actively participates in th...   Aug 29 2008, 05:26 PM
Sir_Carnifex   Under the name Proteus_Za or something like that. ...   Aug 29 2008, 05:35 PM
The Bigg   Shows how much attention I have for details (and t...   Aug 29 2008, 05:37 PM
Ardanis   I could just sign under this statement. I wonder ...   Aug 29 2008, 09:15 PM
Sir_Carnifex   I wonder if anyone posting there is actually being...   Aug 29 2008, 11:22 PM
Baronius   The anonymity of the internet and the lack of need...   Aug 30 2008, 12:34 AM
DavidW   It usually reflects a weak character, a weak perso...   Aug 30 2008, 10:17 AM
Ardanis   I was as serious as possible about blackmailing. I...   Aug 30 2008, 01:28 AM
Baronius   I suspect it's also about different forum po...   Aug 30 2008, 02:25 PM
Lorph Halys   Having at least made an attempt to read your enorm...   Aug 30 2008, 05:04 PM
Baronius   They indeed consider it a big popularity contest, ...   Aug 30 2008, 05:37 PM
Lorph Halys   On the other hand, we've never cared if many p...   Aug 30 2008, 06:23 PM
Baronius   Two different things. As everyone else, I believe...   Aug 30 2008, 06:46 PM
Lorph Halys   And I still believe you're strongly influenced...   Aug 30 2008, 07:06 PM
Jab   These threads are just hatcheries for trolls. Give...   Aug 30 2008, 06:50 PM
Baronius   Thanks Jab, I'm not trying to convince G3 FP d...   Aug 30 2008, 06:52 PM
Sir_Carnifex   But it takes fire and acid to kill them. So... :)   Aug 30 2008, 06:54 PM
Baronius   @Jab: I hope that's some fine Czech beer in yo...   Aug 30 2008, 06:59 PM
Jab   Baronius: I must say, that I don't consider ot...   Aug 30 2008, 07:07 PM
Baronius   True. Sometimes one unintentionally generalizes i...   Aug 30 2008, 07:15 PM
DavidW   Okay, so two quick points: 1) I think it would be...   Aug 30 2008, 08:21 PM
Baronius   As I've emphasized earlier, it's a matter ...   Aug 30 2008, 11:12 PM
DavidW   Well, to be fair, it's my terminology to call ...   Aug 30 2008, 11:22 PM
Ardanis   BTW, this indeed might have something to do with h...   Aug 30 2008, 11:45 PM
Baronius   You don't need to thank anything, but I'm ...   Aug 30 2008, 11:47 PM
DavidW   I know I've quoted it already, but I like it s...   Aug 31 2008, 10:36 AM
Baronius   I forgot to emphasize that I was interpreting your...   Aug 31 2008, 11:46 AM
DavidW   I agree that discussing definitions can get tireso...   Aug 31 2008, 11:29 PM
Baronius   For Sikret and me, it doesn't. There is no ne...   Sep 1 2008, 12:37 AM
plainab   This is true. However, may I bring up something t...   Sep 1 2008, 05:25 AM
The Bigg   I think it's pretty poor of a program's de...   Sep 1 2008, 10:30 AM
DavidW   To avoid getting enmeshed in a philosophy-of-langu...   Sep 1 2008, 09:25 AM
coaster   Unfortunately there are a few bugs outstanding in ...   Sep 1 2008, 01:50 PM
The Bigg   TBH I wonder whether the "suck it and see...   Sep 1 2008, 02:00 PM
2 Pages V   1 2 >


Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 12th December 2025 - 02:32 AM