XP 스크립트

전에도 멀티넷플레이에 보면 로그인창에서

비밀번호칠때 그냥 숫자로 나왓던걸 보안해서

***** <-- 이렇게 나타내주는 스크립트입니다.
=========================================



Window_PassInput  여기에다가 덮어 쓰시길 바랍니다.

#==============================================================================
# ■ Window_ChatInput                          Originally created by: Cybersam
#------------------------------------------------------------------------------
#  Based on the Full-Keyboard Input script created by Cybersam.
#------------------------------------------------------------------------------
# Edited by Leansoft/Daffiie/Blue Elf
#==============================================================================

class Window_PassInput < Window_Base
 attr_accessor :text
 attr_accessor :text2
 attr_accessor :allow
 #--------------------------------------------------------------------------
 # ● Initializes chat input window.
 #-------------------------------------------------------------------------- 
 def initialize
  super(100, 300, 420, 48)
  self.contents = Bitmap.new(width - 32, height - 32)
  self.contents.font.size = 16
  self.contents.font.color = black_color
  self.opacity = 40
  @text = []
  @text2 = []
  @allow = false
  refresh
 end
 
 #--------------------------------------------------------------------------
 # ● Refreshes chat input window.
 #-------------------------------------------------------------------------- 
 def refresh
  @log = @text.to_s
  self.contents.clear
  self.contents.draw_text(0, -8, 640, 32, "Pass:")
  self.contents.draw_text(50, -16, 620, 48, @text2.to_s+"_")
 end
 
 #--------------------------------------------------------------------------
 # ● Refreshes chat input window.
 #-------------------------------------------------------------------------- 
 def add(char)
  if @text.size >= 80
    $game_system.se_play($data_system.buzzer_se)
  else
    @text.push(char.to_s)
    @text2.push("*")
    refresh
  end
 end 
 
 #--------------------------------------------------------------------------
 # ● Updates input chat window.
 #-------------------------------------------------------------------------- 
 def update
  if @allow == true
  refresh
  if Input.getkey(8)
    if @text.size == 0
      $game_system.se_play($data_system.buzzer_se)
    else
      @text.delete_at(-1)
      @text2.delete_at(-1)
      refresh
    end
  end
  if Input.getstate(16)
    add("A") if Input.getkey(65)
    add("B") if Input.getkey(66)
    add("C") if Input.getkey(67)
    add("D") if Input.getkey(68)
    add("E") if Input.getkey(69)
    add("F") if Input.getkey(70)
    add("G") if Input.getkey(71)
    add("H") if Input.getkey(72)
    add("I") if Input.getkey(73)
    add("J") if Input.getkey(74)
    add("K") if Input.getkey(75)
    add("L") if Input.getkey(76)
    add("M") if Input.getkey(77)
    add("N") if Input.getkey(78)
    add("O") if Input.getkey(79)
    add("P") if Input.getkey(80)
    add("Q") if Input.getkey(81)
    add("R") if Input.getkey(82)
    add("S") if Input.getkey(83)
    add("T") if Input.getkey(84)
    add("U") if Input.getkey(85)
    add("V") if Input.getkey(86)
    add("W") if Input.getkey(87)
    add("X") if Input.getkey(88)
    add("Y") if Input.getkey(89)
    add("Z") if Input.getkey(90)
  else
    add("a") if Input.getkey(65)
    add("b") if Input.getkey(66)
    add("c") if Input.getkey(67)
    add("d") if Input.getkey(68)
    add("e") if Input.getkey(69)
    add("f") if Input.getkey(70)
    add("g") if Input.getkey(71)
    add("h") if Input.getkey(72)
    add("i") if Input.getkey(73)
    add("j") if Input.getkey(74)
    add("k") if Input.getkey(75)
    add("l") if Input.getkey(76)
    add("m") if Input.getkey(77)
    add("n") if Input.getkey(78)
    add("o") if Input.getkey(79)
    add("p") if Input.getkey(80)
    add("q") if Input.getkey(81)
    add("r") if Input.getkey(82)
    add("s") if Input.getkey(83)
    add("t") if Input.getkey(84)
    add("u") if Input.getkey(85)
    add("v") if Input.getkey(86)
    add("w") if Input.getkey(87)
    add("x") if Input.getkey(88)
    add("y") if Input.getkey(89)
    add("z") if Input.getkey(90)
    add("5") if Input.getkey(53)
    add("6") if Input.getkey(54)
    add("7") if Input.getkey(55)
    add("8") if Input.getkey(56)
    add("9") if Input.getkey(57)
  end
 end
 end
end


================================================

이번엔  Window_Rpass  여기에다가 덮어씌워주세요

#==============================================================================
# ■ Window_ChatInput                          Originally created by: Cybersam
#------------------------------------------------------------------------------
#  Based on the Full-Keyboard Input script created by Cybersam.
#------------------------------------------------------------------------------
# Edited by Leansoft/Daffiie/Blue Elf
#==============================================================================

