















liwkid napisał(a):Siemka,
....
1) Crash zawsze gdy poproszę o nowe zadanie (po wzięciu i wykonaniu zadań ze skrzynią i pda) u handlarzy frakcji nieba, oporu, banditów i chyba wolności.
....
Narazie tyle przychodzi mi na myśl, da się coś zrobić z tymi crashami u handlarzy frakcyjnych?
* Detected CPU: GenuineIntel Pentium-II, F6/M5/S2, 2400.00 mhz, 30-clk 'rdtsc'
* CPU Features: RDTSC, MMX, SSE, SSE2
Initializing File System...
using fs-ltx fsgame.ltx
FS: 30039 files cached 29 archives, 4736Kb memory used.
Init FileSystem 1.405660 sec
'xrCore' build 3795, Jun 25 2009
Initializing Engine...
Starting INPUT device...
Loading DLL: xrRender_R2.dll
Loading DLL: xrRender_R3.dll
refCount:m_pAdapter 1
command line
Executing config-script "user.ltx"...
[c:\users\public\documents\stalker-stcs\user.ltx] successfully loaded.
Loading DLL: xrRender_R2.dll
Loading DLL: xrGame.dll
* [win32]: free[4005524 K], reserved[56080 K], committed[132636 K]
* [ D3D ]: textures[0 K]
* [x-ray]: crt heap[10015 K], process heap[688 K], game lua[0 K], render[0 K]
* [x-ray]: economy: strings[7043 K], smem[0 K]
SOUND: OpenAL: enumerate devices...
SOUND: OpenAL: EnumerationExtension Present
devices Generic Hardware
SOUND: OpenAL: system default SndDevice name is Speakers (Realtek High Definiti
SOUND: OpenAL: All available devices:
1. Generic Software, Spec Version 1.1 eax[0] efx[no] xram[no]
2. Generic Software, Spec Version 1.1 eax[0] efx[no] xram[no]
3. Speakers (Realtek High Definition Audio), Spec Version 1.1 eax[4] efx[no] xram[no]
4. Realtek Digital Output (Realtek High Definition Audio), Spec Version 1.1 eax[4] efx[no] xram[no]
Executing config-script "user.ltx"...
Executing config-script "d:\games\s.t.a.l.k.e.r. - clear sky\gamedata\configs\rspec_high.ltx"...
[d:\games\s.t.a.l.k.e.r. - clear sky\gamedata\configs\rspec_high.ltx] successfully loaded.
~ Invalid syntax in call to 'r3_msaa_alphatest'
~ Valid arguments: st_opt_off/st_opt_atest_msaa_dx10_0/st_opt_atest_msaa_dx10_1
! Unknown command: r3_msaa_opt
[c:\users\public\documents\stalker-stcs\user.ltx] successfully loaded.
SOUND: Selected device is Generic Software
* sound: EAX 2.0 extension: absent
* sound: EAX 2.0 deferred: absent
* sound : cache: 65537 kb, 4856 lines, 13820 bpl
Starting RENDER device...
* GPU [vendor:10DE]-[device:CB1]: NVIDIA GeForce GTS 360M
* GPU driver: 8.17.13.142
* CREATE: DeviceREF: 1
* Vertex Processor: PURE HARDWARE
* Texture memory: 2691 M
* DDI-level: 9.0
* GPU shading: vs(fffe0300/3.0/30), ps(ffff0300/3.0/30)
* GPU vertex cache: recognized, 24
* NVidia MGPU: Logical(1), Physical(1)
* Starting rendering as 2-GPU.
* DVB created: 1536K
* DIB created: 512K
! Renderer doesn't support blender 'effects\shadow_world'
* NULLRT supported
* ...and used
* HWDST/PCF supported and used
* NV-DBT supported and used
- r__tf_aniso 8
- r2_tf_mipbias 0.
Starting engine...
Loading DLL: xrGameSpy.dll
* DVB created: 1536K
* DIB created: 512K
- r__tf_aniso 8
- r2_tf_mipbias 0.
* GPU shading: vs(fffe0300/3.0/30), ps(ffff0300/3.0/30)
* GPU vertex cache: recognized, 24
* NVidia MGPU: Logical(1), Physical(1)
* Starting rendering as 2-GPU.
*** RESET [1057 ms]
* MEMORY USAGE: 124183 K
* End of synchronization A[1] R[1]
* DVB created: 1536K
* DIB created: 512K
- r__tf_aniso 8
- r2_tf_mipbias 0.
* GPU shading: vs(fffe0300/3.0/30), ps(ffff0300/3.0/30)
* GPU vertex cache: recognized, 24
* NVidia MGPU: Logical(1), Physical(1)
* Starting rendering as 2-GPU.
*** RESET [725 ms]
"d:\games\s.t.a.l.k.e.r. - clear sky\bin\xrengine.exe"
* phase time: 0 ms
* phase cmem: 136915 K
Buforowanie obiektów...
Loading objects...
Loading models...
* [prefetch] time: 1336 ms
* [prefetch] memory: 0Kb
* phase time: 1564 ms
* phase cmem: 127832 K
SERWER: rozpoczynanie...
* phase time: 1545 ms
* phase cmem: 113743 K
SERWER: Wczytywanie symulatora Alife...
* phase time: 309 ms
* phase cmem: 113743 K
Wczytywanie zapisanej gry "none_09_tfw_a.save-jkx932.sav"...
* Loading spawn registry...
* 11002 spawn points are successfully loaded
* Loading objects...
* 23425 objects are successfully loaded
* Game none_09_tfw_a.save-jkx932 is successfully loaded from file 'c:\users\public\documents\stalker-stcs\savedgames\none_09_tfw_a.save-jkx932.sav' (24.392s)
* phase time: 24392 ms
* phase cmem: 183543 K
SERWER: łączenie...
* phase time: 2787 ms
* phase cmem: 183553 K
KLIENT: Łączenie z localhost...
* client : connection accepted - <>
* phase time: 619 ms
* phase cmem: 183586 K
Otwieranie strumienia...
* phase time: 329 ms
* phase cmem: 183586 K
Wczytywanie CFORM...
* phase time: 6469 ms
* phase cmem: 294533 K
Wczytywanie shaderów...
* phase time: 618 ms
* phase cmem: 295575 K
Wczytywanie danych geometrycznych...! attempt to use non-existent INFOPORTION [ui_talk_show]
! [LUA][ERROR] companion_vistoysky_init in rest = mar_mole_rest
! [LUA][ERROR] mar_csky_trader in rest = mar_mole_rest
! [LUA][ERROR] mar_csky_tech in rest = mar_mole_rest
! [LUA][ERROR] mar_csky_scientist in rest = mar_mole_rest
! [LUA][ERROR] mar_csky_guide_at_base in rest = mar_mole_rest
! [LUA][ERROR] mar_csky_barman in rest = mar_mole_rest
! [LUA][ERROR] sim_default_csky_012579 in rest = mar_mole_rest
! [LUA][ERROR] sim_default_csky_012592 in rest = mar_mole_rest
! [LUA][ERROR] sim_default_csky_012605 in rest = mar_mole_rest
! [LUA][ERROR] sim_default_csky_012618 in rest = mar_mole_rest
! [LUA][ERROR] sim_default_csky_112630 in rest = mar_mole_rest
! [LUA][ERROR] sim_default_csky_012691 in rest = mar_mole_rest
! [LUA][ERROR] sim_default_csky_012703 in rest = mar_mole_rest
! [LUA][ERROR] sim_default_csky_012717 in rest = mar_mole_rest
! [LUA][ERROR] sim_default_csky_012731 in rest = mar_mole_rest
! [LUA][ERROR] sim_default_csky_112742 in rest = mar_mole_rest
! [LUA][ERROR] sim_default_csky_012804 in rest = mar_mole_rest
! [LUA][ERROR] sim_default_csky_012817 in rest = mar_mole_rest
! [LUA][ERROR] sim_default_csky_012828 in rest = mar_mole_rest
! [LUA][ERROR] sim_default_csky_012839 in rest = mar_mole_rest
! auto-generated bump map: act\act_stalker_nebo_5_bump#
! [LUA][ERROR] sim_default_csky_112850 in rest = mar_mole_rest
! [LUA][ERROR] There is no section [sim_default_bandit_0_trooper] in point_table! [CRITICAL!!!]
FATAL ERROR
[error]Expression : fatal error
[error]Function : CScriptEngine::lua_error
[error]File : E:\priquel\sources\engine\xrServerEntities\script_engine.cpp
[error]Line : 180
[error]Description : <no expression>
[error]Arguments : LUA error: ....r. - clear sky\gamedata\scripts\random_tasks.script:1049: attempt to perform arithmetic on a nil value






function get_points(section)
local point_table = {
-- Defiance
sim_default_stalker_0 = 5,
sim_default_stalker_1 = 10,
sim_default_stalker_2 = 15,
sim_default_stalker_3 = 20,
--Mercenary
sim_default_killer_0 = 5,
sim_default_killer_1 = 10,
sim_default_killer_2 = 15,
sim_default_killer_3 = 20,
--Duty
sim_default_duty_0 = 5,
sim_default_duty_1 = 10,
sim_default_duty_2 = 15,
sim_default_duty_3 = 20,
--Freedom
sim_default_freedom_0 = 5,
sim_default_freedom_1 = 10,
sim_default_freedom_2 = 15,
sim_default_freedom_3 = 20,
--Bandit
sim_default_bandit_0 = 5,
sim_default_bandit_1 = 10,
sim_default_bandit_2 = 15,
sim_default_bandit_3 = 20,
--Clear Sky
sim_default_csky_0 = 5,
sim_default_csky_1 = 10,
sim_default_csky_2 = 15,
sim_default_csky_3 = 20,
--Loner
sim_default_loner_0 = 5,
sim_default_loner_1 = 10,
sim_default_loner_2 = 15,
sim_default_loner_3 = 20,
mil_shovel_2 = 15,
--Renegade
sim_default_renegade_0 = 5,
sim_default_renegade_1 = 10,
sim_default_renegade_2 = 15,
sim_default_renegade_3 = 20,
--Army
sim_default_military_0 = 5,
sim_default_military_1 = 10,
sim_default_military_2 = 15,
sim_default_military_3 = 15,
sim_default_military_4 = 20,
--Monolith
sim_default_monolith_0 = 8,
sim_default_monolith_1 = 13,
sim_default_monolith_2 = 18,
sim_default_monolith_3 = 23,
--Ecolog
sim_default_ecolog_0 = 15,
sim_default_ecolog_1 = 15,
--Army_Stalker
sim_default_army_stalker_0 = 15,
sim_default_army_stalker_1 = 15,
--Zombie
sim_default_zombied_1 = 5,
sim_default_zombied_2 = 5,
sim_default_zombied_3 = 7,
sim_default_zombied_4 = 7,
stalker_zombied = 2,
--Dogs
dog_weak = 2,
dog_normal = 3,
dog_strong = 4,
--Cats
cat_1 = 2,
cat_2 = 2,
cat_3 = 2,
--Rats
tushkano_normal = 1,
--Pseudodogs
pseudodog_weak = 9,
pseudodog_normal = 10,
pseudodog_strong = 11,
--Boars
boar_weak = 4,
boar_normal = 5,
boar_strong = 6,
boar_fake = 4,
--Fleshes
flesh_weak = 2,
flesh_normal = 3,
flesh_strong = 4,
--Snorks
snork_weak = 11,
snork_normal = 13,
snork_strong = 14,
--Bloodsuckers
bloodsucker_weak = 13,
bloodsucker_marsh = 13,
bloodsucker_normal = 15,
bloodsucker_strong = 18,
--Burers
burer_1 = 25,
burer_2 = 25,
--Chimeras
chimera_weak = 75,
chimera_normal = 75,
chimera_strong = 75,
--Psydog
psy_dog = 40,
--Pseudogiant
gigant_normal = 75,
gigant_strong = 75,
--Controller
m_controller_normal = 75,
m_controller_normal_fat = 75,
}
if string.find(section, "_grunt") then
section = string.gsub(section, "_grunt", "")
elseif string.find(section, "_sniper") then
section = string.gsub(section, "_sniper", "")
elseif string.find(section, "_trooper") then
section = string.gsub(section, "_trooper", "")
elseif string.find(section, "_medic") then
section = string.gsub(section, "_medic", "")
elseif string.find(section, "_recon") then
section = string.gsub(section, "_recon", "")
end
if point_table[section] == nil then
error_log(string.format("There is no section [%s] in point_table! [CRITICAL!!!]",section))
end
return point_table[section]
end
function save(file)
--package:w_u32(xp_monitor.total_points)
local section = "xp_system_data"
if xp_monitor.total_points == nil then
xp_monitor.total_points = 0
end
local total_points = string.format("%s",tostring(xp_monitor.total_points))
total_points = {total_points,}
TFWsave.store_data_section(file, section, total_points)
end
function load(filename)
--error_log(string.format("Begining load of XP"))
--xp_monitor.total_points = package:r_u32()
--if xp_monitor.total_points == nil then
--xp_monitor.total_points = 0
--end
local section = "xp_system_data"
local data = TFWsave.read_data_section(filename, section)
xp_monitor.total_points = tonumber(data[1])
--error_log(string.format("xp_monitor.total_points = %s",tostring(xp_monitor.total_points)))
if xp_monitor.threshold == nil then
xp_monitor.threshold = 0
end
--error_log(string.format("Loaded total_points %s and threshold %s", tostring(xp_monitor.total_points), tostring(xp_monitor.threshold) ))
xp_monitor:update()
end
class "xp_monitor"
function xp_monitor:__init()
self.total_points = 0
self.threshold = 0
end
function xp_monitor:ui()
if self.transparency == nil then
self.transparency = 0
end
if self.hud == nil then
get_hud():AddCustomStatic("xp_hud_indicator", true)
self.hud = get_hud():GetCustomStatic("xp_hud_indicator"):wnd()
end
if self.time == nil then
self.time = time_global()
end
if self.transparency > 0 then
self.hud:SetTextST(game.translate_string("give_xp_points").." "..tostring(self.points))
if self.transparency > 255 then
self.transparency = 255
elseif self.transparency < 0 then
self.transparency = 0
end
self.hud:SetTextColor(self.transparency, 255, 255, 255)
if time_global() - self.time >= 12 then
self.transparency = self.transparency - 1
self.time = time_global()
end
else
self.points = 0
self.hud:SetTextST(" ")
end
end
function xp_monitor:update()
if db.actor ~= nil and self.total_points >= 1500 and self.total_points < 4500 and db.actor:character_rank() < 300 then
db.actor:set_character_rank(300)
--error_log(string.format("setting rank to 300"))
if tools.getPlayerFaction() == "none" then
--error_log(string.format("setting community to loner"))
dialogs.actor_set_loner(nil, nil)
--error_log(string.format("setting community to loner"))
end
elseif db.actor ~= nil and self.total_points >= 4500 and self.total_points < 9000 and db.actor:character_rank() < 600 then
db.actor:set_character_rank(600)
elseif db.actor ~= nil and self.total_points >= 9000 and db.actor:character_rank() < 900 then
db.actor:set_character_rank(900)
end
if self.threshold == nil then
self.threshold = 0
end
if self.total_points < 1500 and self.threshold ~= 1500 then
self.threshold = 1500
elseif self.total_points >= 1500 and self.total_points < 4500 and self.threshold ~= 4500 then
self.threshold = 4500
elseif self.total_points >= 4500 and self.total_points < 9000 and self.threshold ~= 9000 then
self.threshold = 9000
end
end
function xp_monitor:add_points(type, value) --npc as value is only needed when type is "kill"
if self.total_points == nil then
self.total_points = 0
end
local new_points = 0
if type == "kill" then
if value == nil then
error_log(string.format("XP monitor: there is no npc for get_points! [CRITICAL!!!]"))
return
end
new_points = get_points(value:section())
elseif type == "base_capture" then
new_points = 350
elseif type == "task" then
new_points = 150
elseif type == "extort" then
new_points = 15
elseif type == "trade" then
new_points = 10
elseif type == "generic" then
new_points = value
end
if new_points == nil then
new_points = 0
end
self.total_points = self.total_points + new_points
xp_monitor:update()
--news_manager.give_xp_points(new_points)
self.transparency = 255
self.time = time_global()
if self.points == nil then
self.points = 0
end
self.points = self.points + new_points
end
function xp_monitor:get_xp_points()
if self.total_points == nil or self.threshold == nil then
return "0"
end
if self.total_points >= 9000 then
return tostring(self.total_points)
end
local string = tostring(self.total_points).."/"..tostring(self.threshold)
return string
end















Użytkownicy przeglądający to forum: Brak zarejestrowanych użytkowników oraz 2 gości