CityVilleBot (Project DEVIL)


Join the forum, it's quick and easy

CityVilleBot (Project DEVIL)
CityVilleBot (Project DEVIL)
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Try LilyCity HD, it's a real cityville clone
[PLUGIN] ImageDL v1.3 (24/06/2112) EmptyMon Apr 20, 2015 1:52 pm by ertyanna

» expansions cityville hack new 12/12/15
[PLUGIN] ImageDL v1.3 (24/06/2112) EmptySat Feb 14, 2015 9:52 pm by nico

» Biohazard Problem Expansion
[PLUGIN] ImageDL v1.3 (24/06/2112) EmptySat Nov 08, 2014 3:12 pm by CV FO LIFE

» CAN SOMEONE HELP ME?
[PLUGIN] ImageDL v1.3 (24/06/2112) EmptySat Nov 08, 2014 3:09 pm by CV FO LIFE

» hello friends i have new update of cv bot project devil 1.10 update (2.01)
[PLUGIN] ImageDL v1.3 (24/06/2112) EmptySat Nov 01, 2014 12:59 pm by Blue Angel

» [Resolved] codebase-php Error
[PLUGIN] ImageDL v1.3 (24/06/2112) EmptySun Oct 12, 2014 7:22 am by nico

» -_- Which bot is now working ????
[PLUGIN] ImageDL v1.3 (24/06/2112) EmptyThu Oct 09, 2014 7:06 pm by lobobpf6

» bot 1.2 does nt work
[PLUGIN] ImageDL v1.3 (24/06/2112) EmptySun Aug 10, 2014 1:00 am by nathaliafariass

» COMO FUNCIONA
[PLUGIN] ImageDL v1.3 (24/06/2112) EmptySun Aug 10, 2014 12:38 am by nathaliafariass

Affiliates
free forum


[PLUGIN] ImageDL v1.3 (24/06/2112)

+4
buxx
demian.kinley
nipunb
Little Todd
8 posters

Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  Little Todd Mon Apr 23, 2012 6:46 pm

Since there was an interest in a stand alone plugin for downloading the images, I have decided to give everyone access to my ImageDL Plugin.

If your like me, I prefer to only have active, plugins that are being used. Thus speeding up the bot, by not running code that really does nothing.

This Plugin accomplishes the goal as the Image Downloader contained in the Multi Plugin.

Code was originally extracted from the Multi Plugin, but I have rewritten most of the code to be faster and more efficient.

With this plugin active, there is no need to have the Multi plugin active in order to download the latest image files for use in other plugins.

v1.1
Added item name to log output of images downloaded.
Added pictures of the last images downloaded.

*Note: There will be no pictures until the bot downloads new images. To test, delete a few files from the assets directory, press 'Reset Images' and run bot. Refresh the ImageDL Plugin and you should see the pictures of the Images you deleted. (Remember, the more files you delete, the longer it will take to re-download them.)

v1.2
Fix issue with plugins not being able to find the images.

v1.3
Fixed hook so images are downloaded after the database has been created.
Database now keeps original Revision of when an image was first downloaded (tnx albertos).
Fixed issue with spaces being in file names. (url is encoded to deal with any special charactars).
Added counter showing how many more images need to be downloaded.

Code:
http://www.mediafire.com/download.php?a6wbm4e267bmm12

Enjoy,
Little Todd


Last edited by Little Todd on Mon Jun 25, 2012 3:29 am; edited 6 times in total

Little Todd

Posts : 409
Points : 425
Join date : 2012-02-23

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  nipunb Mon Apr 23, 2012 6:54 pm

great, tried it and its really good, the log was a lot cleaner coz it doesn't show the URL of the downloaded images and download was faster too.......
just one suggestion, in the log, it show 'icon.png' at the end of code of every image, can it be done like multi plugin, under which it just showed the code of images, without the end part????

nipunb

Posts : 362
Points : 374
Join date : 2011-10-08

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  Little Todd Mon Apr 23, 2012 8:35 pm

nipunb wrote:great, tried it and its really good, the log was a lot cleaner coz it doesn't show the URL of the downloaded images and download was faster too.......
just one suggestion, in the log, it show 'icon.png' at the end of code of every image, can it be done like multi plugin, under which it just showed the code of images, without the end part????

Are you referring to the item name instead of the file name?


Little Todd

