Author Topic: Tox protocol  (Read 215212 times)

0 Members and 2 Guests are viewing this topic.

Offline watcher

Tox protocol
« on: 17 08 2014, 17:42:31 »
This topic is dedicated to Tox protocol development and beta-testing.

When creating new Tox account you can use Tox profile from another Tox client (see the screenshot) to import your existing friend list:



If you choose not to import old Tox profile - press "Create" button to create a new one.

Current state of Tox protocol in Miranda
« Last Edit: 11 03 2015, 09:28:50 by Wishmaster »
Пожалуйста, внимательно прочтите правила постинга перед тем, как открыть новую тему.
Please read forum rules.
 

Offline Vulpix

Re: Tox
« Reply #1 on: 17 08 2014, 18:38:51 »
Testing!

Is there a Visual C++ Redist requirement for this? (looks like the 2010 one)

I cannot load the plugin, it says (when starting miranda):
 

Offline Black Sniper

Re: Tox
« Reply #2 on: 17 08 2014, 18:43:42 »
Similarly. Please share a file. Or can you say that you need to reinstall?
---
Аналогично. Поделитесь пожалуйста файликом.
Или может, скажете что нужно переустановить?
Win7 x64
Бью метко, но редко...
 

Offline watcher

Re: Tox
« Reply #3 on: 17 08 2014, 18:56:26 »
It's just a debug builds, i will rebuild it as release in a short while.
Пожалуйста, внимательно прочтите правила постинга перед тем, как открыть новую тему.
Please read forum rules.
 

Offline watcher

Re: Tox
« Reply #4 on: 17 08 2014, 19:02:31 »
Done, please re-download.
Пожалуйста, внимательно прочтите правила постинга перед тем, как открыть новую тему.
Please read forum rules.
 

Offline Ищезаяц

  • Newbie
  • *
  • Posts: 43
  • Country: ee
  • (\_/)
    • Ищезайчег
  • Jabber: Jabber ID
Re: Tox
« Reply #5 on: 17 08 2014, 19:55:18 »
блин, айдишка сменилась :) а так круто. только ника нету, хоть в настройки и вписал.
[ about | VI ]
 

Offline Vulpix

Re: Tox
« Reply #6 on: 17 08 2014, 20:06:07 »
Done, please re-download.

It works! And sends messages too!

I have a question. For users who did not import their profile - where in Miranda can they check their own Tox ID so I can add them? (I got my Tox ID from uTox as I have been using it previously).

I think it should be easily visible somewhere, like in my details or on the account page - to make it possible for the user to link it to another user.

Otherwise, stellar! Didn't take long to make this!

All I need now is file transfer and we're golden :D

Much <3 to unsane/watcher/everyone.
 

Offline watcher

Re: Tox
« Reply #7 on: 17 08 2014, 20:10:12 »
I have a question. For users who did not import their profile - where in Miranda can they check their own Tox ID so I can add them?

In search section enter the ID and press "Add to list" without pressing "Search" button. It supposed to work this way, although I'm not sure that it works at all yet. But you can try anyway.
Пожалуйста, внимательно прочтите правила постинга перед тем, как открыть новую тему.
Please read forum rules.
 

Offline Vulpix

Re: Tox
« Reply #8 on: 17 08 2014, 20:18:09 »
Well, no; my question was, how do I know my own Tox ID (as a miranda user). I cannot put it in search if I don't know it x3

And a second question:

After running the dbchecked, it said there were some duplicate items (skipping). After launch, I checked history and found that the check garbled some of the history.

I used the "mark events as read" option, because all events were shown every time I opened the chat window (and I know that marking all events as read fixes this).

Sample of garbled text:

Vulpix, 17.8.2014 22:00:22:
Hi!

Vulpix, 22:00:23:
:3

<party b>, 22:00:39:
汐慥敳愠瑵潨楲敺洠⁹敲畱獥⁴湡⁤摡⁤敭琠潹牵挠湯慴瑣氠獩⹴Ā

<party b>, 22:00:43:
祭爠煥敵瑳愠摮愠摤洠⁥潴礠畯⁲潣瑮捡⁴楬瑳.

Vulpix, 22:00:51:
You see yourself as Unknown contact? |3


I noticed the same behavior with Steam history so I assume this is some sort of a bug - but I don't know which plugin this relates to. DB checker? History storing itself?

