Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars > GW Bots
You last visited: Today at 23:12

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

Advertisement



need help with GetEffectTimeRemaining Func

Discussion on need help with GetEffectTimeRemaining Func within the GW Bots forum part of the Guild Wars category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2009
Posts: 18
Received Thanks: 0
need help with GetEffectTimeRemaining Func

Hi, id like to have a working Function, that gives me the actual skill cooldown

Code:
Func GetEffectTimeRemaining($aEffect)
	If Not IsDllStruct($aEffect) Then $aEffect = GetEffect($aEffect)
	If IsArray($aEffect) Then Return 0
	Return DllStructGetData($aEffect, 'Duration') * 1000 - (GetSkillTimer() - DllStructGetData($aEffect, 'TimeStamp'))
EndFunc   ;==>GetEffectTimeRemaining

GetSkillTimer() and DllStructGetData($aEffect, 'TimeStamp') have confusing returning values.

Code:
Func GetSkillTimer()
	Return MemoryRead($mSkillTimer, "long")
EndFunc   ;==>GetSkillTimer

Code:
$mSkillTimer = MemoryRead(GetScannedAddress('ScanSkillTimer', -3))

thanks in advance
rictas is offline  
Reply


Similar Threads Similar Threads
[Nostale] Need help : Recv Func ASM
12/08/2015 - Nostale - 7 Replies
Hi epvp, I need help for search a recieve packet for find the ASM code of the recieve packet function in my tool, I just need a packet without any argument. Example : for send function ( i have already find) the packet is "c_skill" but I don't find a recieve packet without any argument for search the ASM code in ODBG. I've try with the packet "xchk". Here is the result : DWORD _i32_RecvPacketFunc = 0x005265A8; __asm { MOV EAX, DWORD PTR DS :
Func nach der func ausführen problem
08/15/2011 - AutoIt - 6 Replies
Hi, ich hab hier mal nen code schnipel der nicht funktioniert.. Die error Erkennung... if StringInStr($oWebTcp.body, "Du kannst nicht weitermachen...") Then GUICtrlSetData($list1, "Login failed. Please fix"&" = "&$array&" ANR: ")
Func in Func ?
02/11/2011 - AutoIt - 8 Replies
Hallo E*PvP, Ich habe eine frage , ich will ein shortcut ..ding machen ..xD also wen ich z.b F1 drücke,soll ich in ein Menü reinkommen und dan auch für F1 etwas anderes amchen also z.b F1= Begrüßungs hotkeys => Press F1 =>
[Fragen zu] Gui Hide & Show / Admin Rights / Func in Func
12/12/2010 - AutoIt - 29 Replies
Hi Leute, wie ihr oben ja bereits lesen könnt habe ich ein paar Fragen. 1. Könnte mir jmd. eine Hotkeyset-Func schreiben, womit ich mit nur einer (!) Taste die GUI verstecken und wieder anzeigen lassen kann ? 2. Gibt es etwas, dass dem gescripteten Tool von selbst Adminrechte verschafft? Ich rede NICHT von RequireAdmin, da muss man ja Administrator des PCs sein. €: Kann "#requireadmin" rausgezögert werden ?! Ich möchte, dass das passiert, aber erst, wenn ich einen Knopf gedrückt...
Need help Func
04/11/2009 - GW Bots - 12 Replies
Hi all, I have a little issue with the bot I'm doin using the tt6 move to engine. I'm trying the make it scan in front of my charc on the minimap to check if enemies are present. So here's the func: ;scan if enemy is in front of us Func ScanEnemy1() PixelSearch(86, 460, 173, 516, $MonsterColor_Red, 10) If @error then Sleep( 100 ) PixelSearch(86, 460, 173, 516, $MonsterColor_Red, 10) if @error then return False EndIf



All times are GMT +1. The time now is 23:13.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.