class Window_Rpass < Window_Base
 attr_accessor :text
 attr_accessor :text2
 attr_accessor :allow
 #--------------------------------------------------------------------------
 # ● Initializes chat input window.
 #-------------------------------------------------------------------------- 
 def initialize
  super(100, 300, 420, 48)
  self.contents = Bitmap.new(width - 32, height - 32)
  self.contents.font.size = 16
  self.contents.font.color = black_color
  self.opacity = 70
  @text = []
  @text2 = []
  @allow = false
  refresh
 end
 
 #--------------------------------------------------------------------------
 # ● Refreshes chat input window.
 #-------------------------------------------------------------------------- 
 def refresh
  @log = @text.to_s
  self.contents.clear
  self.contents.draw_text(0, -8, 640, 32, "Pass:")
  self.contents.draw_text(50, -16, 620, 48, @text2.to_s+"_")
 end
 
 #--------------------------------------------------------------------------
 # ● Refreshes chat input window.
 #-------------------------------------------------------------------------- 
 def add(char)
  if @text.size >= 80
    $game_system.se_play($data_system.buzzer_se)
  else
    @text.push(char.to_s)
    @text2.push("*")
    refresh
  end
 end 
 
 #--------------------------------------------------------------------------
 # ● Updates input chat window.
 #-------------------------------------------------------------------------- 
 def update
  if @allow == true
  refresh
  if Input.getkey(8)
    if @text.size == 0
      $game_system.se_play($data_system.buzzer_se)
    else
      @text.delete_at(-1)
      @text2.delete_at(-1)
      refresh
    end
  end

  if Input.getstate(16)
    add("A") if Input.getkey(65)
    add("B") if Input.getkey(66)
    add("C") if Input.getkey(67)
    add("D") if Input.getkey(68)
    add("E") if Input.getkey(69)
    add("F") if Input.getkey(70)
    add("G") if Input.getkey(71)
    add("H") if Input.getkey(72)
    add("I") if Input.getkey(73)
    add("J") if Input.getkey(74)
    add("K") if Input.getkey(75)
    add("L") if Input.getkey(76)
    add("M") if Input.getkey(77)
    add("N") if Input.getkey(78)
    add("O") if Input.getkey(79)
    add("P") if Input.getkey(80)
    add("Q") if Input.getkey(81)
    add("R") if Input.getkey(82)
    add("S") if Input.getkey(83)
    add("T") if Input.getkey(84)
    add("U") if Input.getkey(85)
    add("V") if Input.getkey(86)
    add("W") if Input.getkey(87)
    add("X") if Input.getkey(88)
    add("Y") if Input.getkey(89)
    add("Z") if Input.getkey(90)
    add("^") if Input.getkey(54)
  else
    add("a") if Input.getkey(65)
    add("b") if Input.getkey(66)
    add("c") if Input.getkey(67)
    add("d") if Input.getkey(68)
    add("e") if Input.getkey(69)
    add("f") if Input.getkey(70)
    add("g") if Input.getkey(71)
    add("h") if Input.getkey(72)
    add("i") if Input.getkey(73)
    add("j") if Input.getkey(74)
    add("k") if Input.getkey(75)
    add("l") if Input.getkey(76)
    add("m") if Input.getkey(77)
    add("n") if Input.getkey(78)
    add("o") if Input.getkey(79)
    add("p") if Input.getkey(80)
    add("q") if Input.getkey(81)
    add("r") if Input.getkey(82)
    add("s") if Input.getkey(83)
    add("t") if Input.getkey(84)
    add("u") if Input.getkey(85)
    add("v") if Input.getkey(86)
    add("w") if Input.getkey(87)
    add("x") if Input.getkey(88)
    add("y") if Input.getkey(89)
    add("z") if Input.getkey(90)
  end
 end
 end
end

여기까지입니다 ^^ 잘 넣으셧다면  패스워드를 **** 이렇게 표시 가됄겁니다.

Who's 백호

?

이상혁입니다.

http://elab.kr

Comment '1'
  • ?
    칼리아 2010.09.06 07:09

    쓰었는데 오류표시도 나고 아무것도 안뜨는 1인


List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 6153
23 온라인 인터넷 웹 상에서의 시간을 취득하는 스크립트 1 이우 2016.05.24 872
22 온라인 온라인 스크립트 Unis Net RMXP 공식 배포! 25 file 뮤바보 2011.12.25 9398
21 온라인 온라인 스크립트입니다^^(예제파일) 7 캉쿤 2011.09.24 4390
20 온라인 온라인 스크립트 KnM 배포합니다. 43 file 뮤바보 2011.09.23 5350
19 온라인 NetPlay Evolution v3 여러분이 고대하시던 NPE v3입니다! 5 file 심영 2010.10.29 3993
18 온라인 ORPG 여러분이 원하는 온라인 스크립트 한글화해서 다시 배포! 20 file 심영 2010.10.16 5573
17 온라인 최신중의 최신 2010년 4월 작 넷플레이 3.0!!! 6 김똘식 2010.09.18 3320
16 온라인 게임화면을 전체화면으로 하기 27 file 이씨 2010.03.09 4052
15 온라인 NetRPGXP Client Core 일부분임 8 백호 2009.10.06 2883
14 온라인 광넷[ 광땡 온라인 + 넷플레이 ] 62 - 하늘 - 2009.08.02 9003
13 온라인 멀티넷플레이 99Q Beta 3 27 백호 2009.02.22 3107
12 온라인 Multi-Netplay Extended[구버전용] 3 백호 2009.02.22 2175
11 온라인 Multi-Netplay Extended (신버전) 10 백호 2009.02.22 2864
» 온라인 multy-netplay 로그인창에서 비밀번호를 ***표시해주는 script~! 1 백호 2009.02.22 1888
9 온라인 멀티넷스크립트 => 채팅보완 스크립트 8 file 백호 2009.02.22 2931
8 온라인 [멀티넷스크립 PvP 이벤트버전] / [넷플레이0.7.2]버전 3 file 백호 2009.02.22 2604
7 온라인 멀티넷 스크립트 수정본 (약간 한글화) 7 백호 2009.02.22 2315
6 온라인 온라인스크립트 실행방법 13 file 백호 2009.02.22 4275
5 온라인 온라인스크립트 99Q(NM=No Map)버전 5 백호 2009.02.22 3121
4 온라인 넷플레이1.7.0+abs5.5+한챗 49 쀍뛝쒧 2009.01.24 7286
Board Pagination Prev 1 2 Next
/ 2