Version info:

VersionInfo
Quote
CPU: Intel(R) Core(TM) i7-4765T CPU @ 2.00GHz [Intel64 Family 6 Model 60 Stepping 3] [DEP Enabled] [8 CPUs]
Installed RAM: 16329 MBytes
Operating System: Microsoft Windows 7 Ultimate Edition, 64-bit Service Pack 1 (build 7601)
Internet Explorer: 8.0.7601.17514 (build 87601)
Administrator privileges: Yes
OS Languages: (UI | Locale (User/System)) : English/English | Czech/Czech
Free disk space on Miranda partition: 1126876 MBytes

Miranda NG Version: 0.95.3 alpha build #10211 x64
Build time: 17 Aug 2014 5:53:08
Profile: D:\Programs\Programs\Miranda NG\Profiles\Vulpix\Vulpix.dat
Profile size: 129957888 Bytes
Profile creation date: 26 Oct 2013 17:24:40
Language pack: No language pack installed
Service Mode: No

Active Plugins (48):
  AddContactPlus.dll v.0.9.9.2 [14 Feb 2014 6:47:44] - Add contact+
  AdvaImg.dll v.0.11.0.1 [2 Jan 2014 6:45:32] - Miranda image services
  AIM.dll v.0.11.0.1 [13 Aug 2014 5:42:20] - AIM protocol
  AssocMgr.dll v.0.1.1.0 [6 Aug 2014 5:48:32] - File association manager
  AuthState.dll v.0.0.2.1 [13 Aug 2014 5:43:04] - Authorization state
  AvatarHistory.dll v.0.1.0.1 [6 Aug 2014 5:48:38] - Avatar history
  AVS.dll v.0.95.3.1 [6 Aug 2014 5:43:28] - Avatar service
  ChangeKeyboardLayout.dll v.0.0.1.6 [13 Aug 2014 5:44:30] - Change keyboard layout
  ClientChangeNotify.dll v.0.1.1.3 [8 Aug 2014 5:48:56] - Client change notify
  Clist_modern.dll v.0.9.1.1 [6 Aug 2014 5:46:24] - Modern contact list
  Contacts.dll v.1.6.0.0 [6 Aug 2014 5:44:42] - Send/receive contacts
  CrashDumper.dll v.0.0.4.22 [1 Jul 2014 5:49:48] - Crash dumper
  CSList.dll v.0.1.1.0 [16 Mar 2014 0:38:54] - Custom status list
  DbEditorPP.dll v.3.2.0.1 [13 Aug 2014 5:45:58] - Database editor++
  Dbx_mmap.dll v.0.95.1.3 [17 Aug 2014 5:45:52] - Miranda NG mmap database driver
  FileAsMessage.dll v.0.0.2.4 [18 Jun 2014 12:59:54] - File as message
  Fingerprint.dll v.0.1.0.0 [13 Aug 2014 5:47:08] - Fingerprint NG
  Flags.dll v.0.1.0.4 [13 Aug 2014 5:43:12] - Country flags
  Folders.dll v.0.2.0.1 [5 Mar 2014 6:43:36] - Custom profile folders
  GTalkExt.dll v.0.1.1.0 [25 Apr 2014 5:47:18] - GTalk Extension
  HistoryPP.dll v.1.5.1.5 [22 Jul 2014 11:48:30] - History++
  ICQ.dll v.0.11.2.5 [17 Aug 2014 5:46:30] - IcqOscarJ protocol
  IEView.dll v.1.4.0.0 [6 Aug 2014 5:44:54] - IEView
  IgnoreState.dll v.0.0.3.0 [13 Aug 2014 5:43:26] - Ignore state
  Import.dll v.0.95.3.2 [17 Aug 2014 5:45:46] - Import contacts and messages
  Jabber.dll v.0.11.0.4 [17 Aug 2014 5:46:30] - Jabber protocol
  KeepStatus.dll v.0.9.0.2 [12 Jun 2014 5:43:16] - Keep status
  MSN.dll v.0.11.0.3 [6 Aug 2014 5:44:20] - MSN protocol
  mTextControl.dll v.0.8.0.1 [12 Jun 2014 5:42:58] - Miranda text control
  NewXstatusNotify.dll v.1.4.0.10 [6 Aug 2014 5:44:56] - xStatus notify
  Nudge.dll v.0.1.0.1 [6 Aug 2014 5:44:58] - Nudge
  OpenFolder.dll v.1.1.0.0 [15 Aug 2014 5:44:50] - Open Miranda folder
  PluginUpdater.dll v.0.1.2.2 [17 Aug 2014 5:50:02] - Plugin updater
  PManagerEx.dll v.0.0.0.5 [6 Aug 2014 5:47:42] - Miranda NG profile changer
  Restart.dll v.0.0.6.0 [9 Jul 2013 6:56:52] - Restart
  SeenPlugin.dll v.5.0.4.9 [15 Aug 2014 5:42:42] - Last seen
  SimpleStatusMsg.dll v.1.9.0.4 [15 Aug 2014 5:43:22] - Simple status message
  Skype.dll v.0.11.0.2 [7 Aug 2014 5:54:16] - Skype protocol
  SmileyAdd.dll v.0.2.3.17 [15 Aug 2014 5:42:52] - SmileyAdd
  StartPosition.dll v.0.2.0.3 [29 Jun 2014 5:50:44] - Start position
  Steam.dll v.0.11.0.1 [25 Jul 2014 18:22:48] - Steam protocol
  TabSRMM.dll v.3.4.0.3 [12 Aug 2014 16:52:58] - TabSRMM
  TopToolBar.dll v.0.8.0.3 [6 Aug 2014 5:46:08] - TopToolBar
  Tox.dll v.0.11.0.1 [17 Aug 2014 20:59:32] - Tox Protocol
  UInfoEx.dll v.0.8.5.0 [13 Aug 2014 5:44:06] - User info ext
  Variables.dll v.0.2.3.10 [6 Aug 2014 5:51:02] - Variables
  VersionInfo.dll v.1.5.0.3 [6 Aug 2014 5:47:16] - Version information
  Yahoo.dll v.0.11.0.1 [6 Aug 2014 5:44:08] - Yahoo protocol

