SMT
Member-
Content count
70 -
Joined
-
Last visited
Everything posted by SMT
-
sometimes i get the following situation: file download progress is 100%, but file not moved to downloaded directory from temporary directory. tth of download file is correct, file not corrupted. so i manually deleting TTH and dctemp from filename and moving file to needed place when i run debug build of apex, it's terminates with assertion dcassert(source->isSet(QueueItem::Source::FLAG_PARTIAL)); failed in QueueManager::getDownload() may be this will help
-
i don't think that it can be easy reproduced all images really disappared when client running 60-80 hours. it affects images in 'search type' combo and user icons. may be resource leak or contrary, deleting shared resource linked to some object when deleting object (like bug in 'extra-slot' submenu in favs frame i posted last month. btw, did you confirm that bug?)
-
p.s. share manager was not changed in any way, only limits tweaking. so i'm sure it can't be mod-specific bug
-
well. i've tryed to reproduce this in unmodified 0.3.0, created share of 2 gb, but can't see bug. then switched to my main settings (share > 200gb) and bug appeared. try to test large shares, please
-
now users plays a game in hub - who beats "max shared" record æ-)
-
i've also noticed this bug, but i cant reproduce it stably. and i really wonder, why exceptioninfo is not generated.
-
when user paste exactly 39 alphanumeric charcters into search string in search frame, i'll be good to auto-set search type=TTH
-
well, i've implemented this in mod s8.2 available here: http://portal.san.ru/forums/index.php?show...c=2499&st=0 i'm really unhappy that topics in 'lounge', that even don't violate forums rules, are closed. btw, PPA found a couple of serious bugs in memory management, that could corrupt heap: allocating with new[] but freeing with delete, not delete[] (see files DownloadManager.cpp, HubFrame.cpp, PrivateFrame.cpp)
-
project homepage is http://sourceforge.net/projects/apexdcspeedmod/ here is a version history: mod-s1-s4: based on ApexDC 0.2.2 favorite users page extended, added 'ignore private messages from user', upload mode for user: - NORMAL - as without modification - BANNED - user always gets 'no slots available' - SUPERUSER - total upload speed limit not applied to this user - 2K, 3K, 5K, 8K, 12K, 16K, 24K, 32K, 64K - limit upload speed for this user mod-s5: increased max count of segments (from 10 to 200) should be set manually in 'settings' mod-s6: based on ApexDC 0.3.0 mod-s7: sending same message to all selected users, for ex. "hey, give me slot plz" works from search page and tranfers view. select users and choose 'send private message' mod-s7.1: - exceptionsinfo.txt not overwritten by next crash report, appending - PDB-file available for downloading. if you want to help developing my mod of ApexDC, plese download PDB and unpack archive to program directory - exceptionsinfo.txt created even without PDB-file, it contains registers dump - fixed bug, when all downloads freeze in 'connecting' state (when in active 'direct connection' mode) mod-s8: - fixed bug - cancel didn't work on mass sending private messages. now it works. to just open all private windows to all selected users without sending anything, type empty message - added 'DNS' columns to hub users list, tranfers list and search page. by DNS, it's easy to find out user's internet provider and probably location. there are 3 modes for resolving ip's into domain names: 0 - disabled 1 - resolve immediately, client may slow down (though cache used) 2 - put ips in queue and resolve in background. when this ip used again, it's domain name displayed immediately unfortunately, mode not configurable in GUI. edit Settings/DCPlusPlus.xml like this: <DCPlusPlus> <Settings> <NsLookupMode type="int">2</NsLookupMode> <NsLookupDelay type="int">100</NsLookupDelay> </Settings> </DCPlusPlus> NsLookupDelay is minimal delay time (in ms) between DNS queries if nothing specified, default mode is 2 with delay=100 ms (note for developers: DNS feature marked in sources with !SMT!-IP tag)
-
sometimes, when trying to download last segment of file, client crashes on this piece of code inside FileChunksInfo.cpp: for(u_int16_t i = blockIMWH; i-blockIMWH < (u_int16_t)(minChunkSize/tthBlockSize); i++) { if(blockAversion[i] == blockAversion[(size_t)blockIMWH] && isInPartial(i,partialInfo)) { the problem is reading std::vector at index, larger then vector size. i've solved this with the following modification: for(u_int16_t i = blockIMWH; i < blockAversion.size() && i-blockIMWH < (u_int16_t)(minChunkSize/tthBlockSize); i++) { if(blockAversion[i] == blockAversion[(size_t)blockIMWH] && isInPartial(i,partialInfo)) {
-
same problem applies to hub options too. when using 'direct connection' in hub options, 'External IP' is also used, but it should not
-
when i just connect to hub (in active mode), all downloads freezes in "connecting" state, but uploads works. does anybody seen this bug? if it's annoying, i can tell quick solution or explain why it happens
-
it fills 'external WAN/IP' field, that returned by Client::getLocalIp() just try - fill 'external WAN/IP' with some garbage, like 64.233.187.99, set direct connection (so, this field should not be used) and try to download something i've recently recieved one more complain about this issue, so it's very actual
-
well.. suppose you are always using 'direct connection' and get ip on DHCP (ADSL) goto 'connection settings', press 'Get IP Address' reconnect to provider again, so you'll get another IP that's all, apex can't download anything the problem is in Client::getLocalIp() function returns 'external ip' even if 'direct connection' selected. i think, 'external ip' should be used only in 'firewall with manual port forwarding' mode so curious users, who tested 'get ip' button suffer for their curiosity :-)
-
howto see bug: open favorite users page - each user have context menu with 'grant slot' submenu close favorite users page open favorite users page again - submenu disappeared explanation is easy - shared menu linked into frame's menu and when frame's menu destroyed, shared menu is also destroyed i'n not sure, but possibly same bug can be in other frames quick solution is to unlink all submenus before deleting frame, but if menu contains private (not shared) submenus this can cause resource leak ... LRESULT UsersFrame::onClose(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled) { if(!closed) { FavoriteManager::getInstance()->removeListener(this); SettingsManager::getInstance()->removeListener(this); [b] while (usersMenu.GetMenuItemCount()) usersMenu.RemoveMenu(0, MF_BYPOSITION);[/b] closed = true; WinUtil::setButtonPressed(IDC_FAVUSERS, false); ...
-
any comments?
-
it will be very useful i want to know nickname in DC, when people email me, chat in icq or disclosure their ip's somehow else. another reason is to warn users, infected with inet-worms, annoying me with firewall alerts. also blame those, who uses nukes and etc possible implementaion is to send $RevConnectToMe to all active users and $ConnectToMe to all passive, then collect ips from answers (not actually connecting in first case and closing port in second)
-
sources of my mod here: http://rapidshare.com/files/3238014/ApexDC-s6-src.rar binaries here: http://rapidshare.com/files/3230319/ApexDC-s6.exe.rar
-
currently i'm working on Apex special edition for our region network. it is avalaible on hub dc.san.ru (88.147.128.8) under TTHs ApexDC-mod-s3.exe.rar TFL2QTR5HYR54WVZ3A6HHMCD7NV4NNXRYRKFSLQ ApexDC-mod-s4.exe.rar WMSZPDGKRAO26P4GMLBVD4Y24QY6OLMPAZ35K6Y ApexDC-mod-s5.exe.rar Z7YTUC66KLY3SZ6Z3HLS6HGNXX2XJB2H3KQ2TLA ApexDC-mod-s3-src.rar TTGYTDTDSQH6SCBPDSY36HF3FQSK3YKLHWMMYAQ ApexDC-mod-s4-src.rar DWCCYYAHYPQH2UNFJMYBOSLOBGIYXY2SWRMWWDY unfortunately, only 5-10% of network users accessible from internet so i'm waiting registering page http://sourceforge.net/projects/apexdcspeedmod/ if you understand russian, here is description and discussions: http://portal.san.ru/forums/index.php?show...c=2499&st=0