some questions concerning GWCA

12/15/2009 18:55 sospam#16
Quote:
Originally Posted by Xereon View Post
Nö es gibt einfach nur ein TimeOut.
und wofür soll der gut sein wenn währenddessen eh nichts passieren kann?
dann hätte man sich die abbruchbedingung sparen können und direkt sleep($msTimeout) reinschreiben können, oder?:confused:
12/15/2009 19:29 buFFy!#17
CmdCBEx ist zu verwenden, wenn CmdCB mal buggt oder einfach nicht funktioniert - so wie oben ;)
12/15/2009 22:27 SuneC#18
Quote:
Originally Posted by sospam View Post
[Spoiler]
My Problem is that once you have a condition of class 2 or above there is no way of telling if you also have a class 1 condition since the class 1 modifier is 0.

Is there any way to work around this and is it possible to differ between the individual condion(s) in a class?
Code:
If BitAND($cbVar[0], 0x01) Then "target is bleeding"
If BitAND($cbVar[0], 0x02) Then "target has a condition"
If BitAND($cbVar[0], 0x08) Then "target is crippled"
If BitAND($cbVar[0], 0x10) Then "target is dead"
If BitAND($cbVar[0], 0x20) Then "target has a Deep Wound"
If BitAND($cbVar[0], 0x40) Then "target is poisoned/diseased (green health)"
If BitAND($cbVar[0], 0x80) Then "target is enchanted"
A bit pseudo-code-ish. But that's how you do it :D And yes, bleeding actually looks like 0x03, but that's cause "has a condition" just means to show that condition-arrow at the health bar.
12/16/2009 11:29 sospam#19
Quote:
Originally Posted by SuneC View Post
Code:
If BitAND($cbVar[0], 0x01) Then "target is bleeding"
ah ok, so its the other way round. Not much of a difference but it does make a lot more sense according to the bit distribution.

Please forget about my question wether its possible to differ between individual conditions of the same class. I just scimmed through the source code and I know now that it's rather impossible to do with the currently known pointers.
12/16/2009 14:36 Moppel123#20
Quote:
Originally Posted by u-coRe View Post
Probier das mal

Code:
$cbType = 'int'
CmdCB($CA_GetCurrentTarget)
If $cbVar[0] <= 0 Then
	CmdCBEx($CA_GetCurrentTarget)
EndIf
Cmd($CA_GoAgent, $cbVar[0])
geht leider nicht. Bleibt immer noch stehen.
naja, ich versuche es mal anders zu lösen...

Edit: Ich habs mal mit GetIsAttacking versucht um dann "Esc" zu drücken, allerdings gibt er nicht die 1 für "ist am angreifen" zurück. Sehr komisch
12/16/2009 14:45 buFFy!#21
DLL Injected? xD
12/16/2009 15:40 Moppel123#22
dumm bin ich nicht :P
Go_NPC geht ja auch mit direkt Zahl eingeben..
Irgendwas bei GetCurrentTarget funktioniert nicht. Es kommt keine ID als Rückgabewert, deshalb auch keine Reaktion

Habs hinbekommen.. wenn man GoNPC -1 macht, geht er zum aktuellen Target :-)
12/16/2009 17:04 Jacob_G#23
Guck dir mal den Code richtig an, du wirst feststellen das es nicht 1 sein muss!
12/16/2009 20:39 voteban#24
ist ja nicht so, dass es alles dokumentiert ist!
12/16/2009 20:49 in MIND#25
Quote:
Originally Posted by voteban View Post
ist ja nicht so, dass es alles dokumentiert ist!
vielleicht sollte man am anfang noch alle buchstaben und anderen satzzeichen erklären
12/17/2009 20:36 kknb#26
is there a gwca func which i can read my current experience points?
12/17/2009 20:48 in MIND#27
noch nich, aba gibt ja ne mem für, füg dir die func in gwca doch einfach schnell selber hinzu
12/17/2009 21:55 voteban#28
ich mein ja nur
12/17/2009 23:05 in MIND#29
ich auch