|
Здравствуйте, гость ( Вход | Регистрация )
|
![]()
Сообщение
#81
|
|
![]() 7 квадратиков ![]() ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модераторы Сообщений: 793 Регистрация: 21.1.2009 Пользователь №: 1 895 Спасибо сказали: 301 раз ![]() |
Релиз PtokaX 0.5.2.2
build 556 Сборки с Lua 5.1.5: Сборки с Lua 5.3.4: Исходный код: ![]() ![]() Список изменений (на английском) 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. |
|
|
![]() |
![]()
Сообщение
#82
|
|
![]() 7 квадратиков ![]() ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модераторы Сообщений: 793 Регистрация: 21.1.2009 Пользователь №: 1 895 Спасибо сказали: 301 раз ![]() |
Не подскажете, мож чего надо жмакнуть на PtokaX? Нечего жмакать. Это не баг, а фича. Связана она с поддержкой новыми версиями PtokaX протокола IPv6. При реализации этой поддержки для служебных целей использованы старшие два бита "магического байта", которые в грейлинке отвечают за иконки "женский пол" и "бесполое". В связи с крайней непопулярностью грейлинка у зарубежных пользователей и разработчиков, не думаю, что ради него одного кто-то хоть пальцем шевельнёт. |
|
|
![]()
Сообщение
#83
|
|
![]() Участник ![]() ![]() Группа: Пользователи Сообщений: 32 Регистрация: 14.7.2009 Из: Россия Пользователь №: 3 871 Спасибо сказали: 1 раз ![]() |
Alexey, спасибо большое за разъяснения. В настройках просто удалил этот розовый значок и теперь всё показывает нормально
![]() ![]() Артём, позволю себе по старшинству возраста посоветовать брать пример с Alexey, четко, по делу и технически грамотно человек уложился в одно сообщение и решил вопрос. Учитесь отвечать конкретно и на вопросы, в которых хоть чуть-чуть компетентны, а не посты набивать бессмысленными сообщениями и пустыми советами. Заметьте, сколько Вы меня убеждали в обратном, а оказалось всё дело в новых версиях PtokaX с появившейся новой функцией. Удачи! |
|
|
![]()
Сообщение
#84
|
|
![]() Наруто на аваторке ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Группа: Пользователи Сообщений: 2 606 Регистрация: 11.10.2008 Из: Харькова Пользователь №: 771 Спасибо сказали: 774 раза ![]() |
engineer, окай шЭф, лично тебе ни разу больше не помогу, ни советом ни в чём другом.
P.S. извиняюсь за оффтоп ![]() |
|
|
![]()
Сообщение
#85
|
|
![]() 7 квадратиков ![]() ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модераторы Сообщений: 793 Регистрация: 21.1.2009 Пользователь №: 1 895 Спасибо сказали: 301 раз ![]() |
Вышла новая стабильная версия PtokaX 0.5.0.0 (build 422).
Основные изменения: поддержка IPv6, функции Lua API для изменения информации о пользователе (описание, соединение, тэг и т.п.) и, конечно, поддержка Lua 5.2.x. Кроме того, новая версия содержит несколько менее значительных нововведений (Не отключает пользователя при несовпадении IP в команде с реальным, а, по возможности, заменяет IP. Новая команда регистрации нового пользователя без ввода пароля администратором, пароль запрашивается хабом у самого пользователя.), множество мелких изменений и исправлений ошибок. С версии 0.4.2.0 build 301 используется новый формат базы соответствия IP-адресов странам. Базу в новом формате можно скачать по этим ссылкам: Версии с Lua 5.1.5: ![]() Версии с Lua 5.2.1: Windows x86 GUI: Windows x64 GUI: Windows x86 service: Windows x64 service: Исходный код: ![]() ![]() Обновлённый файл русификации Russian.xml Список изменений (на английском) Added: Core.SetUserInfo call to Lua api. Added: IDs 28 - 42 for Core.GetUserValue Lua api call (see Lua API docs). Added: IPv6 support to sockets. Added: IPv6 support to bans and range bans. Added: IPv6 country database support. Added: IPv6 client to client connections support. Added: IPv6 search support. Added: IP64 and IPv4 protocol extensions support. Added: Check for IPv4 connection for user connected to hub by IPv6. Added: IPv4 client connection support for users connected to hub by IPv6 when IPv4 connection check success. Added: IPv4 search support for users connected to hub by IPv6 when IPv4 connection check success. Added: Setting for manual IPv4 and IPv6 addresses. Added: Both IP addresses to !getinfo command for users with IPv6 and IPv4 connection available. Added: Both IP addresses to !myip command for users with IPv6 and IPv4 connection available. Added: Core.GetHubIPs to Lua API. Added: tUser.tIPs to Lua API. Added: Missing end line dots on some hub commands reply (thx Alexey for report). Added: RegUser hub command. OP need to provide online nick and profile. Hub will ask user for password and after password is entered then user is added to registered users. Added: IP in $Search and $ConnectToMe commands is replaced with correct one when user send wrong IP. Added: Smart searching for IPv6 users with IPv4 support. Added: IP2Country now work for 6to4 and Teredo connections. Added: IP2Country.Reload to Lua api. Added: RegMan.AddReg now support second syntax RegMan.AddReg(sNick, nProfileNumber). That way user is asked for password and registered after he send it. Added: Users connected with IPv6 using 6to4 or teredo tunneling have automatically IPv4 active connection available without need to support any protocol extension. Added: Targets to makefile. Added: Lua 5.2.x support. Changed: Country database for IPv4 from ip-to-country to IpToCountry (http://software77.net/geo-ip/). Changed: Not allowed chars in nick to only space, pipe and dollar. Only those protocol disallow. Issues with other chars is client work. Changed: Max simultaneous logins value from 500 to 1000. Changed: UserDisconnected is now called when user is disconnected by script in User/Reg/OpConnected. Changed: Max send buffer size on small hubs from 128 kB to 256 kB. Changed: Disabled keep slow client online for clients with zpipe support. Changed: Memory allocation failures checking. When memory allocation fail then user who caused that is disconnected and hub not crash. Changed: Line ending to \n on windoze. Changed: Registered users are now stored in binary file instead of xml. Changed: !ban and !tempban now working for offline nicks and create nickban for them. Fixed: TmrMan.RemoveTimer Lua api call in windoze version (thx CęńoЯy+ę for report). Fixed: MOTD was not updated after change in gui (thx mappy for report). Fixed: Few settings was not updated after change in gui. Fixed: Buggy chat input line after using some settings pages (thx The-Master for report). Fixed: All strict aliasing issues with GCC 02 and higher optimization level compile. Fixed: Core.GetUsersCount can in rare cases have different user count than number of users returned by Core.GetOnlineUsers. Fixed: Crash on script error loging in some cases. Fixed: Memory leak in users and bans ip hashtables. Fixed: Bug in gui initialisation causing rare termination on startup. Fixed: Incorrect translation of "full" in ban commands (thx Alexey for report). Fixed: Shutdown with ctrl+c on non-windows OS (thx Alexey for report). Fixed: Crash in Lua 5.1 on invalid conversion specifier in os.date (fix from Lua 5.2). Fixed: Buggy search length checking for active and passive users (thx Alexey for report). Fixed: Compile with Clang compiler on Linux. Fixed: Message returned on !clrrangetempbans (thx Alexey for report). Fixed: Rare case when short myinfo was sent to ops when they should get long myinfo. Fixed: Error message on script syntax checking when PtokaX api call is outside function. Fixed: Doubleclick in gui on script now open script editor only when it is not on checkbox. Fixed: !nickban and !nicktempban allowed to ban user with higher profile when he was offline. Fixed: Reply to chat from Lua script was sent before that chat (ie from talkbot). Fixed: Missing GB translation in !getinfo command (thx Alexey for report). Fixed: Compile errors on Haiku OS. Removed: All info related to old ip-to-country database. Removed: Obsolete client tags. Removed: Obsolete setting to accept unknown tag. Rewritten: Global data queues for better IPv6 support. Updated: makefile to work with buggy gold linker. Updated: zlib to 1.2.7. Updated: Lua 5.1 to 5.1.5. Неочевидные изменения:
ВАЖНО! С новой версией несовместимы старые Lua-библиотеки, предназначенные для работы на предыдущих версиях (до версии 0.4.2.0 build 376)! Обновлённые версии библиотек выложены в этом посте. |
|
|
![]()
Сообщение
#86
|
|
![]() Продвинутый участник ![]() ![]() ![]() ![]() Группа: Пользователи Сообщений: 128 Регистрация: 12.10.2008 Пользователь №: 781 Спасибо сказали: 2 раза ![]() |
поставил 0.5.0.0-Lua5.2.1-x64
базу пользователей из RegisteredUsers.xml не подцепило - сейчас, я так вижу юзвери сохраняются в RegisteredUsers.pxb есть какие-нибудь решения / конверторы? |
|
|
![]()
Сообщение
#87
|
|
![]() 7 квадратиков ![]() ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модераторы Сообщений: 793 Регистрация: 21.1.2009 Пользователь №: 1 895 Спасибо сказали: 301 раз ![]() |
База конвертируется новой птокой самостоятельно при первом запуске и в дальнейшем используется информация только из pxb-файла.
Удали (или сохрани отдельно для последующего слияния) файл .pxb при выключенной птоке, что-бы произвести конвертацию повторно. Файл .pxb создастся при первом же сохранении базы пользователей или при выключении птоки. |
|
|
![]()
Сообщение
#88
|
|
![]() Продвинутый участник ![]() ![]() ![]() ![]() Группа: Пользователи Сообщений: 153 Регистрация: 21.9.2008 Из: Челябинск Пользователь №: 574 Спасибо сказали: 54 раза ![]() |
Хочется перейти на PtokaX 5, но вот останавливает такой момент, если регистрация пользователей теперь сохраняется в базу, то нужен новый скрипт регистрации. А таковых пока не вижу, чтобы его изменить под свои нужды. Базу чем ковырять тоже не знаю. Я тупо не нашёл новое или всё таки ещё не написали регистрацию?
|
|
|
![]()
Сообщение
#89
|
|
![]() 7 квадратиков ![]() ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модераторы Сообщений: 793 Регистрация: 21.1.2009 Пользователь №: 1 895 Спасибо сказали: 301 раз ![]() |
Зачем писать новое, если и старое работает нормально? Главное, что-бы в скрипте хоть иногда сохранялись изменения вызовом RegMan.Save()
Если скрипт регистрации работал нормально под птокой 0.4.1.2 и выше, то он будет работать нормально и под 0.5.0.0. |
|
|
![]()
Сообщение
#90
|
|
![]() 7 квадратиков ![]() ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модераторы Сообщений: 793 Регистрация: 21.1.2009 Пользователь №: 1 895 Спасибо сказали: 301 раз ![]() |
Тестовая сборка 0.5.0.1 build 443
Lua 5.1.5 с GUI: ![]() консольная: Lua 5.2.3RC1 с GUI: консольная: Lua 5.3.0(work1) с GUI: консольная: Исходный код в SVN или ![]() Список изменений (на английском) Changes from build 422 Цитата Added: White space characters (ascii chars below 32) are not allowed in nicks anymore. Added: Option to store passwords for registered users as hashes. Added: Registered users autosave after every 100 regs changes and every 15 minutes when regs change. Added: AddTimer(iTimerInterval, fFunction) to Lua api. Fixed: IpToCountry for IPv4 ignored first and last ip in country range (thx Alexey and alex82 for report). Fixed: Crash in windows version when script send some global data as reaction to chat without blocking it (thx Alexey for report). Fixed: Wrong chat lines order when multiple messages was received in one loop and script send global data reply for one of them. Fixed: On hub bot nick change old bot was not removed from userlist (thx Alexey for report). Fixed: Few other issues related to hub bot nick and info changes. Fixed: Issues related to OpChat bot nick and info changes. Fixed: 64bit windoze build was limited to only 2 GB of memory. Fixed: Lua float/integer types for better performance with Lua 5.3. Обновлённая версия русификатора ![]() |
|
|
![]()
Сообщение
#91
|
|
![]() 7 квадратиков ![]() ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модераторы Сообщений: 793 Регистрация: 21.1.2009 Пользователь №: 1 895 Спасибо сказали: 301 раз ![]() |
Релиз PtokaX 0.5.0.1 build 448
Сборки с Lua 5.1.5: ![]() Сборки с Lua 5.2.3: ![]() Сборки с Lua 5.3.0(work1): Исходный код: ![]() ![]() Список изменений (на английском) Added: White space characters (ascii chars below 32) are not allowed in nicks anymore. Added: Option to store passwords for registered users as hashes. Added: Registered users autosave after every 100 regs changes and every 15 minutes when regs change. Added: AddTimer(iTimerInterval, fFunction) to Lua api. Added: ProfMan.RemoveProfile in Lua api now accept profile number as param. Added: Error message on script error now contains traceback, when available. Fixed: IpToCountry for IPv4 ignored first and last ip in country range (thx Alexey and alex82 for report). Fixed: Crash in windows version when script send some global data as reaction to chat without blocking it (thx Alexey for report). Fixed: Wrong chat lines order when multiple messages was received in one loop and script send global data reply for one of them. Fixed: On hub bot nick change old bot was not removed from userlist (thx Alexey for report). Fixed: Few other issues related to hub bot nick and info changes. Fixed: Issues related to OpChat bot nick and info changes. Fixed: 64bit windoze build was limited to only 2 GB of memory. Fixed: Lua float/integer types for better performance with Lua 5.3. Fixed: Issues with signals on unix (thx dmvn for report). Fixed: Broken text input boxes in settings window in some cases. Fixed: Never ending loop on reading of registered users file longer than 128 kB (thx dmvn for report). Содержит ошибку: невозможно сменить пароль пользователя. |
|
|
![]()
Сообщение
#92
|
|
![]() 7 квадратиков ![]() ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модераторы Сообщений: 793 Регистрация: 21.1.2009 Пользователь №: 1 895 Спасибо сказали: 301 раз ![]() |
Релиз PtokaX 0.5.0.2
build 457 Сборки с Lua 5.1.5: ![]() Сборки с Lua 5.2.3: ![]() Исходный код: ![]() ![]() Список изменений (на английском) Added: Makefile recursion to automatically compile skein and tinyxml on unix os. Fixed: When xml file fail to load then it is reported and not silently replaced with default (thx dmvn for report). Fixed: Missing $MyINFO for bot in some cases (thx Alexey and alex82 for report). Fixed: Not working change password in some cases (thx zog for report). Fixed: Crash on bans loading in some cases. Fixed: Max users logins in gui range (thx alex82 for report). Fixed: NoBadCharsInNick language string has obsolete chars (thx Alexey for report). Fixed: !tempban with offline user and wrong time value was returning !nicktempban message (thx sphinx for report). Fixed: Change password for registered user from Lua (thx alex82 for report). Fixed: When hub description was removed then after restart was changed to default one (thx alex82 for report). Fixed: Missing $OpList and/or $UserIP in some cases (thx alex82 for report). Fixed: Few compiler warning in ubuntu. Changed: os.exit in Lua now correctly shutdown PtokaX. |
|
|
![]()
Сообщение
#93
|
|
![]() 7 квадратиков ![]() ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модераторы Сообщений: 793 Регистрация: 21.1.2009 Пользователь №: 1 895 Спасибо сказали: 301 раз ![]() |
Релиз PtokaX 0.5.0.3
build 482 Сборки с Lua 5.1.5: ![]() Сборки с Lua 5.3.0: ![]() Исходный код: ![]() Список изменений (на английском) Added: install part to makefile including setcap allowing PtokaX to listen on ports below 1024 without running as privileged user (require capabilities support, libcap2-bin in debian). Added: hublist.te-home.net and dc.gwhublist.com to default hublist register addresses. Added: init script for *nix. Added: Port validity checking in commands to disallow exploit that can be used to ddos in dc++ core. Added: Tables with definitions for SetMan booleans, numbers and strings identificators. Added: Table with definitions for ProfMan permissions identificators. Fixed: User profile is set after correct password is received to disable possible exploit in scripts (thx Alexey for report). Fixed: Missing hub bot key after nick change when opchat have same nick. Fixed: Possible crash on closing some gui windows (thx Alex82 for report). Fixed: Directory/file permissions on *nix. Fixed: Partial IP was shown as wrong when IPv6 user without IPv4 connection sent IPv4 address in command (thx Mank for report). Fixed: Possible crash when new throw exception on memory failure. Fixed: Few possible issues found by PVS studio (thx Pavel Pimenov for report). Fixed: Memory access outside array in script editor window on load/save (thx Pavel Pimenov for report). Fixed: User who was allowed to kick can ban and tempban user without permissions for ban and tempban (thx Alexey for report). Fixed: Range ban and range temp ban command was not working for IPv6 addresses longer than 15 characters (thx Alexey for report). Fixed: Few possible memory leaks when memory allocation fail. Fixed: On !rangeban command when range was already banned was sent wrong second message (thx Alexey for report). Fixed: Active search character counting for ipv6 request when ip is very short. Other: Some minor performance improvements. Пользователям Windows: для работы некоторых скриптов, может потребоваться обновление соответствующих библиотек Луа. |
|
|
![]()
Сообщение
#94
|
|
![]() 7 квадратиков ![]() ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модераторы Сообщений: 793 Регистрация: 21.1.2009 Пользователь №: 1 895 Спасибо сказали: 301 раз ![]() |
Релиз PtokaX 0.5.1.0
build 499 Основное нововведение — поддержка баз данных SQLite, PostgreSQL, MySQL и MariaDB. Эти базы данных используются для хранения информации о пользователях, посещавших хаб. Версии для Windows собраны с поддержкой БД SQLite. Версии под *nix могут быть собраны с поддержкой любой из этих баз или без поддержки БД вообще. Сборки с Lua 5.1.5: Сборки с Lua 5.3.1: Исходный код: Список изменений (на английском) 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. Updated: Lua 5.3 to 5.3.1. Релиз PtokaX 0.5.2.0 build 522 Сборки с Lua 5.1.5: Сборки с Lua 5.3.1: Исходный код: Список изменений (на английском) Added: Support to compile PtokaX on FreeBSD with Lua 5.3. Added: Support to compile PtokaX on Solaris, Fedora, OpenBSD, NetBSD and Mac OS X. Added: Command line menu with configuration and add registered user options to PtokaX service and non-Windows version (-m cmd param). Fixed: Few minor issues in Lua api. Fixed: Compile on FreeBSD 10.1, Haiku, Solaris and illumos. Fixed: Missing checks for $, |, space and length for many settings strings. Fixed: Ban message on some places was truncated to 255 bytes instead of 511. Changed: Timer handling on Unixes. Changed: Settings, Reserved Nicks and Scripts settings files from xml to simple text format. Changed: Profiles and bans files from xml to binary format. Improved: Performance for strings sent to UDP Debug. Релиз PtokaX 0.5.2.1 build 524 Сборки с Lua 5.1.5: Сборки с Lua 5.3.1: Исходный код: Список изменений (на английском) Added: Support to build with Lua 5.3 on Debian (Ubuntu, Mint, Dyson...) to makefile (make without param). Added: Disable registration to hublist, when hub address is local/private IP. Changed: Build with Lua 5.1 on Debian (Ubuntu, Mint, Dyson...) now have lua51 param (make lua51). Fixed: Crash when redirect on permanent ban is enabled and permban redirect address is empty and main redirect addres is empty. Fixed: Possible crash or memory corruption on settings messages with possibility to use settings value(s) in them. Fixed: String 'unlimited' was not translated in some settings messages. Fixed: Crash when timer was removed in OnTimer Lua function (thx C??oЯy†? for report). |
|
|
![]()
Сообщение
#95
|
|
![]() 7 квадратиков ![]() ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модераторы Сообщений: 793 Регистрация: 21.1.2009 Пользователь №: 1 895 Спасибо сказали: 301 раз ![]() |
Тестовая сборка PtokaX 0.5.2.1 build 553
Сборки с Lua 5.1.5: Сборки с Lua 5.3.1: Исходный код: Список изменений (на английском) Added: Reconnect to database on connection failure or connection lost. 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. Changed: Log script errors is enabled by default for PtokaX versions without GUI. |
|
|
![]() ![]() |
Похожие темы
![]() |
Сейчас: 23.12.2024, 8:33 |