Jump to content

GM Winter

Members
  • Posts

    382
  • Joined

  • Last visited

Posts posted by GM Winter

  1. 1 hour ago, Xemnas969696 said:

    Hi my friends

    I try to create a box with random items but I can't. could someone guide me step by step to do this?

    Thx so much for your help

    1st make a custom box if you want box 

    in this example i use egg scroll
     

    in your db/import/item_db.yml
    
      - Id: 12654
        AegisName: Lucky_Egg_C9
        Name: Lucky Egg C9
        Type: Usable
        Buy: 20
        Weight: 10
        Flags:
          Container: true
        Trade:
          Override: 100
          NoDrop: true
          NoTrade: true
          NoSell: true
          NoCart: true
          NoGuildStorage: true
          NoMail: true
          NoAuction: true
        Script: |
          getitem callfunc("F_Rand",14003,12221,12208,14592,12210,12211,7621,7776),1;  



    2nd in your db/item_db.yml.txt
     

    12654,Lucky_Egg_C9,Lucky Egg C9,2,20,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ getgroupitem(IG_Lucky_Egg_C9); },{},{}



     

  2. On 8/22/2021 at 6:36 PM, jasonch said:

    Hi, Im having trouble compiling rathena. I have changed distros from Debian 10, Pop os, Debian 11. All are having these errors. Can someone point out what might be the problem? gcc version is 10.x.x. 

    Screenshot 2021-08-21 221823.png

    I have also downgraded my gcc to 5.x and 7, but for some reason debian won't let me do it. errors everywhere.

    hello try this commands

    1. "scl enable devtoolset-7 bash"

    2. "./configure"

    3. "make clean"

    4. "make server"

  3. On 9/7/2021 at 9:55 PM, BeWan said:
    while(checkvending() >= 1) {
    		if( [email protected]$ == "" ) {
    			dispbottom set( [email protected]$, "The hourly points event stopped because you were vending!" );
    			set @hourly_points_timer, 0;
    		}
    		sleep2 .delay;
    	}

    hello thanks but where in the script exactly can i put this 

    no error but its not working still getting hourly points while in autotrade mode

     

    On 9/8/2021 at 9:22 PM, BeWan said:

    we already gave you an idea. you can use search engine to solve your problem.

    okay sir thanks anyway 🙂

    thanks master your the best! 

  4. hello i want to disable hourly points in characters who are in autotrade mode can anyone had an idea to do it thanks in advance

    heres the Script:
     

    Quote

    -    script    hourly_point_main    -1,{
     
        OnInit:
            .npc_name$ = strnpcinfo(3);
            bindatcmd "check",.npc_name$+"::OnAtcommand";
            end;
     
        OnAtcommand:
            dispbottom "Accumulated "+#daily_minute_count;
            end;
     
        OnUpdate:
            #daily_minute_count++;
            deltimer .npc_name$+"::OnUpdate";
            switch ( #daily_minute_count ) {
                default:
                    break;
                case 60: // 60 minutes
                    #CASHPOINT += 1;
                    getitem 677,1;
                    break;
                case 120: // 120 minutes
                    #CASHPOINT += 1;
                    getitem 677,1;
                    break;
                case 180: // 180 minutes
                    #CASHPOINT += 1;
                    getitem 677,1;
                    break;
                case 240: // 240 minutes
                    #CASHPOINT += 1;
                    getitem 677,1;
                    break;
                case 300: // 300 minutes
                    #CASHPOINT += 1;
                    getitem 677,1;
                    break;
                case 360: // 360 minutes
                    #CASHPOINT += 1;
                    getitem 677,1;
                    break;
                case 420: // 420 minutes
                    #CASHPOINT += 1;
                    getitem 677,1;
                    break;
                case 480: // 480 minutes
                    #CASHPOINT += 1;
                    getitem 677,1;
                    #daily_minute_count = 0; // reset.
                    break;
            }
     
        OnPCLoginEvent:
            addtimer ( 60 * 1000 ), .npc_name$+"::OnUpdate";
            end;
    }



     

  5. On 9/1/2021 at 6:28 AM, eArt said:

    thanks, but when I try I get this error "ERROR 1819 (HY000): Your password does not satisfy the current policy requirements" 😞

    use your current sql user password

     

    On 9/2/2021 at 5:38 AM, eArt said:

    and how do I add my password to this code?

      CREATE USER 'ragnarok'@'localhost' IDENTIFIED BY 'ragnarok';
      GRANT ALL PRIVILEGES ON ragnarok.* to 'ragnarok'@'%' IDENTIFIED BY 'ragnarok';

    sorry im new in this

    follow this guide

    Install on Centos · rathena/rathena Wiki · GitHub

     

  6. On 8/27/2021 at 4:00 PM, MarkSuck said:

    Thank you.

    I mean when npc or open item reward  item store is full it's can't not keep item from them.

    how to check by script before open it.

    exmple'

     if (90 <= [email protected]) {
        mes "----------- [xxxxxx] -----------";
            close;
        }

    It's works fine for check weight.

    i think you dont need to check for item count because you already have the script for weight check so if ithe item counts will exceed in weight it will already detect it

     

    22 hours ago, MarkSuck said:

    It's deferent if item count is full 100/100 you can't keep item from any reward.

    ow i see got interested to this topic hope someone help you

  7. 18 hours ago, LearningRO said:

    back to the old time using voucher? hahah

    hahahaha  

     

    3 hours ago, LearningRO said:

    How do you solved it? 
    and why can get that notice?

    its under /conf/login_athena

    // Create accounts with limited time?
    // -1: new accounts are created with unlimited time (default)
    // 0 or more: new accounts automatically expire after the given value, in seconds
    start_limited_time: -1

     

    1 hour ago, LearningRO said:

    whoooaaa
    nice info man 😄
    thanks

    hahaha try to make cards for your server the players need to load hahaha just like old days

    • Upvote 1
  8. hello i would like to ask regarding about itemshower script the normal players can also use the commands how can i set this for only gm 99 thanks
     

    Quote

    -    script     Sample     -1,{
    OnInit:
        set .amount, 50; // amount of item to shower
        setarray .ItemID,677,12986,12221,12216,12215;
        .Size = getarraysize(.ItemID);

        bindatcmd "shower",strnpcinfo(3)+"::OnShower";
    end;

        OnShower:

            getmapxy [email protected]$, [email protected], [email protected], BL_PC;
            freeloop(1);
            while ( .count < .amount ) {
                do {
                    [email protected]_diff = [email protected] + rand(-15,15);
                    [email protected]_diff = [email protected] + rand(-15,15);
                } while (!checkcell([email protected]$,[email protected],[email protected],cell_chkpass));
            makeitem .ItemID[rand(.Size)],1,[email protected]$,[email protected]_diff,[email protected]_diff;   // <<< im stuck on this
            set .count, .count + 1;
        }
        set .count, 0;
    end;
    }

     

  9. hello i would like to ask i already set up my fluxcp web in my vps its already connected and have permission but when i buy a domain name and link to it the fluxcp 277 errors occurs again
    but if my vps domain name or ip im using its not asking for permission . 


     

    1.JPG

  10. 2 hours ago, Zack- said:

    1) if your question how to link your ip to your domain you need to edit your DNS in your domain manager and point your ip address,

    2) if you are referring to the ip you will make domain with name, you need to register a domain first.. then do the #1

    hello sir this one do you have some guide for here

    1) if your question how to link your ip to your domain you need to edit your DNS in your domain manager and point your ip address,

    example from 51,.12.123.312 to www.ragnarok.com

  11. On 7/31/2021 at 2:23 PM, budek said:

    Hello Everyone.

    I'm not sure if this is the right place to seek help for my concern or it should be in client side support. Anyway, the below are my concern

    1. After using ANY Elemental Scrolls include including Cursed Water, the message prompt is "Weapon is temporarily enchanted with Holy property" and the icons on the right side are all the same "Enchant weapon with element".

    Item ID# 12115 (Elemental_Water) Item ID# 12116 (Elemental_Earth) Item ID# 12117 (Elemental_Wind) Item ID# 12114 (Elemental_Fire)

    2. Where can i change or correct this? Sample if i used Elemental Fire scroll, it should be sayaing "Weapon is temporary enchanted with Fire Property"

    3. How can I correct the status icon? there's no indication in the status what element is active or was used.

    image.thumb.png.04a862baeed8fb01446029d0c8cb0314.png

     

    For more info, here are the scripts in item_db_usualble.yml for Elemental Scrolls.
     

      - Id: 12114
        AegisName: Elemental_Fire
        Name: Elemental Converter
        Type: Delayconsume
        Buy: 2
        Weight: 10
        Flags:
          BuyingStore: true
        Script: |
          itemskill "ITEM_ENCHANTARMS",4;
      - Id: 12115
        AegisName: Elemental_Water
        Name: Elemental Converter
        Type: Delayconsume
        Buy: 2
        Weight: 10
        Flags:
          BuyingStore: true
        Script: |
          itemskill "ITEM_ENCHANTARMS",2;
      - Id: 12116
        AegisName: Elemental_Earth
        Name: Elemental Converter
        Type: Delayconsume
        Buy: 2
        Weight: 10
        Flags:
          BuyingStore: true
        Script: |
          itemskill "ITEM_ENCHANTARMS",3;
      - Id: 12117
        AegisName: Elemental_Wind
        Name: Elemental Converter
        Type: Delayconsume
        Buy: 2
        Weight: 10
        Flags:
          BuyingStore: true
        Script: |
          itemskill "ITEM_ENCHANTARMS",5;

     

     

     

    translate mo lahat  client side yan gamitn mo to Ragnarok English Translation Project by llchrisll - Project Releases - rAthena

  12. can someone help me how to fix this error

    Warning: fopen(data/tmp/ConfigServers.cache.php): failed to open stream: Permission denied in /var/www/html/lib/Flux.php on line 277

    123.JPG

×
×
  • Create New...

Important Information

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