Jump to content
Sign in to follow this  
0000

Program which generates another program [Insane]

Recommended Posts

Hi. I'm creating bot with private settings ;D for every PC...

So I have 2 Sources...

1 bot , 2 Style + Option menu....

I want create smthing Like:

Ppl set Options push Create Bot...

And here is bot + options...

I tried to make like that:

On push:

FileWrite($file, "Bot source")

FileWrite($file,"...")

FileWrite($file,"...")

...

And then Compile with cmd...

X:\Program Files\AutoIt3\Aut2Exe\Aut2exe.exe /in C:\Bot.au3 /out C:\Bot.exe /nopack

But it didin't work, because FileWrite can't read a lot of " " " " or () )()()( ) ....

So I need some ideas how to that :]

and some examples...

Thanx.

Mr. 0000

Share this post


Link to post
Share on other sites

But it didin't work, because FileWrite can't read a lot of " " " " or () )()()( ) ....

So I need some ideas how to that :]

FileWrite can write any character... show an example that shows it doesn't work ...

Share this post


Link to post
Share on other sites

FileWrite($file, "HotKeySet ( "i" , "inventory")" @CRLF)

;/////////

FileWrite($file, "Func _i()"@CRLF)

FileWrite($file, "HotKeySet ( "i")"@CRLF) ; set key

FileWrite($file, "WinActivate("MyGame")"@CRLF)

FileWrite($file, "send("i")"@CRLF) ; opens inventory

;;; Here will be inventory reading items

;; compare them to the list

FileWrite($file, "HotKeySet ( "i" , "inventory" )"@CRLF) ;set func

FileWrite($file, "EndFunc")"@CRLF) ;end.

Here are a lot off errors with <"> and <)(>.

Share this post


Link to post
Share on other sites

none of these lines are valid.

..but the simple solution is :

FileWrite($file, 'HotKeySet ( "i" , "inventory")' & @CRLF)

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...