XenoBot Forums - Powered by vBulletin

User Tag List

Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 52

Thread: [Update] XenoBot Apophis v14.8.12.751 [Preview 10.52]

  1. #41
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    Quote Originally Posted by anlis View Post
    I have space in my hard drive, have conexion internet 24/7.

    I run as programs with administrador, i have window 7.

    How i can update Xenobot?
    Did you previously run a crack?

  2. #42
    Senior Member Unuke12345's Avatar
    Join Date
    Aug 2012
    Posts
    993
    Mentioned
    130 Post(s)
    Tagged
    1 Thread(s)
    So, do you have any ETA on a fix?

  3. #43

    Join Date
    May 2014
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DarkstaR View Post
    Did you previously run a crack?
    run a crack? where is the crack?

  4. #44
    Relius's Avatar
    Join Date
    Sep 2013
    Posts
    37
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Thanks for fixing skinner DarkstaR. Works much, much better now.
    DarkstaR is love, DarkstaR is life.

  5. #45
    Senior Member pixie_frigo's Avatar
    Join Date
    Dec 2012
    Location
    Ghent, Belgium
    Posts
    458
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)
    @DarkstaR

    Since when is the function sleep only in steps of 100 ms ?
    A lot of scripts have parts in it like : wait(250,350)
    Since this is random it will almost always make the script sleep for exactly 300ms ... So crazy detectable?!?!


    lua code:

    function Rounder(num)
    return math.floor(num*100)*10
    end


    for i = 1, 100 do
    local s = os.clock()
    wait(250,350)
    print(Rounder(os.clock() - s))
    end
    Last edited by pixie_frigo; 08-20-2014 at 04:51 PM.

  6. #46
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    Quote Originally Posted by pixie_frigo View Post
    @DarkstaR

    Since when is the function sleep only in steps of 100 ms ?
    A lot of scripts have parts in it like : wait(250,350)
    Since this is random it will almost always make the script sleep for exactly 300ms ... So crazy detectable?!?!


    lua code:

    function Rounder(num)
    return math.floor(num*100)*10
    end


    for i = 1, 100 do
    local s = os.clock()
    wait(250,350)
    print(Rounder(os.clock() - s))
    end
    It's not steps of 100 MS, it just cant be below 100 MS. So, if it's below 100, it turns into 100. Else, it sleeps the specified time.

  7. #47
    Senior Member pixie_frigo's Avatar
    Join Date
    Dec 2012
    Location
    Ghent, Belgium
    Posts
    458
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DarkstaR View Post
    It's not steps of 100 MS, it just cant be below 100 MS. So, if it's below 100, it turns into 100. Else, it sleeps the specified time.
    Are you sure about that ? :P Did some tests:

    wait(150,200) sleeps 100.0% for 200 ms and 0.0% for 0ms (993tests)
    wait(150,210) sleeps 82.4% for 200 ms and 17.7% for 300ms (998tests)
    wait(150,220) sleeps 70.2% for 200 ms and 29.8% for 300ms (1000tests)
    wait(150,230) sleeps 62.8% for 200 ms and 37.2% for 300ms (1000tests)
    wait(150,240) sleeps 56.9% for 200 ms and 43.1% for 300ms (1000tests)
    wait(150,250) sleeps 51.6% for 300 ms and 48.5% for 200ms (996tests)
    wait(150,260) sleeps 54.6% for 300 ms and 45.4% for 200ms (1000tests)
    wait(150,270) sleeps 56.4% for 300 ms and 43.7% for 200ms (999tests)
    wait(150,280) sleeps 60.9% for 300 ms and 39.1% for 200ms (1000tests)
    wait(150,290) sleeps 62.7% for 300 ms and 37.3% for 200ms (1000tests)
    wait(150,300) sleeps 63.3% for 300 ms and 36.7% for 200ms (1000tests)

    and:

    sleep(100) sleeps 78.3% for 100 ms and 8.7% for 102ms (69tests)
    sleep(110) sleeps 81.0% for 200 ms and 5.0% for 203ms (100tests)
    sleep(120) sleeps 65.0% for 200 ms and 15.0% for 201ms (100tests)
    sleep(130) sleeps 74.0% for 200 ms and 11.0% for 201ms (100tests)
    sleep(140) sleeps 69.0% for 200 ms and 20.0% for 201ms (100tests)
    sleep(150) sleeps 76.0% for 200 ms and 8.0% for 201ms (100tests)
    sleep(160) sleeps 67.0% for 200 ms and 15.0% for 201ms (100tests)
    sleep(170) sleeps 76.0% for 200 ms and 19.0% for 201ms (100tests)
    sleep(180) sleeps 74.0% for 200 ms and 12.0% for 201ms (100tests)
    sleep(190) sleeps 64.0% for 200 ms and 12.0% for 202ms (100tests)


    I dunno if this is new ! else i would explain the deletion spree im on

    Just try it yourself their must be a math.ceil in your c thing!

    lua code:

    for i = 1, 10 do
    local n = i*10 + 100
    local s = os.clock()
    for j = 1, 10 do
    sleep(n)
    end
    print((os.clock() - s)*100)
    end
    Last edited by pixie_frigo; 08-20-2014 at 08:41 PM.

  8. #48
    Senior Member pixie_frigo's Avatar
    Join Date
    Dec 2012
    Location
    Ghent, Belgium
    Posts
    458
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)
    so @DarkstaR please fix this :x

  9. #49
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    Quote Originally Posted by pixie_frigo View Post
    so @DarkstaR please fix this :x

    Code:
    int XenoScript::luaSleep(lua_State *L){
    	XenoScript* currentScript = XenoScript::GetCurrentScript(L);
    	if (!XenoScript::VerifyArgs(L, currentScript, "luaSleep", 1)) return 1;
    	int time = max(XenoScript::GetIntegerArg(L, 1), 100);
    
    
    	int criticals = currentScript->inLock;
    	while (currentScript->inLock > 0)
    		currentScript->endOperation();
    
    
    	while (time > 0)
    	{
    		scriptSuicideAttempt(currentScript);
    
    
    		int sleepFor = min(time, 100);
    		Sleep(sleepFor);
    		time -= sleepFor;
    	}
    
    
    	while (currentScript->inLock < criticals)
    		currentScript->beginOperation();
    
    
    	lua_pushnumber(L, 1);
    	return 1;
    }

    The code is fine. If this is a problem, it has something to do with the thread synchronization. I'll check it out soon.

  10. #50

    Join Date
    Jul 2014
    Location
    United states
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is it only me , it will only let me run 2 tibias , if i open a 3rd my 2 other accs just discconnect why?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •