ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
ZRP - A joint effort in fixing S.T.A.L.K.E.R.

« Previous 10 events | 1 ... 16 17 18 19 20 21 22 23 24 ... 350 | Next 10 events »
Question Do YOU want an unofficial patch?
Answers
Yes, I'm desperate!
Yeh, why not...
I don't care either way.
Could easily do without it...
Decane, stop spamming the forums with your dumb ideas! NO!
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  16:20:10  15 November 2007
profilee-mailreply Message URLTo the Top
fatrap
The Wrinkled One
(Resident)

 

 
On forum: 08/01/2007
 

Message edited by:
fatrap
11/15/2007 16:23:05
Messages: 2279
NatVac, I don't see what the problem is with this "show reward" script. Can you take a peek at it and point me in the right direction? Also... I don't remember whether the ZRP included this function as an option. If not, it might be something worth considering as it really adds to the gameplay experience.

EDIT: I will email this to you 'cause I am just not up to dealing with the forum software in posting it here.... smiley paradise!
  20:12:40  15 November 2007
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4189
fatrap, it's the same problem as mentioned in my previous post: The callback is getting a string instead of a number, and trying to do math on a string doesn't work here. Converting it back to a number should work.

Since the Show Rewards mod is called in task_manager.script, and since the reputation bug needs to be fixed there anyway, maybe the fix at the source would be more practical than the Whack-A-Mole workaround on every place it is used. I'll post more after I finish debugging later, although real life has a nasty habit of intruding...
  21:33:14  15 November 2007
profilee-mailreply Message URLTo the Top
russao
(Senior)
 
On forum: 06/18/2007
Messages: 120
Im getting a weird error:

[error]Expression : fatal error
[error]Function : CInifile::r_section
[error]File : E:stalkerpatch_1_0004xrCoreXr_ini.cpp
[error]Line : 342
[error]Description : <no expression>
[error]Arguments : Can't open section 'acactor'

"Can't open section 'acactor'"

it seems like a typo mistake, "actor" instead of "acactor", but i have seen people also getting this "Can't open section 'ac'" instead of "ac actor"

the thing is there is no such section as "ac" or "acactor", i did a full search for both terms, also as "ac\actor" or "ac_actor", but i couldnt find anything, i also did a search in all.spawn, nothing is wrong.

but some how at some point the game save "acactor" as a section or whatever, the only place i could find it, was obvious, in my save game:

#ÜÿÝ..Ý..Ý..Ý..Ý..Ý..Ý..Ý..Ý..Ý..Ü........1<.`I..Z...acactor‘.†T...ð...Marked One.$ediz..ÿ .#”

there i can see "acactor" which is giving me that error, i wonder if anyone know what could be causing it since there is no type mistakes or sections named as "ac" or "acactor" or "ac\acactor".

i wonder if the game is passing corrupted data to save game file and if im not wrong this error is happening only in bar.
  06:16:56  16 November 2007
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4189
russao, since your mods are not using the ZRP, I can only make guesses about the cause.

Guess 1: Mixed modules from different versions.

I'd look for an extra p:w_*(*) or two in the save() function of one of your modules. The save file might be getting extra data and confusing the load() routines.

I have been on an unintentional road of discovery. Did you know that if you rename gamedata.dbc to gamedata.dbc.x, the engine still finds it and uses it? Even in version 1.0004?

So make sure you don't have gamedata.dbc in your STALKER installation directory if you are running 1.0004.

Guess 2: You are trying to load a 1.0005 saved game into 1.0004. This is similar to guess 1 in that the persistence is different than what is expected by the game.

Guess 3: This is not likely, but you can check the current_server_object_version value in system.ltx. Victim, <Snitch>this information might be of some use to you, stalker.</Snitch>

If I have it set to 7 when I save a game in 1.0004, that saved game will usually have a "can't open section" error under 1.0005. Maybe it is messing up the save/load stuff even in 1.0004.

fatrap, I'm using a slightly-modified version of Show Rewards 1.02 in the ZRP. It also notes whether or not you need to return for reward.

Folks, I believe I have a version that is compatible with 1.0004 and 1.0005, as long as the current_server_object_version value is consistent with the saved games. No, I'm not using that variable; I'm using the actual game version string, but 1.0004 games saved with that value set to 7 won't load in 1.0005.

I'll upload it after I update some of the documentation. There would also be an issue with the Carry Weight configuration item; the version should match the game version. I'll put the new stuff in a separate directory, so it will be easy to see what is different.
  09:10:16  16 November 2007
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4189
Okay, the 1.0005 compatibility fix for the ZRP is in.

There are three files: _g.script has a new version function, task_manager.script supports 1.0004/1.0005 operation, and xr_motivator.script to call the dialog_manager load() function with the appropriate number of parameters depending on the version.

This archive is the original 1.04 archive with an additional directory: gamedata.104c

If you have ZRP 1.04, you can copy just the gamedata.104c\scripts directory to your gamedata directory.

If you have an earlier version, you can just copy the new version over the top of the old -- but again I highly recommend backing up your gamedata\config and gamedata\scripts directories, first. Then install the 104c files as described above.

Download link (2MB): [link]http://www.metacognix.com/files/stlkrsoc/ZoneReclamationProject.zip[/link]

MD5 checksum on the executable in the archive (unchanged):
5e89ce8ad4a6d6e193d8df4e7fd05c76 *Modifier.exe

Please read the ZRP_ReadMe.txt file before using this version!

