Full concept MODIFICATION of S.T.A.L.K.E.R. Call of Pripyat that touches every game aspect including textures, sfx, music, weapons, A.I., items, weather, mutants, difficulty and much much more!

Forum Thread
  Posts  
Bleeding causes crash in Gunslinger/MISERY mod (Games : S.T.A.L.K.E.R.: Call of Pripyat : Mods : MISERY : Forum : Favorite feature of MISERY 2.0 : Bleeding causes crash in Gunslinger/MISERY mod) Locked
Thread Options 1 2
Mar 11 2021 Anchor

So today i installed the misery mod+ gunslinger mod and i noticed that everytime i start bleeding i can heal myself with bandages but before i can heal the bleeding my game just freezes and won't close so i have to restart my pc. How do i get rid of this?

jasper34
jasper34 MISERY PR Lead
Mar 11 2021 Anchor

Does the version of gunslinger you are using explicitly state it is 100% compatible with MISERY 2.2.1?

If it does, did you follow the gunslinger add-ons directions exactly? The orignal gunslinger was not compatible. I heard there was one now for MISERY, but do not know how bug free it functions.

Did you start a new game after combining the two? A new game is almost always required after an add-on.

Mar 12 2021 Anchor
jasper34 wrote:

Does the version of gunslinger you are using explicitly state it is 100% compatible with MISERY 2.2.1?

If it does, did you follow the gunslinger add-ons directions exactly? The orignal gunslinger was not compatible. I heard there was one now for MISERY, but do not know how bug free it functions.

Did you start a new game after combining the two? A new game is almost always required after an add-on.


1.) I have no idea what version of the mod is. 2.) The version i installed was just a setup that combines the two mods. 3.) Yes i started a new game. Here is the website i downloaded it from if u need it (i used the torrent version at the bottom of the page cause i didn't want to make an account for yandex so i don't know if the torrent version is different or not) Stalkerportaal.ru


jasper34
jasper34 MISERY PR Lead
Mar 12 2021 Anchor

Ok, I remember there is a hybrid of both someone else merged together.

It is unlikely we can help you with that. The best source of support, and the only person(s) who can probably fix it are the ones who did the merge.

If you post the last ten lines of your crash log, there may be some clues as to where the problem lies.

Obviously, at least part of the meds are not merged well. It is also possible that it is not class compatible. Most combination mods are not, it is too much work.


Mar 12 2021 Anchor

This is the end of the log file text here:


FATAL ERROR

[error]Expression : xml_doc.NavigateToNode(path,index)
[error]Function : CUIXmlInit::InitStatic
[error]File : D:\prog_repository\sources\trunk\xrGame\ui\UIXmlInit.cpp
[error]Line : 156
[error]Description : XML node not found
[error]Argument 0 : bloodyscreen_end
[error]Argument 1 : ui\ui_custom_msgs.xml

stack trace:


So it has something to do with the bleeding but i have no idea what all the text is about cause i have no experience with coding or whatever this is.



Is this an easy fix that i could maybe do myself or is it too complicated?

jasper34
jasper34 MISERY PR Lead
Mar 12 2021 Anchor

I am not a coder either. Our coder looks in from time to time, he may be able to help. It looks to me like there is either a syntax error in the script Gunslinger added, or one of the entries on a line is missing or an invalid value. kcs123 What do you think?

Comparing line 156 on the original MISERY file against the Gunslinger merge version would maybe help.

Does this only happen when using bandages, or if you use any medical item to stop bleeding? If you use an artifact to stop bleeding does it still crash?

Mar 12 2021 Anchor

1.) Where can i find line 156? Also, the path the error gave me doesn't exist on my pc D:\prog_repository\sources\trunk\xrGame\ui\UIXmlInit.cpp

2.) It happens when i start bleeding. Sometimes the animation of using the bandage start but then it still just freezes

kcs123
kcs123 Just Kcs123
Mar 12 2021 Anchor

