ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Clear Sky Forum » Mod discussion
S.T.A.L.K.E.R: The Faction War

« Previous 10 events | 1 ... 4 5 6 7 8 9 10 11 12 ... 209 | Next 10 events »
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  01:10:33  3 February 2011
profilee-mailreply Message URLTo the Top
Rm4g3dD0v
Appointed Destroyer
(Resident)

 

 
On forum: 03/28/2010
Messages: 206
@smoq
played for a couple of hours and no ctds. Will keep trying...

do you want me to remove the previous script file, or leave it there?
  01:26:31  3 February 2011
profilee-mailreply Message URLTo the Top
RoboMook
Senior Resident
 

 
On forum: 11/12/2008
 

Message edited by:
RoboMook
02/03/2011 1:27:06
Messages: 4387

---QUOTATION---
@smoq
played for a couple of hours and no ctds. Will keep trying...

do you want me to remove the previous script file, or leave it there?
---END QUOTATION---



Keep it there, it doesn't affect the functionality, it just adds some debug code so that if you get a stack overflow crash your error log will hopefully give some more useful info to help Smoq track down the cause.

Thanks for helping out by the way (your reward will be waiting for you at the base)
  02:32:36  3 February 2011
profilee-mailreply Message URLTo the Top
smoq2
Forklift operator
(Resident)

 

 
On forum: 09/08/2008
Messages: 2433

---QUOTATION---
@smoq
played for a couple of hours and no ctds. Will keep trying...

do you want me to remove the previous script file, or leave it there?
---END QUOTATION---



Hah, yeah, keep it! Maybe by simplifying the functions in order to pinpoint the location of the problem, I managed to accidentally get rid of it. In such case, I'd say I'm disappointed. I really wanted to know why it was there.
  06:45:11  3 February 2011
profilee-mailreply Message URLTo the Top
Rm4g3dD0v
Appointed Destroyer
(Resident)

 

 
On forum: 03/28/2010
Messages: 206
here's a pack of 4 ctds. two of them happened on levelchange, the rest, i dont remember. also i got two more ctds that didnt produce errorlog (xrengine.exe was terminated before it could make a log) and both happened exacty when a resource area was being captured (i went in, killed all then req'd backup and then when they came it crashed).

http://www.mediafire.com/?bwqbzkdmab37wgm

sorry for mediafire uploads, fileden is still down.
  11:13:56  3 February 2011
profilee-mailreply Message URLTo the Top
mnn
Senior Resident
 

 
On forum: 06/12/2009
Messages: 2694

---QUOTATION---
http://www.mediafire.com/?bwqbzkdmab37wgm

sorry for mediafire uploads, fileden is still down.
---END QUOTATION---


http://www.sendspace.com/file/gjdvon
  11:40:51  3 February 2011
profilee-mailreply Message URLTo the Top
smoq2
Forklift operator
(Resident)

 

 
On forum: 09/08/2008
Messages: 2433
Well, apparently the C stack overflow occurs in line 107 of the function below:

http://pastebin.com/6mntgmD7

Can anyone explain to me why?
  12:01:25  3 February 2011
profilee-mailreply Message URLTo the Top
mnn
Senior Resident
 

 
On forum: 06/12/2009
Messages: 2694
No idea. I would try minimizing calls to the engine objects:
local weapon, weapon_section
npc:iterate_inventory(function (dummy, item)
    if item ~= nil then
        local ammo = item:get_ammo_total()
        local section = item:section()
        if weap_table[section] and weapon == nil and ammo > 0 then
            weapon = item
            weapon_section = section
        end 
        if weapon ~= nil then
            if weap_table[section] ~= nil and weap_table[weapon_section] ~= nil then 
                if weap_table[section] > weap_table[weapon_section] and ammo > 0 then 
                    weapon = item 
                    weapon_section = section
                end 
            end 
        end
    end 
end, nil)

  13:00:04  3 February 2011
profilee-mailreply Message URLTo the Top
smoq2
Forklift operator
(Resident)

 

 
On forum: 09/08/2008
Messages: 2433
That would optimize the function for sure, but will not free it of the C stack overflow errors. I believe the problem is somewhere else. Somewhere where the function is called, rather then in the function itself. I'm checking other scripts that call that function, but cannot anything suspicious.

@ mnn - Could you do a sweep of the scripts from TFW and check the files that point to our problematic function? Maybe you'll see something that I'm missing.
  15:16:25  3 February 2011
profilee-mailreply Message URLTo the Top
Rm4g3dD0v
Appointed Destroyer
(Resident)

 

 
On forum: 03/28/2010
 

Message edited by:
Rm4g3dD0v
02/03/2011 15:18:21
Messages: 206

---QUOTATION---

---QUOTATION---
HA! just checked again and there's an offer at €9+€5. Hope it doesnt end soon!!!
---END QUOTATION---


yay... just ordered it...
---END QUOTATION---



FRACK!!! THE WHOLESALER IS OUT OF FRACKING STOCK!!!
THE ONLY COPY OF ST-CS IN GREECE COSTS €45.FRACK!!!
  16:11:44  3 February 2011
profilee-mailreply Message URLTo the Top
smoq2
Forklift operator
(Resident)

 

 
On forum: 09/08/2008
Messages: 2433

---QUOTATION---
HA! just checked again and there's an offer at €9+€5. Hope it doesnt end soon!!!
yay... just ordered it...

FRACK!!! THE WHOLESALER IS OUT OF FRACKING STOCK!!!
THE ONLY COPY OF ST-CS IN GREECE COSTS €45.FRACK!!!
---END QUOTATION---



They seem to rip you off. Tell me again why not buy through steam?
 
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.: Clear Sky Forum » Mod discussion
 

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


 

Copyright © 1995-2020 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.