DE

[ Pedido ] Colocar Para Aparecer Outfit do Char no Character list

Por Developer Berg, 30 de out. de 2015 em Clients

43
12.5k
CaioSilva99C
07 de dezembro de 2015 às 17:22

Não o data/images/ui

Eu acho más é aquele onde pomos nossos itens,pokeballs etc.

 

Developer BergD
07 de dezembro de 2015 às 20:56

Não o data/images/ui

Eu acho más é aquele onde pomos nossos itens,pokeballs etc.

 

mais oque isso tem a ver com minha duvida ? kk

1 mês depois...
AberosA
15 de janeiro de 2016 às 18:26

@ricardoberg teria como vc postar o otui do seu modulo?

Developer BergD
15 de janeiro de 2016 às 18:46

@ricardoberg teria como vc postar o otui do seu modulo?

 

 

 

 

CharacterWidget < UIWidget
  height: 14
  background-color: alpha
  &updateOnStates: |
    function(self)
      local children = self:getChildren()
      for i=1,#children do
        children[i]:setOn(self:isFocused())
      end
    end
  @onFocusChange: self:updateOnStates()
  @onSetup: self:updateOnStates()

  $focus:
    background-color: #ffffff22

  Label
    id: name
    color: green
    anchors.top: parent.top
    anchors.left:  parent.left
    font: verdana-11px-monochrome
    text-auto-resize: true
    background-color: alpha
    text-offset: 2 0

    $on:
      color: #ffffff

  Label
    id: worldName
    color: #ffffff
    color: #aaaaaa
    anchors.top: parent.top
    anchors.right: parent.right
    margin-right: 5
    font: verdana-11px-monochrome
    text-auto-resize: true
    background-color: alpha
    &baseText: '(%s)'

    $on:
      color: #ffffff

MainWindow
  id: charactersWindow
  size: 640 322
  image-source: character.png
  image-border: 0
  visible: false
  @onEnter: CharacterList.doLogin()
  @onEscape: CharacterList.hide(true)
  @onSetup: |
    g_keyboard.bindKeyPress('Up', function() self:getChildById('characters'):focusPreviousChild(KeyboardFocusReason) end, self)
    g_keyboard.bindKeyPress('Down', function() self:getChildById('characters'):focusNextChild(KeyboardFocusReason) end, self)
  Creature
    size: 150 150
    id: outfitCreatureBox
    anchors.top: parent.top
    anchors.left: parent.left
    margin-top: 26
    margin-left: 147
    padding: 4 4 4 4
    fixed-creature-size: true
  TextList
    size: 138 90
    id: characters
    anchors.top: parent.top
    anchors.left: parent.left
    anchors.bottom: parent.bottom
    margin-bottom: 10
    margin-left: 3
    margin-top: 26
    padding: 1
    focusable: false
    vertical-scrollbar: characterListScrollBar
    auto-focus: first

  VerticalScrollBar
    id: characterListScrollBar
    anchors.top: parent.top
    margin-top: 25
    anchors.bottom: characters.bottom
    anchors.right: characters.left
    step: 14
    pixels-scroll: true

  Label
    id: accountStatusLabel
    color: green
    !text: tr('Free Account')
    anchors.left: characters.right
    anchors.bottom: parent.bottom
    margin-left: 8
    margin-bottom: 35
    text-auto-resize: true

    $on:
      color: #FF0000


  //CheckBox
  //  id: charAutoLoginBox
  //  !text: tr('Auto login')
  //  !tooltip: tr('Auto login selected character on next charlist load')
  //  anchors.left: parent.left
  //  anchors.right: outfitCreatureBox.left
  //  anchors.bottom: next.top
  //  margin-bottom: 6
  //  margin-left: 18
  //  margin-right: 18

  Button
    id: buttonOk
    !text: tr('Ok')
    width: 200
    anchors.right: next.left
    anchors.bottom: parent.bottom
    margin-right: 50
    @onClick: CharacterList.doLogin()

  Button
    id: buttonCancel
    !text: tr('Cancel')
    width: 200
    anchors.right: parent.right
    margin-right: -5
    anchors.bottom: parent.bottom
    @onClick: CharacterList.hide(true)
  Label
    id: namelabel
    text: Name: Character name
    color: green
    anchors.left: characters.right
    anchors.top: outfitCreatureBox.top
    margin-top: 160
    margin-left: 8
    text-auto-resize: true
  Label
    id: levellabel
    text: Level:
    color: green
    anchors.left: characters.right
    anchors.top: namelabel.bottom
    margin-top: 8
    margin-left: 8
    text-auto-resize: true

 

 

 

