Go Back   Gaming Gutter > Non-Gaming > Programming > Random programs


» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» Recent Threads
Go to first new post So my friends sister ODed
Today 02:12 PM
by Boink
Last post by Fewmitz
Today 07:26 PM
3 Replies, 24 Views
Go to first new post I'm watching...
Today 07:17 PM
Last post by Hodizzle
Today 07:17 PM
0 Replies, 1 Views
Go to first new post Sidespin leeches guides!
Today 05:48 PM
Last post by cookieface
Today 07:16 PM
12 Replies, 31 Views
Go to first new post Old neopets.
09-14-2008 11:38 AM
Last post by abcdshawn123
Today 07:14 PM
17 Replies, 205 Views
Go to first new post **WARNING RACIST CONTENT...
Today 04:44 PM
by nomhak
Last post by Hodizzle
Today 07:13 PM
18 Replies, 93 Views
Reply
 
LinkBack Thread Tools Display Modes

 My wrapper includes a simple ocr
Old 02-09-2007, 08:50 PM   #1 (permalink)
screamdreams
Guest

 
Posts: n/a
iTrader: / %
My wrapper includes a simple ocr

I am releasing my wrapper as an OCX. It works flawlessly for me and is more than comparable speed wise with ripper w/zgate.

The one I had made with winsock API got fubar'd so I redid it with winsock control. Speed difference is much better with it this way, I have now quit with winsock API. It has no real benefit speed wise in my opinion.
Features of this wrapper.
GZIP
Proxy support
Simple neopets OCR function.
Streaming Picture for ocr(no need to download the capture image)
Headers are precise to firefox 2.0.

Its a real simple wrapper, no other functions are built into it yet, not even sure if I will add any more.

Sample usage:
Code:
wrapper.UseProxy ("192.168.0.1:8080")
strhtml = wrapper.Nget("www.neopets.com/petcentral.phtml")
strhtml = wrapper.NPost("www.neopets.com/login.phtml", "username=" & user & "&password=" & password & "&destination=%2Fpetcentral.phtml")
wrapper.NOCR (link)
wrapper.StopProxy
A sample showing ease of OCR function.
Code:
link = wrapper.GetBetween(strhtml, "captcha_show.phtml?_x_pwned=", ChrW(34))
    txtocr = wrapper.NOCR(link)
Thats all you need to use the ocr, no need for a picturebox its on the wrapper. You should also notice it does not download the picture but streams it in.
Speeds on buys are around 700ms for my connection. Thats from finding item thru the buy.

This should make it alot easier for people wanting to make an aber.
Comments are very welcome.
When releasing your projects do not forget to also release the the ocx and the UnZip.dll with it or your programs will not work.

Last edited by screamdreams; 02-11-2007 at 11:23 AM.
  Reply With Quote

 Re: My wrapper includes a simple ocr
Old 02-09-2007, 10:04 PM   #2 (permalink)
screamdreams
Guest

 
Posts: n/a
iTrader: / %
Re: My wrapper includes a simple ocr

I hate doing this and hope you don't really count it as a double post.
I wanted to post the results of a preliminary speed test between this and ripper w/zgate.
The results are below.
Outline of the test.
I made a project with both wrappers on it. I then made 4 buttons. One a piece for a log in and one for the following routine after it logged in.
The routine is a simple page refresher. Each wrapper refreshed the inventory screen 50 times with a one second interval between. After they refreshed 50 times the average time it took was calculated. Below are the results.

Ripper w/zgate
499.38
447.18
458.44
424.08
418.12

My wrapper
452.82
480.64
449.98
453.12
391.26

Overall Average from 250 refreshes ripper 449.44, mine 445.564.
As you can see the wrappers are pretty much dead even. There is no real difference. I am going to continue to run these test to get a larger sample, but I think it is not needed.
  Reply With Quote

 Re: My wrapper includes a simple ocr
Old 02-09-2007, 10:07 PM   #3 (permalink)
Underground

Male Ryan is offline
 
Ryan's Avatar
 
Join Date: Oct 2006
Posts: 10,308
iTrader: 0 / 0%
Ryan Is gaining popularity
Rep Power: 20
Re: My wrapper includes a simple ocr

Nah, you can DP.

SInce you're senior programmer, but just in this section.

GJ btw.
__________________


i swear its my moped -nods- hahahha
  Reply With Quote

 Re: My wrapper includes a simple ocr
Old 02-11-2007, 06:38 AM   #4 (permalink)
Underground

Male Nitech is offline
 
Nitech's Avatar
 
Join Date: Jan 2007
Location: Russia
Age: 14
Posts: 226
iTrader: 0 / 0%
Nitech Is gaining popularity
Rep Power: 6
Re: My wrapper includes a simple ocr

Nice. Your API one didn't work for meh for some reason. I am definetly going to download this one
__________________

Quote:
Vlad says:
LEL 20 DUELRZ PLIZ ;O
Ryan says:
HAHA NO LOL
Vlad says:
You like men.
^Lesson learnt.
  Reply With Quote

 Re: My wrapper includes a simple ocr
Old 02-11-2007, 11:20 AM   #5 (permalink)
screamdreams
Guest

 
Posts: n/a
iTrader: / %
Rep Power:
Re: My wrapper includes a simple ocr

Good thing not many downloaded this yet. After some more extensive testing it would fail on the cookies every once and blue moon(I am talking like once every 2000 or so refreshes). I have been recoding this and I should have a fixed one released soon.
  Reply With Quote

 
Old 08-21-2007, 10:09 AM   #6 (permalink)
Underground

Male m0nk3y_i3unz is offline
 
m0nk3y_i3unz's Avatar
 
Join Date: Jul 2007
Location: *tap tap* Behind you...
Age: 15
Posts: 988
iTrader: 0 / 0%
m0nk3y_i3unz Is gaining popularity
Rep Power: 5
Moved, for same reason as others.
__________________
333
Im only half evil.


Thanks Sejiru!!! U rox!

Its not my fault if I started all the interesting threads. (Reply to a post written to me ^^)

Thanks Sejiru! ... Again :P

Quote:
James: Good lick!
Greg2o: Wha...What?
James: Whatever you know what I meant. Dont act stupid.
James: Now shutup and work!
Quote:
on a scale of 1 to chris owens, your easily a john baxter.
  Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -7. The time now is 07:26 PM.


vBulletin skin developed by: eXtremepixels
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.16030312 seconds (100.00% PHP - 0% MySQL) with 19 queries