Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 18:40

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Text ingame anzeigen per Autoit ?

Discussion on Text ingame anzeigen per Autoit ? within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2008
Posts: 33
Received Thanks: 2
Text ingame anzeigen per Autoit ?

Hy Leute!
ich spiele mich zZ mit memorys in ROSE online.
ich will zB jetz die exps die ich bis zum lvl up brauche ingame anzeigen.
wie kann ich diesen text jetzt dort ingame anzeigen.
mit cpp könnte man dies durch D3D regeln. nur will ich das ganze mit AutoIt machen und wollte nun fragen ob dies möglich ist.

mfg reyas
reyas is offline  
Old 05/18/2009, 22:28   #2
 
elite*gold: 0
Join Date: Nov 2008
Posts: 576
Received Thanks: 191
proxy dll (gpcomms.dll) von mikoweb.eu benutzen. da sind funktionen wie:
GPSL_SetTextLineData
GPSL_ShowText
__wadim is offline  
Thanks
1 User
Old 05/19/2009, 12:10   #3

 
Adroxxx's Avatar
 
elite*gold: 15
Join Date: Nov 2005
Posts: 13,021
Received Thanks: 5,323
Falsches Forum -> moved
Adroxxx is offline  
Old 05/19/2009, 12:33   #4
 
elite*gold: 0
Join Date: Oct 2008
Posts: 33
Received Thanks: 2
hmm. funktioniert doch noch ned :/

also ich hab jetz die dll gecalled mit dem befehl den ich will und auch die einzelnen parameter in der funktion so eingestellt wie ich will.

PHP Code:
dllcall("gpcomms.dll","int","GPSL_ShowText")
GPSL_ShowText(1)
dllcall("gpcomms.dll","int""GPSL_SetTextLineData")
GPSL_SetTextLineData(200,200,$expleft,0xFF000000,0,150,1
das prog startet sich. und stürzt sofort wieder ab
mit folgendem fehler
PHP Code:
>Exit code: -1073741819    Time1.729 
reyas is offline  
Old 07/10/2009, 00:54   #5
 
elite*gold: 0
Join Date: Jul 2009
Posts: 9
Received Thanks: 0
ich habs getestet in autoit 3.3 und hab folgendes geändert:
"int" => "bool" also einfach die integer durch booleans ersetzt dann hat schonmal das callen geklappt aber die funktionen erkennt er so net zumindest bei mir^^

PHP Code:
DllCall("gpcomms.dll""bool""GPSL_ShowText""bool"1)
DllCall("gpcomms.dll""bool""GPSL_SetTextLineData""word"10"word"10"lpctstr"$text 0x0"dword"0xffffffff"bool"True"byte"10"bool"False
auf die weise hab ich es mal versucht; return: 0 also irwie hab ich das mit dem callen nicht so ganz begriffen pls help
wildstylish is offline  
Old 07/10/2009, 14:04   #6
 
elite*gold: 0
Join Date: Nov 2008
Posts: 576
Received Thanks: 191
Code:
Func TextWriteLine($dll, $text, $ObjectNumber = 1, $PosX = 15, $PosY = 15, $SizeX = 600, $SizeY = 300, $TextColor = 0x9CFF00, $TextTrans = 455, $BlackBackground = 0, $FontSize = 18, $TextBold = 1)
	If $TextTrans > 255 Then $TextTrans = 255
	If $TextTrans < 0 Then $TextTrans = 0
	$colorges = $TextColor + $TextTrans * 0x01000000
	If $dll = -1 Then
		SetError(1)
		Return (-1)
	EndIf
	$return = DllCall($dll, "Int", "GPSL_SetTextLineData", "Int", $ObjectNumber, "ushort", $PosX, "ushort", $PosY, "Str", $text, "Int", $colorges, "Int", $BlackBackground, "Int", $FontSize, "Int", $TextBold, "Int", 1)
	If @error > 0 Or $return = 0 Then
		SetError(1)
		Return (-1)
	EndIf
	$return = DllCall($dll, "Int", "GPSL_ShowText", "Int", $ObjectNumber, "Int", 1)
	If @error > 0 Or $return = 0 Then
		SetError(1)
		Return (-1)
	EndIf
EndFunc   ;==>TextWriteLine

Func NewPicture($PathToFile, $ShowIt, $PosX, $PosY)
	$return = DllCall($dll, "Int", "GPPIC_LoadNewPicture", "Str", $PathToFile)
	If @error > 0 Or $return = 0 Then
		SetError(1)
		Return (-1)
	EndIf
	$return = DllCall($dll, "Int", "GPPIC_ShowPicturePos", "Str", $ShowIt, "ushort", $PosX, "ushort", $PosY)
	If @error > 0 Or $return = 0 Then
		SetError(1)
		Return (-1)
	EndIf
EndFunc   ;==>NewPicture
wie man die funktionen aufruft, kannst du dir wohl selbst erklären
__wadim is offline  
Thanks
3 Users
Old 07/10/2009, 20:27   #7
 
elite*gold: 0
Join Date: Jul 2009
Posts: 9
Received Thanks: 0
musste da bei newpicture was ändern, dass es klappte.
Func NewPicture($dll, $PathToFile, $ShowIt, $PosX, $PosY)

funktioniert soweit nur von den fehlern her fehlerfrei zeigt mir aber weder text noch bild an. verwendet hab ich ne bmp.
schreibt bitte, falls jemandem noch was einfällt (was ich nicht glaube) :>

edit: funktioniert es bei guild wars ÜBERHAUPT oder sind alle bemühungen vergebens?
wildstylish is offline  
Old 07/10/2009, 21:27   #8
 
elite*gold: 0
Join Date: Nov 2008
Posts: 576
Received Thanks: 191
na klar funktionierts bei guild wars! hast du die dll überhaupt injeziert?
__wadim is offline  
Thanks
1 User
Old 07/10/2009, 22:07   #9
 
elite*gold: 0
Join Date: Jul 2009
Posts: 9
Received Thanks: 0
oh man muss man die injecten um sie zu callen xD
k mach ich mal :S

und wie calle ich die jetzt???
wildstylish is offline  
Old 07/10/2009, 22:13   #10
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
he thx funktioniert super, werde mich mal bisl intensiver damit beschäftigen.

kknb is offline  
Old 07/10/2009, 22:23   #11
 
elite*gold: 0
Join Date: Jul 2009
Posts: 9
Received Thanks: 0
wie haste es denn gemacht?

am besten würde man mir helfen in dem man den teil zeigt wie die funktion aufgerufen wird das würde mir sehhhhr helfen. dann kann ich mir ein eigenes bild machen
wildstylish is offline  
Old 07/10/2009, 22:51   #12
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
aber jetzt habe ich auch mal ne frage, warum funktionieren keine zeilenumbrüche?
kknb is offline  
Old 07/10/2009, 22:56   #13
 
Rosemarie Lein's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 388
Received Thanks: 113
So, ich hab das vor ewiger zeit mal ausprobiert und bin genau wie jetzt kläglich gescheitert.

In meinem Guild Wars Verzeichnis habe ich diese dlls:
-d3d9.dll, d3dx9_27.dll, gpcomms.dll und die GPHook.dll
Dieses paket von Mikoweb.eu halt.

Dann habe ich noch dieses Script:
Code:
$dll = DllOpen("gpcomms.dll")

Func TextWriteLine($dll, $text, $ObjectNumber = 1, $PosX = 15, $PosY = 15, $SizeX = 600, $SizeY = 300, $TextColor = 0x9CFF00, $TextTrans = 455, $BlackBackground = 0, $FontSize = 18, $TextBold = 1)
	If $TextTrans > 255 Then $TextTrans = 255
	If $TextTrans < 0 Then $TextTrans = 0
	$colorges = $TextColor + $TextTrans * 0x01000000
	If $dll = -1 Then
		SetError(1)
		Return (-1)
	EndIf
	$return = DllCall($dll, "Int", "GPSL_SetTextLineData", "Int", $ObjectNumber, "ushort", $PosX, "ushort", $PosY, "Str", $text, "Int", $colorges, "Int", $BlackBackground, "Int", $FontSize, "Int", $TextBold, "Int", 1)
	If @error > 0 Or $return = 0 Then
		SetError(1)
		Return (-1)
	EndIf
	$return = DllCall($dll, "Int", "GPSL_ShowText", "Int", $ObjectNumber, "Int", 1)
	If @error > 0 Or $return = 0 Then
		SetError(1)
		Return (-1)
	EndIf
EndFunc   ;==>TextWriteLine

Func NewPicture($PathToFile, $ShowIt, $PosX, $PosY)
	$return = DllCall($dll, "Int", "GPPIC_LoadNewPicture", "Str", $PathToFile)
	If @error > 0 Or $return = 0 Then
		SetError(1)
		Return (-1)
	EndIf
	$return = DllCall($dll, "Int", "GPPIC_ShowPicturePos", "Str", $ShowIt, "ushort", $PosX, "ushort", $PosY)
	If @error > 0 Or $return = 0 Then
		SetError(1)
		Return (-1)
	EndIf
EndFunc   ;==>NewPicture
TextWriteLine($dll, "Test")
So, ich starte Guildwars und führe dann das Script aus. Nichts passiert.

Ich denke ich muss die gpcomms.dll noch manuell injizieren oder? Mit was mache ich das denn am besten, oder liegt der Fehler wo anders?
Rosemarie Lein is offline  
Old 07/10/2009, 22:59   #14
 
elite*gold: 0
Join Date: Jul 2009
Posts: 9
Received Thanks: 0
also zeilenumbrüche sollten laut der readme mit GPML_SetTextMultilineData mit @CRLF funktionieren.
leider funktioniert es bei mir immer noch nicht :/ kannst du vielleicht mir sagen wie du es gemacht hast? ich habs jetzt injectet auf die weise versucht auf die andere und ich fang gleich an zu heulen...
wildstylish is offline  
Old 07/10/2009, 23:08   #15
 
Atheuz's Avatar
 
elite*gold: 81
Join Date: Jul 2005
Posts: 1,921
Received Thanks: 2,239
Quote:
Originally Posted by __wadim View Post
na klar funktionierts bei guild wars! hast du die dll überhaupt injeziert?
GameDeception Crosspost, du noob xP
Atheuz is offline  
Reply


Similar Threads Similar Threads
[AutoIT] Koordinaten anzeigen
08/06/2010 - AutoIt - 13 Replies
Hi, ich will das beim meinen 2 labels X und Y die Koordinaten angezeigt werden wo ich mich grade im spiel befinde. Wie geht das? Mfg
[HELP]Text InGame
05/20/2010 - Dekaron Private Server - 0 Replies
I was wondering if anyone knows whats wrong with this. Please if you do dont just pass by...Help me out. Okay so basically I have no interface...Even when im loading the game. I cant see the: % from game load no server in the list no text when i type in the user and pass box no text from the char screen and INGAME. Basically Its just not showing the text that should be there. I can still log in all the way by clicking where the stuff normally should be.
AutoIt GUI in GW anzeigen
02/03/2010 - GW Bots - 28 Replies
Hallo, ist es möglich, dass man die GUI auch in Guild Wars anzeigen lassen kann? MfG
Koordinaten InGame anzeigen???
01/25/2010 - Metin2 Private Server - 0 Replies
Hi ich wollte mal fragen wie ich es mache das die Koordinaten untern der Server und Channel anzeige anzeigeigt werden? Gebe THX XD EDIT: Und weiß jmd wie ich einstelle bei wv spielern online der server auf BUSY und bei wv auf FULL geht?



All times are GMT +2. The time now is 18:40.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.