Jump to content

IndieRO

Members
  • Content Count

    286
  • Joined

  • Last visited

  • Days Won

    13

Posts posted by IndieRO


  1. On 1/8/2021 at 9:38 PM, simplexjay2 said:

    annie can u tell me how to put it on an item to activate

    maybe it's late to reply but i hope I can help other poeple if need this

     

    {
    	Id: 7950
    	AegisName: "VIP_1Day"
    	Name: "VIP 1 Day"
    	Type: "IT_USABLE"
    	Sell: 10
    	Weight: 10
    	Script: <" 
    		.@aid = getcharid(CHAR_ID_ACCOUNT);
    		.@tmp = 86400;
    		addtimer .@tmp *1000, strnpcinfo(vipsystem)+"::Ontimeout";
    		ModExp = 200;
    		dispbottom "You has been promoted into a super player for 1Day!";
    		query_sql "INSERT INTO `vip_system` VALUES (NULL, "+ .@aid +", NOW(), DATE_ADD(NOW(), INTERVAL "+ .@tmp +" SECOND))";
    	 ">
    },

    about the strnpcinfo(vipsystem) you can change depend your npc name.

    but maybe need function to sum the old time vip left with new time vip
    if happen player click the item vip twice 
    ex: player click 2 times VIP 1 Day Card it'should be 2 days 


  2. do you mean make player must do rebirth than bypass the rebirth process?

    if Yes

    try to disable this part

     

    if( .@third_possible ) {
    		// Third Job change (displayed below rebirth)
    		Require_Level(.Req_Third[0], .Req_Third[1]);
    		Job_Options(.@job_opt, roclass(.@eac|EAJL_THIRD));
    	}
×
×
  • Create New...

Important Information

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