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
461 메뉴 넷플레이 업그레이드됀 메뉴 스크립트 4 백호 2009.02.22 2040
460 전투 S ABS_NonSDK(구버전용) 5 file 백호 2009.02.22 1494
459 전투 S ABS_NonSDK ver 1 file 백호 2009.02.22 1458
458 기타 Defining Encounter Areas by RPG Advocate (사용법 첨부) file 백호 2009.02.22 1201
457 아이템 Item Acquired Window by SiliconHero@rmxp.net 백호 2009.02.22 1096
456 기타 풀스크린 스크립트 2 백호 2009.02.22 1407
455 온라인 Multi-Netplay Extended[구버전용] 3 백호 2009.02.22 2175
454 온라인 Multi-Netplay Extended (신버전) 10 백호 2009.02.22 2864
453 HUD 넷플레이 HUD표시 2 file 백호 2009.02.22 3094
452 메뉴 링 메뉴 Edited by Hypershadow180@rmxp.net 1 file 백호 2009.02.22 1974
451 전투 Steal Script 5.5 by trickster@rmxp.net (SDK호환) file 백호 2009.02.22 1206
450 기타 스크립트 자료 3 file 백호 2009.02.22 905
» 온라인 multy-netplay 로그인창에서 비밀번호를 ***표시해주는 script~! 1 백호 2009.02.22 1889
448 타이틀/게임오버 심심해서 구현해본 타이틀음악만으로 게임 플레이하기 2 백호 2009.02.22 1621
447 기타 Selected phyolomortis.com scripts 1 file 백호 2009.02.22 789
446 파티 Party Switching Screen by exseiken file 백호 2009.02.22 1299
445 기타 창고 시스템 8 백호 2009.02.22 1762
444 장비 Advanced Equip Window 백호 2009.02.22 806
443 장비 장비창 개조 스크립트 from Harts Horn 7 백호 2009.02.22 1767
442 오디오 WinAMP 플러그인을 이용하여 RMXP에서 다른 사운드포맷 지원하기 v3 by Guillame777@rmxp.net 백호 2009.02.22 936
Board Pagination Prev 1 ... 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 ... 52 Next
/ 52