Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars > GW Bots
You last visited: Today at 15:06

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

Advertisement



Sleep(Random($min, $max)) ==> Problem

Discussion on Sleep(Random($min, $max)) ==> Problem within the GW Bots forum part of the Guild Wars category.

Reply
 
Old 04/06/2009, 14:52   #16
 
N.E.O.'s Avatar
 
elite*gold: 45
Join Date: Nov 2008
Posts: 4,308
Received Thanks: 991
Quote:
Originally Posted by | Moep | View Post
Der Fehler sitzt meistens davor...
Diesmal nicht
N.E.O. is offline  
Old 04/06/2009, 16:14   #17


 
buFFy!'s Avatar
 
elite*gold: 1826
Join Date: Mar 2009
Posts: 4,310
Received Thanks: 6,287
Ich kanns nur wiederholen.. vollständiges Skript, oder keine Hilfe.. einfach weil es dann nicht geht. Nichtmal weil ich dir dann nicht helfen wollte.
buFFy! is offline  
Old 04/06/2009, 17:38   #18
 
| Moep |'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,079
Received Thanks: 438
So wie du die Funktion in deinem Startpost steht funktioniert sie auch. Probier sie einfach mal in einem leeren Script aus, nur mit der Funktion, z.B. so:

Code:
Func RS($min, $max)
global $time = Random($min, $max, 1)
Sleep($time)
EndFunc 

RS(1000,5000)
MsgBox("","",$time&"ms")
Wenn es so nicht funktioniert, dann liegt das Problem nicht an der Funktion sondern ist woanders zu suchen.
Lass dir was einfallen, die Funktion ist aber nicht dran Schuld!


Wenn es so funktioniert dann pack die Funktion in dein "fertiges" Script.
Falls es dann nicht mehr funktioniert, liegt der Fehler nicht an der Funktion, sondern beim Rest von deinem Script.
Vielleicht wird ja $max,$min anderswo nochmal benutzt?!

Wenn ich dir helfen konnte dann benutze den ThanksButton
Wenn nicht dann auch

Exit Loop
| Moep | is offline  
Old 04/06/2009, 17:49   #19
 
N.E.O.'s Avatar
 
elite*gold: 45
Join Date: Nov 2008
Posts: 4,308
Received Thanks: 991
So funktioniert es.

Wahrscheinlich wird in der TT6.au3 auch die Variable $min benutzt.
Ich werde es mal umschreiben.

Vielen dank schonmal | Moep |.
N.E.O. is offline  
Old 04/07/2009, 21:10   #20
 
Specter cason's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 520
Received Thanks: 494
Quote:
Originally Posted by N.E.O. View Post

Wahrscheinlich wird in der TT6.au3 auch die Variable $min benutzt.


Vielen dank schonmal | Moep |.
naja aber dann kommt doch normal en error: duplicate variable oder so..

oder war des bie funktionen?
Specter cason is offline  
Old 04/07/2009, 21:44   #21


 
buFFy!'s Avatar
 
elite*gold: 1826
Join Date: Mar 2009
Posts: 4,310
Received Thanks: 6,287
Quote:
Originally Posted by Specter cason View Post
naja aber dann kommt doch normal en error: duplicate variable oder so..

oder war des bie funktionen?
Das war bei Funktionen. Variable nimmt er dann die die zuletzt deklariert Wurde.. ich find das Debuggen in AutoIT total dumm.
buFFy! is offline  
Reply


Similar Threads Similar Threads
Sleep Alternative?
04/24/2010 - AutoIt - 9 Replies
Irgendjemand (ich glaub nano) hatte mal etwas gepostest um ein Script zu beenden, während es pausiert ist. Codeschnipsel (den ganzen will ich erst mal nich zeigen): Func _play() For $i = 0 To _GUICtrlListBox_GetCount($playlist) -1 $liste = _GUICtrlListBox_GetText($playlist,$i) $check2 = _SoundLength($liste, 2) _SoundPlay($liste) Sleep($check2) Next
problem - pointer and (random values)
03/19/2010 - General Coding - 0 Replies
Im trying to learn to reverse engineer a game. Its a game and it has an item to add up random stats to an equip when it is used. First, i tried using a memory scanner to determine which of memory holds the value i want to manipulate. hoping it would be that easy, i was wrong because it was holding the value that the game uses to let the user see. so i guessed it was a pointer. so i found the pointer. one was changing every second (clue) the other was not a pointer it was an address...
EpicWebserver Random Problem
12/11/2009 - CO2 Private Server - 3 Replies
Alright, I got my register page finally working last night and it worked fine for everyone. But today randomly, without me touching anything it throws me this error. I restart it and it doesn't give the error, I register accounts fine with it, and randomly today I got a console error. People can go to the page where it says enter your account info to register but when they register it loads forever and then says " This webpage is not available. The webpage at...
Problem on Retail Random Teleporting
07/06/2009 - Lineage 2 - 4 Replies
Well i am botting a train on retail using og walker 10.9.7.I am botting in catacombs and sometimes i check them and i see one of my characters in fanasty island just sitting there by one of the fanasty islands game managers. This has happened to me three times so far with 3 different characters. It seems they just get ported out of the catacomb to the fanasty island game manager for some reason. I am sure its not a gm cause i would be banned by now. I was wondering if this has happen to...



All times are GMT +1. The time now is 15:08.


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.