Jump to content

Recommended Posts

Posted

i was wondering if autoit has a feature that can be used like Printf to put text on another window.

well that or something like it

-BladeZ

Posted (edited)

sorry no i dont think thats what im looking for. i have a game (diablo ii) and i need to print a bool status to the screen.

EDIT: What im looking for is something like ToolTip but without the backround color and able to change the texts size / color / font

-BladeZ

Edited by BladeZ
Posted (edited)

Obviously, this isn't exactly what you're looking for, but I know you can do it this way if you want:

Since Diablo II is going to be your active window (or at least, it would be if I did it), you can always press enter, and type in ! and your text to get an overhead message. Example:

$YourText = "This is a message."

Send ("{ENTER}") ; open chat thingy...

Send ("!" & $YourText)

Send ("{ENTER}") ; close chat, sending text to overhead bubble

This would send "This is a message." to the overhead bubble in DII. Of course, you could simplify those statements into one, but I split it up to show the steps.

EDIT -->

Also, this is a standard Diablo II font/size/color, so that's not it. But it is something.

You could also use Splash Text if your Diablo II is in window mode. SplashTextOn ( "title", "text" [, w [, h [, x pos [, y pos [, opt [, "fontname" [, "fontsz" [, "fontwt"]]]]]]]] )

That allows you all sorts of options, but it's not inside Diablo II.

Edited by greenmachine
Posted

Obviously, this isn't exactly what you're looking for, but I know you can do it this way if you want:

Since Diablo II is going to be your active window (or at least, it would be if I did it), you can always press enter, and type in ! and your text to get an overhead message. Example:

$YourText = "This is a message."

Send ("{ENTER}") ; open chat thingy...

Send ("!" & $YourText)

Send ("{ENTER}") ; close chat, sending text to overhead bubble

This would send "This is a message." to the overhead bubble in DII. Of course, you could simplify those statements into one, but I split it up to show the steps.

EDIT -->

Also, this is a standard Diablo II font/size/color, so that's not it. But it is something.

ya i was going to be doing that but i need this message to stay on screen and i dont want other people in the game to see it.

Posted

You need d2hackit. Let me see if I possibly have the files anymore...

Sorry it seems I have lost them. Try

http://www.mewgood.com/

Or search for D2Hackit. There is not much AutoIt can do for you in that respect. Unless you want to make a splash but that does not leak through a game window.

AutoIt Smith

Posted

What's the purpose of this? You need text on screen that others shouldn't be able to see, but are other people going to be in the game? Or is this for a bot, where you should be the only one there?

Posted

its a program im planning on releasing called HealthHelper it checks your current health and mana and then if it sees there below 50% it drinks a pot

and i need to tell them that its running and print created by blablabla

Posted

This cannot be created in AUTOIT. It can however be created using d2hackit and Dlls. Try making a Dll with a call structure of D2WinWrite(Color, Text, Win) and have AutoIt call it using DllCall.

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
  • Recently Browsing   0 members

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