Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
odisk777 committed Jun 4, 2024
1 parent 386b230 commit bfad8a7
Show file tree
Hide file tree
Showing 121 changed files with 2,630 additions and 146 deletions.
6 changes: 2 additions & 4 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@ Services = {
stats = "", -- --"http://yourwebsite/api/stats.php"
crash = "", --"http://yourwebsite/api/crash.php",
feedback = "",--"http://yourwebsite/api/feedback.php",
status = "http://docs.opentibiabr.com" --http://yourwebsite/api/status.php"
status = "" --http://yourwebsite/api/status.php"
}

-- Servers accept http login url, websocket login url or ip:port:version
Servers = {
LocalTestServ = "127.0.0.1:7171:1100"
}
Servers = {}

--Server = "ws://yourwebsite:3000/"
--Server = "ws://127.0.0.1:88/"
Expand Down
2 changes: 1 addition & 1 deletion layouts/retro/styles/40-entergame.otui
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
EnterGameWindow < StaticMainWindow
!text: tr('Enter Game')
size: 260 340
size: 230 260
Binary file added layouts/retro2/images/game/console/channels.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/game/console/clearchannel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/game/console/ignore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/game/console/leftarrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/game/console/rightarrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/game/console/say.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/game/console/trademsg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/game/console/whisper.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/game/console/yell.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/game/prey/prey_damage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/game/prey/prey_defense.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/game/prey/prey_inactive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/game/prey/prey_loot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/game/prey/prey_no_bonus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/game/prey/prey_xp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/topbuttons/analyzers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/topbuttons/audio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/topbuttons/audio_mute.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/topbuttons/battle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/topbuttons/bot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/topbuttons/ciclopedia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/topbuttons/compedium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/topbuttons/cooldowns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/topbuttons/dailyreward.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layouts/retro2/images/topbuttons/debug.png
Binary file added layouts/retro2/images/topbuttons/exit.png
Binary file added layouts/retro2/images/topbuttons/healthinfo.png
Binary file added layouts/retro2/images/topbuttons/hotkeys.png
Binary file added layouts/retro2/images/topbuttons/inventory.png
Binary file added layouts/retro2/images/topbuttons/login.png
Binary file added layouts/retro2/images/topbuttons/logout.png
Binary file added layouts/retro2/images/topbuttons/minimap.png
Binary file added layouts/retro2/images/topbuttons/motd.png
Binary file added layouts/retro2/images/topbuttons/options.png
Binary file added layouts/retro2/images/topbuttons/particles.png
Binary file added layouts/retro2/images/topbuttons/prey.png
Binary file added layouts/retro2/images/topbuttons/prey_window.png
Binary file added layouts/retro2/images/topbuttons/questlog.png
Binary file added layouts/retro2/images/topbuttons/shop.png
Binary file added layouts/retro2/images/topbuttons/skills.png
Binary file added layouts/retro2/images/topbuttons/spelllist.png
Binary file added layouts/retro2/images/topbuttons/terminal.png
Binary file added layouts/retro2/images/topbuttons/viplist.png
Binary file added layouts/retro2/images/ui/arrow_horizontal.png
Binary file added layouts/retro2/images/ui/arrow_vertical.png
Binary file added layouts/retro2/images/ui/broder_panel.png
Binary file added layouts/retro2/images/ui/button.png
Binary file added layouts/retro2/images/ui/checkbox.png
Binary file added layouts/retro2/images/ui/checkbox_round.png
Binary file added layouts/retro2/images/ui/colorbox.png
Binary file added layouts/retro2/images/ui/combobox.png
Binary file added layouts/retro2/images/ui/combobox_rounded.png
Binary file added layouts/retro2/images/ui/combobox_square.png
Binary file added layouts/retro2/images/ui/dark_background.png
Binary file added layouts/retro2/images/ui/icon_add.png
Binary file added layouts/retro2/images/ui/item.png
Binary file added layouts/retro2/images/ui/menubarleft.png
Binary file added layouts/retro2/images/ui/menubox.png
Binary file added layouts/retro2/images/ui/minibroder.png
Binary file added layouts/retro2/images/ui/minipanel.png
Binary file added layouts/retro2/images/ui/miniwindow.png
Binary file added layouts/retro2/images/ui/miniwindow_buttons.png
Binary file added layouts/retro2/images/ui/noimage.png
Binary file added layouts/retro2/images/ui/option_button.png
Binary file added layouts/retro2/images/ui/options_broder.png
Binary file added layouts/retro2/images/ui/panel_bottom.png
Binary file added layouts/retro2/images/ui/panel_bottom2.png
Binary file added layouts/retro2/images/ui/panel_flat.png
Binary file added layouts/retro2/images/ui/panel_map.png
Binary file added layouts/retro2/images/ui/panel_side.png
Binary file added layouts/retro2/images/ui/panel_top.png
Binary file added layouts/retro2/images/ui/progress_icons.png
Binary file added layouts/retro2/images/ui/progressbar.png
Binary file added layouts/retro2/images/ui/progressbarhpmana.png
Binary file added layouts/retro2/images/ui/progressbarskills.png
Binary file added layouts/retro2/images/ui/rarity_blue.png
Binary file added layouts/retro2/images/ui/rarity_gold.png
Binary file added layouts/retro2/images/ui/rarity_green.png
Binary file added layouts/retro2/images/ui/rarity_purple.png
Binary file added layouts/retro2/images/ui/rarity_white.png
Binary file added layouts/retro2/images/ui/rotate_button.png
Binary file added layouts/retro2/images/ui/scrollbar.png
Binary file added layouts/retro2/images/ui/separator_horizontal.png
Binary file added layouts/retro2/images/ui/special_miniwindow.png
Binary file added layouts/retro2/images/ui/spinbox.png
Binary file added layouts/retro2/images/ui/spinbox_down.png
Binary file added layouts/retro2/images/ui/spinbox_up.png
Binary file added layouts/retro2/images/ui/tabbutton_rounded.png
Binary file added layouts/retro2/images/ui/tabbutton_square.png
Binary file added layouts/retro2/images/ui/textedit.png
Binary file added layouts/retro2/images/ui/window.png
66 changes: 66 additions & 0 deletions layouts/retro2/styles/10-checkboxes.otui
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
CheckBox < UICheckBox
size: 12 12
text-align: left
text-offset: 18 -1
color: #dfdfdf
image-color: #dfdfdfff
image-rect: 0 0 12 12
image-source: /images/ui/checkbox
change-cursor-image: true
cursor: pointer

