Author Topic: Facebook protocol  (Read 517113 times)

0 Members and 5 Guests are viewing this topic.

Offline Crapper

  • Newbie
  • *
  • Posts: 6
Re: Facebook plugin
« Reply #345 on: 23 12 2014, 18:23:43 »
log file is too long, exceeds 20.000 characters. Is there a part of it you need or do you need all of it?
 

Offline Robyer

Re: Facebook plugin
« Reply #346 on: 23 12 2014, 18:38:53 »
Crapper, are you sure you checked only Facebook protocol in Options / Network / Logging ?

It can't be that big. Check only Facebook in that options, delete the log file (it will be recreated automatically), then switch Fb to online, then try to search for people, and then send me the log.
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 Crapper

  • Newbie
  • *
  • Posts: 6
Re: Facebook plugin
« Reply #347 on: 23 12 2014, 22:20:08 »
Solved ove ICQ with Robyer. Was nothing wrong with the plugin or miranda... was me there was something wrong with  ::)
 

Offline Goraf

Re: Facebook plugin
« Reply #348 on: 24 12 2014, 11:49:04 »
It looks like some of the last changes removed problems with FB + Console (growing memory usage - mem leaks)
 

Offline Robyer

Re: Facebook plugin
« Reply #349 on: 24 12 2014, 12:42:19 »
Goraf, that's great. I indeed fixed various memleaks with help of some code static analyzers, so I'm glad it really helped :-)
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 delerue

  • Newbie
  • *
  • Posts: 13
Re: Facebook plugin
« Reply #350 on: 04 01 2015, 01:54:37 »
Today I noticed that the timestamp is not in sync anymore. So my history doesn't reflect the order of the received/sent messages.

I used to have  'UseLocalTimestamp' command set to '1', but it seems that someone has changed the Wiki section related to this command: http://wiki.miranda-ng.org/index.php?title=Plugin:Facebook/en&action=history

Is it related to this: http://trac.miranda-ng.org/ticket/832 ?
 

Offline Goraf

Re: Facebook plugin
« Reply #351 on: 04 01 2015, 10:11:24 »
 

Offline Robyer

Re: Facebook plugin
« Reply #352 on: 04 01 2015, 10:15:01 »
delerue, I completely removed "use local timestamp" options and started using server time also for sent messages. As I tested it, it worked properly. Could you provide VersionInfo (and eventually also screenshot capturing the problem)?
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 delerue

  • Newbie
  • *
  • Posts: 13
Re: Facebook plugin
« Reply #353 on: 04 01 2015, 15:21:08 »
As you can see, there's a little difference in minutes, but also with daylight saving time -- I'm one hour ahead, but I'm not using Windows 'Daylight Saving Time' option, neither syncing with any server clock.

VersionInfo
Quote
CPU: Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz [Intel64 Family 6 Model 30 Stepping 5] [DEP Enabled] [8 CPUs]
Installed RAM: 8184 MBytes
Operating System: Microsoft Windows 7 Ultimate Edition, 64-bit Service Pack 1 (build 7601)
Internet Explorer: 9.10.9200.16686 (build 99200)
Administrator privileges: Yes
OS Languages: (UI | Locale (User/System)) : English/English | Portuguese/English
Free disk space on Miranda partition: 68095 MBytes

Miranda NG Version: 0.95.4 alpha build #11720 [running inside WOW64]
Build time: 2 Jan 2015 0:39:20
Profile: D:\Rafa\Programas\Miranda\Profiles\Delerue\Delerue.dat
Profile size: 281346048 Bytes
Profile creation date: 9 Oct 2013 20:50:55
Language pack: No language pack installed
Service Mode: No

Active Plugins (12):
  AdvaImg.dll v.0.11.0.1 [2 Jan 2015 0:31:40] - Miranda image services
  AVS.dll v.0.95.3.4 [2 Jan 2015 0:30:46] - Avatar service
  CrashDumper.dll v.0.0.5.2 [2 Jan 2015 0:34:40] - Crash dumper
  DbChecker.dll v.0.95.3.1 [2 Jan 2015 0:35:04] - Database checker
  DbEditorPP.dll v.3.2.0.1 [12 Aug 2014 10:46:01] - Database editor++
  Dbx_mmap.dll v.0.95.3.1 [2 Jan 2015 0:30:50] - Miranda NG mmap database driver
  Facebook.dll v.0.2.9.9 [3 Jan 2015 17:29:34] - Facebook RM
  HistoryPP.dll v.1.5.1.5 [22 Mar 2014 8:31:36] - History++
  ICQ.dll v.0.11.2.6 [2 Jan 2015 0:31:34] - IcqOscarJ protocol
  Jabber.dll v.0.11.0.4 [2 Jan 2015 0:32:02] - Jabber protocol
  MSN.dll v.0.11.1.2 [2 Jan 2015 0:31:48] - MSN protocol
  StopSpam.dll v.0.0.1.4 [7 Apr 2014 23:32:30] - StopSpam+