se vc conseguir, libera pfv, to precisando desse module, aqui ta aparecendo outfits aleatorias

Editado Janeiro 15 por ricardoberg

AberosA
15 de janeiro de 2016 às 20:45

assim o local aonde aparece akele poke vai sumir

CharacterWidget < UIWidget
  height: 14
  background-color: alpha
  &updateOnStates: |
    function(self)
      local children = self:getChildren()
      for i=1,#children do
        children[i]:setOn(self:isFocused())
      end
    end
  @onFocusChange: self:updateOnStates()
  @onSetup: self:updateOnStates()
 
  $focus:
    background-color: #ffffff22
 
  Label
    id: name
    color: green
    anchors.top: parent.top
    anchors.left:  parent.left
    font: verdana-11px-monochrome
    text-auto-resize: true
    background-color: alpha
    text-offset: 2 0
 
    $on:
      color: #ffffff
 
  Label
    id: worldName
    color: #ffffff
    color: #aaaaaa
    anchors.top: parent.top
    anchors.right: parent.right
    margin-right: 5
    font: verdana-11px-monochrome
    text-auto-resize: true
    background-color: alpha
    &baseText: '(%s)'
 
    $on:
      color: #ffffff
 
MainWindow
  id: charactersWindow
  size: 640 322
  image-source: character.png
  image-border: 0
  visible: false
  @onEnter: CharacterList.doLogin()
  @onEscape: CharacterList.hide(true)
  @onSetup: |
    g_keyboard.bindKeyPress('Up', function() self:getChildById('characters'):focusPreviousChild(KeyboardFocusReason) end, self)
    g_keyboard.bindKeyPress('Down', function() self:getChildById('characters'):focusNextChild(KeyboardFocusReason) end, self)
  Creature
    size: 150 150
    id: outfitCreatureBox
    anchors.top: parent.top
    anchors.left: parent.left
    margin-top: 26
    margin-left: 147
    padding: 4 4 4 4
    fixed-creature-size: true
    visible: false
  TextList
    size: 138 90
    id: characters
    anchors.top: parent.top
    anchors.left: parent.left
    anchors.bottom: parent.bottom
    margin-bottom: 10
    margin-left: 3
    margin-top: 26
    padding: 1
    focusable: false
    vertical-scrollbar: characterListScrollBar
    auto-focus: first
 
  VerticalScrollBar
    id: characterListScrollBar
    anchors.top: parent.top
    margin-top: 25
    anchors.bottom: characters.bottom
    anchors.right: characters.left
    step: 14
    pixels-scroll: true
 
  Label
    id: accountStatusLabel
    color: green
    !text: tr('Free Account')
    anchors.left: characters.right
    anchors.bottom: parent.bottom
    margin-left: 8
    margin-bottom: 35
    text-auto-resize: true
 
    $on:
      color: #FF0000
 
 
  //CheckBox
  //  id: charAutoLoginBox
  //  !text: tr('Auto login')
  //  !tooltip: tr('Auto login selected character on next charlist load')
  //  anchors.left: parent.left
  //  anchors.right: outfitCreatureBox.left
  //  anchors.bottom: next.top
  //  margin-bottom: 6
  //  margin-left: 18
  //  margin-right: 18
 
  Button
    id: buttonOk
    !text: tr('Ok')
    width: 200
    anchors.right: next.left
    anchors.bottom: parent.bottom
    margin-right: 50
    @onClick: CharacterList.doLogin()
 
  Button
    id: buttonCancel
    !text: tr('Cancel')
    width: 200
    anchors.right: parent.right
    margin-right: -5
    anchors.bottom: parent.bottom
    @onClick: CharacterList.hide(true)
  Label
    id: namelabel
    text: Name: Character name
    color: green
    anchors.left: characters.right
    anchors.top: outfitCreatureBox.top
    margin-top: 160
    margin-left: 8
    text-auto-resize: true
  Label
    id: levellabel
    text: Level:
    color: green
    anchors.left: characters.right
    anchors.top: namelabel.bottom
    margin-top: 8
    margin-left: 8
    text-auto-resize: true

