Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars > GW Bots
You last visited: Today at 13:14

  • 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   #1
 
N.E.O.'s Avatar
 
elite*gold: 45
Join Date: Nov 2008
Posts: 4,308
Received Thanks: 991
Sleep(Random($min, $max)) ==> Problem

Hallo ich bins mal wieder,

ich habe folgendes Problem:

Ich habe den Befehl Sleep(Random($min, $max)) in eine Funktion gefasst:

PHP Code:
Func RS($min$max)

Sleep(Random($min$max1))

EndFunc 
Nur das Problem ist, dass bei mir keine Sleep + Random Funktion oder Befehl mehr funktioniert....

Zum Beispiel, wenn ich es ohne Func schreibe, also Sleep(Random($min, $max, 1)) funktioniert es auch nicht...

Die RndSleep($val) Funktion aus der TT6.au3 funktioniert auch nicht [mehr?].


Der Befehl wird einfach abgekürzt.

Aus Sleep(Random(1100, 1500)) wird => Sleep(500).



Kennt einer dieses Problem?
Kann mir wer helfen?
N.E.O. is offline  
Old 04/05/2009, 12:26   #2
 
cab_killer's Avatar
 
elite*gold: 9
Join Date: Jan 2009
Posts: 206
Received Thanks: 24
Ich habe es bei mir so drin:

PHP Code:
func RandomSleep($min$max)
    
$time Random($min$max)
    
Sleep($time)
endfunc 
Funktioniert bestens.

Kannst ja mal testen.

MFG
cab_killer is offline  
Old 04/05/2009, 12:51   #3
 
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
Die RndSleep($val) Funktion aus der TT6.au3 funktioniert auch nicht [mehr?].
Kann mir wer helfen?
was is denn da des problem kann ich mir granich vorstellen dass des nichtmehr geht
bei mir funktionierts einwandfrei
Specter cason is offline  
Old 04/05/2009, 13:37   #4
 
N.E.O.'s Avatar
 
elite*gold: 45
Join Date: Nov 2008
Posts: 4,308
Received Thanks: 991
Naja, ich habe das ganze jetzt so gelöst, dass ich einfach die Werte vergrößert habe...

Jetzt geht's cO.


#ANDERE FRAGE:

Ich habe in mein Script eine For To Schleife, für die Runs eingebaut.
Nach der ersten Runde, wenn das ganze wieder von vorne losgeht, macht er die MoveTo's nicht mehr.

Habe ihr dazu ne lösung?
N.E.O. is offline  
Old 04/05/2009, 13:47   #5
 
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
Naja, ich habe das ganze jetzt so gelöst, dass ich einfach die Werte vergrößert habe...

Jetzt geht's cO.
naja is aber verdammt komisch i-was stimmt da ned

Quote:
Originally Posted by N.E.O. View Post
#ANDERE FRAGE:

Ich habe in mein Script eine For To Schleife, für die Runs eingebaut.
Nach der ersten Runde, wenn das ganze wieder von vorne losgeht, macht er die MoveTo's nicht mehr.

Habe ihr dazu ne lösung?
keine ahung beim mir funktioniert des auch...
Specter cason is offline  
Old 04/05/2009, 13:56   #6
 
N.E.O.'s Avatar
 
elite*gold: 45
Join Date: Nov 2008
Posts: 4,308
Received Thanks: 991
Was ist nur mit meinem PC, GW, oder Autoit los? cO
N.E.O. is offline  
Old 04/05/2009, 15:09   #7


 
buFFy!'s Avatar
 
elite*gold: 1826
Join Date: Mar 2009
Posts: 4,310
Received Thanks: 6,287
Quote:
Originally Posted by N.E.O. View Post
Was ist nur mit meinem PC, GW, oder Autoit los? cO
Ich weiß nicht warum, aber in deinem Code ist der Flag auf 1 gesetzt.

Edit: Zu der anderen Frage.. versuch doch mal den Code zu posten.
buFFy! is offline  
Old 04/05/2009, 15:27   #8
 
N.E.O.'s Avatar
 
elite*gold: 45
Join Date: Nov 2008
Posts: 4,308
Received Thanks: 991
PHP Code:
Func Main()
    
