Author Topic: 0.5.0.3 build 492  (Read 6547 times)

0 Members and 1 Guest are viewing this topic.

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 478
  • Karma: +209/-22
  • PtokaX developer
0.5.0.3 build 492
« on: 09 June, 2015, 06:11:26 »
Windows x86/x64 version with GUI and Lua 5.1.5: http://www.PtokaX.org/files/0.5.0.3b492-Lua5.1.5.7z
Windows x86/x64 service with Lua 5.1.5: http://www.PtokaX.org/files/0.5.0.3b492-Lua5.1.5-service.7z

Windows x86/x64 version with GUI  and Lua 5.3.0(work2): http://www.PtokaX.org/files/0.5.0.3b492-Lua5.3.0.7z
Windows x86/x64 service with Lua 5.3.0(work2): http://www.PtokaX.org/files/0.5.0.3b492-Lua5.3.0-service.7z

Source for unix: http://www.PtokaX.org/files/0.5.0.3b492-nix-src.tgz

Quote from: Changelog
Added: Support for PostgreSQL database to store info about users.
Added: Chat command !getipinfo to get info about ip(s) from Database.
Added: Support for CTM2HUB.
Added: Little time delay before $Lock is sent by hub. That way hub don't sending $Lock if new connection is CTM DDOS (idea from original NeoModus Direct Connect Hub 1.0.25).
Added: -p command line param for pid file.
Added: Support for SQLite database to store info about users.
Added: Support for MySQL/MariaDB database to store info about users.
Fixed: Missing settings and profiles identificator tables with Lua 5.1.
Fixed: Few bad possitions of gui items in settings window (thx keep_clear for report).
Changed: Chat command !getinfo to get info about offline user(s) from Database.
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

PtokaX forum

0.5.0.3 build 492
« on: 09 June, 2015, 06:11:26 »

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 478
  • Karma: +209/-22
  • PtokaX developer
Re: 0.5.0.3 build 492
« Reply #1 on: 09 June, 2015, 06:26:05 »
Compile on Debian/Ubuntu with SQLite support. It is similar to guide in PtokaX Wiki http://wiki.ptokax.org/doku.php?id=guides:debian_bugbuntu

Additions to that guide:
Is needed libsqlite3 + development files. Install them with command apt-get install libsqlite3-dev
In PtokaX source is file makefile-sqlite, rename it to makefile.
Then you can compile PtokaX with command make (with Lua 5.1) or make lua52 (with Lua 5.2).
To PtokaX config file Settings.xml add line with correct encoding: <String Name="Encoding">cp1252</String>, where cp1252 need to be replaced with correct Windows Code Page. 1252 is western, 1250 is central european, 1251 is cyrillic etc. More code pages can be found on Wikipedia https://en.wikipedia.org/wiki/Windows_code_page
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 478
  • Karma: +209/-22
  • PtokaX developer
Re: 0.5.0.3 build 492
« Reply #2 on: 09 June, 2015, 06:34:33 »
Compile on Debian/Ubuntu with PosgreSQL support. It is similar to guide in PtokaX Wiki http://wiki.ptokax.org/doku.php?id=guides:debian_bugbuntu

Additions to that guide:
Is needed libpq + development files. Install them with command apt-get install libpq-dev
In PtokaX source is file makefile-postgres, rename it to makefile.
Then you can compile PtokaX with command make (with Lua 5.1) or make lua52 (with Lua 5.2).
To PtokaX config file Settings.xml add line with correct encoding: <String Name="Encoding">cp1252</String>, where cp1252 need to be replaced with correct Windows Code Page. 1252 is western, 1250 is central european, 1251 is cyrillic etc. More code pages can be found on Wikipedia https://en.wikipedia.org/wiki/Windows_code_page
When you use non-standard host and port for PostgreSQL then you need to add them to PtokaX config file Settings.xml: <String Name="PostgresHost">postgresql_host</String> and <String Name="PostgresPort">postgresql_port</String>
In PostgreSQL create database and user with password for PtokaX. Then add that info to PtokaX config file Settings.xml: <String Name="PostgresDBName">postgresql_db_name</String> and <String Name="PostgresUser">postgresql_user</String> and <String Name="PostgresPass">postgresql_password</String>
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 478
  • Karma: +209/-22
  • PtokaX developer
Re: 0.5.0.3 build 492
« Reply #3 on: 09 June, 2015, 06:48:27 »
Compile on Debian/Ubuntu with MySQL or MariaDB support. It is similar to guide in PtokaX Wiki http://wiki.ptokax.org/doku.php?id=guides:debian_bugbuntu

Additions to that guide:
When you want to use MySQL then is needed libmysqlclient + development files. Install them with command apt-get install libmysqlclient-dev
When you want to use MariaDB then is needed libmariadb-client + development files + mysql-compat. Install them with command apt-get install libmariadb-client-lgpl-dev libmariadb-client-lgpl-dev-compat
In PtokaX source is file makefile-mysql, rename it to makefile.
Then you can compile PtokaX with command make (with Lua 5.1) or make lua52 (with Lua 5.2).
To PtokaX config file Settings.xml add line with correct encoding: <String Name="Encoding">cp1252</String>, where cp1252 need to be replaced with correct Windows Code Page. 1252 is western, 1250 is central european, 1251 is cyrillic etc. More code pages can be found on Wikipedia https://en.wikipedia.org/wiki/Windows_code_page
When you use non-standard host and port for MySQL/MariaDB then you need to add them to PtokaX config file Settings.xml: <String Name="MySQLHost">mysql_host</String> and <String Name="MySQLPort">mysql_port</String>
In MySQL/MariaDB create database and user with password for PtokaX. Then add that info to PtokaX config file Settings.xml: <String Name="MySQLDBName">mysql_db_name</String> and <String Name="MySQLUser">mysql_user</String> and <String Name="MySQLPass">mysql_password</String>
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 478
  • Karma: +209/-22
  • PtokaX developer
Re: 0.5.0.3 build 492
« Reply #4 on: 09 June, 2015, 06:51:02 »
Oh and Windows version is compiled with SQLite support. No extra settings needed ;)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

PtokaX forum

Re: 0.5.0.3 build 492
« Reply #4 on: 09 June, 2015, 06:51:02 »