D:\prog_repository\sources\trunk\xrGame\ui\UIXmlInit.cpp

that is file from game engine source code in C++. It is not installed enywhere on your PC, it is just reference for original source code, so that developers can look into it. Probably nothing wrong there. However this give more clues what is wrong:

[error]Description : XML node not found
[error]Argument 0 : bloodyscreen_end
[error]Argument 1 : ui\ui_custom_msgs.xml

There is missing lines in ui_custom_msg.xml file. more specific, game search for <bloodyscreen_end> node in XML file. Most probable reason is unproper merging of gunslinger and MISERY files. I don't know what exacly should be written there, so, your best luck is to inspect either, gunslinger or original MISERY files to see what is there and copy paste in your gunslinger+MISERY merge.

I can only speculate that whoever created that merge, have changed original files, but forgot to change same files trough class diversity folders, for assaulter, recon and sniper class.


--

Mar 12 2021 Anchor

I can't find <bloodyscreen_end> in ui_custom_msgs.xml from the misery data tho

Actually, can you just add me on discord? This is just taking so much time and i think it wqould be easier to just go into a vc.

My dc is: Dæniəł#1403

Of course, if you don't want to, you don'
t have to, only suggesting it

Edited by: ELMonke

kcs123
kcs123 Just Kcs123
Mar 12 2021 Anchor

If you can't find that in xml file that come from MISERY it could be that it comes with Gunslinger. Or info from log is missleading and issue is elsewhere. Debugging for true issue is very time consuming task and there is very little info outh there how to do it step by step. Quite a lot is hunch or "educated guess" from expirience on other projects.

Sorry, can't help you much more than that, I have limited free time, so your best luck is to contact me here on forum, despite time delay between questions and answers. For more exact answer, I would need to download that Gunslinger + MISERY merge and start debugging for myself. And as I said, I no longer have enough available free time for this. My lack of free time is also one of reasons why MISERY didn't got any new update and there is no longer any other MDT member active beside me and Jasper.

--

Mar 12 2021 Anchor

The only text i can find that has bloodyscreen in it are these:

<gunsl_bloodyscreen_main x="0" y="0" width="0" height="0" stretch="0">

<auto_static width="0" height="0" light_anim="ui_bloodscreen_blinking" la_cyclic="0" la_text="0" la_alpha="0" stretch="0">

<texture>ui_bloodscreen</texture>

</auto_static>

</gunsl_bloodyscreen_main>

<gunsl_bloodyscreen_end x="0" y="0" width="0" height="0" ttl="0" stretch="0">

<auto_static width="0" height="0" light_anim="ui_bloodscreen_blinking_end" la_cyclic="0" la_text="0" la_alpha="0" stretch="0">

<texture>ui_bloodscreen</texture>

</auto_static>

</gunsl_bloodyscreen_end>

</header>

Do i maybe have to change something here?

I was only able to find these lines in the gunslinger mod, theyre not in the misery file

jasper34
jasper34 MISERY PR Lead
Mar 12 2021 Anchor

Does this Gunslinger/MISERY combination have classes? If so, what class are you playing?

Mar 12 2021 Anchor

Yes it does. It already has the Assault class selected and if i would change it it breaks the game

jasper34
jasper34 MISERY PR Lead
Mar 12 2021 Anchor

So, no it does not have selectable classes. This is how most mods have gone. It is 3x the work to implement the classes.

Just for my education, you unpack and install this hybrid of MISERY/Gunslinger and play it independent of an actual MISERY installation, correct?

Do you first install Call of Pripyat, then unpack this over it, or is a pre-existing COP install not required?

If you tried to change classes and found it broke the game, did you uninstall, and then reinstall the hybrid mod? Or, did you just select Assaulter and start a new game?

Mar 12 2021 Anchor

1.) It's a setup. It has a Setup.exe and 3 Setup.bin files

2.) I've so far installed it in my game directory where it creates a new folder, and in that folder is an exe to start it and the gamedata file is very small in size so i think it's needed to have a preexisting copy.

