Jump to content

XProTec.au3 = automated Protect and get *Paid*


Valuater
 Share

Recommended Posts

BotXpert, your donation to Autoit is appreciated... Very Much!!!

As noted in the last/above post, the FREE Version is available at the top of the page and no developer number is needed. The pay version is no longer supported.

8)

Still, it's a great way for AutoIT to gain some funds! I donated because of this project, although, I have never even used it yet :)

Link to comment
Share on other sites

  • 1 month later...

I apologise if this has been answered before; but in your script (which is brilliant:p) i spotted this:

Global $smtpserver = "YOUR_SERVER"

Global $sendusername = "YOUR_SERVER_USER_NAME"

Global $sendpassword = "YOUR_SERVER_USERS_PASSWORD"

Now just say i change server at some point in time; would it therefore break the programs registration process? What is this actually needed for?

and would smtp.googlemail.com work?

Edited by Donace
Link to comment
Share on other sites

I apologise if this has been answered before; but in your script (which is brilliant:p) i spotted this:

Global $smtpserver = "YOUR_SERVER"

Global $sendusername = "YOUR_SERVER_USER_NAME"

Global $sendpassword = "YOUR_SERVER_USERS_PASSWORD"

Now just say i change server at some point in time; would it therefore break the programs registration process? What is this actually needed for?

and would smtp.googlemail.com work?

Thanks...

The answer to the email questions are here

Info for this function by JdeB = http://www.autoitscript.com/forum/index.ph...st&p=166575

(which is brilliant:p) ... and "we'll keep the light on for you"... lol

8)

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

Hi Valuater,

I am trying to test your latest XProTec_Free.au3. I have read through all the

posts in this thread /twice/ and it would be great if I could get the dam thing to work for

me. ;)

I get no syntaxcheck errors before compile, but when I compile and run the script, I get the following error message after I enter a users email address and click the OK button.

AutoIt

Line -1:

error: Variable used without being declared.

Here are the only changes I have made to the Demo script for testing purposes.(extra space after web site names is deliberate to prevent hyperlink)

$D_Mail = "developer@mysite.com "; your email
$D_Program = "myprogram"; your program name
$U_Price = "2.00"; the amount of money you wish to be payed by the user
$U_Trial = "0"; amount of days for the trial period
$U_License = "3"; 3 = one computer only - see license notes
$D_License = "123456789"; developers license # 
$D_PayPal = "www.paypal.com/my account-link to paypal"; - paypal link 
$D_Link = "www.mywebsite.com/.../"; looks for "www.mywebsite.com/.../Blacklist.txt"; see Blacklist $U_Return = 1; pay or quit .... or  $U_Return = 0; will return control to developer with @extended = 6 [Limited Freeware Option]

XProTec($D_Mail, $D_Program, $U_Price, $U_Trial, $U_License, $D_License, $D_PayPal, $D_Link, $U_Return)

; your script starts here ..............

#include-once

Global $smtpserver = "smtp.mymailserver.com "
Global $sendusername = "myusername"
Global $sendpassword = "mypassword"

Note I have NOT included the "#include<XProTec.au3>" because this generates heaps more duplicate syntaxcheck errors. I guess this is just an obfuscated copy of XProTec_Free.au3 anyway, so was not required.

BTW Thanks for making this script. :D

Link to comment
Share on other sites

Hi Valuater,

I am trying to test your latest XProTec_Free.au3. I have read through all the

posts in this thread /twice/ and it would be great if I could get the dam thing to work for

me. ;)

I get no syntaxcheck errors before compile, but when I compile and run the script, I get the following error message after I enter a users email address and click the OK button.

AutoIt

Line -1:

error: Variable used without being declared.

Here are the only changes I have made to the Demo script for testing purposes.(extra space after web site names is deliberate to prevent hyperlink)

$D_Mail = "developer@mysite.com "; your email
 $D_Program = "myprogram"; your program name
 $U_Price = "2.00"; the amount of money you wish to be payed by the user
 $U_Trial = "0"; amount of days for the trial period
 $U_License = "3"; 3 = one computer only - see license notes
 $D_License = "123456789"; developers license # 
 $D_PayPal = "www.paypal.com/my account-link to paypal"; - paypal link 
 $D_Link = "www.mywebsite.com/.../"; looks for "www.mywebsite.com/.../Blacklist.txt"; see Blacklist $U_Return = 1; pay or quit .... or  $U_Return = 0; will return control to developer with @extended = 6 [Limited Freeware Option]
 
 XProTec($D_Mail, $D_Program, $U_Price, $U_Trial, $U_License, $D_License, $D_PayPal, $D_Link, $U_Return)
 
; your script starts here ..............
 
 #include-once
 
 Global $smtpserver = "smtp.mymailserver.com "
 Global $sendusername = "myusername"
 Global $sendpassword = "mypassword"

Note I have NOT included the "#include<XProTec.au3>" because this generates heaps more duplicate syntaxcheck errors. I guess this is just an obfuscated copy of XProTec_Free.au3 anyway, so was not required.