$hover !disabled:
color: #ffffff

$!checked:
image-clip: 0 0 12 12

$checked:
image-clip: 0 12 12 12

$disabled:
image-color: #dfdfdf88
color: #dfdfdf88
opacity: 0.8
change-cursor-image: false

ColorBox < UICheckBox
size: 16 16
image-color: #dfdfdfff
image-source: /images/ui/colorbox

$checked:
image-clip: 16 0 16 16

$!checked:
image-clip: 0 0 16 16

ButtonBox < UICheckBox
font: verdana-11px-antialised
color: white
size: 106 23
text-offset: 0 0
text-align: center
image-source: /images/ui/button
image-color: #dfdfdf
image-clip: 0 0 22 23
image-border: 3
change-cursor-image: true
cursor: pointer

$hover !disabled:
image-clip: 0 23 22 23

$checked:
image-clip: 0 46 22 23
color: white
text-offset: 2 2
change-cursor-image: false

$disabled:
color: #dfdfdf88
image-color: #dfdfdf88
change-cursor-image: false

ButtonBoxRounded < ButtonBox
image-source: /images/ui/button_rounded
106 changes: 106 additions & 0 deletions layouts/retro2/styles/10-comboboxes.otui
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
ComboBoxPopupScrollMenuButton < UIButton
height: 23
font: verdana-11px-antialised
text-align: left
text-offset: 4 0
color: #BFBFBF
background-color: alpha
margin: 1

$hover !disabled:
color: #dfdfdf
background-color: #595959

$disabled:
color: #dfdfdf88

ComboBoxPopupScrollMenu < UIPopupScrollMenu
image-source: /images/ui/combobox_square
image-clip: 0 69 91 23
image-border: 1

ComboBoxPopupMenuButton < UIButton
height: 23
font: verdana-11px-antialised
text-align: left
text-offset: 5 2
color: #dfdfdf
background-color: alpha
margin: 1

$hover !disabled:
color: #dfdfdf
background-color: #355d89

$disabled:
color: #dfdfdf88

ComboBoxPopupMenu < UIPopupMenu
image-source: /images/ui/combobox_square
image-clip: 0 69 91 23
image-border: 1

ComboBox < UIComboBox
font: verdana-11px-antialised
color: #dfdfdf
size: 91 23
text-offset: 5 2
text-align: left
image-source: /images/ui/combobox_square
image-border: 3
image-border-right: 19
image-clip: 0 0 91 23

$hover !disabled:
image-clip: 0 23 91 23

$on:
image-clip: 0 46 91 23

$disabled:
color: #dfdfdf88
opacity: 0.8

ComboBoxRoundedPopupScrollMenuButton < UIButton
height: 23
font: verdana-11px-antialised
text-align: left
text-offset: 5 2
color: #dfdfdf
background-color: alpha

$hover !disabled:
color: #ffffff
background-color: #355d89

$disabled:
color: #dfdfdf88

ComboBoxRoundedPopupScrollMenu < UIPopupScrollMenu
image-source: /images/ui/combobox_rounded
image-clip: 0 69 91 23
image-border: 3

ComboBoxRoundedPopupMenuButton < UIButton
height: 23
font: verdana-11px-antialised
text-align: left
text-offset: 5 2
color: #dfdfdf
background-color: alpha

$hover !disabled:
color: #ffffff
background-color: #355d89