agora tem esse que na teoria e pr aparecer uma img no local da outfit porem nao testei ae vc tem q testar

 

CharacterWidget < UIWidget
  height: 14
  background-color: alpha
  &updateOnStates: |
    function(self)
      local children = self:getChildren()
      for i=1,#children do
        children[i]:setOn(self:isFocused())
      end
    end
  @onFocusChange: self:updateOnStates()
  @onSetup: self:updateOnStates()
 
  $focus:
    background-color: #ffffff22
 
  Label
    id: name
    color: green
    anchors.top: parent.top
    anchors.left:  parent.left
    font: verdana-11px-monochrome
    text-auto-resize: true
    background-color: alpha
    text-offset: 2 0
 
    $on:
      color: #ffffff
 
  Label
    id: worldName
    color: #ffffff
    color: #aaaaaa
    anchors.top: parent.top
    anchors.right: parent.right
    margin-right: 5
    font: verdana-11px-monochrome
    text-auto-resize: true
    background-color: alpha
    &baseText: '(%s)'
 
    $on:
      color: #ffffff
 
MainWindow
  id: charactersWindow
  size: 640 322
  image-source: character.png
  image-border: 0
  visible: false
  @onEnter: CharacterList.doLogin()
  @onEscape: CharacterList.hide(true)
  @onSetup: |
    g_keyboard.bindKeyPress('Up', function() self:getChildById('characters'):focusPreviousChild(KeyboardFocusReason) end, self)
    g_keyboard.bindKeyPress('Down', function() self:getChildById('characters'):focusNextChild(KeyboardFocusReason) end, self)
  UIButton
    size: 150 150
    id: outfitCreatureBox
    anchors.top: parent.top
    anchors.left: parent.left
    margin-top: 26
    margin-left: 147
    padding: 4 4 4 4
    image-source: /data/images/ui/player.png
    visible: false
  TextList
    size: 138 90
    id: characters
    anchors.top: parent.top
    anchors.left: parent.left
    anchors.bottom: parent.bottom
    margin-bottom: 10
    margin-left: 3
    margin-top: 26
    padding: 1
    focusable: false
    vertical-scrollbar: characterListScrollBar
    auto-focus: first
 
  VerticalScrollBar
    id: characterListScrollBar
    anchors.top: parent.top
    margin-top: 25
    anchors.bottom: characters.bottom
    anchors.right: characters.left
    step: 14
    pixels-scroll: true
 
  Label
    id: accountStatusLabel
    color: green
    !text: tr('Free Account')
    anchors.left: characters.right
    anchors.bottom: parent.bottom
    margin-left: 8
    margin-bottom: 35
    text-auto-resize: true
 
    $on:
      color: #FF0000
 
 
  //CheckBox
  //  id: charAutoLoginBox
  //  !text: tr('Auto login')
  //  !tooltip: tr('Auto login selected character on next charlist load')
  //  anchors.left: parent.left
  //  anchors.right: outfitCreatureBox.left
  //  anchors.bottom: next.top
  //  margin-bottom: 6
  //  margin-left: 18
  //  margin-right: 18
 
  Button
    id: buttonOk
    !text: tr('Ok')
    width: 200
    anchors.right: next.left
    anchors.bottom: parent.bottom
    margin-right: 50
    @onClick: CharacterList.doLogin()
 
  Button
    id: buttonCancel
    !text: tr('Cancel')
    width: 200
    anchors.right: parent.right
    margin-right: -5
    anchors.bottom: parent.bottom
    @onClick: CharacterList.hide(true)
  Label
    id: namelabel
    text: Name: Character name
    color: green
    anchors.left: characters.right
    anchors.top: outfitCreatureBox.top
    margin-top: 160
    margin-left: 8
    text-auto-resize: true
  Label
    id: levellabel
    text: Level:
    color: green
    anchors.left: characters.right
    anchors.top: namelabel.bottom
    margin-top: 8
    margin-left: 8
    text-auto-resize: true

Editado Janeiro 15 por Aberos

Developer BergD
15 de janeiro de 2016 às 20:55

 

assim o local aonde aparece akele poke vai sumir

CharacterWidget < UIWidget
  height: 14
  background-color: alpha
  &updateOnStates: |
    function(self)
      local children = self:getChildren()
      for i=1,#children do
        children[i]:setOn(self:isFocused())
      end
    end
  @onFocusChange: self:updateOnStates()
  @onSetup: self:updateOnStates()
 
  $focus:
    background-color: #ffffff22
 
  Label
    id: name
    color: green
    anchors.top: parent.top
    anchors.left:  parent.left
    font: verdana-11px-monochrome
    text-auto-resize: true
    background-color: alpha
    text-offset: 2 0
 
    $on:
      color: #ffffff
 
  Label
    id: worldName
    color: #ffffff
    color: #aaaaaa
    anchors.top: parent.top
    anchors.right: parent.right
    margin-right: 5
    font: verdana-11px-monochrome
    text-auto-resize: true
    background-color: alpha
    &baseText: '(%s)'
 
    $on:
      color: #ffffff
 
MainWindow
  id: charactersWindow
  size: 640 322
  image-source: character.png
  image-border: 0
  visible: false
  @onEnter: CharacterList.doLogin()
  @onEscape: CharacterList.hide(true)
  @onSetup: |
    g_keyboard.bindKeyPress('Up', function() self:getChildById('characters'):focusPreviousChild(KeyboardFocusReason) end, self)
    g_keyboard.bindKeyPress('Down', function() self:getChildById('characters'):focusNextChild(KeyboardFocusReason) end, self)
  Creature
    size: 150 150
    id: outfitCreatureBox
    anchors.top: parent.top
    anchors.left: parent.left
    margin-top: 26
    margin-left: 147
    padding: 4 4 4 4
    fixed-creature-size: true
    visible: false
  TextList
    size: 138 90
    id: characters
    anchors.top: parent.top
    anchors.left: parent.left
    anchors.bottom: parent.bottom
    margin-bottom: 10
    margin-left: 3
    margin-top: 26
    padding: 1
    focusable: false
    vertical-scrollbar: characterListScrollBar
    auto-focus: first
 
  VerticalScrollBar
    id: characterListScrollBar
    anchors.top: parent.top
    margin-top: 25
    anchors.bottom: characters.bottom
    anchors.right: characters.left
    step: 14
    pixels-scroll: true
 
  Label
    id: accountStatusLabel
    color: green
    !text: tr('Free Account')
    anchors.left: characters.right
    anchors.bottom: parent.bottom
    margin-left: 8
    margin-bottom: 35
    text-auto-resize: true
 
    $on:
      color: #FF0000
 
 
  //CheckBox
  //  id: charAutoLoginBox
  //  !text: tr('Auto login')
  //  !tooltip: tr('Auto login selected character on next charlist load')
  //  anchors.left: parent.left
  //  anchors.right: outfitCreatureBox.left
  //  anchors.bottom: next.top
  //  margin-bottom: 6
  //  margin-left: 18
  //  margin-right: 18
 
  Button
    id: buttonOk
    !text: tr('Ok')
    width: 200
    anchors.right: next.left
    anchors.bottom: parent.bottom
    margin-right: 50
    @onClick: CharacterList.doLogin()
 
  Button
    id: buttonCancel
    !text: tr('Cancel')
    width: 200
    anchors.right: parent.right
    margin-right: -5
    anchors.bottom: parent.bottom
    @onClick: CharacterList.hide(true)
  Label
    id: namelabel
    text: Name: Character name
    color: green
    anchors.left: characters.right
    anchors.top: outfitCreatureBox.top
    margin-top: 160
    margin-left: 8
    text-auto-resize: true
  Label
    id: levellabel
    text: Level:
    color: green
    anchors.left: characters.right
    anchors.top: namelabel.bottom
    margin-top: 8
    margin-left: 8
    text-auto-resize: true

agora tem esse que na teoria e pr aparecer uma img no local da outfit porem nao testei ae vc tem q testar

