Hourly floating rates script

Results 1 to 15 of 15
  1. #1
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Hourly floating rates script

    Hi folks, me again. Here is another little bit of scripty goodness for events - floating rates!

    Each hour the script will reset all drop/exp/alz rates to the minimum value configred in the script and select one at randome to boost to soemething random between the configured minimum and maximum rates. It also writes a log to /home/cabal/ so you can check it is working and see what rates it altered last.

    Quote Originally Posted by readme.txt
    Installation
    =============

    Edit /home/cabal/floating_rates_job.sh and set your min and max rates at the top.

    # Minimum rate 100 = 1x
    base_rate=100
    # Maximum rate 500 = 5x
    max_rate=500

    Copy the files to the Centos machine (it won't overwrite anything yet).

    Back up your original Const.scp and copy any non-rates related customisations
    from your own Const.scp to /etc/cabal/Data/Const.cfg. DO NOT TOUCH ANYTHING in
    the section shown below as the script is expecting to find those v00, w00 etc
    lines shown below. If you touch this section the script probably won't work.

    [Multiple] All_M PC_M Free_P FreePC_P Premium_P PremiumPC_P Remark
    0 v00 v00 0 0 0 0 EXP
    1 w00 w00 0 0 0 0 SKILL EXP
    2 x00 x00 0 0 0 0 CRAFT EXP?
    3 y00 y00 0 0 0 0 DROP RATE
    4 z00 z00 0 0 0 0 ALZ BOMB
    5 z00 z00 0 0 0 0 ALZ AMOUNT

    From the Centos terminal/putty type the following to enable:

    /home/cabal/floating_rates_config.sh start

    Stop floating rates like this:

    /home/cabal/floating_rates_config.sh stop

    If/when you want to reset back to your original config simply stop the floating
    rates using the command above. Now copy your original Const.scp back and then
    type "service cabal reload" from terminal/putty and everything will be back as
    it was.
    Download -> Mediafire mirror | Direct mirror 1 | Direct mirror 2


  2. #2
    Alpha Member christoper is offline
    MemberRank
    Aug 2007 Join Date
    PhP DecoderLocation
    1,560Posts

    Re: Hourly floating rates script

    nice release !!!

    how to install ds?

    its permit dinied

  3. #3
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Hourly floating rates script

    You will probably have to "chmod 0777 /home/cabal/floating_rates_config.sh" unless your winscp does it automatically like mine does.

  4. #4
    Alpha Member christoper is offline
    MemberRank
    Aug 2007 Join Date
    PhP DecoderLocation
    1,560Posts

    Re: Hourly floating rates script

    then now?

    how to edit it i will edit it manualy on

    floating_rates_job.sh ?

  5. #5
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Hourly floating rates script

    Yes, set the min and max rate at the top of floating_rates_job.sh before running floating_rates_config.sh. By default they will float between 1x and 5x.

  6. #6
    Alpha Member christoper is offline
    MemberRank
    Aug 2007 Join Date
    PhP DecoderLocation
    1,560Posts

    Re: Hourly floating rates script

    i can make it 500?x

    in calculator 500 = 50000 right

  7. #7
    Imperium Knight phiber is offline
    MemberRank
    Oct 2008 Join Date
    elitekingdoms.comLocation
    264Posts

    Re: Hourly floating rates script

    realy good chumpy.

    congratulation about that. :)

  8. #8
    The Cat in the Hat cypher is offline
    MemberRank
    Oct 2005 Join Date
    IrelandLocation
    5,073Posts

    Re: Hourly floating rates script

    I should have watched my mouth and not said/talked shit to DeadlyData telling him things like your are not welcome here because then I become the one who is truly not welcome here.

  9. #9
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Hourly floating rates script

    Quote Originally Posted by christoper View Post
    i can make it 500?x

    in calculator 500 = 50000 right
    You can but setting some rates that high will have a very bad effect and this is especially true of the droprate. You will need to experiment to see what it can do, this is just a rough example for you to play with and mod ;)

  10. #10
    Account Upgraded | Title Enabled! cyfren is offline
    MemberRank
    Sep 2008 Join Date
    SpainLocation
    257Posts

    Re: Hourly floating rates script

    Quote Originally Posted by chumpywumpy View Post
    You can but setting some rates that high will have a very bad effect and this is especially true of the droprate. You will need to experiment to see what it can do, this is just a rough example for you to play with and mod ;)
    Nice Release man keep working

    Are thrue i have a server with 500x xp and drop only alz bomb :( ...the next ResetDb wil be with 5x xp maxim

  11. #11
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Hourly floating rates script

    Don't set your droprate above 5x and make sure you have UseWorldDrop=1 in your worldsvr configs. If you set droprate much over 5x it ruins drops which is why this is set to max 5x. If you want other rates to go higher you will need to mod the script slightly or not use it on drops which you can do by manually editing the cfg file and setting the droprate you want. Once that is done the script won't be able to find what to edit for the droprate and it will stay the same, only other rates will float ;)

  12. #12
    Apprentice mjsamet is offline
    MemberRank
    Nov 2007 Join Date
    20Posts

    Re: Hourly floating rates script

    wow thank you

  13. #13
    Apprentice Lindy28 is offline
    MemberRank
    Mar 2009 Join Date
    16Posts

    Re: Hourly floating rates script

    how can i stop the script?

  14. #14
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Hourly floating rates script

    Quote Originally Posted by Lindy28 View Post
    how can i stop the script?
    It's in the first post:

    Quote Originally Posted by chumpywumpy View Post
    Stop floating rates like this:

    /home/cabal/floating_rates_config.sh stop

  15. #15
    Apprentice Lindy28 is offline
    MemberRank
    Mar 2009 Join Date
    16Posts

    Re: Hourly floating rates script

    oh sorry <3
    but thanks



Advertisement