BTW Thanks for making this script. :D

The file must be included of course and I noticed you do not use $U-Return ( it is not at the left, you need to hit enter and bring it to the left )

, that must be the error AFAIK

$U_Return = 1 ; pay or quit .... or $U_Return = 0 ; will return control to developer with @extended = 6 [Limited Freeware Option]

8)

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

Hi

If I include "#include<XProTec.au3>" I get this error message at myprogram.exe run time.

AutoIt error

Line -1:

error: Duplicate function name

Also I have tried placing 1, 0, and a 6 in $U_Return = and I get the same error

AutoIt

Line -1:

error: Variable used without being declared.

could you explain how I should "use" this variable $U_Return =? Am I missing some info about what should be placed here? Thanks.

PS and yes, $U_Return variable is on the left. (I made typo in post - sorry)

Regards

Edited by ZenPro
Link to comment
Share on other sites

First...

Yours...

$D_Mail = "developer@mysite.com "; your email
 $D_Program = "myprogram"; your program name
 $U_Price = "2.00"; the amount of money you wish to be payed by the user
 $U_Trial = "0"; amount of days for the trial period
 $U_License = "3"; 3 = one computer only - see license notes
 $D_License = "123456789"; developers license #
 $D_PayPal = "www.paypal.com/my account-link to paypal"; - paypal link
 $D_Link = "www.mywebsite.com/.../"; looks for "www.mywebsite.com/.../Blacklist.txt"; see Blacklist $U_Return = 1; pay or quit .... or  $U_Return = 0; will return control to developer with @extended = 6 [Limited Freeware Option]
 
 XProTec($D_Mail, $D_Program, $U_Price, $U_Trial, $U_License, $D_License, $D_PayPal, $D_Link, $U_Return)
 
; your script starts here ..............
 
 #include-once
 
 Global $smtpserver = "smtp.mymailserver.com "
 Global $sendusername = "myusername"
 Global $sendpassword = "mypassword"

the way it should be

$D_Mail = "developer@mysite.com "; your email
$D_Program = "myprogram"; your program name
$U_Price = "2.00"; the amount of money you wish to be payed by the user
$U_Trial = "0"; amount of days for the trial period
$U_License = "3"; 3 = one computer only - see license notes
$D_License = "123456789"; developers license #
$D_PayPal = "www.paypal.com/my account-link to paypal"; - paypal link
$D_Link = "www.mywebsite.com/.../"; looks for "www.mywebsite.com/.../Blacklist.txt"; see Blacklist 
$U_Return = 1; pay or quit .... or  $U_Return = 0; will return control to developer with @extended = 6 [Limited Freeware Option]

XProTec($D_Mail, $D_Program, $U_Price, $U_Trial, $U_License, $D_License, $D_PayPal, $D_Link, $U_Return)

; your script starts here ..............

#include-once

Global $smtpserver = "smtp.mymailserver.com "
Global $sendusername = "myusername"
Global $sendpassword = "mypassword"

can you see the difference?

$U_Return = 1; pay or ..... ( this is now on the left of the screen and not commented out by the ";" semi-colon )

... edit fixed dif

8)

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

for you other error

#include<XProTec.au3> ; MUST BE AN INCLUDE

$D_Mail = "developer@msn.com " ; your email

$D_Program = "My_Program_Name" ; your program name

$U_Price = "20.00" ; the amount of money you wish to be payed by the user

$U_Trial = "30" ; amount of days for the trial period

$U_License = "3" ; 3 = one computer only - see license notes

$D_License = "123456789" ; developers license #

$D_PayPal = "www.paypal.com/my account-link to paypal" ; - paypal link

$D_Link = "www.mywebsite.com/.../" ; looks for "www.mywebsite.com/.../Blacklist.txt" ; see Blacklist

$U_Return = 1 ; pay or quit .... or $U_Return = 0 ; will return control to developer with @extended = 6 [Limited Freeware Option]

XProTec($D_Mail, $D_Program, $U_Price, $U_Trial, $U_License, $D_License, $D_PayPal, $D_Link, $U_Return)

; your script starts here ..............

*************** NOTICE THE INCLUDE IS AT THE TOP ******************

it is not under all that code like your script is

8)

NEWHeader1.png

Link to comment
Share on other sites

Hi yes I understand, you picked up my POST error. ;) My code in the program looks exactly like "the way it should be".

I am getting the errors above with this code. "the way it should be".

$U_Return = 1; ...IS hard to the left OK? but I still get the errors stated above in my first post with the code exactly like this.

$D_Mail = "developer@mysite.com "; your email
$D_Program = "myprogram"; your program name
$U_Price = "2.00"; the amount of money you wish to be payed by the user
$U_Trial = "0"; amount of days for the trial period
$U_License = "3"; 3 = one computer only - see license notes
$D_License = "123456789"; developers license #
$D_PayPal = "www.paypal.com/my account-link to paypal"; - paypal link
$D_Link = "www.mywebsite.com/.../"; looks for "www.mywebsite.com/.../Blacklist.txt"; see Blacklist 
$U_Return = 1; pay or quit .... or  $U_Return = 0; will return control to developer with @extended = 6 [Limited Freeware Option]

