Author Topic: Tox protocol  (Read 215301 times)

0 Members and 2 Guests are viewing this topic.

Offline Robyer

Re: Tox protocol
« Reply #285 on: 02 11 2015, 20:45:25 »
santa, I said it wrong - update will be ready tomorrow (builds at night) :)
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline santa

Re: Tox protocol
« Reply #286 on: 02 11 2015, 20:47:05 »
Ok, i have tested on today version built at 16:05, according Tox.dll time.  :)
 

Offline santa

Re: Tox protocol
« Reply #287 on: 04 11 2015, 21:35:31 »
Latest version has IsOnline fixed, but for multipart messages only first part is sent and second one is not or not received by qTox on another side.
 

Offline Vulpix

Re: Tox protocol
« Reply #288 on: 12 11 2015, 10:33:26 »
@unsane, it is not possible to use proxy with Tox - whenever I set up a proxy for connections, the whole protocol says failed to initialize tox core and that proxy settings are not valid. Other protocols work just fine with the same setting.

(this is with ipv6 and udp disabled in tox network options)
« Last Edit: 12 11 2015, 10:38:48 by Vulpix »
 

Offline unsane

Re: Tox protocol
« Reply #289 on: 16 11 2015, 11:40:22 »
santa, bug with multipart messages should be fixed in last nightly build.
Si no estas con nosotros, estas contra nosotros.
 

Offline Vulpix

Re: Tox protocol
« Reply #290 on: 14 12 2015, 12:56:35 »
I noticed some strange/buggy behavior with tox profile.

Clean miranda, latest dev build, only plugins are tox and clist_nicer and history++.

Create new tox profile. Profile created, cannot sign in -> have to go into network->tox and click "Create profile", or click "Create profile" on the account screen. Not intuitive - should probably warn the user that he has to do this (or import a tox profile) otherwise it won't work.

