プレイヤーのスキンの変え方

Last-modified: 2015-05-03 (日) 21:24:38

■プレイヤー以外のアクターのスキンの変え方
ttp://hotmist.ddo.jp/cleo_cs/replace.txt
上記スクリプト内でその処理が使用されているかも?

:CHANGE_SKIN
0085: 2@ = 0@ // (int)
000A: 2@ += 0x4D4
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 0

0A8D: 2@ = read_memory 0@ size 4 virtual_protect 0
000A: 2@ += 0x20
0A8D: 2@ = read_memory 2@ size 4 virtual_protect 0
0AA6: call_method 2@ struct 0@ num_params 0 pop 0

0085: 2@ = 0@ // (int)
000A: 2@ += 0x22
0A8C: write_memory 2@ size 2 value -1 virtual_protect 0

0A8D: 2@ = read_memory 0@ size 4 virtual_protect 0
000A: 2@ += 0x14
0A8D: 2@ = read_memory 2@ size 4 virtual_protect 0
0AA6: call_method 2@ struct 0@ num_params 1 pop 0 1@

0085: 2@ = 0@ // (int)
000A: 2@ += 0x4D4
0A8C: write_memory 2@ size 4 value 3@ virtual_protect 0
return
■プレイヤーのスキンの変え方

  {$VERSION 3.1.0027}
  {$CLEO .cs}
  //-------------MAIN---------------
  thread 'MAIN'
  :MAIN_11
  wait 20
  1@ += 1
  023C: load_special_actor 'PLAYER0' as 1@ // models 290-299
  038B: load_requested_models
  if
  023D:   special_actor 1@ loaded
  jf @MAIN_11
  1@ += 289
  09C7: change_player $PLAYER_CHAR model_to 1@
  Player.Build($PLAYER_CHAR)
  1@ -= 289
  :MAIN_83
  wait 0
  jump @MAIN_83
  end_thread