Results 1 to 5 of 5

Thread: If someone UH monster close client

  1. #1
    Normal User
    Join Date
    Oct 2012
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    If someone UH monster close client

    I'm requesting an anti-waste script that would close client immediatelly after somone uses gran mas res healing or uh rune on monsters around.

  2. #2
    iBot User
    Join Date
    Sep 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    if the client closes while he heals your monster, for me that would mean a sertain death. and that would be 'waste'.

  3. #3
    Normal User Balbek's Avatar
    Join Date
    May 2012
    Location
    LDZ
    Posts
    554
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    84
    Rep Power
    6
    PHP Code:
    local lastid 0   
    local lasthp 
    0    

    if target.id ~= lastid then   
    lastid 
    target.id   
    lasthp 
    target.hppc     
    elseif target.hppc-lasthp <= 15 then     
    lasthp 
    target.hppc     
    else closeclient()
    end 

  4. #4
    iBot User
    Join Date
    May 2012
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    9
    Rep Power
    0
    Quote Originally Posted by Balbek View Post
    PHP Code:
    local lastid 0   
    local lasthp 
    0    

    if target.id ~= lastid then   
    lastid 
    target.id   
    lasthp 
    target.hppc     
    elseif target.hppc-lasthp <= 15 then     
    lasthp 
    target.hppc     
    else closeclient()
    end 
    Don't work

  5. #5
    Normal User Balbek's Avatar
    Join Date
    May 2012
    Location
    LDZ
    Posts
    554
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    84
    Rep Power
    6
    PHP Code:
    local lastid 0   
    local lasthp 
    0    

    if target.id ~= lastid then   
    lastid 
    target.id   
    lasthp 
    target.hppc     
    elseif target.hppc-lasthp <= 15 then     
    lasthp 
    target.hppc     
    else closetibia()
    end 
    try this..

Posting Permissions

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