Maris Posted May 6, 2015 Share Posted May 6, 2015 Bug Submission:Category: Client CrashIssue Title: Mod System BugIssue Description: If there is a special bug in "all_clients_require_mod" mod, then client will crash on each game start, even if user is not subscribed on this mod.Steps to Reproduce:1) Make a mod like this:_G=GLOBAL----all_clients_require_mod ----------if _G.TheNet and _G.TheNet:GetIsClient() then -- some codeelse --server side _G.some_func("init_status")endThe function "some_func" must exists on the server. This mod probably changes interface for client, and do some stuff on server. It does not really matter in this presentation of the bug.2) Start a dedicated server. Note that function some_func must exist. It may be another mod. Or you can change server lua files directly.3) Start DST client and join the server as client. The mod will be downloaded automatically.4) Crash the client. For example, just close it with Alt+F4 or by pressing cross in top right corner of game window.5) Launch DST client again and.... it crashes. And it crashes every time on start, because it is trying to execute code_G.some_func("init_status")And there is no function "some_func" on client. But why? Why the game is trying to execure temporary mod? User even did not subscribe it. It should be deleted on start of DST client. Link to comment https://forums.kleientertainment.com/forums/topic/53580-client-crash-mod-system-bug/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.