Unloadable Plugins (1):
  DbChecker.dll v.0.0.0.0 [17 Aug 2014 5:49:34] - <unknown>


Protocols and Accounts:
-------------------------------------------------------------------------------
AIM                      1 - Enabled 0 - Disabled  Loaded
ICQ                      0 - Enabled 1 - Disabled  Loaded
JABBER                   0 - Enabled 2 - Disabled  Loaded
MSN                      0 - Enabled 2 - Disabled  Loaded
SKYPE                    0 - Enabled 2 - Disabled  Loaded
STEAM                    1 - Enabled 0 - Disabled  Loaded
TOX                      1 - Enabled 0 - Disabled  Loaded
YAHOO                    0 - Enabled 2 - Disabled  Loaded
IRC                      0 - Enabled 1 - Disabled  Not Loaded
MetaContacts             1 - Enabled 0 - Disabled  Loaded

Icon Packs:
-------------------------------------------------------------------------------
 Flags_icons.dll [6 Aug 2014 5:48:54]
 Fp_icons.dll [13 Aug 2014 5:47:02]
 HistoryPP_icons.dll [6 Aug 2014 5:47:50]
 Proto_AIM.dll [13 Aug 2014 5:44:36]
 Proto_conn_Skype.dll [3 Oct 2013 7:33:22]
 Proto_Facebook.dll [12 Aug 2014 5:50:44]
 Proto_GG.dll [6 Aug 2014 5:46:12]
 Proto_ICQ.dll [17 Aug 2014 5:48:24]
 Proto_IRC.dll [6 Aug 2014 5:46:12]
 Proto_Jabber.dll [17 Aug 2014 5:48:24]
 Proto_MetaContacts.dll [17 Aug 2014 5:52:16]
 Proto_MRA.dll [6 Aug 2014 5:46:10]
 Proto_mRadio.dll [8 Aug 2014 5:51:06]
 Proto_MSN.dll [6 Aug 2014 5:46:14]
 Proto_NewsAggregator.dll [15 Aug 2014 5:45:40]
 Proto_Omegle.dll [6 Aug 2014 5:47:50]
 Proto_Quotes.dll [13 Aug 2014 5:46:50]
 Proto_Skype.dll [7 Aug 2014 5:53:46]
 Proto_Steam.dll [25 Jul 2014 18:22:46]
 Proto_Tlen.dll [2 Jul 2014 5:45:44]
 Proto_Twitter.dll [6 Aug 2014 5:46:10]
 Proto_Weather.dll [17 Aug 2014 5:50:28]
 Proto_Yahoo.dll [6 Aug 2014 5:46:14]
 Proto_YAMN.dll [29 Jun 2014 5:50:24]
 SecureIM_icons.dll [13 Aug 2014 5:47:26]
 TabSRMM_icons.dll [12 Aug 2014 16:57:02]
 Toolbar_icons.dll [6 Aug 2014 5:46:16]
 UInfoEx_icons.dll [13 Aug 2014 5:44:16]
 Watrack_buttons.dll [6 Aug 2014 5:51:56]
 Watrack_icons.dll [6 Aug 2014 5:51:56]
 xStatus_ICQ.dll [17 Aug 2014 5:46:42]
 xStatus_Jabber.dll [17 Aug 2014 5:46:50]
 xStatus_MRA.dll [6 Aug 2014 5:45:48]