CharacterWidget < UIWidget
  height: 14
  background-color: alpha
  &updateOnStates: |
    function(self)
      local children = self:getChildren()
      for i=1,#children do
        children[i]:setOn(self:isFocused())
      end
    end
  @onFocusChange: self:updateOnStates()
  @onSetup: self:updateOnStates()
 
  $focus:
    background-color: #ffffff22
 
  Label
    id: name
    color: green
    anchors.top: parent.top
    anchors.left:  parent.left
    font: verdana-11px-monochrome
    text-auto-resize: true
    background-color: alpha
    text-offset: 2 0
 
    $on:
      color: #ffffff
 
  Label
    id: worldName
    color: #ffffff
    color: #aaaaaa
    anchors.top: parent.top
    anchors.right: parent.right
    margin-right: 5
    font: verdana-11px-monochrome
    text-auto-resize: true
    background-color: alpha
    &baseText: '(%s)'
 
    $on:
      color: #ffffff
 
MainWindow
  id: charactersWindow
  size: 640 322
  image-source: character.png
  image-border: 0
  visible: false
  @onEnter: CharacterList.doLogin()
  @onEscape: CharacterList.hide(true)
  @onSetup: |
    g_keyboard.bindKeyPress('Up', function() self:getChildById('characters'):focusPreviousChild(KeyboardFocusReason) end, self)
    g_keyboard.bindKeyPress('Down', function() self:getChildById('characters'):focusNextChild(KeyboardFocusReason) end, self)
  UIButton
    size: 150 150
    id: outfitCreatureBox
    anchors.top: parent.top
    anchors.left: parent.left
    margin-top: 26
    margin-left: 147
    padding: 4 4 4 4
    image-source: /data/images/ui/player.png
    visible: false
  TextList
    size: 138 90
    id: characters
    anchors.top: parent.top
    anchors.left: parent.left
    anchors.bottom: parent.bottom
    margin-bottom: 10
    margin-left: 3
    margin-top: 26
    padding: 1
    focusable: false
    vertical-scrollbar: characterListScrollBar
    auto-focus: first
 
  VerticalScrollBar
    id: characterListScrollBar
    anchors.top: parent.top
    margin-top: 25
    anchors.bottom: characters.bottom
    anchors.right: characters.left
    step: 14
    pixels-scroll: true
 
  Label
    id: accountStatusLabel
    color: green
    !text: tr('Free Account')
    anchors.left: characters.right
    anchors.bottom: parent.bottom
    margin-left: 8
    margin-bottom: 35
    text-auto-resize: true
 
    $on:
      color: #FF0000
 
 
  //CheckBox
  //  id: charAutoLoginBox
  //  !text: tr('Auto login')
  //  !tooltip: tr('Auto login selected character on next charlist load')
  //  anchors.left: parent.left
  //  anchors.right: outfitCreatureBox.left
  //  anchors.bottom: next.top
  //  margin-bottom: 6
  //  margin-left: 18
  //  margin-right: 18
 
  Button
    id: buttonOk
    !text: tr('Ok')
    width: 200
    anchors.right: next.left
    anchors.bottom: parent.bottom
    margin-right: 50
    @onClick: CharacterList.doLogin()
 
  Button
    id: buttonCancel
    !text: tr('Cancel')
    width: 200
    anchors.right: parent.right
    margin-right: -5
    anchors.bottom: parent.bottom
    @onClick: CharacterList.hide(true)
  Label
    id: namelabel
    text: Name: Character name
    color: green
    anchors.left: characters.right
    anchors.top: outfitCreatureBox.top
    margin-top: 160
    margin-left: 8
    text-auto-resize: true
  Label
    id: levellabel
    text: Level:
    color: green
    anchors.left: characters.right
    anchors.top: namelabel.bottom
    margin-top: 8
    margin-left: 8
    text-auto-resize: true

deu erro aqui, o character list sumiu e deu esse erro

ERROR: failed to load UI from 'characterlist.otui': OTML error in '/client_entergame/characterlist.otui' at line 13: must indent every 2 spaces
ERROR: /client_entergame/characterlist.lua:191: attempt to index upvalue 'charactersWindow' (a nil value)
AberosA
15 de janeiro de 2016 às 21:05
Melhor resposta

