mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-20 06:33:26 +02:00
Version 1.3 - auto reconnect, better bot (with sound), animated mounts, bug fixes
This commit is contained in:
@@ -59,12 +59,43 @@ function send()
|
||||
position = localPlayer:getPosition()
|
||||
}
|
||||
end
|
||||
local details = {
|
||||
report_delay = sendInterval,
|
||||
os = g_app.getOs(),
|
||||
graphics_vendor = g_graphics.getVendor(),
|
||||
graphics_renderer = g_graphics.getRenderer(),
|
||||
graphics_version = g_graphics.getVersion(),
|
||||
fps = g_app.getFps(),
|
||||
maxFps = g_app.getMaxFps(),
|
||||
atlas = g_atlas.getStats(),
|
||||
classic = tostring(g_settings.getBoolean("classicView")),
|
||||
fullscreen = tostring(g_window.isFullscreen()),
|
||||
vsync = tostring(g_settings.getBoolean("vsync")),
|
||||
window_width = g_window.getWidth(),
|
||||
window_height = g_window.getHeight(),
|
||||
player_name = g_game.getCharacterName(),
|
||||
world_name = g_game.getWorldName(),
|
||||
otserv_host = G.host,
|
||||
otserv_protocol = g_game.getProtocolVersion(),
|
||||
otserv_client = g_game.getClientVersion(),
|
||||
build_version = g_app.getVersion(),
|
||||
build_revision = g_app.getBuildRevision(),
|
||||
build_commit = g_app.getBuildCommit(),
|
||||
build_date = g_app.getBuildDate(),
|
||||
display_width = g_window.getDisplayWidth(),
|
||||
display_height = g_window.getDisplayHeight(),
|
||||
cpu = g_platform.getCPUName(),
|
||||
mem = g_platform.getTotalSystemMemory(),
|
||||
os_name = g_platform.getOSName()
|
||||
}
|
||||
local data = json.encode({
|
||||
text = text,
|
||||
version = g_app.getVersion(),
|
||||
host = g_settings.get('host'),
|
||||
player = playerData
|
||||
player = playerData,
|
||||
details = details
|
||||
})
|
||||
|
||||
postId = HTTP.post(Services.feedback, data, function(ret, err)
|
||||
if err then
|
||||
tries = tries + 1
|
||||
|
@@ -1,6 +1,6 @@
|
||||
MainWindow
|
||||
id: feedbackWindow
|
||||
size: 300 280
|
||||
size: 400 280
|
||||
!text: tr("Feedback/Bug report")
|
||||
|
||||
Label
|
||||
@@ -11,7 +11,7 @@ MainWindow
|
||||
text-auto-resize: true
|
||||
text-align: left
|
||||
text-wrap: true
|
||||
!text: tr("Bellow enter your feedback or bug report. Please include as much details as possible.")
|
||||
!text: tr("Bellow enter your feedback or bug report. Please include as much details as possible. Thank you!")
|
||||
|
||||
MultilineTextEdit
|
||||
id: text
|
||||
|
Reference in New Issue
Block a user