The ordinal 397 could not be located in the dynamic link library <Miranda Root>\Plugins\Discord.dll.
I tried scouting the plugin with Dependency Walker, but i can't spot anything unusual. Does it require some additional MSVC++ libraries? I've got all ordinary MSVC++ redistributables installed.
I would like to give it a try, but i can't load x64 development version of the plugin with the latest dev build of Miranda on Windows 10 x64.you're using the stable version right now, you cannot load just one new plugin and try to launch it under this version.
Miranda Crash Report from 6 Feb 2017 0:50:42. Crash Dumper v.0.0.5.2
Likely cause of the crash plugin: Discord protocol
Exception: Access Violation at address 6E550A21. Writing to address 00000064.
Stack Trace:
---------------------------------------------------------------
6E550A21 (MSVCR100 6E540000): (filename not available) (0): unlock
100083A9 (Discord 10000000): w:\miranda-ng\protocols\discord\src\gateway.cpp (237): CDiscordProto::GatewayThreadWorker
100085FB (Discord 10000000): w:\miranda-ng\protocols\discord\src\gateway.cpp (133): CDiscordProto::GatewayThread
1232CFBD (mir_core 12320000): c:\sources\miranda_ng_compilation\src\mir_core\src\threads.cpp (159): forkthreadex_r
768762C4 (KERNEL32 76860000): (filename not available) (0): BaseThreadInitThunk
77E60FD9 (ntdll 77E00000): (filename not available) (0): RtlSubscribeWnfStateChangeNotification
77E60FA4 (ntdll 77E00000): (filename not available) (0): RtlSubscribeWnfStateChangeNotification
1232CF94 (mir_core 12320000): c:\sources\miranda_ng_compilation\src\mir_core\src\threads.cpp (284): Thread_Wait
0966FE38 ((module-name not available) 00000000): (filename not available) (0): (function-name not available)
Miranda Crash Report from 6 Feb 2017 3:07:58. Crash Dumper v.0.0.5.2
Likely cause of the crash plugin: Discord protocol
Exception: Access Violation at address 118484AA. Reading from address 1DD208E0.
Stack Trace:
---------------------------------------------------------------
118484AA (Discord 11840000): w:\miranda-ng\protocols\discord\src\gateway.cpp (265): CDiscordProto::GatewayThreadWorker
118485FB (Discord 11840000): w:\miranda-ng\protocols\discord\src\gateway.cpp (133): CDiscordProto::GatewayThread
1232CFBD (mir_core 12320000): c:\sources\miranda_ng_compilation\src\mir_core\src\threads.cpp (159): forkthreadex_r
768762C4 (KERNEL32 76860000): (filename not available) (0): BaseThreadInitThunk
77E60FD9 (ntdll 77E00000): (filename not available) (0): RtlSubscribeWnfStateChangeNotification
77E60FA4 (ntdll 77E00000): (filename not available) (0): RtlSubscribeWnfStateChangeNotification
1232CF94 (mir_core 12320000): c:\sources\miranda_ng_compilation\src\mir_core\src\threads.cpp (284): Thread_Wait
22F3FE8C ((module-name not available) 00000000): (filename not available) (0): (function-name not available)
Impressive. I briefly compared running standalone client next to a plugin.Well, the "standalone client" is nothing but a Chromium, that executes tons of js :) So it's not so hard to outperform it considering RAM usage, though Miranda always was (and forever will be) very concerned about memory footprint :-)
First of all, amazing job. Discord standalone client consumes more than a 100mb of RAM, while miranda is under 10mb for many protocols at once. That's a major debloating for something as basic as text IM when voice chat is not required.Thanks for the flattering review, the fact is that this plugin is in the very beginning, so your opinions and remarks are greatly appreciated. I'll implement them when I have spare time.
Group chat nicknames are not working (everyone is displayed as accountname#nnnn, including own name). I assume, this is because discord user can have unique nickname on per-group basis and it's not supported yet.done. also I implemented joining / leaving guilds on the fly
now we can change our own nickname in chats
Group chat log is named after internal channel id (nnnnnnnnnnnnnnnnnnn.log) instead of group#channel.log.@mnguser what did you mean by that? replacing the unformatted number with a channel nick?
[10:31:46 2104] [Discord_1] Got packet: buffer = 2048, opcode = 4, headerSize = 2, final = 0, masked = 0
[10:31:46 2104] [Discord_1] Got packet: buffer = 2048, opcode = 6, headerSize = 2, final = 0, masked = 0
[10:31:46 2104] [Discord_1] Got packet: buffer = 2048, opcode = 12, headerSize = 2, final = 0, masked = 0
[10:31:46 2104] [Discord_1] Got packet: buffer = 2048, opcode = 8, headerSize = 2, final = 0, masked = 0
[10:31:46 2104] [Discord_1] server required to exit
[10:31:46 2104] [Discord_1.Gateway] (05690648:2244) Connection closed internal
[10:31:46 2104] [Discord_1.Gateway] (05690648:4294967295) Connection closed
[10:31:46 2104] [Discord_1] CDiscordProto::ShutdownSession
[10:31:46 2104] [Discord_1] CDiscordProto::OnLoggedOut
[10:31:47 1624] [Discord_1] (0568EBF0:2188) Connection closed internal
[10:31:47 1624] [Discord_1] (0568EBF0:4294967295) Connection closed
[10:31:47 1624] [Discord_1] CDiscordProto::WorkerThread: leaving
11:11:34 PM Ratha I think to fix it showing you as online when you're not, you have to clear the sessions list here:
https://icq.com/session/list/en
11:11:37 PM Ratha
-----------------
Embed: https://icq.com/session/list/en
link
Download ICQ on your PC and start using high quality video chat, free messaging and free calls to any country
Preview: https://c.icq.com/images/tint/common/share/share_560.png
CPU: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz [Intel64 Family 6 Model 60 Stepping 3] [DEP Enabled] [4 CPUs]
Installed RAM: 24521 MBytes
Microsoft Windows 7 Ultimate Edition, 64-bit Service Pack 1 (build 7601)
Internet Explorer: 9.11.9600.18665 (build 99600)
Administrator privileges: Yes
OS Languages: (UI | Locale (User/System)) : English/English | English/English
Free disk space on Miranda partition: 112835 MBytes
Miranda NG Version: 0.95.8 alpha build #19890 (5d651e838c) [running inside WOW64]
Build time: 26 Apr 2018 2:01:02
Profile: C:\Program Files (x86)\Miranda NG\Profiles\Ratha\Ratha.dat (MDBX database driver)
Profile size: 117440512 Bytes
Profile creation date: 29 Dec 2017 16:51:49
Language pack: No language pack installed
Service Mode: No
Active Plugins (18):
¤ AVS.dll v.0.98.1.1 [26 Apr 2018 2:01:06] - Avatar service
¤ CrashDumper.dll v.0.1.0.1 [26 Apr 2018 2:01:34] - Crash dumper
¤ DbEditorPP.dll v.4.0.1.2 [26 Apr 2018 2:01:34] - Database editor++
¤ Dbx_mdbx.dll v.0.95.8.7 [26 Apr 2018 2:02:26] - Miranda NG MDBX database driver
¤ Dbx_mmap.dll v.0.95.8.1 [26 Apr 2018 2:01:14] - Miranda NG mmap database driver
¤ Discord.dll v.0.5.1.2 [26 Apr 2018 2:02:26] - Discord protocol
¤ historypp.dll v.1.5.1.5 [18 Apr 2018 22:19:56] - History++
¤ ICQ.dll v.0.95.8.1 [26 Apr 2018 2:01:10] - IcqOscarJ protocol
¤ ImportTXT.dll v.0.0.1.12 [26 Apr 2018 2:02:46] - Import TXT
¤ PluginUpdater.dll v.0.1.2.5 [26 Apr 2018 2:01:40] - Plugin updater
¤ SeenPlugin.dll v.5.0.5.3 [26 Apr 2018 2:01:22] - Last seen
¤ SkypeWeb.dll v.0.12.2.5 [26 Apr 2018 2:02:20] - Skype protocol (Web)
¤ SpellChecker.dll v.0.2.6.6 [26 Apr 2018 2:02:02] - Spell checker
¤ StatusManager.dll v.1.1.0.4 [2 May 2018 2:01:46] - Status manager
¤ Steam.dll v.0.11.6.3 [26 Apr 2018 2:02:16] - Steam protocol
¤ TabSRMM.dll v.3.5.0.9 [26 Apr 2018 2:01:12] - TabSRMM
¤ Tipper.dll v.2.1.0.7 [26 Apr 2018 2:01:22] - Tipper
¤ YAMN.dll v.0.1.2.6 [26 Apr 2018 2:01:42] - Mail Notifier
Protocols and Accounts:
-------------------------------------------------------------------------------
Discord 1 - Enabled 0 - Disabled Loaded
ICQ 1 - Enabled 1 - Disabled Loaded
SKYPE 1 - Enabled 0 - Disabled Loaded
STEAM 1 - Enabled 0 - Disabled Loaded
MetaContacts 1 - Enabled 0 - Disabled Not Loaded
YAMN 1 - Enabled 0 - Disabled Loaded
Icon Packs:
-------------------------------------------------------------------------------
Flags_icons.dll [26 Apr 2018 2:02:42]
HistoryPP_icons.dll [26 Apr 2018 2:02:44]
Proto_Discord.dll [26 Apr 2018 2:02:44]
Proto_ICQ.dll [26 Apr 2018 2:02:42]
Proto_MetaContacts.dll [26 Apr 2018 2:02:44]
Proto_Skype.dll [26 Apr 2018 2:02:44]
Proto_Steam.dll [26 Apr 2018 2:02:44]
Proto_Yahoo.dll [13 Feb 2016 22:01:38]
Proto_YAMN.dll [26 Apr 2018 2:02:44]
TabSRMM_icons.dll [26 Apr 2018 2:02:44]
xStatus_ICQ.dll [26 Apr 2018 2:02:44]
I seem to have got into a very confused state. Under my discord I have two friends listed. A third sent me an invite which I accepted but they are not listed as a friend (though they are listed as such on the discord website).
I am also in a group chat with those 3 people and the chat IMs are coming up as if they were from one of member of the chat (so if the chat members are A, B, and C I get all the chat messages as if they were directly from A)
I find new problem.
If incoming message to group chat no open new container.
Czech:
Našel jsem problém.
Po přijetí zprávy do skupiny se neotevře kontejner v novém okně.
edit1:also another problem I am having is one of my friends invited me to a private group chat ( not a channel ) just a group chat with some other friends
and ever since that day any message that is posted in the group chat comes as if it was a private msg from him ( even when its other people writing it )
and I can not message him directly either any msg I send to him via miranda goes to that group chat
That is strange. I have this set up myself - I have a group "DiscordChats" and then another group "ChatRooms". All of the discord chats initially land in chatrooms, from where I move the important/intersting ones to "DiscordChats" group. This setting persists through restart of miranda and relogin. Maybe the problem is with them having no group?Thanks! I found my mistake - when setting up the account I enabled 'use subgroups for channels', so it was resorting them each time the list was loaded from discord
Sometimes Miranda continuously fails to connect to Discord server, and somehow logging in on the website fixes this problem. I have made a netlog.That's evident -
Do you need more information or certain logs?yes, send me the full log (core + Discord) as a private message, please, it shall not be long
The github ticket for discord mentions that message editing is implemented (followed by a question mark). How is it done?Miranda can receive edited messages.
in addition to not being able to manually load a room's history properlyyes, in Miranda group chats do not store the history in a database, so you can't manage histories properly
The protocol uses odd terminology, 'Join Guild' and 'Leave Guild'. Took me a moment to realize what this was. Discord calls them 'servers', unless I'm mistaken. Might be better to use the official naming?@ghazan hates "servers" :D
Everything appears as a group tree under a top-level Discord node. However, 'Chat rooms' also gets filled with the individual servers. I assume this is due to a limitation of the UI and is there to allow joining/leaving servers. Might be more convenient to have it all under the Discord node.This is standard Miranda behavior, IRC protocol do the same.
When I change messaging options and hit apply, I believe all chat windows are emptied and the module proceeds to re-download everything from scratch. Might not be ideal.Not possible until we implement database chat history storing.
If the protocol loses connection, the list of chatroom users is emptied. When it then reconnects, the list does not come back until the tab is closed and re-opened.Ticket created
When viewing chatrooms as tabbed group chats (tabsrmm I think?), if I try to rearrange them, the tabs do not respond to the drag&drop gesture. I also don't see any way to reorder them, there's only "save tab position", which I assume allows irssi-style binding.All message plugins (StdMsg, TabSRMM, Scriver) supports tabbed interface, look at your Version Info
If I accidentally doubleclick on a tab while switching chatrooms, the gesture is interpreted as a 'close tab' command. I really don't want this. I looked really hard, but couldn't find any option that could disable this behavior.Also not a Discord problem. You should tweak message plugin setting.
When I doubleclicked on a person to quote them, it prepared a classic irc-style highlight (user: ) instead of discord-style (@user). I sent a message like that just for the heck of it, and saw that my message echoed back as "user: : text". The double colon worries me. I have not tried using a second client to view how others saw my message, but I assume it didn't come out right.Message plugins cannot use different types of quotes for different protocols
Another oddity: when I open a discord chatroom, clear log and then right-click on the room and do 'Load server history', and I use the setting "Message session -> Message log -> Load history events -> Load number of previous events: 100", it loads the first (oldest) 100 events in the chatroom's history. If it's supposed to that, that sort of feature has very limited utility.This has not been intended for group chats, only for privates
Message deletion is not indicated in the chat log.https://github.com/miranda-ng/miranda-ng/issues/2578
Should I start submitting all these observations as individual github tickets?Yes, because otherwise I have to do it :D
how do i view logs?netlog (https://wiki.miranda-ng.org/index.php?title=Network_log)