Jump to content
  • 0

Lupus's Floating Script


lionellex

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  60
  • Reputation:   1
  • Joined:  09/10/16
  • Last Seen:  

Hey everyone, a quick question. I'm planning to use Lupus's Floating Rate script (http://pastebin.com/fUWYjccS). But I have 1 quick question that I need to make sure.

1."+($@brate-100)+"x 1."+($@jrate-100)+"x 1."+($@drate-100)+

on line 41, this part. cos in my case its 5/5/3 ~ 7.5/7.5/3. So do I need to change ANYTHING at this part above ^ ?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

remove the 1. after "+($@brate-100)+" x .. that is just an announcement, the rate is right. but the broadcast is wrong. It will display

 

"Current Rune-Midgard rates are : 1.75x...." but the true rate is 7.5x.. so just remove the 1. /no1

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  


announce "Current Rune-Midgard rates are: "+sprintf("%d.%02d",($@brate / 100), ($@brate % 100) )+"x "+sprintf("%d.%02d",($@jrate / 100), ($@jrate % 100) )+"x "+sprintf("%d.%02d",($@drate / 100), ($@drate % 100) )+"x",bc_all,0xFF6060;

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...