PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Plötzlicher Systemreboot beim Ausführen einer Game.exe



The Black Mole
21.03.2007, 18:09
Hi @ all,

das Problem steht eigentlich schon im Topic. Wenn ich eine Game.exe starte (sei es meine oder eine andere), kann ich das Spiel zwar Spielen, auch herumprobieren und Kämpfen usw. Aber irgendwann mittendrin machts Plötzlich "patsch!" und der Bildschirm ist schwarz. Dann sehe ich den BootScreen und Windows fährt wieder hoch. Klingt witzig, ist jedoch SEHR lästig. Habe es mit Windows-Updates und neuen Treibern versucht in den Griff zu kriegen. Habe auch auf die neue Maker-Version (ok, SO neu ist 1.02 au nicht mehr) geupdatet doch das Problem verschwindet nicht.

Meistens tritt es auf, wenn ich ins KS komme bzw Wenn ein Kampf beendet ist und wieder zurück zur Map geportet wird. Ich benutze 2 Scripte die das KS modifizieren.


1) COGWHEEL Plug 'n' Play Menu Bars (based on Syvkal's revisions)

#==============================================================================
# ** COGWHEEL Plug 'n' Play Menu Bars (based on Syvkal's revisions)
#-------------------------------------------------------------------------------
# by DerVVulfman
# Version 1.1
# 06-28-06
#------------------------------------------------------------------------------
# This is a revision of Cogwheel's famous bargraph system, now set as an inser-
# table script to display bargraphs behind values in the menus.
#
# To prevent conflict with Cogwheel's RTAB system, two key definitions have been
# renamed: "gauge_rect" to "cw_gauge" & "gradation_rect" to "cw_grad_rect."
#
#
# Affected Systems: Main Menu
# Skill Menu
# Status Menu
# Hero Select Menu (for Items & Skills)
# Equipment Menu
# BattleStatus Menu
#
# The system uses a series of CONSTANTS that can be edited here. They control
# the basic gauge colors and the manner the gauge is filled:

# Gauge Border Colors
COG_COLOR1 = Color.new(0, 0, 0, 192) # Outer Border
COG_COLOR2 = Color.new(255, 255, 192, 192) # Inner Border
# Gauge Empty filler
COG_COLOR3 = Color.new(0, 0, 0, 192) # Half of Inner Shading
COG_COLOR4 = Color.new(64, 0, 0, 192) # Half of Inner Shading
# Alignment
COG_ALIGN1 = 1 # Type 1: (0: Left / 1: Center / 2: Right Justify)
COG_ALIGN2 = 2 # Type 2: (0: Upper / 1: Central / 2: Lower)
COG_ALIGN3 = 0 # FILL ALIGNMENT (0: Left Justify / 1: Right Justify)
# Gauge Settings
COG_GRADE1 = 1 # EMPTY gauge (0: Side / 1: Vertical / 2: Slanted)
COG_GRADE2 = 0 # FILLER gauge (0: Side / 1: Vertical / 2: Slanted)


#==============================================================================
# ** Game_Actor
#------------------------------------------------------------------------------
# This class handles the actor. It's used within the Game_Actors class
# ($game_actors) and refers to the Game_Party class ($game_party).
#==============================================================================

class Game_Actor < Game_Battler
#--------------------------------------------------------------------------
# * Get EXP - numeric for calculations
#--------------------------------------------------------------------------
def now_exp
return @exp - @exp_list[@level]
end
#--------------------------------------------------------------------------
# * Get Next Level EXP - numeric for calculations
#--------------------------------------------------------------------------
def next_exp
return @exp_list[@level+1] > 0 ? @exp_list[@level+1] - @exp_list[@level] : 0
end
#--------------------------------------------------------------------------
# * End of Class
#--------------------------------------------------------------------------
end


#==============================================================================
# ** Window_Base
#------------------------------------------------------------------------------
# This class is for all in-game windows.
#==============================================================================

class Window_Base < Window


#--------------------------------------------------------------------------
# * Draw EXP w/ Bars
# actor : actor
# x : draw spot x-coordinate
# y : draw spot y-coordinate
#--------------------------------------------------------------------------
alias draw_actor_exp_original draw_actor_exp
def draw_actor_exp(actor, x, y, width = 204)
if actor.next_exp != 0
rate = actor.now_exp.to_f / actor.next_exp
else
rate = 1
end
# Calculate Bar Gradiation
if actor.next_exp != 0
rate = actor.now_exp.to_f / actor.next_exp
else
rate = 1
end
# Adjust Bar Color based on Gradiation
color1 = Color.new(80 - 24 * rate, 80 * rate, 14 * rate, 192)
color2 = Color.new(100 - 72 * rate, 240 * rate, 62 * rate, 192)
# Calculate Bar Width
if actor.next_exp != 0
exp = width * actor.now_exp / actor.next_exp
else
exp = width
end
# Draw Bar Graph
cw_gauge(x, y + 25, width, 10, exp, color1, color2)
# Call original EXP
draw_actor_exp_original(actor, x, y)
end

#--------------------------------------------------------------------------
# * Draw HP w/ Bars
# actor : actor
# x : draw spot x-coordinate
# y : draw spot y-coordinate
# width : draw spot width
#--------------------------------------------------------------------------
alias draw_actor_hp_original draw_actor_hp
def draw_actor_hp(actor, x, y, width = 144)
# Calculate Bar Gradiation
if actor.maxhp != 0
rate = actor.hp.to_f / actor.maxhp
else
rate = 0
end
# Adjust Bar Color based on Gradiation
color1 = Color.new(216 - 24 * rate, 0 * rate, 0 * rate, 192)
color2 = Color.new(255 * rate, 165 * rate, 0 * rate, 192)
# Calculate Bar Width
if actor.maxhp != 0
hp = width * actor.hp / actor.maxhp
else
hp = 0
end
# Draw Bar Graph
cw_gauge(x, y + 25, width, 10, hp, color1, color2)
# Call original HP
draw_actor_hp_original(actor, x, y, width)
end

#--------------------------------------------------------------------------
# * Draw SP w/ Bars
# actor : actor
# x : draw spot x-coordinate
# y : draw spot y-coordinate
# width : draw spot width
#--------------------------------------------------------------------------
alias draw_actor_sp_original draw_actor_sp
def draw_actor_sp(actor, x, y, width = 144)
# Calculate Bar Gradiation
if actor.maxsp != 0
rate = actor.sp.to_f / actor.maxsp
else
rate = 1
end
# Adjust Bar Color based on Gradiation
color1 = Color.new(14 * rate, 80 - 24 * rate, 80 * rate, 192)
color2 = Color.new(62 * rate, 240 - 72 * rate, 240 * rate, 192)
# Calculate Bar Width
if actor.maxsp != 0
sp = width * actor.sp / actor.maxsp
else
sp = width
end
# Draw Bar Graph
cw_gauge(x + width * 0 / 100, y + 25, width, 10, sp, color1, color2)
# Call original SP
draw_actor_sp_original(actor, x, y, width)
end

#--------------------------------------------------------------------------
# * Draw Parameter w/ Bars
# actor : actor
# x : draw spot x-coordinate
# y : draw spot y-coordinate
# type : parameter type (0-6)
#--------------------------------------------------------------------------
alias draw_actor_parameter_original draw_actor_parameter
def draw_actor_parameter(actor, x, y, type)
# Choose Color & Parameter Type
case type
when 0
e1 = actor.atk
c6 = Color.new(253, 53, 56, 192)
c5 = Color.new(242, 2, 6, 192)
when 1
e1 = actor.pdef
c6 = Color.new(238, 254, 124, 192)
c5 = Color.new(228, 253, 48, 192)
when 2
e1 = actor.mdef
c6 = Color.new(150, 37, 184, 192)
c5 = Color.new(170, 57, 204, 192)
when 3
e1 = actor.str
c6 = Color.new(253, 163, 33, 192)
c5 = Color.new(254, 209, 154, 192)
when 4
e1 = actor.dex
c6 = Color.new(255, 255, 255, 192)
c5 = Color.new(222, 222, 222, 192)
when 5
e1 = actor.agi
c6 = Color.new(124, 254, 155, 192)
c5 = Color.new(33, 253, 86, 192)
when 6
e1 = actor.int
c6 = Color.new(119, 203, 254, 192)
c5 = Color.new(8, 160, 253, 192)
end
# Calculate Bar Gradiation
e2 = 999
if e1.to_f != 0
rate = e1.to_f / e2.to_f
else
rate = 1
end
# Adjust Bar Color based on Gradiation & Parameter Type
for i in 0..7
r = c6.red * rate
g = (c6.green - 10) * rate
b = c6.blue * rate
a = c6.alpha
end
# Calculate Bar Width
width = 168
if e1.to_f != 0
par = width * e1.to_f / e2.to_f
else
par = width
end
# Equipment Calc Fix
case type
when 0
if e1 == 0
par = 0
end
when 1
if e1 == 0
par = 0
end
when 2
if e1 == 0
par = 0
end
end
# Draw Bar Graph
cw_gauge(x , y + 25, width, 7, par, c5, Color.new(r, g, b, a))
# Call Original Parameter
draw_actor_parameter_original(actor, x, y, type)
end

#--------------------------------------------------------------------------
# * Gauge Rectangle (New to Class)
#--------------------------------------------------------------------------
def cw_gauge(x, y, width, height, gauge, color1, color2)

# Use Cogwheel PRESETS
color3 = COG_COLOR1
color4 = COG_COLOR2
color5 = COG_COLOR3
color6 = COG_COLOR4
align1 = COG_ALIGN1
align2 = COG_ALIGN2
align3 = COG_ALIGN3
grade1 = COG_GRADE1
grade2 = COG_GRADE2

# Create Rectangle Width based on gauge max.
rect_width = width

case align1
when 1
x += (rect_width - width) / 2
when 2
x += rect_width - width
end
case align2
when 1
y -= height / 2
when 2
y -= height
end
self.contents.fill_rect(x, y, width, height, color3)
self.contents.fill_rect(x + 1, y + 1, width - 2, height - 2, color4)
if align3 == 0
if grade1 == 2
grade1 = 3
end
if grade2 == 2
grade2 = 3
end
end
if (align3 == 1 and grade1 == 0) or grade1 > 0
color = color5
color5 = color6
color6 = color
end
if (align3 == 1 and grade2 == 0) or grade2 > 0
color = color1
color1 = color2
color2 = color
end
self.contents.cw_grad_rect(x + 2, y + 2, width - 4, height - 4, color5, color6, grade1)
if align3 == 1
x += width - gauge
end
self.contents.cw_grad_rect(x + 2, y + 2, gauge - 4, height - 4, color1, color2, grade2)
end

#--------------------------------------------------------------------------
# * End of Class
#--------------------------------------------------------------------------
end


#==============================================================================
# ** Bitmap
#==============================================================================
class Bitmap

#--------------------------------------------------------------------------
# * Gradation Rectangle
#--------------------------------------------------------------------------
def cw_grad_rect(x, y, width, height, color3, color4, align = 0)
if align == 0
for i in x...x + width
red = color3.red + (color4.red - color3.red) * (i - x) / (width - 1)
green = color3.green +
(color4.green - color3.green) * (i - x) / (width - 1)
blue = color3.blue +
(color4.blue - color3.blue) * (i - x) / (width - 1)
alpha = color3.alpha +
(color4.alpha - color3.alpha) * (i - x) / (width - 1)
color = Color.new(red, green, blue, alpha)
fill_rect(i, y, 1, height, color)
end
elsif align == 1
for i in y...y + height
red = color3.red +
(color4.red - color3.red) * (i - y) / (height - 1)
green = color3.green +
(color4.green - color3.green) * (i - y) / (height - 1)
blue = color3.blue +
(color4.blue - color3.blue) * (i - y) / (height - 1)
alpha = color3.alpha +
(color4.alpha - color3.alpha) * (i - y) / (height - 1)
color = Color.new(red, green, blue, alpha)
fill_rect(x, i, width, 1, color)
end
elsif align == 2
for i in x...x + width
for j in y...y + height
red = color3.red + (color4.red - color3.red) *
((i - x) / (width - 1.0) + (j - y) / (height - 1.0)) / 2
green = color3.green + (color4.green - color3.green) *
((i - x) / (width - 1.0) + (j - y) / (height - 1.0)) / 2
blue = color3.blue + (color4.blue - color3.blue) *
((i - x) / (width - 1.0) + (j - y) / (height - 1.0)) / 2
alpha = color3.alpha + (color4.alpha - color3.alpha) *
((i - x) / (width - 1.0) + (j - y) / (height - 1.0)) / 2
color = Color.new(red, green, blue, alpha)
set_pixel(i, j, color)
end
end
elsif align == 3
for i in x...x + width
for j in y...y + height
red = color3.red + (color4.red - color3.red) *
((x + width - i) / (width - 1.0) + (j - y) / (height - 1.0)) / 2
green = color3.green + (color4.green - color3.green) *
((x + width - i) / (width - 1.0) + (j - y) / (height - 1.0)) / 2
blue = color3.blue + (color4.blue - color3.blue) *
((x + width - i) / (width - 1.0) + (j - y) / (height - 1.0)) / 2
alpha = color3.alpha + (color4.alpha - color3.alpha) *
((x + width - i) / (width - 1.0) + (j - y) / (height - 1.0)) / 2
color = Color.new(red, green, blue, alpha)
set_pixel(i, j, color)
end
end
end
end

#--------------------------------------------------------------------------
# * End of Class
#--------------------------------------------------------------------------
end


2) Ein Battle-Zoom Script das ich mal gefunden habe, welches den Hintergrund bewegt, je nach Aktion usw. Ist manchen sicher ein Begriff. Leider kann ich außer der Version nichts entziffern.

# ?¥?£?¥ XRXS_BP 8. ƒoƒgƒ‹ƒoƒbƒN?EFull-View?{‰?“®ƒJƒ?ƒ‰ ver..05d ?¥?£?¥
# by ??‰? ??“y

#==============================================================================
# ?¡ Game_Battler
#==============================================================================
class Game_Battler
#--------------------------------------------------------------------------
# ?œ ’?‰??EŒ?� JƒCƒ“ƒXƒ^ƒ“ƒX•??”
#--------------------------------------------------------------------------
attr_accessor :x_pos # ƒoƒgƒ‹ƒtƒB?[ƒ‹ƒh?@‰¡?@ˆ?’u(+‚׉E?@)
attr_accessor :y_pos # ƒoƒgƒ‹ƒtƒB?[ƒ‹ƒh ?‚‚³ ˆ?’u(+‚×???@)
attr_accessor :z_pos # ƒoƒgƒ‹ƒtƒB?[ƒ‹ƒh‰œ?s‚«ˆ?’u(+‚׎?‘O)
attr_accessor :zoom # Œ»??‚?ƒY?[ƒ€”{—¦
end
#==============================================================================
# ?¡ Game_Actor
#==============================================================================
class Game_Actor < Game_Battler
#--------------------------------------------------------------------------
# ?œ ’?‰??EŒ?� JƒCƒ“ƒXƒ^ƒ“ƒX•??”
#--------------------------------------------------------------------------
attr_reader :actor_in_battlefield # ƒAƒNƒ^?[‚?ƒtƒB?[ƒ‹ƒh‚?
#--------------------------------------------------------------------------
# ?œ ƒZƒbƒgƒAƒbƒv
#--------------------------------------------------------------------------
alias xrxs_bp8_setup setup
def setup(actor_id)
xrxs_bp8_setup(actor_id)
# ‹@”\"ƒAƒNƒ^?[‚?ƒtƒB?[ƒ‹ƒh‚?"
# true‚?—D??‚·‚?
@actor_in_battlefield = false if @actor_in_battlefield != true
end
end
#==============================================================================
# ?¡ Game_Enemy
#==============================================================================
class Game_Enemy < Game_Battler
#--------------------------------------------------------------------------
# ?œ ’?‰??EŒ?� JƒCƒ“ƒXƒ^ƒ“ƒX•??”
#--------------------------------------------------------------------------
attr_reader :actor_in_battlefield # ƒAƒNƒ^?[‚?ƒtƒB?[ƒ‹ƒh‚?
#--------------------------------------------------------------------------
# ?œ ƒIƒuƒWƒFƒNƒg?‰� ?‰»
#--------------------------------------------------------------------------
alias xrxs_bp8_initialize initialize
def initialize(troop_id, member_index)
@actor_in_battlefield = false
@x_pos = $data_troops[troop_id].members[member_index].x - 320
@y_pos = -($data_troops[troop_id].members[member_index].y - 304)
@field_x_offset = -192
@field_y_offset = -144
@z_pos = 0
@zoom = 1.00
xrxs_bp8_initialize(troop_id, member_index)
end
#--------------------------------------------------------------------------
# ?œ ƒoƒgƒ‹‰?–? X ??•W‚?Ž?“¾
#--------------------------------------------------------------------------
def screen_x
$xcam_x = 0 if $xcam_x == nil
return 320 - @field_x_offset + (@x_pos.to_i - $xcam_x) * @zoom
end
#--------------------------------------------------------------------------
# ?œ ƒoƒgƒ‹‰?–? Y ??•W‚?Ž?“¾
#--------------------------------------------------------------------------
def screen_y
$xcam_y = 0 if $xcam_y == nil
return 240 - @field_y_offset + (-@y_pos.to_i + 64 + $xcam_y) * @zoom
end
end
#==============================================================================
# ?¡ Sprite_Battler
#==============================================================================
class Sprite_Battler < RPG::Sprite
#--------------------------------------------------------------------------
# ?œ ƒtƒŒ?[ƒ€?X?V
#--------------------------------------------------------------------------
alias xrxs_bp8_update update
def update
# ?‰� ?‰»
@z_offset = 0
# –?‚·
xrxs_bp8_update
# ƒoƒgƒ‰?[‚× nil ‚????‡–?‚?
return if @battler == nil
# “G‚?‚?‚?ƒJƒ?ƒ‰‚׉e‹¿?B
# Œ©•?‚?ƒoƒgƒ‹ƒtƒB?[ƒ‹ƒh‚?‚¢‚????‡‚±‚±‚? if ‚?� O‚·?B
if (@battler.is_a?(Game_Actor) and @battler.actor_in_battlefield) or @battler.is_a?(Game_Enemy)
# ƒY?[ƒ€—¦
zoom = 1.00 * 185 / (($xcam_z != nil ? $xcam_z : 185) - @z_offset)
self.zoom_x = zoom
self.zoom_y = zoom
@battler.zoom = zoom
# ƒXƒvƒ‰ƒCƒg‚???•W‚???’?
self.x = @battler.screen_x
self.y = @battler.screen_y
self.z = @battler.screen_z
end
end
end
#==============================================================================
# ?¡ Spriteset_Battle
#==============================================================================
class Spriteset_Battle
#--------------------------------------------------------------------------
# ?œ ƒIƒuƒWƒFƒNƒg?‰� ?‰»
#--------------------------------------------------------------------------
alias xrxs_bp8_initialize initialize
def initialize
# ?‰� ?‰»
@now_bg_x = -1
@now_bg_y = -1
@now_bg_z = -1
# ’???Žž‚?Ž??s
xrxs_bp8_initialize
# ƒrƒ…?[ƒ|?[ƒg‚????¬
@viewport1 = Viewport.new(-192, -144, 1024, 768)
# ƒoƒgƒ‹ƒoƒbƒNƒXƒvƒ‰ƒCƒg‚????¬
@battleback_sprite = Sprite.new(@viewport1)
@battleback_name = ""
# ƒGƒlƒ~?[ƒXƒvƒ‰ƒCƒg‚????¬
@enemy_sprites = []
for enemy in $game_troop.enemies.reverse
@enemy_sprites.push(Sprite_Battler.new(@viewport1, enemy))
end
# “VŒ?‚????¬
@weather = RPG::Weather.new(@viewport1)
# ƒtƒŒ?[ƒ€?X?V
update
end
#--------------------------------------------------------------------------
# ?œ ƒtƒŒ?[ƒ€?X?V
#--------------------------------------------------------------------------
alias xrxs_bp8_update update
def update
# ƒoƒgƒ‹ƒoƒbƒN‚?ƒtƒ@ƒCƒ‹–¼‚׌»??‚?‚?‚?‚?ˆ?‚????‡
if @battleback_name != $game_temp.battleback_name
@battleback_name = $game_temp.battleback_name
if @battleback_sprite.bitmap != nil
@battleback_sprite.bitmap.dispose
end
bg_bitmap = RPG::Cache.battleback(@battleback_name)
bg_bitmap_stretch = Bitmap.new(1024, 768)
bg_bitmap_stretch.stretch_blt(Rect.new(0, 0, 1024, 768), bg_bitmap, bg_bitmap.rect)
@battleback_sprite.bitmap = bg_bitmap_stretch
end
# ƒJƒ?ƒ‰ˆ?’u‚ד®‚¢‚½???‡
if @now_bg_x != $xcam_x or @now_bg_y != $xcam_y or @now_bg_z != $xcam_z
# ƒY?[ƒ€—¦
zoom = 1.00 * 185 / $xcam_z
@battleback_sprite.zoom_x = zoom
@battleback_sprite.zoom_y = zoom
# ƒJƒ?ƒ‰z‚?‚?‚?ˆ?’u‚??C?³
maximum = 192 * (296 - $xcam_z) / 111
$xcam_x = [[$xcam_x, -maximum].max, maximum].min
# ”wŒiˆ?’u?X?V
@battleback_sprite.x = -$xcam_x * zoom - 512 * (zoom - 1)
@battleback_sprite.y = $xcam_y * zoom - 384 * (zoom - 1)
# ’l?X?V
@now_bg_x = $xcam_x
@now_bg_y = $xcam_y
@now_bg_z = $xcam_z
end
# –?‚·
xrxs_bp8_update
end
end
#==============================================================================
# ?¡ Scene_Battle
#==============================================================================
class Scene_Battle
#--------------------------------------------------------------------------
# ?œ ƒ?ƒCƒ“?ˆ—?
#--------------------------------------------------------------------------
alias xrxs_bp8_main main
def main
# ƒJƒ?ƒ‰?‰� ?ˆ?’uŒˆ’?
$xcam_x = 0
$xcam_y = 0
$xcam_z = 295
# ƒJƒ?ƒ‰‚????‰‚?–?“I’l
@xcam_x_destination = 0
@xcam_y_destination = 0
@xcam_z_destination = 185
# ?¡?A’?–?ƒoƒgƒ‰?[‚?–³‚µ?B
@xcam_watch_battler = nil
# ?‰� ?‰»
@wait_count_xcam = 0
# –?‚·
xrxs_bp8_main
end
#--------------------------------------------------------------------------
# ?œ ƒtƒŒ?[ƒ€?X?V
#--------------------------------------------------------------------------
alias xrxs_bp8_update update
def update
# ƒJƒ?ƒ‰ˆ?’u‚??X?V?B
if @wait_count_xcam > 0
# ƒEƒFƒCƒgƒJƒEƒ“ƒg‚?Œ¸‚?‚·
@wait_count_xcam -= 1
else
# ƒJƒ?ƒ‰: Z ??•W
if $xcam_z != @xcam_z_destination
if $xcam_z < @xcam_z_destination
distance = [(@xcam_z_destination - $xcam_z)/8, 1].max
else
distance = [(@xcam_z_destination - $xcam_z)/8, -1].min
end
$xcam_z = [[$xcam_z + distance, 74].max, 296].min
end
# ƒJƒ?ƒ‰: X ??•W
if @xcam_watch_battler != nil
if $xcam_x != @xcam_watch_battler.x_pos
if ($xcam_x - @xcam_watch_battler.x_pos).abs < 8
distance = @xcam_watch_battler.x_pos - $xcam_x
elsif $xcam_x < @xcam_watch_battler.x_pos
distance = [(@xcam_watch_battler.x_pos - $xcam_x)/8, 8].max
else
distance = [(@xcam_watch_battler.x_pos - $xcam_x)/8, -8].min
end
maximum = 192 * (296 - $xcam_z) / 111
$xcam_x = [[$xcam_x + distance, -maximum].max, maximum].min
end
elsif $xcam_x != @xcam_x_destination
if ($xcam_x - @xcam_x_destination).abs < 8
distance = @xcam_x_destination - $xcam_x
elsif $xcam_x < @xcam_x_destination
distance = [(@xcam_x_destination - $xcam_x)/8, 8].max
else
distance = [(@xcam_x_destination - $xcam_x)/8, -8].min
end
maximum = 192 * (296 - $xcam_z) / 111
$xcam_x = [[$xcam_x + distance, -maximum].max, maximum].min
end
# ƒJƒ?ƒ‰: Y ??•W
if @xcam_watch_battler != nil
y = @xcam_watch_battler.y_pos/2
if $xcam_y != y
if ($xcam_y - y).abs < 8
distance = y - $xcam_y
elsif $xcam_y < y
distance = [(y - $xcam_y)/8, 8].max
else
distance = [(y - $xcam_y)/8, -8].min
end
maximum = 144 * (296 - $xcam_z) / 111
$xcam_y = [[$xcam_y + distance, -maximum].max, maximum].min
end
elsif $xcam_y != @xcam_y_destination
if $xcam_y < @xcam_y_destination
distance = [(@xcam_y_destination - $xcam_y)/8, 1].max
else
distance = [(@xcam_y_destination - $xcam_y)/8, -1].min
end
maximum = 164 * (296 - $xcam_z) / 111
$xcam_y = [[$xcam_y + distance, -maximum].max, maximum].min
end
end
# ’???Ž??s
xrxs_bp8_update
end
#--------------------------------------------------------------------------
# ?œ ƒp?[ƒeƒBƒRƒ}ƒ“ƒhƒtƒF?[ƒY� JŽn
#--------------------------------------------------------------------------
alias xrxs_bp8_start_phase2 start_phase2
def start_phase2
# ƒJƒ?ƒ‰?FƒZƒ“ƒ^ƒ� ƒ“ƒO
@xcam_watch_battler = nil
@xcam_x_destination = 0
@xcam_z_destination = 185
# –?‚·
xrxs_bp8_start_phase2
end
#--------------------------------------------------------------------------
# ?œ ƒtƒŒ?[ƒ€?X?V (ƒAƒNƒ^?[ƒRƒ}ƒ“ƒhƒtƒF?[ƒY)
#--------------------------------------------------------------------------
alias xrxs_bp8_update_phase3 update_phase3
def update_phase3
# ƒJƒ?ƒ‰‚?ƒLƒƒƒ‰ˆ?’u‚?
if @active_battler != nil and @active_battler.actor_in_battlefield
@xcam_x_destination = @active_battler.x_pos
@xcam_z_destination = 175
end
xrxs_bp8_update_phase3
end
#--------------------------------------------------------------------------
# ?œ ƒtƒŒ?[ƒ€?X?V (ƒAƒNƒ^?[ƒRƒ}ƒ“ƒhƒtƒF?[ƒY : ƒGƒlƒ~?[‘I‘?)
#--------------------------------------------------------------------------
alias xrxs_bp8_update_phase3_enemy_select update_phase3_enemy_select
def update_phase3_enemy_select
# ƒJƒ?ƒ‰?F“Gƒ^?[ƒQƒbƒg‚?ƒY?[ƒ€ƒAƒbƒv
@xcam_x_destination = $game_troop.enemies[@enemy_arrow.index].x_pos * $game_troop.enemies[@enemy_arrow.index].zoom
@xcam_z_destination = 175
# –?‚·
xrxs_bp8_update_phase3_enemy_select
end
#--------------------------------------------------------------------------
# ?œ ƒGƒlƒ~?[‘I‘??I—¹
#--------------------------------------------------------------------------
alias xrxs_bp8_end_enemy_select end_enemy_select
def end_enemy_select
# ƒJƒ?ƒ‰?F’� ?S‚?
@xcam_x_destination = 0
@xcam_z_destination = 185
# –?‚·
xrxs_bp8_end_enemy_select
end
#--------------------------------------------------------------------------
# ?œ ƒtƒŒ?[ƒ€?X?V (ƒ?ƒCƒ“ƒtƒF?[ƒY ƒXƒeƒbƒv 2 : ƒAƒNƒVƒ‡ƒ“� JŽn)
#--------------------------------------------------------------------------
alias xrxs_bp8_update_phase4_step2 update_phase4_step2
def update_phase4_step2
# –?‚·
xrxs_bp8_update_phase4_step2
# ƒXƒeƒbƒv 3 ‚?ˆ??s‚·‚????‡
if @phase4_step == 3
if @active_battler.is_a?(Game_Enemy) or @active_battler.actor_in_battlefield
# ƒJƒ?ƒ‰?F?s“®ƒoƒgƒ‰?[‚?‚?ƒY?[ƒ€ƒAƒbƒv‚?—\–?
@xcam_x_destination = @active_battler.x_pos * @active_battler.zoom if @active_battler.x_pos != nil
@xcam_z_destination = 175
end
# ??’? 20 ƒtƒŒ?[ƒ€‘?‚?
@wait_count = 20
end
end
#--------------------------------------------------------------------------
# ?œ ƒtƒŒ?[ƒ€?X?V (ƒ?ƒCƒ“ƒtƒF?[ƒY ƒXƒeƒbƒv 3 : ?s“®‘?ƒAƒjƒ??[ƒVƒ‡ƒ“)
#--------------------------------------------------------------------------
alias xrxs_bp8_update_phase4_step3 update_phase4_step3
def update_phase4_step3
# –?‚·
xrxs_bp8_update_phase4_step3
if @target_battlers.size > 0 and
(@target_battlers[0].is_a?(Game_Enemy) or @target_battlers[0].actor_in_battlefield)
# ƒJƒ?ƒ‰?Fƒ^?[ƒQƒbƒg‚?‚?ƒY?[ƒ€ƒAƒbƒv‚?—\–?
@xcam_x_destination = @target_battlers[0].x_pos * @target_battlers[0].zoom if @target_battlers[0] != nil
@xcam_z_destination = 185
# ‚?‚µ‘???ƒAƒjƒ?‚×?uˆ?’u?F‰?–??v‚?‚?‚?‚????‡
if @animation2_id > 0 and $data_animations[@animation2_id].position == 3
# ƒJƒ?ƒ‰‚?ƒZƒ“ƒ^ƒ� ƒ“ƒO
@xcam_x_destination = 0
# ƒY?[ƒ€ƒAƒEƒg‚?‚?‚?‚?‚¿‚?‚?¥w¥
@xcam_z_destination = 222
end
end
# ??’? 20 ƒtƒŒ?[ƒ€‘?‚?
@wait_count = 20
end
#--------------------------------------------------------------------------
# ?œ ƒAƒtƒ^?[ƒoƒgƒ‹ƒtƒF?[ƒY� JŽn
#--------------------------------------------------------------------------
alias xrxs_bp8_start_phase5 start_phase5
def start_phase5
@xcam_z_destination = 185
xrxs_bp8_start_phase5
end
end
#==============================================================================
# ?ž RPG::??’?‹`?u??“¬’� ‚?"‰?–?"ƒAƒjƒ?‚?ˆ?’u?C?³?v
#==============================================================================
module RPG
class Sprite < ::Sprite
def animation_set_sprites(sprites, cell_data, position)
for i in 0..15
sprite = sprites[i]
pattern = cell_data[i, 0]
if sprite == nil or pattern == nil or pattern == -1
sprite.visible = false if sprite != nil
next
end
sprite.visible = true
sprite.src_rect.set(pattern % 5 * 192, pattern / 5 * 192, 192, 192)
if position == 3
if self.viewport != nil
if $scene.is_a?(Scene_Battle)
sprite.x = self.viewport.rect.width / 2
sprite.y = 304
else
sprite.x = self.viewport.rect.width / 2
sprite.y = self.viewport.rect.height - 160
end
else
sprite.x = 320
sprite.y = 240
end
else
sprite.x = self.x - self.ox + self.src_rect.width / 2
sprite.y = self.y - self.oy + self.src_rect.height / 2
sprite.y -= self.src_rect.height / 4 if position == 0
sprite.y += self.src_rect.height / 4 if position == 2
end
sprite.x += cell_data[i, 1]
sprite.y += cell_data[i, 2]
sprite.z = 2000
sprite.ox = 96
sprite.oy = 96
sprite.zoom_x = cell_data[i, 3] / 100.0
sprite.zoom_y = cell_data[i, 3] / 100.0
sprite.angle = cell_data[i, 4]
sprite.mirror = (cell_data[i, 5] == 1)
sprite.opacity = cell_data[i, 6] * self.opacity / 255.0
sprite.blend_type = cell_data[i, 7]
end
end
end
end

Bitte um Hilfe http://www.multimediaxis.de/images/smilies/old/sm_12.gif

3mmis
21.03.2007, 18:55
Ist das Problem schon mal aufgetreten, aber nicht bei Makerspielen?
Passiert das nur bei einem bestimmten Makerspiel?
Kontrollier mal die Temperatur deines PCs. Dann noch die Ram-Auslastung. Ich hatte das selbe Problem auch, aber nicht bei Makerspielen sondern bei anderen (z.B. Splinter Cell). Auf wundersame weise trat der Fehler nach einer Aufrüstung von 512 MB Ram auf 1,5 GB Ram nicht mehr auf.
btw.: Ich dachte auch erst, dass es nur bei einem Spiel den Neustart gibt, aber so kann man sich irren ;)

Ich weiß nicht mehr wo, aber unter Systemsteuerung kann man irgendwo ein Häkchen machen, dass Windows bei einem Fehler neustartet. Wenn das Häkchen nicht ist, kommt ein Bluescreen. Probier das mal aus.
Gruß 3mmis

The Black Mole
21.03.2007, 22:03
Ist das Problem schon mal aufgetreten, aber nicht bei Makerspielen?Ja. Gott weiß warum: Aber meistens nach dem Abspielen einer längeren Wave-Datei. Mitunter auch beim Surfen im Netz oder wenn ich auf myvideo ein Video ansehe. Bisher aber hauptsächlich beim XP.

Passiert das nur bei einem bestimmten Makerspiel?Meistens beim Testen meines eigenen. Bei anderen Makerspielen ist es zwar auch schon vorgekommen, aber nicht so häufig.

Kontrollier mal die Temperatur deines PCs. Dann noch die Ram-Auslastung. Ich hatte das selbe Problem auch, aber nicht bei Makerspielen sondern bei anderen (z.B. Splinter Cell). Auf wundersame weise trat der Fehler nach einer Aufrüstung von 512 MB Ram auf 1,5 GB Ram nicht mehr auf.
Nunja, ich hab 512mb-ddr Ram, das müsste eigentlich ausreichen, da ich auch kein großer Zocker bin. Am Rechner zocke ich meist nur Makergames, WoW oder GuildWars und das läuft Tagelang und auch Durch komplette Nächte einwandfrei, schmiert halt wie gesagt hauptsächlich beim Maker ab.

Ich weiß nicht mehr wo, aber unter Systemsteuerung kann man irgendwo ein Häkchen machen, dass Windows bei einem Fehler neustartet. Wenn das Häkchen nicht ist, kommt ein Bluescreen. Probier das mal aus.Nen BlueScreen hilft mir auch nicht viel weiter, da ich mit den zig Hexadezimal-Werten nichts anfangen kann und meistens auf jedem Rechner sowieso die Selbe Datei als Fehlerquelle rausgeschmissen wird. Da hab ich lieber nen funktionierenden Neustart (auch wenns lästig ist)

Cherry
21.03.2007, 22:04
Systemsteuerung - System - Erweitert - bei Systemstart und Problembehandlung auf Erweitert - Haken bei Systemfehler- automatisch Neustart durchführen rausmachen
mfG Cherry

3mmis
21.03.2007, 22:24
der bluescreen bringt folgendes:
1. wenn nun der fehler mehrmals auftritt, kannst du erkennen, ob es ein und der selbe fehler ist (mach einfach n foto von deinem bildschirm, wenn der bluescreen kommt)
2. kannst du bei dem hersteller deines PCs anrufen und die sachen, die aufm bluescreen stehen einfach dem typen sagen und der kann dir dann sagen, was die fehlerquelle ist.

noch eine frage:
Ist dein Computer von Medion?
Wenn ja, dann bin ich mir ziemlich sicher, dass es am Ram liegt. Irgendwie ham die Scheiße verbaut (bei mir war das selbe).
Alternativ kannst du mal Hauptspeicher von deiner festplatte einrichten. sprich: einigen speipcherplatz deiner festplatte als Ram umfunktionieren. das geht glaub ich auch über systemsteuerung. und auch hier weiß ich nicht mehr genau, wo^^
gruß 3mmis
PS: Hast du nachträglich einen anderen Lüfter eingebaut? So ein Fehler kann auch durch Überhitzung verursacht werden.

