Jump to content

Ohmyuniverse

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by Ohmyuniverse

  1. -	script	Poring_Coin	-1,{
    OnNPCKillEvent:
    
    if ( rand( 100 ) <= 90 ) {
    
    .@item_id = F_Rand( 7539 );
    
    getitem .@item_id,1;
    
    }
    
    end;
    
    }

    i have this script. but i want to make it like 0.01% drop rate

    but when i cahnge it to this:

     

    -	script	Poring_Coin	-1,{
    OnNPCKillEvent:
    
    if ( rand( 100 ) <= 0.01 ) {
    
    .@item_id = F_Rand( 7539 );
    
    getitem .@item_id,1;
    
    }
    
    end;
    
    }

    i get this error:

    image.png.ec3c56eb96901aef67c72146b4f24049.png

  2. i believe its called Prestige

    the idea is when you're max level (in my server's case prenewal exp20x) 99/70, but you want more pve content.

    you will go back to novice and level up again. but this time, you only get 5xEXP.

    but in return, youll get custom currency/cashpoint for doing prestige. (cant use the previous class when you prestige)

  3. i was looking for a simple kvm script:

     

    -3v3 or 5v5 (team deathmatch only)

    -randomized team/side (players cant choose their side/team

    -certain buffs are disabled (ex: assumptio)

    -kvm points as rewards

    _probably npc selling item, kvm points as currency

    thanks

     

  4. I cant find any script that i really wanted for daily quest

     

    -simple

    -random 100-120x mobs everyday

    -resets 24 hours

    -rewards item/cashpoint

    -1 try per account/per day

     

    Thank you very much

  5. 19 hours ago, Sapito Sucio said:
        int counter = static_cast<int>(pc_readreg2( sd, ATTENDANCE_COUNT_VAR ));
    
        // Check if we have a remaining counter from a previous period
        if( counter >= 25 && !pc_attendance_rewarded_today(sd) ){
            pc_setreg2( sd, ATTENDANCE_COUNT_VAR, 0 );
    
            return 0;
        }

     

    where should i paste this?

     

  6. image.png.9a94fa6d64e1a519205906c01d08165a.png

     

    how to auto reset the attendance when the attendance reached the final day. thanks

     

    here's my script

    Quote

     

    ###########################################################################
    # Attendance Database
    ###########################################################################
    #
    # Attendance Settings
    #
    ###########################################################################
    # - Start                   Start date.
    #   End                     End date.
    #   Rewards:                List of rewards for each day.
    #     - Day                 Reward day.
    #       ItemId              Item ID.
    ###########################################################################

    Header:
      Type: ATTENDANCE_DB
      Version: 1

    Body:
      - Start: 20240306
        End: 20240326
        Rewards:
          - Day: 1
            ItemId: 501
          - Day: 2
            ItemId: 501
          - Day: 3
            ItemId: 501
            Amount: 5
          - Day: 4
            ItemId: 501
            Amount: 5
          - Day: 5
            ItemId: 501
          - Day: 6
            ItemId: 501
          - Day: 7
            ItemId: 501
            Amount: 3
          - Day: 8
            ItemId: 501
            Amount: 5
          - Day: 9
            ItemId: 501
            Amount: 5
          - Day: 10
            ItemId: 501
          - Day: 11
            ItemId: 501
            Amount: 2
          - Day: 12
            ItemId: 501
            Amount: 3
          - Day: 13
            ItemId: 501
            Amount: 5
          - Day: 14
            ItemId: 501
            Amount: 5
          - Day: 15
            ItemId: 501
            Amount: 5
          - Day: 16
            ItemId: 501
            Amount: 5
          - Day: 17
            ItemId: 501
            Amount: 5
          - Day: 18
            ItemId: 501
            Amount: 5
          - Day: 19
            ItemId: 501
          - Day: 20
            ItemId: 501

     

     

×
×
  • Create New...