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
261 기타 Near Fantastica's SDK Test Bed 3 file 백호 2009.02.22 885
260 기타 My메세지(메세지 출력 스크립트) 1 file 백호 2009.02.22 1533
» 온라인 multy-netplay 로그인창에서 비밀번호를 ***표시해주는 script~! 1 백호 2009.02.22 1889
258 장비 MultiSlots! 2.4 by DerVVulfman 2 Alkaid 2011.09.05 1466
257 장비 Multislots! 2.2 by DerVVulfman 4 file Alkaid 2011.02.18 1611
256 장비 Multislots! 2.1 by DerVVulfman 3 file Alkaid 2010.09.02 1537
255 기타 Multiple Languages v2 by SephirothSpawn (SDK호환) file 백호 2009.02.22 1404
254 기타 Multiple Currencies(여러 개의 통화단위 사용) 2 백호 2009.02.22 1124
253 온라인 Multi-Netplay Extended[구버전용] 3 백호 2009.02.22 2176
252 온라인 Multi-Netplay Extended (신버전) 10 백호 2009.02.22 2864
251 장비 Multi-equip script 노신버전 2 file 백호 2009.02.22 1129
250 장비 Multi-equip script ver.6 by Guillaume777 4 file 백호 2009.02.22 1210
249 장비 Multi-equip script 2 file 백호 2009.02.21 1101
248 장비 Multi Equip 3.1.4 by Trickster (SDK2 호환, Method & Class Li… 4 file WMN 2008.04.06 1597
247 전투 MrMo DVV Add-On #13: Tinuke's Smart Missiles 2 Alkaid 2011.01.24 1843
246 전투 Mr.mo's SBABS Lite 5 6 아방스마니아 2010.11.14 2947
245 전투 Mr.Mo's ABS Ultimate 7.0 by DerVVulfman 4 Alkaid 2012.08.26 2587
244 전투 Mr.Mo's ABS Ultimate 3.4 by DerVVulfman Alkaid 2012.03.14 1803
243 전투 Mr.Mo's ABS Ultimate 2.6 by DerVVulfman Alkaid 2012.01.04 1820
242 온라인 Mr.Metring NPE 1.0 [RPG XP 온라인 스크립트] 35 아방스 2009.01.07 6535
Board Pagination Prev 1 ... 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 ... 52 Next
/ 52