ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
I Am Having A Weird Issue.

1 2 | Next 10 events »| All Messages
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  06:42:56  11 July 2012
profilee-mailreply Message URLTo the Top
Derranged
Senior Resident
 

 
On forum: 04/12/2010
Messages: 1009
I Am Having A Weird Issue.

Hello again everybody,

I am having another grand problem with the creation of some quests.

Expression : fatal error
Function : CScriptEngine::lua_error
File : E:\stalker\sources\trunk\xr_3da\xrGame\script_engine.cpp
Line : 73
Description : <no expression>
Arguments : LUA error: ...shadow of chernobyl\gamedata\scripts\xr_logic.script:870: bad argument #1 to 'gfind' (string expected, got nil)

This is what I am getting when I attempt to talk to Wolf. His dialogue used to work, before I added the new mission. I have created a fair couple of Dialogues before it which work perfectly, so this is just plain weird.

Any help would be very appreciated!
  11:06:21  11 July 2012
profilee-mailreply Message URLTo the Top
Vintar
a bit of this and a lot of that
(Resident)

 

 
On forum: 08/08/2008
Messages: 6349
Try using the _g.script from zrp and it might show the error better. Hard to tell from that without having all your files at hand.
  11:22:14  11 July 2012
profilee-mailreply Message URLTo the Top
Derranged
Senior Resident
 

 
On forum: 04/12/2010
 

Message edited by:
Derranged
07/11/2012 13:06:17
Messages: 1009
Alright, I will try that

10 minutes later....

Sorry to say, it shows the exact same error

EDIT: I kept testing and I came to the conclusion. The game had been crashing when it met an info portion. Does that help? Maybe you could add me on Steam and we could talk a little bit easier.
  18:55:58  11 July 2012
profilee-mailreply Message URLTo the Top
gannebamm
has abondened XRay and uses Unity3D now
(Resident)

 

 
On forum: 05/02/2007
Messages: 1077

---QUOTATION---
Alright, I will try that

10 minutes later....

Sorry to say, it shows the exact same error

EDIT: I kept testing and I came to the conclusion. The game had been crashing when it met an info portion. Does that help? Maybe you could add me on Steam and we could talk a little bit easier.
---END QUOTATION---


iportions have to be registered properly in SHOC. What about going some steps back with your mission and block the dialog phrases to nail done the part which produces this error.
  19:30:27  11 July 2012
profilee-mailreply Message URLTo the Top
Lijenstina
Doom metal in the shade of the flying radiators
(Resident)

 

 
On forum: 07/23/2005
 

Message edited by:
Lijenstina
07/11/2012 19:31:44
Messages: 1902
It's the parse_condlist function in the xr_logic. It is however used all over the place. The errors could be in the logic, timers, respawns, quests etc.

First you start with the quest you assigned after talking to Wolf. Check if the infoportion is listed in the xml files, then if the task_manager or tasks_...xmls entries are good. If you've changed Wolf's logic check that too.
  23:01:13  11 July 2012
profilee-mailreply Message URLTo the Top
Derranged
Senior Resident
 

 
On forum: 04/12/2010
Messages: 1009
I thought about another possible issue, I am not able to order a weapon from Sid (Using Preconditions), the game crashes. And when I go to talk to wolf, I have set a dialogue path with preconditions. So, I reckon that now, it is the preconditions crashing the game, even though they used to work. However, the game started crashing *after* I created a new mission which uses a fair couple of preconditions.
  23:34:35  11 July 2012
profilee-mailreply Message URLTo the Top
Lijenstina
Doom metal in the shade of the flying radiators
(Resident)

 

 
On forum: 07/23/2005
Messages: 1902
What are the preconditions ?
Functions or infoportions ?
  23:48:48  11 July 2012
profilee-mailreply Message URLTo the Top
Derranged
Senior Resident
 

 
On forum: 04/12/2010
Messages: 1009
Functions,

Here is one of the preconditions I used in Wolfs mission:

function wolf_mission_hasbox(actor, npc)
return first_speaker bject("quest_case_01" ~= nil
return first_speaker bject("wpn_wolfs_akm" ~= nil
end

Basically, you must have those items to go into one of the Dialogue paths.

I don't know is (actor, npc) is valid in this situation. Maybe somebody could lighten up the situation.
  23:57:27  11 July 2012
profilee-mailreply Message URLTo the Top
Lijenstina
Doom metal in the shade of the flying radiators
(Resident)

 

 
On forum: 07/23/2005
Messages: 1902
That is the problem


function wolf_mission_hasbox()
     local actor = db.actor
     if actor then
        return ((actor:object("quest_case_01") ~= nil) and (actor:object("wpn_wolfs_akm") ~= nil))
     end
     return false
end

  00:05:12  12 July 2012
profilee-mailreply Message URLTo the Top
Derranged
Senior Resident
 

 
On forum: 04/12/2010
Messages: 1009
AH! Thank you very much! See what happens when I don't know what I am doing! I need a right hand man, but in the Zone they are very hard to come by.

I will attempt to get it together and test it this-morning. I have to head off to work though, I wish I could stay in the Zone all the time.
 
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-2021 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.