Posts : 409
Points : 425
Join date : 2012-02-23

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  demian.kinley Mon Apr 23, 2012 8:41 pm


thanks, Little Todd for this nice plugin, works very fast

demian.kinley

Posts : 323
Points : 351
Join date : 2012-02-20

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  buxx Mon Apr 23, 2012 10:16 pm

great work, maybe you could show some of the images downloaded

buxx

Posts : 44
Points : 61
Join date : 2011-10-08

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  AQIROCK Tue Apr 24, 2012 1:17 am

wow! fast loading image! thanks little todd!
AQIROCK
AQIROCK

Posts : 426
Points : 448
Join date : 2011-12-11
Age : 42

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  Little Todd Tue Apr 24, 2012 1:27 am

buxx wrote:great work, maybe you could show some of the images downloaded

This plugin does not store any data in the db, so I would have to save the info about the latest images downloaded some how.....

Let me think of an easy and efficient way to do so.

I'll see what I can do.

Little Todd

Posts : 409
Points : 425
Join date : 2012-02-23

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  Little Todd Tue Apr 24, 2012 5:10 am

Updated Plugin to v1.1

See first post.

Little Todd

Posts : 409
Points : 425
Join date : 2012-02-23

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  AQIROCK Tue Apr 24, 2012 5:17 am

thanks for the update Little Todd Very Happy
AQIROCK
AQIROCK

Posts : 426
Points : 448
Join date : 2011-12-11
Age : 42

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  farach Wed Apr 25, 2012 12:32 pm

Great ... thank you


as always ... bounce cheers

farach

Posts : 58
Points : 58
Join date : 2012-03-10

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  starpuzzles Thu Apr 26, 2012 4:34 pm

Thank you Smile

starpuzzles

Posts : 13
Points : 13
Join date : 2011-09-22

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  nipunb Fri Apr 27, 2012 10:12 am

Little Todd wrote:Are you referring to the item name instead of the file name?
actually I meant changing this line:

Code:
$bot->SendMsg("[ImageDL] Downloading: ". $filename ." - ( ". $key ." )");

to just this:
Code:
$bot->SendMsg("[ImageDL] Downloading: ". $key ."");

nipunb

Posts : 362
Points : 374
Join date : 2011-10-08

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  Little Todd Sat Apr 28, 2012 6:13 pm

It as come to my attention that this plugin is not updating the database correctly, and therefore other plugins are not able to find the images.

v1.2 corrects this problem.

See first post.

Little Todd

Little Todd

Posts : 409
Points : 425
Join date : 2012-02-23

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  AQIROCK Mon Apr 30, 2012 2:15 am

Little Todd wrote:It as come to my attention that this plugin is not updating the database correctly, and therefore other plugins are not able to find the images.

v1.2 corrects this problem.

See first post.

Little Todd

thanks for update Little Todd! I love you
AQIROCK
AQIROCK

Posts : 426
Points : 448
Join date : 2011-12-11
Age : 42

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  colinpritham Mon May 07, 2012 9:58 am

thanks nice plugin would like if it had collection feature of multi plugin as multi plugin is kind of slow....or a separate plugin to trade collection items.
colinpritham
colinpritham

Posts : 46
Points : 48
Join date : 2011-09-29

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  demian.kinley Tue May 08, 2012 9:29 am


hi, Little Todd, thanks for your plugin anyway, is a chance , bring with the newest items an info about 'type' too ?

a small update ?

demian.kinley

Posts : 323
Points : 351
Join date : 2012-02-20

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  Little Todd Mon Jun 25, 2012 3:23 am

Updated.

See first post.

Little Todd

Posts : 409
Points : 425
Join date : 2012-02-23

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  AQIROCK Mon Jun 25, 2012 6:47 am

Thanks for the update Todd!
AQIROCK
AQIROCK

Posts : 426
Points : 448
Join date : 2011-12-11
Age : 42

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  nipunb Mon Jun 25, 2012 9:44 am

Little Todd wrote:Updated.

See first post.
working perfectly now, that glass door image is now downloaded correctly...
and must say, the addition of the $Total string in hook, that displays the consecutive numbers with each image, it looks very good....
great work.... Smile

nipunb

Posts : 362
Points : 374
Join date : 2011-10-08

Back to top Go down

[PLUGIN] ImageDL v1.3 (24/06/2112) Empty Re: [PLUGIN] ImageDL v1.3 (24/06/2112)

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum