Author Topic: PtokaX 0.5.2.2 released...  (Read 55856 times)

0 Members and 1 Guest are viewing this topic.

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 481
  • Karma: +209/-22
  • PtokaX developer
PtokaX 0.5.2.2 released...
« on: 11 April, 2017, 21:49:18 »
New PtokaX is here.

Win32 GUI with Lua 5.3.4 and SQLite
Win64 GUI with Lua 5.3.4 and SQLite
Win32 service/console with Lua 5.3.4 and SQLite
Win64 service/console with Lua 5.3.4 and SQLite

Win32 GUI with Lua 5.1.5 and SQLite
Win64 GUI with Lua 5.1.5 and SQLite
Win32 service/console with Lua 5.1.5 and SQLite
Win64 service/console with Lua 5.1.5 and SQLite

UniX source (various Linuxes, various BSDs, Solaris, illumos, Haiku, Mac OS X)

Quote from: Changelog...
Added: Reconnect to database on connection failure or connection lost.
Fixed: Compile for Windows 10 IoT.
Fixed: Typo in server manager and resource leak in sqlite on exit (thx Pavel Pimenov for report).
Fixed: Incorrect long length message when incomplete search command was received (thx Alexey for report).
Fixed: Search request was sent to users without share (thx Pavel Pimenov for report).
Fixed: Missing $ValidateDenide when user use nick that is in reserved nicks (thx Alexey for report).
Fixed: Extra pipe in !checknickban result (thx Alexey for report).
Fixed: IP and Port check in DC commands. (thx Mank and Rolex for report).
Fixed: Missing IP check for validity in some hub commands.
Fixed: Empty password received from user was not checked properly and accepted as new password for reg.
Fixed: Bandwidth waste, when IPv6 user send search request with IPv4 address.
Fixed: Possible crash on hublist registration (thx Pavel Pimenov for report).
Fixed: Bind to single IP caused bind to all addresses when IPv6 address was empty.
Fixed: Typo in scripting interface. MaxSlotsLimt -> MaxSlotsLimit (thx C??oßy†? for report).
Changed: Log script errors is enabled by default for PtokaX versions without GUI.
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

PtokaX forum

PtokaX 0.5.2.2 released...
« on: 11 April, 2017, 21:49:18 »

Offline ATAG

  • Scripter
  • Double Ace
  • ******
  • Posts: 112
  • Karma: +14/-0
  • secret things
    • Metin2 Hungarian Forum
Re: PtokaX 0.5.2.2 released...
« Reply #1 on: 05 December, 2019, 21:41:50 »
Hey

I've got some error on compile.

Quote
/usr/home/atag/PtokaX-src/core/SettingManager.cpp:507:25: error: comparison between pointer and integer ('const char *' and 'int')
        if(SetBoolCom[szi] != '\0') {
           ~~~~~~~~~~~~~~~ ^  ~~~~
/usr/home/atag/PtokaX-src/core/SettingManager.cpp:530:26: error: comparison between pointer and integer ('const char *' and 'int')
        if(SetShortCom[szi] != '\0') {
           ~~~~~~~~~~~~~~~~ ^  ~~~~
/usr/home/atag/PtokaX-src/core/SettingManager.cpp:553:24: error: comparison between pointer and integer ('const char *' and 'int')
        if(SetTxtCom[szi] != '\0') {
           ~~~~~~~~~~~~~~ ^  ~~~~

Quote
FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin

UP: solution is to change quote to double quote :D
Code: [Select]
if(SetBoolCom[szi] != "\0") {
Quote
/usr/home/atag/PtokaX-src/core/SettingManager.cpp:507:25: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
        if(SetBoolCom[szi] != "\0") {
                           ^  ~~~~
/usr/home/atag/PtokaX-src/core/SettingManager.cpp:530:26: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
        if(SetShortCom[szi] != "\0") {
                            ^  ~~~~
/usr/home/atag/PtokaX-src/core/SettingManager.cpp:553:24: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
        if(SetTxtCom[szi] != "\0") {
« Last Edit: 05 December, 2019, 21:53:39 by ATAG »

PtokaX forum

Re: PtokaX 0.5.2.2 released...
« Reply #1 on: 05 December, 2019, 21:41:50 »