Signup Now
Results 1 to 2 of 2
  1. #1
    Free User
    Join Date
    Dec 2013
    Posts
    13
    Reputation
    10
    Rep Power
    0

    Safe Area Attack

    Hello guys,

    i have problem with action in my script:

    Code:
    if (tsr.amount >= 2) and (not getuseroption("retropvp") or (paroundfloor(30, 1) == 0 and ($timems-$playerlastseen) >= 8000)) and (itemcount('avalanche rune', 'all') > 0) then
    script wont attacking avalanches even when nobody is near me - whats wrong with it? As i know 30 value is SQMs near me and 1 mean floors up/down, values isn't working, even when i change 1 value to 0.

  2. #2
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,424
    Reputation
    119
    Rep Power
    23
    Quote Originally Posted by Shade View Post
    Hello guys,

    i have problem with action in my script:

    Code:
    if (tsr.amount >= 2) and (not getuseroption("retropvp") or (paroundfloor(30, 1) == 0 and ($timems-$playerlastseen) >= 8000)) and (itemcount('avalanche rune', 'all') > 0) then
    script wont attacking avalanches even when nobody is near me - whats wrong with it? As i know 30 value is SQMs near me and 1 mean floors up/down, values isn't working, even when i change 1 value to 0.
    1- wrong area, post Lua > Requests

    2- paroundfloor() dist limit 10

    3- test...

    if (tsr.amount >= 2) and (not getuseroption("retropvp") or (paroundfloor(10, 1) == 0 and (itemcount('avalanche rune', 'all') > 0) then

 

 

Posting Permissions

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