For 
$i 0 To 10 Step +1
    
HM
()
Wayout()
Loadout()
BossRun()
Sleep(Random(5001000))
ControlSend($GW"""""{C}")
Sleep(100)
Fight()
Npc_alive(40000)
ItemGet(5)
Loadin()
Sleep(5000)

Next

Exit

EndFunc 
N.E.O. is offline  
Old 04/05/2009, 15:47   #9


 
buFFy!'s Avatar
 
elite*gold: 1826
Join Date: Mar 2009
Posts: 4,310
Received Thanks: 6,287
Quote:
Originally Posted by N.E.O. View Post
PHP Code:
Func Main()
    
For 
$i 0 To 10 Step +1
    
HM
()
Wayout()
Loadout()
BossRun()
Sleep(Random(5001000))
ControlSend($GW"""""{C}")
Sleep(100)
Fight()
Npc_alive(40000)
ItemGet(5)
Loadin()
Sleep(5000)

Next

Exit

EndFunc 
Es ist sinnlos einen Code mit Funktionsgespamme zu posten. Mir ist egal wie die Funktionen heißen und welche Parameter du ihnen gibst, ich will wissen was in den Funktionen drin steht. Wenn du diese nicht Preis geben willst können wir dir leider nicht helfen.
buFFy! is offline  
Old 04/05/2009, 15:56   #10
 
| Moep |'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,079
Received Thanks: 438
Quote:
Originally Posted by eF_Hacks View Post
Es ist sinnlos einen Code mit Funktionsgespamme zu posten. Mir ist egal wie die Funktionen heißen und welche Parameter du ihnen gibst, ich will wissen was in den Funktionen drin steht. Wenn du diese nicht Preis geben willst können wir dir leider nicht helfen.
Quote:
Originally Posted by N.E.O. View Post

__Quality Bots => eL~Series__


;================================

=|~Bots:~|=

#eL~Byzrr
Kosten: 30 Ectos
Farmstelle: Lutgardis-Wintergarten
Status: 80%

;================================


Fragen bitte über PM an mich!
@ eF: er will ihn doch noch verkaufen, fehlen ja nurnoch 20%
| Moep | is offline  
Old 04/05/2009, 16:21   #11


 
buFFy!'s Avatar
 
elite*gold: 1826
Join Date: Mar 2009
Posts: 4,310
Received Thanks: 6,287
Ach Gott.
Wenn du mich fragst.. man sollte keine Bots verkaufen wenn man keinen simplen RandomSleep hinbekommt.. ganz nebenbei sind ja hier dermaßen viele RandomSleep im Forum am rumkursieren.. [eMt, tt6, T3..]
buFFy! is offline  
Old 04/05/2009, 19:41   #12
 
N.E.O.'s Avatar
 
elite*gold: 45
Join Date: Nov 2008
Posts: 4,308
Received Thanks: 991
Erst denken dann posten.
Und wenn man keine Ahnung hat, ..ihr wisst schon...


Woher wollt ihr wissen das ich diesen Bot verkaufen will?

Voreilige Schlüsse ziehen obwohl man gar keine Ahnung hat umd einfach nurmal was zu sagen?
N.E.O. is offline  
Old 04/05/2009, 21:03   #13


 
buFFy!'s Avatar
 
elite*gold: 1826
Join Date: Mar 2009
Posts: 4,310
Received Thanks: 6,287
Nicht frech werden.

Code:
#eL~Byzrr
[COLOR="Red"]Kosten: 30 Ectos[/COLOR]
Farmstelle: Lutgardis-Wintergarten
Status: 80%
Man kann auch lieb fragen.
buFFy! is offline  
Old 04/06/2009, 11:38   #14
 
N.E.O.'s Avatar
 
elite*gold: 45
Join Date: Nov 2008
Posts: 4,308
Received Thanks: 991
Es liegt ausserdem nicht daran das ich nicht weiss wie man das progt, sondern daran das es einfach nicht funktioniert.
N.E.O. is offline  
Old 04/06/2009, 14:18   #15
 
| Moep |'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,079
Received Thanks: 438
Der Fehler sitzt meistens davor...
| Moep | 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 13:16.


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.