Code: Select all
--- game/modules/tome/class/Game.lua (revision 1710)
+++ game/modules/tome/class/Game.lua (revision 1711)
@@ -665,7 +665,7 @@
a.faction = "enemies"
self.zone:addEntity(self.level, a, "actor", self.player.x+1, self.player.y) --]]
- game.level.map:particleEmitter(self.player.x, self.player.y, 1, "breath_cold", {radius=6, tx=10, ty=2})
+ self:changeLevel(2, "tempest-peak")
end
end,
}
@@ -944,6 +944,9 @@
--- Requests the game to save
function _M:saveGame()
+ self.player:runStop("saving")
+ self.player:restStop("saving")
+
-- savefile_pipe is created as a global by the engine
savefile_pipe:push(self.save_name, "game", self)
world:saveWorld()
Here's what I see in the log:
Code: Select all
false wild-gift/summon-utility nil 1.3 will dump true
false technique/combat-training nil 1 will dump true
false technique/combat-techniques-passive nil 1 will dump
true
false wild-gift/summon-melee nil 1.3 will dump true
false technique/combat-techniques-active nil 1 will dump
true
false wild-gift/summon-augmentation nil 1.3 will dump true
false wild-gift/summon-distance nil 1.3 will dump true
false wild-gift/sand-drake nil 1 will dump true
nil inc_damage nil table: 0xc732cf8 will dump true
false 6 nil 4 will dump true
nil focus_ui nil table: 0xb084ea0 will dump true
false y nil 45 will dump true
false x nil 97.5 will dump true
false bottom nil 3 will dump true
false ui nil table: 0xb1f7c10 will dump true
false hcenter nil 0 will dump true
nil iw nil 246 will dump true
nil display_y nil 339 will dump true
nil setuped nil true will dump true
nil h nil 90 will dump true
nil key nil table: 0xc8f8e58 will dump true
nil iy nil 25 will dump true
nil display_x nil 384 will dump true
nil focus_ui_id nil 2 will dump true
nil tex_h nil 128 will dump true
nil __stack_id nil 1 will dump true
nil w nil 256 will dump true
nil alpha nil 255 will dump true
nil ix nil 5 will dump true
nil ih nil 57 will dump true
nil title nil Running... will dump true
nil __CLASSNAME nil engine.ui.Dialog will dump true
nil tex nil userdata: 0xb0c2e5c will dump true
stack traceback:
[C]: in function 'error'
/engine/class.lua:211: in function 'serialize_data'
/engine/class.lua:205: in function 'serialize_data'
/engine/class.lua:218: in function 'serialize'
/engine/class.lua:236: in function 'save'
/engine/Savefile.lua:103: in function 'saveObject'
/engine/Savefile.lua:236: in function '?'
/engine/SavefilePipe.lua:85: in function </engine/SavefilePipe.lua:71>
(tail call): ?
[COROUTINE] error /engine/class.lua:211: cannot save a userdata (data["tex"])
[COROUTINE] dead savefilepipe
45226 ticks in 10.024 seconds = 4511.77 TPS
301 frames in 10.016 seconds = 30.0519 FPS
89187 ticks in 10.026 seconds = 8895.57 TPS
305 frames in 10.018 seconds = 30.4452 FPS
109256 ticks in 10.014 seconds = 10910.3 TPS
314 frames in 10.022 seconds = 31.3311 FPS
145914 ticks in 10.016 seconds = 14568.1 TPS
300 frames in 10.004 seconds = 29.988 FPS
108802 ticks in 10.008 seconds = 10871.5 TPS
311 frames in 10.019 seconds = 31.041 FPS
130584 ticks in 10.019 seconds = 13033.6 TPS
If it helps any, the popup box that says "I'm running, press Enter to stop me" (or whatever) is still on the screen while the recall is occurring (there's a big pause). It's gone by the time I appear on the world map, though. I didn't press any keys during that time.