XProTec($D_Mail, $D_Program, $U_Price, $U_Trial, $U_License, $D_License, $D_PayPal, $D_Link, $U_Return)

; your script starts here ..............

#include-once

Global $smtpserver = "smtp.mymailserver.com "
Global $sendusername = "myusername"
Global $sendpassword = "mypassword"

Any ideas as to what to try next?

PS. yes this "#include<XProTec.au3> ; MUST BE AN INCLUDE" is placed at

the top as in your original script.

I still get the same errors

Regards

Edited by ZenPro
Link to comment
Share on other sites

Hi

Any ideas as to what to try next?

PS. yes this "#include<XProTec.au3> ; MUST BE AN INCLUDE" is placed at

the top as in your original script.

#include<XProTec.au3>; MUST BE AN INCLUDE

$D_Mail = "developer@mysite.com "; your email
$D_Program = "myprogram"; your program name
$U_Price = "2.00"; the amount of money you wish to be payed by the user
$U_Trial = "0"; amount of days for the trial period
$U_License = "3"; 3 = one computer only - see license notes
$D_License = "123456789"; developers license #
$D_PayPal = "www.paypal.com/my account-link to paypal"; - paypal link
$D_Link = "www.mywebsite.com/.../"; looks for "www.mywebsite.com/.../Blacklist.txt"; see Blacklist 
$U_Return = 1; pay or quit .... or  $U_Return = 0; will return control to developer with @extended = 6 [Limited Freeware Option]

XProTec($D_Mail, $D_Program, $U_Price, $U_Trial, $U_License, $D_License, $D_PayPal, $D_Link, $U_Return)

; your script starts here ..............

#include-once

Global $smtpserver = "smtp.mymailserver.com "
Global $sendusername = "myusername"
Global $sendpassword = "mypassword"

I still get the same error as above:

Line -1:

error: Duplicate function name

Regards

Link to comment
Share on other sites

hey man gonna bug you again ;)

got the code set up as below

#include<XProTec_Free.au3>

$D_Mail = "myemail@myhost.com "; your email
$D_Program = "thename"; your program name
$U_Price = "0.00"; the amount of money you wish to be payed by the user
$U_Trial = "0"; amount of days for the trial period
$U_License = "1"; 3 = one computer only - see license notes
$D_License = "E3AC1A154BB180E9"; developers license #
$D_PayPal = ""; - paypal link
$D_Link = "www.mysite.com/.../{ENTER}"; looks for "www.mywebsite.com/.../Blacklist.txt"; see Blacklist
$U_Return = 1; pay or quit .... or  $U_Return = 0; will return control to developer with @extended = 6 [Limited Freeware Option]

XProTec($D_Mail, $D_Program, $U_Price, $U_Trial, $U_License, $D_License, $D_PayPal, $D_Link, $U_Return)

rest of my script

in the .au3 this is what i have changed

Global $smtpserver = "smtp.googlemail.com"
Global $sendusername = "username"
Global $sendpassword = "mypass"

Now when i run the program; i get the to register as a user etc. though when i type in my email and press ok i get 'This Program has been interupted by a Fatal COM Error"

Any help appreciated

Link to comment
Share on other sites

in the .au3 this is what i have changed

Global $smtpserver = "smtp.googlemail.com"
   Global $sendusername = "username"
   Global $sendpassword = "mypass"

Now when i run the program; i get the to register as a user etc. though when i type in my email and press ok i get 'This Program has been interupted by a Fatal COM Error"

Any help appreciated

Click Here

8)

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

read through that; cant see the problem;

Cheers

post a question there for Jos, he can help you with the object mail function.

I thought there were others who asked about using/setting-up gmail also.

... might want to search for that too!

is that googlemail you used?????

The mailer works but there are settings needed and that is what jos can help you with

8)

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

@ Valuater the standalone script for emailing works fine; for gmail i tried changing the port but it still would not work; it would hang; your insight is appreciated.

Donace

Then... Just replace the "mailer" function with the standalone one from Jos

.. it should work just fine!

8)

NEWHeader1.png

Link to comment
Share on other sites

so a simple copy and paste will solve it?... what about the validation code etc required for the program?

Cheers

[EDIT]I tired tweaking it and replacing parts from the working mailer into xprotect, but it just kept on throwing errors at me; any help solving the matter appreciated as always.

Donace

Edited by Donace
Link to comment
Share on other sites

so a simple copy and paste will solve it?... what about the validation code etc required for the program?

Cheers

[EDIT]I tired tweaking it and replacing parts from the working mailer into xprotect, but it just kept on throwing errors at me; any help solving the matter appreciated as always.

Donace

Send me a zip file with two .au3 files in it.

1. The non-working code you used including XProTec

2. The working email code

I will find the problem

again, PM me with a zipped file that includes a working email script and the non-working program you have with XProTec.au3

8)

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...