Jump to content
  • 0
greenieken

Command is deprecated

Question

7 answers to this question

Recommended Posts

  • 0

winscp? then I guess your pc is running windows and your server is running linux? If so, login through ssh (using putty) and navigate to the hercules folder (using cd), then use the command

Share this post


Link to post
Share on other sites
  • 0
2 minutes ago, greenieken said:

pow(10,.@i+1) / pow(10,.@i)  to  pow(10 ** .@i+1) / pow(10 ** .@i)

 

is this right? @meko

Nope. You need to ditch the "pow" part entirely, so pow(10, .@i + 1) simply becomes (10 ** (.@i + 1))

Share this post


Link to post
Share on other sites
  • 0

I see. How about for specialeffect2(), misceffect()

 

FROM 

OnAgitStart:
    while(agitcheck()) {
        specialeffect2 EF_BEGINSPELL6;
        sleep 425;
    }
    end;
}

 

TO

 

OnAgitStart:
    while(agitcheck()) {
        specialeffect EF_BEGINSPELL6;
        sleep 425;
    }
    end;
}

 

right?

 

@meko

Share this post


Link to post
Share on other sites
  • 0

@greenieken It seems you didn't read my post at all...

 

specialeffect2 is the easiest to convert because its behaviour is predicable, unlike misceffect, which depends on attached oid/rid.

 

In your case, specialeffect2(EF_BEGINSPELL6) could be converted to specialeffect(EF_BEGINSPELL6, AREA, playerattached()). However, I see you call it from the OnAgitStart event, which does not have an attached rid so even your specialeffect2() shouldn't have worked before... And the vanilla script did not use specialeffect2 either. The correct command to use here is simply specialeffect(EF_BEGINSPELL6);

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.