$disabled:
color: #dfdfdf88

ComboBoxRoundedPopupMenu < UIPopupMenu
image-source: /images/ui/combobox_rounded
image-clip: 0 69 91 23
image-border: 3

ComboBoxRounded < ComboBox
image-source: /images/ui/combobox_rounded
image-border: 3
19 changes: 19 additions & 0 deletions layouts/retro2/styles/10-panels.otui
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Panel < UIWidget
phantom: true
auto-focus: first

ScrollablePanel < UIScrollArea
phantom: true
auto-focus: first

FlatPanel < Panel
image-source: /images/ui/panel_flat
image-border: 1

ScrollableFlatPanel < ScrollablePanel
image-source: /images/ui/panel_flat
image-border: 1

LightFlatPanel < Panel
image-source: /images/ui/panel_lightflat
image-border: 1
38 changes: 38 additions & 0 deletions layouts/retro2/styles/10-progressbars.otui
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
ProgressBar < UIProgressBar
height: 16
background-color: red
image-source: /images/ui/progressbar
image-border: 2
font: verdana-11px-rounded
text-offset: 0 2

$!on:
visible: false
margin-top: 0
margin-bottom: 0
height: 0

LifeProgressBar < UIProgressBar
height: 16
background-color: green
border: 1 black
font: verdana-11px-rounded
text-offset: 0 2
margin: 2

ProgressRect < UIProgressRect
anchors.fill: parent
phantom: true
color: white
background-color: #00000088
font: verdana-11px-rounded

HealthBar < ProgressBar
image-source: /images/ui/progressbarhpmana
image-border: 3
background-color: #ff4444

ManaBar < ProgressBar
image-source: /images/ui/progressbarhpmana
image-border: 4
background-color: #4444ff
22 changes: 22 additions & 0 deletions layouts/retro2/styles/10-textedits.otui
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
TextEdit < UITextEdit
font: verdana-11px-antialised
color: white
size: 86 22
text-offset: 0 4
opacity: 1
padding: 4
image-source: /images/ui/textedit
image-border: 1
selection-color: #272727
selection-background-color: #cccccc
change-cursor-image: true
$disabled:
color: #27272788
opacity: 0.5
change-cursor-image: false

PasswordTextEdit < TextEdit
text-hidden: true

MultilineTextEdit < TextEdit
multiline: true
32 changes: 32 additions & 0 deletions layouts/retro2/styles/10-windows.otui
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Window < UIWindow
font: verdana-11px-antialised
size: 236 207
opacity: 1
color: #AFAFAF
text-offset: 0 2
text-align: top
image-source: /images/ui/window
image-border: 4
image-border-top: 17
padding-top: 25
padding-left: 16
padding-right: 16
padding-bottom: 16

$disabled:
color: #dfdfdf

HeadlessWindow < UIWindow
image-source: /images/ui/window_headless
image-border: 5
padding: 5

MainWindow < Window
anchors.centerIn: parent

StaticWindow < Window
&static: true

StaticMainWindow < StaticWindow
anchors.centerIn: parent

83 changes: 83 additions & 0 deletions layouts/retro2/styles/20-popupmenus.otui
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
PopupMenuButton < UIButton
height: 18
size: 0 21
text-offset: 4 2
text-align: left
font: verdana-11px-antialised

color: white
background-color: alpha

$hover !disabled:
color: #ffffff
background-color: #ffffff44
image-clip: 0 40 20 20

$disabled:
color: #555555

PopupMenuShortcutLabel < Label
font: verdana-11px-antialised
text-align: right
anchors.fill: parent
margin-right: 2
margin-left: 5

PopupMenuSeparator < UIWidget
margin-left: 2
margin-right: 2
margin-bottom: 1
image-source: /images/ui/separator_horizontal
image-border-left: 1
image-border-right: 1
image-clip: 0 0 32 2
height: 2
phantom: true

PopupMenu < UIPopupMenu
width: 120
image-source: /images/ui/menubox
image-border: 3
padding: 5

PopupScrollMenuButton < UIButton
height: 18
size: 0 21
text-offset: 4 0
text-align: left
font: verdana-11px-antialised

color: #aaaaaa
background-color: alpha

$hover !disabled:
color: #ffffff
background-color: #ffffff44
image-clip: 0 40 20 20

$disabled:
color: #555555

PopupScrollMenuShortcutLabel < Label
font: verdana-11px-antialised
text-align: right
anchors.fill: parent
margin-right: 2
margin-left: 5

PopupScrollMenuSeparator < UIWidget
margin-left: 2
margin-right: 2
margin-bottom: 1
image-source: /images/ui/menubox
image-border-left: 1
image-border-right: 1
image-clip: 0 0 32 2
height: 2
phantom: true

PopupScrollMenu < UIPopupScrollMenu
width: 50
image-source: /images/ui/menubox
image-border: 3
padding: 3
Loading

0 comments on commit bfad8a7

Please sign in to comment.