Protocols and Accounts:
-------------------------------------------------------------------------------
Facebook                 1 - Enabled 0 - Disabled  Loaded
ICQ                      1 - Enabled 0 - Disabled  Loaded
JABBER                   1 - Enabled 0 - Disabled  Loaded
MSN                      1 - Enabled 0 - Disabled  Loaded
MetaContacts             1 - Enabled 0 - Disabled  Loaded
SKYPE                    0 - Enabled 1 - Disabled  Not Loaded
STEAM                    0 - Enabled 1 - Disabled  Not Loaded
WhatsApp_1               0 - Enabled 1 - Disabled  Not Loaded

Icon Packs:
-------------------------------------------------------------------------------
 HistoryPP_icons.dll [7 Apr 2014 23:38:54]
 Proto_AIM.dll [13 Feb 2013 1:47:16]
 Proto_conn_Skype.dll [21 Jul 2013 0:00:38]
 Proto_Facebook.dll [13 Oct 2014 23:36:19]
 Proto_GG.dll [13 Feb 2013 1:47:18]
 proto_gtalk.dll [24 Oct 2012 9:12:26]
 Proto_ICQ.dll [1 Aug 2009 17:22:40]
 Proto_IRC.dll [13 Feb 2013 1:47:20]
 Proto_Jabber.dll [13 Feb 2013 1:47:20]
 Proto_MSN.dll [1 Aug 2009 17:22:44]
 Proto_Skype.dll [5 Aug 2014 23:36:35]
 Proto_Steam.dll [16 Apr 2014 19:32:32]
 Proto_WhatsApp.dll [3 Oct 2014 23:41:48]
 Proto_Yahoo.dll [13 Feb 2013 1:47:22]
 TabSRMM_icons.dll [13 Feb 2013 1:49:36]
 Toolbar_icons.dll [13 Feb 2013 1:47:32]
 xStatus_ICQ.dll [13 Feb 2013 1:44:22]
 xStatus_Jabber.dll [13 Feb 2013 1:44:34]
[close]
« Last Edit: 04 01 2015, 15:23:47 by delerue »
 

Offline Robyer

Re: Facebook plugin
« Reply #354 on: 04 01 2015, 15:34:51 »
delerue, could you try it with Scriver or TabSRMM?
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 delerue

  • Newbie
  • *
  • Posts: 13
Re: Facebook plugin
« Reply #355 on: 04 01 2015, 15:44:22 »
Just tried with TabSRMM and it works flawlessly. But I don't like it  :(
 

Offline Robyer

Re: Facebook plugin
« Reply #356 on: 04 01 2015, 18:23:20 »
Ok, I know what's the problem with StdMsg, but I don't know how to fix it  :-\
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 delerue

  • Newbie
  • *
  • Posts: 13
Re: Facebook plugin
« Reply #357 on: 05 01 2015, 12:25:19 »
Hahaha! Damn it! :D

Can you tell us the short story? I'm a programmer too.
 

Offline Robyer

Re: Facebook plugin
« Reply #358 on: 05 01 2015, 13:58:06 »
delerue, StdMsg saves sent message into DB immediately and in case of receiving error from protocol it removes that message afterwards.
Scriver and TabSRMM waits to receive success from protocol first and only after that saves sent message into DB = after it's really sent. In case of error they don't add this message into DB at all.

In case of StdMsg I can't alter timestamp of that message, because it's added immediately so I haven't got response from server yet so I can't alter that timestamp to correct time.
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 Robyer

Re: Facebook plugin
« Reply #359 on: 05 01 2015, 14:35:35 »
ghazan reworked StdMsg so it now works as in other plugins. http://trac.miranda-ng.org/changeset/11775/
So tomorrow it should work correctly with FB plugin :-)
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.