[close]

Seems to be a reoccurence of: http://forum.miranda-ng.org/index.php?topic=1222.msg5836#msg5836
« Last Edit: 17 08 2014, 20:20:16 by Vulpix »
 

Offline watcher

Re: Tox
« Reply #9 on: 17 08 2014, 20:22:01 »
my question was, how do I know my own Tox ID (as a miranda user)

I think it's not implemented yet.

I noticed the same behavior with Steam history so I assume this is some sort of a bug - but I don't know which plugin this relates to. DB checker? History storing itself?

I hope unsane will answer it tomorrow.
Пожалуйста, внимательно прочтите правила постинга перед тем, как открыть новую тему.
Please read forum rules.
 

Offline dartraiden

Re: Tox
« Reply #10 on: 18 08 2014, 10:40:09 »
Windows XP: account creation lead to crash

crashlog
« Last Edit: 18 08 2014, 10:43:05 by dartraiden »
 

Offline unsane

Re: Tox
« Reply #11 on: 18 08 2014, 13:08:12 »
Vulpix, thanks for report. I'll fix it at this evening or a bit later)
Si no estas con nosotros, estas contra nosotros.
 

Offline watcher

Re: Tox
« Reply #12 on: 18 08 2014, 21:20:20 »
Binaries updated to r10234. Please update manually from attachments in the first post.
Пожалуйста, внимательно прочтите правила постинга перед тем, как открыть новую тему.
Please read forum rules.
 

Offline Vulpix

Re: Tox
« Reply #13 on: 18 08 2014, 21:51:02 »
Vulpix, thanks for report. I'll fix it at this evening or a bit later)

Hello! Great, now I can see my Tox ID in the accounts pane! However, it would be nice if I could somehow copy it (or see it somewhere from where it can be copied) to share with a friend.

Added in the latest binary.

Another thing is - the issue with the database; is this related to tox/steam protocol or is this something else? Because (as I said a few posts above), these two seem to be showing the same kind of issue. Do you want some more reports about that?

Thank you for your continuous effort to improve Tox support in miranda!

Post Merge: 19 08 2014, 07:31:45
Binaries updated to r10234. Please update manually from attachments in the first post.

It's better now!

However, every time I restart miranda, my "nickname" is lost (and I become the "tox ID" instead, so it looks very weird in the chat window). Also, setting nickname only affects my miranda - others don't actually see the change.

Update:

I "fixed" this by simply loading the tox profile in uTox, changing the necessary things, saving it, quitting tox and then moving the profile back to where miranda expects it. Nickname etc is now stored correctly :3 this should be fixed, hehe.
« Last Edit: 20 08 2014, 21:22:56 by Vulpix »
 

Offline Vulpix

Re: Tox
« Reply #14 on: 20 08 2014, 14:56:16 »
Issue (minor):

UTF-8 / unicode characters (stuff like: "š ř ž" etc.. ) set as status message in uTox (or other tox clients) are not properly recognized by Miranda - ( uTox is able to display them, however - so the information is properly stored in the stream.). In miranda, they become random garbled characters.


Fixed in the latest binary.
« Last Edit: 20 08 2014, 21:22:32 by Vulpix »