Please let me know any problems you have with the new stuff, or the old. And delete gamedata\scripts\task_manager.script.orig_bkup if it exists, otherwise using Revert in the config tool will restore an incompatible version.

Special Note: This does not change the dialog manager, as the ZRP does not use it. But I'll work on creating an update of that file to mirror the changes used by the task manager: AddPhrase and the callbacks.
  18:09:00  16 November 2007
profilee-mailreply Message URLTo the Top
russao
(Senior)
 
On forum: 06/18/2007
Messages: 120
thanks natvac, but i dont know what is ZRP, i thought this was a thread about stalker problems.

I believe i know the problem, the game is just saving wrong data, i did some googling and i found a few mos like srp and amk with the same problem, its always "AC" and something else.

the game try to save "actor single_player" but some how it get screwed and save as "ac unknow data", the result is "acactor single_player" or whatever, i never got this problem, but i believe its the bug fix 1.0004 mod and 2 days ago i got an error from that mod, the task_manager.script was returing nil value for sel_task line 469.
  20:04:12  16 November 2007
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
 

Message edited by:
NatVac
11/16/2007 20:15:30
Messages: 4189
>> i don't know what is ZRP, i thought this was a thread about stalker problems.

Well, this is a thread about fixing vanilla STALKER problems, russao. The ZRP (Zone Reclamation Project) is an effort to do that, and this thread is currently the primary place for discussing it. I mentioned it specifically because many folks with problems in their mods post here, but sometimes they don't say it's a problem with their mod, and I simply don't want anyone to think their problem is a ZRP problem if it isn't.

If someone is having a problem with a mod, and I think I can help, I'll post in that mod's discussion thread. I've even done so in ABC-related threads. But I don't mind answering here, even when it is somewhat off-topic, because it does help the community as a whole.

>> I believe i know the problem, the game is just saving wrong data, i did some googling and i found a few mos like srp and amk with the same problem, its always "AC" and something else.

That sounds like Guess 1. And it is likely due to the save() not matching the load() in some module, as I mentioned. The culprit is very likely in a modded file.

>> the game try to save "actor single_player" but some how it get screwed and save as "ac unknow data", the result is "acactor single_player" or whatever, i never got this problem, but i believe its the bug fix 1.0004 mod and 2 days ago i got an error from that mod, the task_manager.script was returing nil value for sel_task line 469.

It's not from the bug-fix 1.0004 mod; you'd get that same error with the vanilla task_manager. The only change in bardak's bfa in that file is my reputation bug fix.

The "nil sel_task" error is almost always an indication that either the saved game file is corrupt (the ZRP will show this, and then exit) or you have a script file that is not properly terminated, usually from a missing "end" statement somewhere.

Based on the earlier comment, it sounds like a corrupted save game. My guess is that some script command is writing two bytes (e.g., via p:w_u16(str) or similar) instead of a string (via p:w_stringZ(str)).

Edit: Clarifications.
  22:04:37  16 November 2007
profilee-mailreply Message URLTo the Top
russao
(Senior)
 
On forum: 06/18/2007
Messages: 120
ah my bad, then this is a sort of mod just like BFA.

i didnt compare those files, task manager and treasure with the vanilla files, i just assumed it was a good edited file.

i usual only extract the fies i want, because my hd is dieing and i dont have much space, that was probably the reason i got some files from 1.0001 thinking it was from 1.0004.

that sounds about right, i redid those 2 files, but when i got that error i didnt start a new game, so far everything is ok.

the string error you talk about is weird, because usual when you have different type of reading data, the game usual crash during loading/saving, so in theory you woundt go so far in game having wrong values in read/save, but could be it.

thanks for the help.
  09:11:27  17 November 2007
profilee-mailreply Message URLTo the Top
silverpower
short-haired anarchist hippy scum
(Resident)

 

 
On forum: 08/26/2007
 

Message edited by:
silverpower
11/17/2007 9:12:53
Messages: 790
NatVac, could you please include a mp_ranks.ltx in your next release? The TOZ-34 and Hi-Power aren't ranked by the game engine, and including a mp_ranks.ltx should cut down on bug reports. Too many people seem to think that they can get away with adding new entries without ranking them first, as well, so perhaps this needs to be noted, as this isn't immediately obvious.
  18:50:01  17 November 2007
profilee-mailreply Message URLTo the Top
onionradish
(Novice)
 
On forum: 05/11/2007
 

Message edited by:
onionradish
11/18/2007 1:46:18
Messages: 12

---QUOTATION---
I'm using a slightly-modified version of Show Rewards 1.02 in the ZRP. It also notes whether or not you need to return for reward.
---END QUOTATION---


I'm the original author of Show Reward. I just found out about the incompatibility with 1.0005.

UPDATED - Show Reward 1.03 for Vanilla 1.0005
I've updated the show_reward.script file to support both the new 1.0005 patch and earlier versions, based on detecting the game version. A separate version of Show Reward 1.03 for ZRP is linked further in the thread.

Noting "instant" rewards was a great idea, whoever added that tweak. I've included this feature using an in-game string id so the mod supports all languages. If a cash-only reward must be picked up in person, that's now shown with the cash value.

I'll bundle the revised script up with task_manager.script files and post it as an official release on StalkerFiles for stand-alone users. In the meantime, here's the updated script for those of you who've already incorporated it in your mods. Just replace the existing file with this one.

Show Reward v1.03 for Vanilla 1.0005
http://www.mediafire.com/?69cftrtjvbg

Let me know if it works or you spot anything strange.
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2017 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.