It affects both paperdoll types. It has seems to something to do with the free hand slot above it being open (detection problem?). You can test it easily by having a hand free open. BG paperdoll probably behaves exactly like the SI one.
With the BG paperdoll, if the Avatar's right hand is open, you can drag gloves onto the left hand ring slot. If the right hand doesn't have a ring, then you can drag it there as well.
If the Avatar's right hand is open and right hand ring is on, you can drag gloves onto the left or right hand slot. If the left ring is on, then this doesn't work when dragging to the left hand slot.
A quick fix is to edit actors.cc and put this:
else if (type == FIS_2Finger && (spot == lhand || spot == rhand) &&
(spots[lfinger] || spots[rfinger]))
return false;
before
// If in left or right hand allow it
else if (spot == lhand || spot == rhand)
return true;
This allows the person to only put gloves into their hands if a ring isn't present and seems to fix the bug through my testing. There probably needs to be some weird carefully worded "if" statements in order to do a better job than this.
Solution to the so called SI style paperdoll bug in BG with
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
-
- Site Admin
- Posts: 985
- Joined: Thu May 14, 2020 1:34 pm
Re: Solution to the so called SI style paperdoll bug in BG w
The actual root of the problem is in Actor::add: wherever the glove fits, the following block "forces" it to fit into the left finger:
I fixed this in CVS. I also changed the alternate spot for the BG glove to bring it more in line with SI gloves.
Code: Select all
if (type == FIS_2Finger) { // Gloves?
index = lfinger;
two_fingered = true;
}
------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Re: Solution to the so called SI style paperdoll bug in BG w
Could this be put into a snapshot?
-
- Site Admin
- Posts: 985
- Joined: Thu May 14, 2020 1:34 pm
Re: Solution to the so called SI style paperdoll bug in BG w
It's already available in the download section.Could this be put into a snapshot?
Re: Solution to the so called SI style paperdoll bug in BG w
It will, eventually; it very likely is there already.
------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]