Jump to content
  • 0

Hourly Points System


Ninjamon

Question


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  295
  • Reputation:   2
  • Joined:  03/06/12
  • Last Seen:  

I search alot of Hourly Points but i wan't a good version of it.

 

*Every 30 minutes you will be receiving 10 Cash Points

*No Restriction except during autotrade / vend (Its ok if you are idled for how many minutes, as long as you're online its okay. Making a Pub must not  interrupt  the Hourly Points)

*Cash Points can be check on @checkcash (Must better if can be checked on the npc)

 

I hope someone will make my request. Thanks! 

 

PS. Its almost the same like this http://rathena.org/board/topic/88823-hourly-points/


up


up


up

Edited by Ninjamon
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  



//===== Hourly Points Script =========================================

//===== By: ==========================================================

//= GorthexTiger modified by Nibi modified again by Winz

//====================================================================

-    script    hourlypoints    -1,{

//--Start of the Script

OnCheck:

    dispbottom "You have " +#CASHPOINTS+ " cash points.";

    end;

OnPCLoginEvent:

    addtimer .timer,"hourlypoints::OnPointGet";

    end;

    

OnPointGet:

    while(checkvending() >= 1 ) {

        sleep2 .delay;

        if(.@mes$=="")

            dispbottom set(.@mes$,"The hourly points event halted because you were vending, chatting, or idle.");

    }

    set #CASHPOINTS, #CASHPOINTS + .point_amt;

    dispbottom "You received "+.point_amt+" Cash points by staying ingame for 30 minutes";

    

    addtimer .timer,"hourlypoints::OnPointGet";

    end;

OnInit:

    set .timer, 1000*60*30; //Timer in milliseconds.

    set .point_amt, 10; //Normal points gained.

    set .delay, 1000; //Delay for idle re-check check.

    set .dlimit, 60*5; //Stop points if afk greater then in seconds.

    bindatcmd "check",strnpcinfo(3)+"::OnCheck";

}

prontera,160,160,3    script    Cashpoint Checker    909,{

    mes "You have ^00FF00"+ #CASHPOINTS +"^000000Cash points";

    close;

}

 

Edited by Cyro
Code box
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...