Jump to content

Rynbef

Forum Moderator
  • Posts

    898
  • Joined

  • Last visited

  • Days Won

    20

Posts posted by Rynbef

  1. Why don't use

    if(countitem(512) < 10)mes "Before u enter u need 10x ^770000"+getitemname(512)+"^000000";

    else

    delitem 512,10;

     

    If u don't have much items u can use this simple version.

    Otherwise loop throw an array of item IDs, check if the player have the required amount of the item or not (throw an 2nd array of item amounts). Remove the item or display that he need something.

     

    Rynbef~

  2. Okay I ve cleaned up the code a bit and add additional checks and returns. Idk if rA able to use big integer in SQL. So changed everything to use Integer. When the time is over and the function CheckEventBan is called it will deleted directly now. To cleanup the database.

    Pls delete the database and add the new with normal integer. If u ban a player check if they added to the database.

    EventBan.txt

     

    Rynbef~

    • Upvote 1
  3. Im sorry. My mistake. I declared a atcommand but just call it and don't bind it and get arg just works for functions for atcommands we do need .@atcmd_parameters$[]

    Pls try again.

    EventBan.txt

     

    Maybe use dispbottom instead of mes. But I forget changed yet.

     

    Rynbef~

  4. Hey everybody. Yes we are in 2024 and rAthena lives but the world moves fast and faster per day.

    I want to ask if we can get more upload space for Profil Images and Profil Header Background. It's really bad that my profil image decreased the quality if it was 2006.

    And yes... It's not much expensive to double the upload size. Space is not as much expensive. We don't talk about 10mb per user.

     

    Rynbef~

×
×
  • Create New...