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 ... 3 4 5 6 7 8 9 10 11 ... 369 | 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
  00:26:54  18 October 2007
profilee-mailreply Message URLTo the Top
MiNoSwe
(Senior)
 
On forum: 09/26/2007
Messages: 137

---QUOTATION---
The problem is in the merge. In both mods, look in the file gamedataconfigcreaturesstalkers.ltx. Compare them with the merged version. There should be only one [stalkers_common] section, and it should have just two lines after it.

Either file will work by itself in the merge. If you are already playing the game, you should use Fatrap's version, as the body removal times should not increase for a game in progress.

I'm not sure that file change even works. I'm wondering if the times set by the [monsters_common] section in monsters.ltx override the settings in stalkers.ltx.

There will likely be other merge issues. You can compare the originals of each file that has problems. Use Fatrap's unique_items.ltx file; the one I include just makes the hunting shotgun have a unique name and keeps you from accidentally trading it or stashing it. Don't use the weapon files (like wpn_toz34.ltx file) from the ZRP mod unless they are not used in D&D; Fatrap has tuned these items for his mod.

In some cases, it is just a text choice. In other cases, we might need to discuss it...

As soon as I can get the Alternities 1 mod updated to support 1.0004, I'll be more help in merging this mod with other mods.
---END QUOTATION---



Thanks, that removed first problem butnext error says
FATAL ERROR

[error]Expression : fatal error
[error]Function : CScriptEngine::lua_error
[error]File : E:stalkerpatch_1_0004xr_3daxrGamescript_engine.cpp
[error]Line : 73
[error]Description : <no expression>
[error]Arguments : LUA error: ...shadow of chernobylgamedatascriptsxr_gulag.script:174: attempt to index local 'job' (a nil value)


stack trace:

Any thoughts on the above...
  06:04:14  18 October 2007
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4263
In ZRP 1.03 there's a test file in gamedata\scripts\ called xr_gulag.script.test. Rename or copy the file to xr_gulag.script in the same directory. If there is another file by that name already there, they may need to be compared and merged...

This file was included to help resolve a problem someone was having in the Single-player bugs section, so it may be a problem not related to either of these mods.

The "fix" simply keeps the bogus job from being added to the list. There may be no jobs available for the particular gulag (camp).

I think this is only going to move the problem, but we need to find out what is going on. On what level (map) is this problem occurring, MiNoSwe?
  11:32:56  18 October 2007
profilee-mailreply Message URLTo the Top
fatrap
The Wrinkled One
(Resident)

 

 
On forum: 08/01/2007
 

Message edited by:
fatrap
10/18/2007 11:46:53
Messages: 2279
Hey MiNoSwe! I am able to get around a little better lately and chest pains have tapered off, so I am going to attempt to manually merge these 2 mods for you. Might take a few days, so hang in there. Seems like everything takes 4 times longer to do lately!!! Should be able to use NatVacs all.spawn file, but I will have to look at the rest a line at a time.....
  13:11:15  18 October 2007
profilee-mailreply Message URLTo the Top
MiNoSwe
(Senior)
 
On forum: 09/26/2007
Messages: 137

---QUOTATION---
Hey MiNoSwe! I am able to get around a little better lately and chest pains have tapered off, so I am going to attempt to manually merge these 2 mods for you. Might take a few days, so hang in there. Seems like everything takes 4 times longer to do lately!!! Should be able to use NatVacs all.spawn file, but I will have to look at the rest a line at a time.....
---END QUOTATION---



Well great that you are feeling a bit better. I'm happy to inform you that i successfully merged your D&D and Dezodor's Free Play. That is IMHO the two best mods available. The problem file was weather_prypyat.ltx. If one remove that from either D&D or FreePlay everything works great. I just started a new game, on master, and oh my, it's really tough now living in the zone.

The last piece is now to get the latest fixes via ZRP to work, and then i will move to the zone permanently

Thanks to all those who contributes in these forums to make the stalker experience even better.

One problem though, from being a gamer, i now have this fear that i will turn into a zombiefied modder, who lurks around .ltx files in search of prey
  13:38:53  18 October 2007
profilee-mailreply Message URLTo the Top
MiNoSwe
(Senior)
 
On forum: 09/26/2007
Messages: 137

---QUOTATION---
In ZRP 1.03 there's a test file in gamedatascripts called xr_gulag.script.test. Rename or copy the file to xr_gulag.script in the same directory. If there is another file by that name already there, they may need to be compared and merged...

This file was included to help resolve a problem someone was having in the Single-player bugs section, so it may be a problem not related to either of these mods.

The "fix" simply keeps the bogus job from being added to the list. There may be no jobs available for the particular gulag (camp).

I think this is only going to move the problem, but we need to find out what is going on. On what level (map) is this problem occurring, MiNoSwe?
---END QUOTATION---



The CTD happens after you start a new game and you get to Client: synchronizing.

I tried the above fix and got this Fatal Error also at Client synchronizing :

