sfall-team / sfall

sfall - Engine modifications for Fallout 2
https://sfall-team.github.io/sfall/
GNU General Public License v3.0
348 stars 41 forks source link

console has error in new HRP setting #424

Closed nirran closed 2 years ago

nirran commented 2 years ago

when display_msg is sent and loading game,the console doesnt display it(intermitten) with mash HRP it does

FakelsHub commented 2 years ago

nothing is clear. write normally report.

nirran commented 2 years ago

display_msg is erroring in sfall hrp mode,i think it is adding several blank lines to the display because the saved console file looks normal

it isnt displaying console messages FakelsHub

NovaRain commented 2 years ago

You really should give more details about how you use display_msg and how it failed, preferably with code line and screenshots, plus your HRP/sfall setup. Here's one of my test script printing in the game:

// was used to check the mouse drop zone fix
display_msg("Check address val: " + read_int(0x47523D));
display_msg("Check address val: " + read_int(0x475231));
display_msg("Check address val: " + read_int(0x4752BE));
display_msg("Check address val: " + read_int(0x4752B2));

scrnshot

nirran commented 2 years ago

correction,it is displaying but it is adding blank lines,such as : Screenshot (61)

and on load it doesnt show me the load message,but is in console.txt log

edit : removed all my gl and hs scripts,same behavior

edit : seems it doesnt display combat messages 'vic was hit bla bla'

NovaRain commented 2 years ago

OK, it seems caused by enabling ConsoleOutputPath.

FakelsHub commented 2 years ago

it's still unclear what the conditions are.

@NovaRain do you have such a problem when examining in combat?

nirran commented 2 years ago

thnx dude,can turn it off,also THANK YOU GUYS very much,frp sfall setting gets rid of the need for ''' ; Set EXTRA_WIN_MSG_CHECKS=1 to prevent the "NOT RESPONDING" error that may occur in windowed mode. ; Adds extra windows message checks to several loops during combat and fade effects. ; This setting is always enabled if ALT_MOUSE_INPUT=1. EXTRA_WIN_MSG_CHECKS=1 '''

ty much

edit : typo

NovaRain commented 2 years ago

it's still unclear what the conditions are.

@NovaRain do you have such a problem when examining in combat?

Yes, it seems nearly all "You see: blahblah" description lines for objects are blanked in the message window, only when I open the inventory and move the cursor through the list I can see item "You see: ..." lines.

nirran commented 2 years ago

wanta appologize for very vague original report,i know better,was taught by the Navy

FakelsHub commented 2 years ago

ConsoleOutputPath

Just overrides hacks.

NovaRain commented 2 years ago

ConsoleOutputPath

Just overrides hacks.

Ah, right. Console module is initialized after Game functions. The one in Text.cpp got overridden by Console module.

FakelsHub commented 2 years ago

yes, a messageBox about overwriting popped up.

nirran commented 2 years ago

thnx dude,can turn it off,also THANK YOU GUYS very much,frp sfall setting gets rid of the need for ''' ; Set EXTRA_WIN_MSG_CHECKS=1 to prevent the "NOT RESPONDING" error that may occur in windowed mode. ; Adds extra windows message checks to several loops during combat and fade effects. ; This setting is always enabled if ALT_MOUSE_INPUT=1. EXTRA_WIN_MSG_CHECKS=1 '''

ty much

edit : typo

donno how to describe,but with pre 2.3.3 vrs and running windowed,sometimes window would stop responding for a min or 2,and display a blue circle 'cursor',havent seen it yet with newest version,thank you =D

nirran commented 2 years ago

thnx dude,can turn it off,also THANK YOU GUYS very much,frp sfall setting gets rid of the need for ''' ; Set EXTRA_WIN_MSG_CHECKS=1 to prevent the "NOT RESPONDING" error that may occur in windowed mode. ; Adds extra windows message checks to several loops during combat and fade effects. ; This setting is always enabled if ALT_MOUSE_INPUT=1. EXTRA_WIN_MSG_CHECKS=1 '''

ty much

edit : typo

ack spoke too soon,however the EXTRA_WIN_MSG_CHECKS=1 seems to work ty again