3.) I had to reinstall, cause when i change class and restart the game, it just crashes and i get the xRay crash window


jasper34
jasper34 MISERY PR Lead
Mar 12 2021 Anchor

In my experience, it is important to completely uninstall COP and start with a fresh installation, start and save the base game once, then install any mods per their directions. If you have already done that, going to the source is your best chance of fixing it.

Thank you for those details. Sorry we couldn't be of more assistance.

Mar 12 2021 Anchor

Oh well, guess it's gonna be some work to fix this lol. Thanks for the help from both of you

kcs123
kcs123 Just Kcs123
Mar 13 2021 Anchor

That missing node in XML file is definetly not from MISERY mod. It is Gunslinger cusom modification of UI effects.

There is some suspicious thing that you have found in XML file. "gunsl_bloodyscreen_end". There might be issue that whoever do merge of two mods is not type properly all of node names.

It is hard to tell exactly what to do, but might worth a try. One possible solution is to copy whole XML section:

<gunsl_bloodyscreen_end x="0" y="0" width="0" height="0" ttl="0" stretch="0">
....
</gunsl_bloodyscreen_end>

and then rename "gunsl_bloodyscreen_end" to "bloodyscreen_end". It should prevent CTDs, but can't tell if that would cause some other issues. Meaning, I don't know if that exact section would cause to display effects on screen properly or not or it may cause some other issues.

Other possible solution is to search for "bloodyscreen_end" string in all files (scripts and configs) and might be necessary to rename that into "gunsl_bloodyscreen_end". Again, it may or may not be proper solution, as I was not tried either, vanilla Gunslinger or that merge. But it should be at least some starting point for proper solution.



--

Mar 13 2021 Anchor

Alright, i just changed all the </gunsl_bloodyscreen_end> to </bloodyscreen_end> and it semms to be working. I let myself get shot a bit and i was bleeding very bad and i was able to heal myself. However im not sure if that was just luck. I'll update in a bit in case it doesn't work

Good news, i just spaned in a dog to make me bleed and i was ble to heal myself again! It seems like this actually worked, thank you so much man i really apreciate you taking your time to help me

kcs123
kcs123 Just Kcs123
Mar 13 2021 Anchor

You are welcome.

It might be good that you have both, <gunsl_bloodyscreen_end> and <bloodyscreen_end> nodes in XML file, though. It would not hurt if you have extra nodes in XML that is not used, but it may help and prevent CTDs if elsewhre in script you have both calls. One effect might try to read <gunsl_bloodyscreen_end>, while other try to read <bloodyscreen_end>

I can't tell for sure if that is really necessary or not, you would need to try it in game.

--

jasper34
jasper34 MISERY PR Lead
Mar 13 2021 Anchor

Please post that fix on the page you got the combined mod from to help others who may experience the same problem (after you are sure it is working 100%).

Mar 13 2021 Anchor

I can't post it tho cause it's a russian site and i don't speak russin. Where else could i post it?


jasper34
jasper34 MISERY PR Lead
Mar 13 2021 Anchor

You can post it in English, Google will translate. I answer posts and PM's in any language. Google does a crummy job sometimes, but usually you can get your point across.

I will also edit the title of this thread so people can find it easier with the search feature.

kcs123
kcs123 Just Kcs123
Mar 14 2021 Anchor

It should be enough to put some keywords in posts like Gunslinger+MISERY mod crash when bleeding. Google should be able to catch up this for anyone who search for it. I understan ELMonke, it is not only writting post on russian web site, you also need to go trough forum registration process that is also on russian and google translate, while helpful is not always good enough.

Moving whole thread from " Favorite feature of MISERY 2.0" forum to General subforum might be good too. I don't know how many people visit this area.

Edited by: kcs123

--

jasper34
jasper34 MISERY PR Lead
Mar 14 2021 Anchor

Changing the title to include Gunslinger will make it come up on any forum search. I didn't think about the Russian forum registration ...

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.