-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix VC Entrance_Door_Ptr #260
Conversation
Interesting, but I'm also on Linux and could not reproduce the linked issue. |
@burner1024 Here you are, you can try, but looks like this is a crossover wine issue 🤷🏻♂️ This save: finish start trial, and just moved char over VC. If you are using f2tweaks - W + enter city (without it you have to move classic way. Let me create new one on next tile on map). My original setup without those changes crashes. With the new build everything ok. |
@burner1024 this one is easier and can be used without the f2tweaks. |
Still no crash for me. There is also
This is quite strange. $ grep -R Entrance_Door_Ptr scripts_src/
scripts_src/valtcity/vientdor.ssl:import variable Entrance_Door_Ptr;
scripts_src/valtcity/vientdor.ssl: Entrance_Door_Ptr:=self_obj;
scripts_src/valtcity/vcgatgrd.ssl:import variable Entrance_Door_Ptr;
scripts_src/valtcity/vcgatgrd.ssl: if ( ( not( obj_is_open( Entrance_Door_Ptr ) ) ) and
scripts_src/valtcity/vcgatgrd.ssl: obj_unlock(Entrance_Door_Ptr);
scripts_src/valtcity/vcgatgrd.ssl: obj_open(Entrance_Door_Ptr);
scripts_src/valtcity/vcgatgrd.ssl: else if ( ( obj_is_open( Entrance_Door_Ptr ) ) and
scripts_src/valtcity/vcgatgrd.ssl: obj_unlock(Entrance_Door_Ptr);
scripts_src/valtcity/vcgatgrd.ssl: obj_close(Entrance_Door_Ptr);
scripts_src/valtcity/vcgatgrd.ssl: obj_unlock( Entrance_Door_Ptr );
scripts_src/valtcity/vcgatgrd.ssl: obj_open( Entrance_Door_Ptr );
scripts_src/valtcity/vcgatgrd.ssl: rm_timer_event( Entrance_Door_Ptr );
scripts_src/valtcity/vcgatgrd.ssl: add_timer_event(Entrance_Door_Ptr,game_ticks(10),1);
scripts_src/valtcity/vcgatgrd.ssl: obj_close( Entrance_Door_Ptr );
scripts_src/valtcity/vcgatgrd.ssl: obj_lock( Entrance_Door_Ptr );
scripts_src/valtcity/vcgatgrd.ssl: obj_close( Entrance_Door_Ptr );
scripts_src/valtcity/vcgatgrd.ssl: obj_lock( Entrance_Door_Ptr );
scripts_src/valtcity/vcgatgrd.ssl: obj_close( Entrance_Door_Ptr );
scripts_src/valtcity/vcgatgrd.ssl: obj_lock( Entrance_Door_Ptr );
scripts_src/valtcity/vcgatgrd.ssl: obj_close( Entrance_Door_Ptr );
scripts_src/valtcity/vcgatgrd.ssl: obj_lock( Entrance_Door_Ptr );
scripts_src/valtcity/vcgatgrd.ssl: obj_close( Entrance_Door_Ptr );
scripts_src/valtcity/vcgatgrd.ssl: obj_lock( Entrance_Door_Ptr );
scripts_src/valtcity/vcgatgrd.ssl: obj_close( Entrance_Door_Ptr );
scripts_src/valtcity/vcgatgrd.ssl: obj_lock( Entrance_Door_Ptr );
scripts_src/valtcity/vcgatgrd.ssl: obj_close( Entrance_Door_Ptr );
scripts_src/valtcity/vcgatgrd.ssl: obj_lock( Entrance_Door_Ptr );
scripts_src/sierra/wientdor.ssl:import variable Entrance_Door_Ptr;
scripts_src/sierra/wientdor.ssl: Entrance_Door_Ptr:=self_obj;
scripts_src/sierra/wihowitz.ssl:import variable Entrance_Door_Ptr;
scripts_src/sierra/wihowitz.ssl: door_tile:=tile_num(Entrance_Door_Ptr);
scripts_src/maps/depolv1.ssl:export variable Entrance_Door_Ptr;
scripts_src/maps/vctydwtn.ssl:export variable Entrance_Door_Ptr;
scripts_src/arroyo/aitemdor.ssl:// Entrance_Door_Ptr:=self_obj; It is only referenced in Somehow |
Again, I am not a resource guru, just want to |
Another thought: I saw that vc courtyard script says “ Map Script for Sierra Army Base, Outside area”. Probably copy paste problem, and unneccesarry initialize left somewhere? |
The outer gate is never locked, but there are circumstances when its guards will shoot on sight. |
Fix ncr2 lenny_obj
Found one more similar issue with the 2nd location of NCR |
|
Seems like I faced it in #268 |
Fix an annoying crash with a kind of "An illegal instruction was executed at address ..." when entering Vault City (may be other locations too, but this is the first I faced during my play).
Background:
The error bothers a lot of players, but seems tweakable for Windows users.
For Mac/Linux wine players, this is not an option.
Debug of the crash:
I'm not a fallout resource expert, but looks like the problem was with the lack of exporting this var. I have started with Fallout Explorer (or something cheat) to move the dude to the Vault City Downtown. This worked. But every time I tried to enter the courtyard, the game crashed. After a quick src examination, the solution came up.
Built and tested through GitHub actions, no more errors for VC.
Tested on Fallout 2 GOG 1.02d
RP 2.3.3u28
sfall 4.4.0.1
mods (pretty standard for clean gog + RP installation through exe):
Runtime:
mac on m2
crossover with win10 bottle (crossover uses their own fork of wine, so results can be different for vanilla wine)
The only problem observed is that if I try to load
fo2tweaks.dat
andhealing_revision
enabled, this will crash with an error in the corresponding global script. But this is another story.UPD:
One more similar bug was found for the Abbey entrance and included in this PR. After that, I checked all the cities available. Seems no more problems like this. Only one, not related to the original problem, with the village between VC and Gecko (I don't remember it in the original game.), and yet have no idea about the nature of this error in the context of the game, probably one of the mod problem again: