Olá, gostaria de perguntar sobre este erro que acontece constantemente no meu Netplay.
- Spoiler:
Última edição por Naruto RPG Maker em Qua Fev 29, 2012 3:31 pm, editado 1 vez(es)
Não modifiquei, nunca vi este script no Netplay. Qualquer coisa, se quiser ver o script, tá aqui:*~ReborN~* escreveu:Poste o script! Concerteza você modificou algo aí...até
Naruto RPG Maker escreveu:Não modifiquei, nunca vi este script no Netplay. Qualquer coisa, se quiser ver o script, tá aqui:*~ReborN~* escreveu:Poste o script! Concerteza você modificou algo aí...até
- Spoiler:
#==============================================================================
# ** Informações
#------------------------------------------------------------------------------
# By Marlos Gama
#==============================================================================
class Window_Informacoes < Window_Base
def initialize(x,y,a,b,id)
super(x,y,a,b)
self.contents = Bitmap.new(lammer - 32, height - 32)
self.back_opacity = 200
self.z = 99999
@closable= true
#@dragable = true
name = Network::Main.name
@filename = "Jogadores/#{name}-#{id}.rxdata"
@file_exist = FileTest.exist?(@filename)
if @file_exist
file = File.open(@filename, "r")
@time_stamp = file.mtime
@characters = Marshal.load(file)
@frame_count = Marshal.load(file)
@game_system = Marshal.load(file)
@game_switches = Marshal.load(file)
@game_variables = Marshal.load(file)
@game_self_switches = Marshal.load(file)
@game_screen = Marshal.load(file)
@game_actors = Marshal.load(file)
@game_party = Marshal.load(file)
@guild_name = Marshal.load(file)
@total_sec = @frame_count / Graphics.frame_rate
file.close
end
refresh
end
def refresh
self.contents.clear
c = self.contents.lammer
self.contents.font.color = normal_color
if @file_exist
for i in 0...@characters.size
bitmap = RPG::Cache.character(@characters[i][0], @characters[i][1])
#self.contents.draw_text(0,0,c,16,"Mapa: ",0)
self.contents.draw_text(0,0,c,16,"Nome: ",0)
self.contents.draw_text(0,18,c,16,"Nível: ",0)
self.contents.draw_text(0,36,c,16,"EXP: ",0)
self.contents.draw_text(0,54,c,16,"HP: ",0)
self.contents.draw_text(0,72,c,16,"MP: ",0)
self.contents.draw_text(0,90,c,16,"Classe: ",0)
self.contents.draw_text(0,108,c,16,"Força: ",0)
self.contents.draw_text(0,126,c,16,"Agilidade: ",0)
self.contents.draw_text(0,144,c,16,"Defesa: ",0)
self.contents.draw_text(0,162,c,16,"Inteligência: ",0)
self.contents.draw_text(0,180,c,16,"Guild: ",0)
self.contents.draw_text(0,0,c,16,"#{@game_party.actors[i].name}",2)
self.contents.draw_text(0,18,c,16,"#{@game_party.actors[i].level}",2)
self.contents.draw_text(0,36,c,16,"#{@game_party.actors[i].now_exp}",2)
self.contents.draw_text(0,54,c,16,"#{@game_party.actors[i].hp}",2)
self.contents.draw_text(0,72,c,16,"#{@game_party.actors[i].sp}",2)
self.contents.draw_text(0,90,c,16,"#{@game_party.actors[i].class_name}",2)
self.contents.draw_text(0,108,c,16,"#{@game_party.actors[i].str}",2)
self.contents.draw_text(0,126,c,16,"#{@game_party.actors[i].agi}",2)
self.contents.draw_text(0,144,c,16,"#{@game_party.actors[i].dex}",2)
#self.contents.draw_text(0,162,c,16,"#{@game_party.actors[i].armor2_id",2)
self.contents.draw_text(0,162,c,16,"#{@game_party.actors[i].int}",2)
if @game_party.actors[i].guild == ""
self.contents.draw_text(0,180,c,16,"Nenhuma",2)
else
self.contents.draw_text(0,180,c,16,"#{@game_party.actors[i].guild}",2)
end
end
end
end
end