Mani
22.03.2007, 23:38
Falls du das Problem nicht beheben kannst, dann den PC neu aufsetzen, was aber vielleicht ziemlich hart sein wird, wenn du viele Dateien oben hast.

Aber an deiner Stelle würde ich zu Linux umsteigen. Man kann ja den RPG Maker auch mit Linux benutzen, so hab ich es. ;)

The Black Mole
23.03.2007, 17:54
Ist dein Computer von Medion?
Nein, aus genau deinem genannten Grund =D


Falls du das Problem nicht beheben kannst, dann den PC neu aufsetzen, was aber vielleicht ziemlich hart sein wird, wenn du viele Dateien oben hast.
Auch wenn ich ihn neu aufsetze kommt es immer wieder sobald das System eine gewisse Zeit läuft (also zB ab 6 Wochen nach installation). Meine größeren Dateien und wichtigen Daten sind zum Glück alle auf ner anderen Partition gesichert. Es ist also nicht all zu wild wenn ich den neu aufsetzen muss. Mach ich eh ungefähr alle 3 bis 4 Monate.


Aber an deiner Stelle würde ich zu Linux umsteigen. Man kann ja den RPG Maker auch mit Linux benutzen, so hab ich es.
Kann gut sein, aber nur wegen dem Maker steige ich nicht auf Linux um. Gibt einfach zu viele Programme mit denen ich arbeite die mich Windows-Abhängig machen. Außerdem: "Never touch a running system" ^^ Natürlich kann man das "running" jetzt auf verschiedene Weisen interpretieren, aber abgesehen von den oben genannten Problemen läuft mein Windows Super-Sicher und Stabil.

Cherry
27.03.2007, 15:01
hast du getan, war in meinem Post stand? Wenn ja, was sagt denn nun der Blue Screen?
mfG Cherry

The Black Mole
27.03.2007, 18:49
hast du getan, war in meinem Post stand? Wenn ja, was sagt denn nun der Blue Screen?
mfG Cherry

Ne... Hab einfach jetzt mal mein system neu aufgesetzt und mir von Microsoft "Virtual Computer 2007" besorgt... Da läuft jetzt eine windows2000 Kopie drüber und damit maker ich jetz oder zocke maker-spiele ^^