FATAL ERROR

[error]Expression : fatal error
[error]Function : CScriptEngine::lua_error
[error]File : E:stalkerpatch_1_0004xr_3daxrGamescript_engine.cpp
[error]Line : 73
[error]Description : <no expression>
[error]Arguments : LUA error: ...ow of chernobylgamedatascriptsbind_stalker.script:68: attempt to index global 'death_manager' (a nil value)


stack trace:
  16:25:35  18 October 2007
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4263
Yeah, these definitely sound like merge problems.

Use the D&D death_manager.script as is; don't merge with the ZRP version. I've provided a death_manager.script.normal file that might be used, but I think that Fatrap has some special meanness in his version of the file.
  02:56:20  20 October 2007
profilee-mailreply Message URLTo the Top
silverpower
short-haired anarchist hippy scum
(Resident)

 

 
On forum: 08/26/2007
Messages: 790
Hiya, NatVac! Thanks for including the debug info script - it's been *very*, *very* handy.

I'm currently plugging away on a method to control Foobar2000 with the help of an external program, but I'm not sure how I would go about making the news_manager call when displaying status information, or even what it should look like. I'm not asking for help with the actual programming side of things, I'd just like a couple pointers on sending custom news_manager tips that make heavy use of variables.
  09:42:48  20 October 2007
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4263
I'm glad the debug info helps, silverpower. That's encouraging feedback.

If you already have the variables and just want to display them, you might want to look at _g.script. At the very top is a set of debug utility routines. I'm thinking you can create a derivative to suit your needs. Maybe calling the report() function with a formatted string:
____________
function report_f(fmt,...)
    if (arg ~= nil) then 
        report(string.format(fmt, ...))
    end
end

____________
I'd try the above with variables like so: report_f("Now playing %s", current_song)

You might have to use tostring() and other Lua support functions, but you won't have any problems.
  12:51:10  23 October 2007
profilee-mailreply Message URLTo the Top
DC-
Senior Resident
 

 
On forum: 07/04/2007
Messages: 451
Hey,

I just had a crash in Pripyat which looks kinda funky...

actor_garExpression : fatal error
Function : CScriptEngine::lua_error
File : E:stalkerpatch_1_0004xr_3daxrGamescript_engine.cpp
Line : 73
Description : <no expression>
Arguments : LUA error: ...adow of chernobylgamedatascriptsse_respawn.script:282: attempt to compare number with nil

The script there says:

function se_respawn:create(prob)
if tostring(prob) == "nil" then
print_table(self.conditions)
abort("RESPAWN[%s]spawn probability doesn't set", tostring(self:name()))
prob = 0
end

if math.random(100) <= tonumber(prob) then
local spawn_section = ""
local sum = 0

That function is vanilla, I don't understand, why prob is nil, when the function should set it to 0...

Don't know if it has anything to do with it, but I directly spawned in Pripyat for testing purposes and the crash happened when the Duty leader guy in the beginning finished his speech.

Any ideas?
  14:08:00  23 October 2007
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4263

---QUOTATION---
Hey,

I just had a crash in Pripyat which looks kinda funky...

actor_garExpression : fatal error
Function : CScriptEngine::lua_error
File : E:stalkerpatch_1_0004xr_3daxrGamescript_engine.cpp
Line : 73
Description : <no expression>
Arguments : LUA error: ...adow of chernobylgamedatascriptsse_respawn.script:282: attempt to compare number with nil

The script there says:

function se_respawn:create(prob)
if tostring(prob) == "nil" then
print_table(self.conditions)
abort("RESPAWN[%s]spawn probability doesn't set", tostring(self:name()))
prob = 0
end

if math.random(100) <= tonumber(prob) then
local spawn_section = ""
local sum = 0

That function is vanilla, I don't understand, why prob is nil, when the function should set it to 0...

Don't know if it has anything to do with it, but I directly spawned in Pripyat for testing purposes and the crash happened when the Duty leader guy in the beginning finished his speech.

Any ideas?
---END QUOTATION---


"Here there be dragons" -- what mapmakers would write in map areas they knew nothing about.

You are in uncharted territory, DC-. Something might be needed, like an info_portion key, and this is breaking the scripted event at this point. Are you using any of the shortcut scripts for giving you all you need to do this?

I suspect that a nil value stays a nil value, and that the test there never converts the nil to a true "nil" string. A better test would be "if prob == nil then". You could put a dbglog("Prob was nil!") statement inside that test, and prove that it is not being caught.

Also, the "if math.random(100) <= tonumber(prob) then" that follows shouldn't accept a probablility of zero, anyway. I think ""if math.random(100) < tonumber(prob) then" is better.

Finally, I don't see a comparison on line 282 in vanilla se_respawn.script, so something has been changed in that file. You might want to compare that file with the one from vanilla STALKER.

Does this mean you are already trying to merge the ZRP with AliVe? I thought you were going to wait on that until after your next release.
 
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-2019 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.