After creating the profile, a <profilename>.tox file is created in your profile folder; however, the .tox file is 0b in size and contains nothing. Setting your nick or changing any settings has no effect until you log in; if you set your nick before you log in, it is overwritten with an empty string (from the empty profile, I assume). This should be stated (that it is only possible to change your name when you're logged in.)

Once you log in for the first time, the tox profile will have your tox ID in it.

Adding someone from miranda when miranda is the requestor of the friend request -> you can add them, they will see the request and add you, but when you then exit miranda, the profile size will remain the same as before and the new contact information is not stored. When you then exit miranda and start it up again, you will see that contact in your friendlist, however this is just internal miranda contact store and not an actual contact in tox protocol. You will NOT be able to message this person or see them online again. It will say "The friend number did not designate a valid friend" if you try to message them regardless.

Adding someone from miranda when miranda is the acknowledger of the friend request-> their name will OVERWRITE the previously added contact since I assume their friend "id" is now 0 (as in the first friend) so whoever was added previously is out of luck. The history and everything else will now belong to the newly added user. The save file now grows a little with the new actually-added tox id. When you exit and restart miranda, then, before you log in, the newly added user will have the PREVIOUS USER'S NAME, but will actually keep the history. Once you log in, that user's name will become their TOX ID (long hash). Once both of you are online, that user's TOX ID-name will become their actual name.

Long story short, miranda is mutilating tox profile somehow by overwriting the last added person and not saving new changes.

Please if you can, fix this as soon as possible. Thank you!

To the other users of tox, do NOT add new people on your contact list right now - or temporarily export your tox profile, use it in uTox/qTox and then import it back. It's fixed!
« Last Edit: 23 12 2015, 11:07:57 by Vulpix »
 

Offline Corak

Re: Tox protocol
« Reply #291 on: 14 12 2015, 14:07:13 »
Fresh crash on Tox by "toxcore\Messenger.c (2550): messenger_size"

http://trac.miranda-ng.org/ticket/1105

toxcore\Messenger.c (2550): messenger_size
Code: [Select]
Likely cause of the crash plugin: Tox protocol

Exception: Access Violation at address 13DB177B. Reading from address 00000008.

Stack Trace:
---------------------------------------------------------------
13DB177B (libtox 13DA0000): ..\toxcore\Messenger.c (2550): messenger_size
16EEFE3E (Tox 16EE0000): e:\sources\miranda_ng_compilation\protocols\tox\src\tox_core.cpp (131): CToxProto::UninitToxCore
16EEC795 (Tox 16EE0000): e:\sources\miranda_ng_compilation\protocols\tox\src\tox_network.cpp (176): CToxProto::PollingThread
1224C536 (mir_core 12240000): e:\sources\miranda_ng_compilation\src\mir_core\src\threads.cpp (159): forkthreadex_r
7C80B729 (kernel32 7C800000): (filename not available) (0): GetModuleFileNameA
[close]
 

Offline Vulpix

Re: Tox protocol
« Reply #292 on: 23 12 2015, 11:09:26 »
Issue with profile being incorrectly saved (for example when adding a friend or when being added) has now been resolved in r15928. Thanks!
 

Offline Vulpix

Re: Tox protocol
« Reply #293 on: 29 12 2015, 22:03:40 »
When you use tabsrmm's "send later" on an offline tox contact, the message will appear to have been sent during the next "cycle", even though it's obviously impossible.
 

Offline Vindicar

  • Newbie
  • *
  • Posts: 1
Can't load Tox protocol
« Reply #294 on: 14 01 2016, 18:20:23 »
Hi!
I'm trying to install this protocol from here, but it just won't load, requiring files mir_core.mir & mir_app.mir.
I tried downloading them and putting them in Plugins, Libs or next to miranda binary, but to no avail.
So how do I install this protocol?

Here is the VI:
VersionInfo
Quote
CPU: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz [Intel64 Family 6 Model 42 Stepping 7] [DEP Enabled] [4 CPUs]
Installed RAM: 4080 MBytes
Operating System: Microsoft Windows 8.1 , 64-bit (build 9600)
Internet Explorer: 9.11.10586.0 (build 910586)
Administrator privileges: No
OS Languages: (UI | Locale (User/System)) : Russian/Russian | Russian/Russian
Free disk space on Miranda partition: 43819 MBytes

Miranda NG Version: 0.95.4 build #13028 [running inside WOW64]
Build time: 22 Apr 2015 0:43:30
Profile: C:\Program Files (x86)\Miranda IM\Profile\Orel\Orel.dat
Profile size: 33357824 Bytes
Profile creation date: 5 Aug 2011 17:31:18
Language pack: Russian (RU) [0419]
Service Mode: No

Active Plugins (20):
  AdvaImg.dll v.0.11.0.2 [22 Apr 2015 0:44:52] - Miranda image services
  AVS.dll v.0.95.3.4 [22 Apr 2015 0:43:46] - Avatar service
  ChangeKeyboardLayout.dll v.0.0.1.6 [22 Apr 2015 0:47:42] - Change keyboard layout
  Clist_modern.dll v.0.9.1.3 [22 Apr 2015 0:48:14] - Modern contact list
  CrashDumper.dll v.0.0.5.2 [22 Apr 2015 0:49:18] - Crash dumper
  Dbx_mmap.dll v.0.95.3.1 [22 Apr 2015 0:43:54] - Miranda NG mmap database driver
  HistoryPP.dll v.1.5.1.5 [15 Apr 2015 19:17:46] - History++
  ICQ.dll v.0.11.3.2 [22 Apr 2015 0:45:04] - IcqOscarJ protocol
  Import.dll v.0.95.4.2 [22 Apr 2015 0:43:46] - Import contacts and messages
  ImportTXT.dll v.0.0.1.11 [22 Apr 2015 0:56:00] - Import TXT
  IRC.dll v.0.11.0.3 [22 Apr 2015 0:44:44] - IRC protocol
  Jabber.dll v.0.11.0.4 [22 Apr 2015 0:45:08] - Jabber protocol
  mTextControl.dll v.0.8.0.1 [22 Apr 2015 0:45:52] - Miranda text control
  PluginUpdater.dll v.0.1.2.4 [22 Apr 2015 0:50:18] - Plugin updater
  Popup.dll v.2.1.1.10 [22 Apr 2015 0:46:06] - Popup plus
  SmileyAdd.dll v.0.2.3.17 [22 Apr 2015 0:46:22] - SmileyAdd
  StopSpam.dll v.0.0.1.4 [22 Apr 2015 0:46:30] - StopSpam+
  TabSRMM.dll v.3.4.0.10 [22 Apr 2015 0:44:28] - TabSRMM
  Tipper.dll v.2.1.0.7 [22 Apr 2015 0:46:36] - Tipper
  TopToolBar.dll v.0.8.0.4 [22 Apr 2015 0:47:46] - TopToolBar

Unloadable Plugins (2):
  DbChecker.dll v.0.0.0.0 [22 Apr 2015 0:49:52] - <unknown>

  Tox.dll v.0.0.0.0 [13 Jan 2016 8:28:12] - <unknown>
    Plugin statically linked to missing module: mir_core.mir
    Plugin statically linked to missing module: mir_app.mir


Protocols and Accounts:
-------------------------------------------------------------------------------
ICQ                      1 - Enabled 0 - Disabled  Loaded
IRC                      1 - Enabled 2 - Disabled  Loaded
JABBER                   1 - Enabled 0 - Disabled  Loaded
MetaContacts             1 - Enabled 0 - Disabled  Loaded

Icon Packs:
-------------------------------------------------------------------------------
 global.dll [30 Oct 2009 22:12:16]
 HistoryPP_icons.dll [22 Apr 2015 0:50:40]
 Proto_AIM.dll [22 Apr 2015 0:47:48]
 Proto_GG.dll [22 Apr 2015 0:47:48]
 proto_GmailMNotifier.dll [8 Mar 2008 22:01:30]
 Proto_ICQ.dll [22 Apr 2015 0:47:50]
 proto_icq_alt.dll [30 Oct 2009 22:12:28]
 Proto_IRC.dll [22 Apr 2015 0:47:50]
 Proto_Jabber.dll [22 Apr 2015 0:47:50]
 Proto_MetaContacts.dll [22 Apr 2015 0:55:16]
 Proto_MSN.dll [22 Apr 2015 0:47:50]
 Proto_Tox.dll [13 Jan 2016 8:28:00]
 Proto_Yahoo.dll [22 Apr 2015 0:47:52]
 qipstatus_icons.dll [28 Nov 2009 23:38:58]
 TabSRMM_icons.dll [22 Apr 2015 0:50:46]
 Toolbar_icons.dll [22 Apr 2015 0:47:54]
 xStatus_ICQ.dll [22 Apr 2015 0:45:02]
 xstatus_ICQ_.dll [4 May 2008 20:31:02]
 xStatus_Jabber.dll [22 Apr 2015 0:45:10]
 xStatus_Jabber_.dll [4 May 2008 20:28:08]
[close]
 

Offline Vulpix

Re: Tox protocol
« Reply #295 on: 14 01 2016, 20:15:20 »
You need to switch to development version of miranda and let plugin updater update your miranda. Make a backup before you switch.
 

Offline Vulpix

Re: Tox protocol
« Reply #296 on: 18 02 2016, 09:08:51 »
Minor issue:

Version: latest dev miranda, latest dev tox; but it's been happening for a very long time.

When starting miranda (all protocols offline), trying to connect to tox (global status->online (or any other)), tox will connect, but it will not have any status message, even if one was set. To apply it, you have to switch to any status (even the same!) once tox is already connected.

Please make it so that tox connects and sets the status message like all other protocols.

Thank you!
 

Offline Vulpix

Re: Tox protocol
« Reply #297 on: 25 04 2016, 15:37:11 »
Issue:
When a file transfer fails (for any reason) file will remain locked until miranda is restarted. Cancelling transfer should unlock the file instead.
 

Offline AnrDaemon

Re: Tox protocol
« Reply #298 on: 27 04 2016, 23:31:58 »
Ain't that a generic Miranda issue?
 

Offline Vulpix

Re: Tox protocol
« Reply #299 on: 28 04 2016, 07:28:16 »
It's possible, but I don't send files using other protocols and when I do, they're small files and there are no disconnects.... so I didn't have the "pleasure" of finding out.