tenta agora

 

 

CharacterWidget < UIWidget
height: 14
background-color: alpha
&updateOnStates: |
function(self)
local children = self:getChildren()
for i=1,#children do
children:setOn(self:isFocused())
end
end
@onFocusChange: self:updateOnStates()
@onSetup: self:updateOnStates()
$focus:
background-color: #ffffff22
Label
id: name
color: green
anchors.top: parent.top
anchors.left: parent.left
font: verdana-11px-monochrome
text-auto-resize: true
background-color: alpha
text-offset: 2 0
$on:
color: #ffffff
Label
id: worldName
color: #ffffff
color: #aaaaaa
anchors.top: parent.top
anchors.right: parent.right
margin-right: 5
font: verdana-11px-monochrome
text-auto-resize: true
background-color: alpha
&baseText: '(%s)'
$on:
color: #ffffff
MainWindow
id: charactersWindow
size: 640 322
image-source: character.png
image-border: 0
visible: false
@onEnter: CharacterList.doLogin()
@onEscape: CharacterList.hide(true)
@onSetup: |
g_keyboard.bindKeyPress('Up', function() self:getChildById('characters'):focusPreviousChild(KeyboardFocusReason) end, self)
g_keyboard.bindKeyPress('Down', function() self:getChildById('characters'):focusNextChild(KeyboardFocusReason) end, self)
Creature
size: 150 150
id: outfitCreatureBox
anchors.top: parent.top
anchors.left: parent.left
margin-top: 26
margin-left: 147
padding: 4 4 4 4
fixed-creature-size: true
visible: false
TextList
size: 138 90
id: characters
anchors.top: parent.top
anchors.left: parent.left
anchors.bottom: parent.bottom
margin-bottom: 10
margin-left: 3
margin-top: 26
padding: 1
focusable: false
vertical-scrollbar: characterListScrollBar
auto-focus: first
VerticalScrollBar
id: characterListScrollBar
anchors.top: parent.top
margin-top: 25
anchors.bottom: characters.bottom
anchors.right: characters.left
step: 14
pixels-scroll: true
Label
id: accountStatusLabel
color: green
!text: tr('Free Account')
anchors.left: characters.right
anchors.bottom: parent.bottom
margin-left: 8
margin-bottom: 35
text-auto-resize: true
$on:
color: #FF0000
//CheckBox
// id: charAutoLoginBox
// !text: tr('Auto login')
// !tooltip: tr('Auto login selected character on next charlist load')
// anchors.left: parent.left
// anchors.right: outfitCreatureBox.left
// anchors.bottom: next.top
// margin-bottom: 6
// margin-left: 18
// margin-right: 18
Button
id: buttonOk
!text: tr('Ok')
width: 200
anchors.right: next.left
anchors.bottom: parent.bottom
margin-right: 50
@onClick: CharacterList.doLogin()
Button
id: buttonCancel
!text: tr('Cancel')
width: 200
anchors.right: parent.right
margin-right: -5
anchors.bottom: parent.bottom
@onClick: CharacterList.hide(true)
Label
id: namelabel
text: Name: Character name
color: green
anchors.left: characters.right
anchors.top: outfitCreatureBox.top
margin-top: 160
margin-left: 8
text-auto-resize: true
Label
id: levellabel
text: Level:
color: green
anchors.left: characters.right
anchors.top: namelabel.bottom
margin-top: 8
margin-left: 8
text-auto-resize: true

ou tente baixar esse anexo

Editado Janeiro 15 por Aberos

Developer BergD
15 de janeiro de 2016 às 21:12

 

tenta agora

 

 

CharacterWidget < UIWidget
height: 14
background-color: alpha
&updateOnStates: |
function(self)
local children = self:getChildren()
for i=1,#children do
children:setOn(self:isFocused())
end
end
@onFocusChange: self:updateOnStates()
@onSetup: self:updateOnStates()
$focus:
background-color: #ffffff22
Label
id: name
color: green
anchors.top: parent.top
anchors.left: parent.left
font: verdana-11px-monochrome
text-auto-resize: true
background-color: alpha
text-offset: 2 0
$on:
color: #ffffff
Label
id: worldName
color: #ffffff
color: #aaaaaa
anchors.top: parent.top
anchors.right: parent.right
margin-right: 5
font: verdana-11px-monochrome
text-auto-resize: true
background-color: alpha
&baseText: '(%s)'
$on:
color: #ffffff
MainWindow
id: charactersWindow
size: 640 322
image-source: character.png
image-border: 0
visible: false
@onEnter: CharacterList.doLogin()
@onEscape: CharacterList.hide(true)
@onSetup: |
g_keyboard.bindKeyPress('Up', function() self:getChildById('characters'):focusPreviousChild(KeyboardFocusReason) end, self)
g_keyboard.bindKeyPress('Down', function() self:getChildById('characters'):focusNextChild(KeyboardFocusReason) end, self)
Creature
size: 150 150
id: outfitCreatureBox
anchors.top: parent.top
anchors.left: parent.left
margin-top: 26
margin-left: 147
padding: 4 4 4 4
fixed-creature-size: true
visible: false
TextList
size: 138 90
id: characters
anchors.top: parent.top
anchors.left: parent.left
anchors.bottom: parent.bottom
margin-bottom: 10
margin-left: 3
margin-top: 26
padding: 1
focusable: false
vertical-scrollbar: characterListScrollBar
auto-focus: first
VerticalScrollBar
id: characterListScrollBar
anchors.top: parent.top
margin-top: 25
anchors.bottom: characters.bottom
anchors.right: characters.left
step: 14
pixels-scroll: true
Label
id: accountStatusLabel
color: green
!text: tr('Free Account')
anchors.left: characters.right
anchors.bottom: parent.bottom
margin-left: 8
margin-bottom: 35
text-auto-resize: true
$on:
color: #FF0000
//CheckBox
// id: charAutoLoginBox
// !text: tr('Auto login')
// !tooltip: tr('Auto login selected character on next charlist load')
// anchors.left: parent.left
// anchors.right: outfitCreatureBox.left
// anchors.bottom: next.top
// margin-bottom: 6
// margin-left: 18
// margin-right: 18
Button
id: buttonOk
!text: tr('Ok')
width: 200
anchors.right: next.left
anchors.bottom: parent.bottom
margin-right: 50
@onClick: CharacterList.doLogin()
Button
id: buttonCancel
!text: tr('Cancel')
width: 200
anchors.right: parent.right
margin-right: -5
anchors.bottom: parent.bottom
@onClick: CharacterList.hide(true)
Label
id: namelabel
text: Name: Character name
color: green
anchors.left: characters.right
anchors.top: outfitCreatureBox.top
margin-top: 160
margin-left: 8
text-auto-resize: true
Label
id: levellabel
text: Level:
color: green
anchors.left: characters.right
anchors.top: namelabel.bottom
margin-top: 8
margin-left: 8
text-auto-resize: true

ou tente baixar esse anexo

 

ae pegou, vlw :D obg man ^^

AberosA
15 de janeiro de 2016 às 21:15

tipo tem esse que vc pode por uma img no lugar

characterlist.rar

e so procurar por

image-source: /data/images/game/skulls/skull_orange.png

e alterar o caminho para o caminho da sua img

 

posso marcar o topico como resolvido entao?

 

Editado Janeiro 15 por Aberos

Developer BergD
15 de janeiro de 2016 às 21:20

tipo tem esse que vc pode por uma img no lugar

attachicon.gifcharacterlist.rar

e so procurar por

image-source: /data/images/game/skulls/skull_orange.png

e alterar o caminho para o caminho da sua img

 

posso marcar o topico como resolvido entao?

 

sim pode, troquei de base e to usando uma base com source, depois vou criar outro tópico usando esse mesmo character list para implantar nas sources para aparecer a outift

DanihcvD
16 de janeiro de 2016 às 20:10

Tópico movido para Tópicos Resolvidos (Clientes)

4 anos depois...
Theon2dT
25 de setembro de 2020 às 08:51

tem como respostar o modulo ?

1 ano depois...
helviioH
19 de fevereiro de 2022 às 05:22

reup pls <3