Jump to content

dave23

Members
  • Posts

    99
  • Joined

  • Last visited

Posts posted by dave23

  1. Yeah but the problem is, it's hard to add items in DB thru SQL since it's slow. My problem is that, hunting mission is not working fine and having a lot of script arguments.

     

    My concerns right now are:

    1. How to add items easily in item_db?

    2. Is it more secure to use SQL DB than TXT?

  2. Hi,

     

    I have a hourly points npc but I want to put "You stayed in game for 1 minute" and so on so that players can monitor their playing time. How can I do it?

    //===== Hourly Points Script =========================================
    //===== By: ==========================================================
    //= GorthexTiger modified by Nibi
    //===== Current Version: =============================================
    //= 1.0
    //===== Compatible With: =============================================
    //= Any eAthena Version
    //===== Description: =================================================
    //= Get Points every successful hours of gameplay, you cannot get
    //= the points even if you miss a second or a minute. A player will
    //= get a very big bonus if they played 3 hours consecutively
    //= or without logging out of the game. If the player is vending
    //= the script will then stop.
    //===== Additional Comments: =========================================
    //= You can modify the script to your liking.
    //= The default points is Kafrapoints change it anyway if you like.
    //= 1.1 = Check Chatting too
    //= 1.2 = 5 Minute Idle Check & @at/@autotrade check.
    //= 1.3 = Corrected the current balance line on 12 Hours Consecutive
    //====================================================================
    -	script	hourlypoints	-1,{
    //--Start of the Script
    OnPCLoginEvent:
        addtimer .timer,"hourlypoints::OnPointGet";
        end;
        
    OnPointGet:
        while(checkvending() >= 1 || checkchatting() == 1 || checkidle()>=.dlimit) {
            sleep2 .delay;
            if(.@mes$=="")
                dispbottom set(.@mes$,"The hourly points event haulted because you were vending, chatting, or idle.");
        }
        set #CASHPOINTS, #CASHPOINTS + .point_amt;
        dispbottom "You received "+.point_amt+" Kafrapoints by staying ingame for 1 hour";
        dispbottom "Current Balance = "+#CASHPOINTS+" Kafrapoints";
        set @consecutive_hour, @consecutive_hour + 1;
    
        //Check for 3 hours consecutive
        if(@consecutive_hour == 3) {
            set @consecutive_hour,0;
            set #CASHPOINTS, #CASHPOINTS + .cpoint_amt;
            dispbottom "You receive "+.cpoint_amt+" Kafrapoints in playing for 12 consecutive hours";
            dispbottom "Current Balance = "+#CASHPOINTS+" Kafrapoints";
        }
        addtimer .timer,"hourlypoints::OnPointGet";
        end;
    
    OnInit:
        set .timer, 1000*60*60; //Timer in milliseconds.
        set .cpoint_amt, 10; //Points gained for consecutive time online.
        set .point_amt, 1; //Normal points gained.
        set .delay, 1000; //Delay for idle re-check check.
        set .dlimit, 60*5; //Stop points if afk greater then in seconds.
    }
    
    -	script	check	-1,{
        OnInit:
            bindatcmd "check",strnpcinfo(3)+"::OnCheck";
            end;
        OnCheck:
            dispbottom "You have " +#CASHPOINTS+ " cash points.";
            end;
    }
    
  3. Hi,

     

    May I request a freebie npc wherein he will give item per account and if same account and other character, it will give item but lesser than previous one.

     

    Thank you.

  4. Hi,

     

    I was able to retrieve my previous RO Client from my server. It is perfectly working which has 2010 07 30 version of client. I wonder why it doesn't work when I try to diff same client version on a windows 10 OS. 

     

    Please help me thanks.

  5. Hi,

     

    I badly needed 2010 07 30 client and data that is fully working. I tried all my best in using search, download everything needed but still not working.

     

    Willing to pay here if it's working.

     

    Thankyou

     

    Regards,

    Dave 23

  6. I will try to test the lua files. I downloaded the data folder v 2.0 but it's not translated. BTW, I tried to diff my client by using NEMO patcher.


    Still I;m getting full screen even I change my resolution and after I close the client, the resolution in setup got blank.

  7. case SC_FREEZE:
    			sc_def = status->mdef*100;
    			sc_def2 = status->luk*10 + status_get_lv(bl)*10 - status_get_lv(src)*10;
    			tick_def2 = status_src->luk*30; // Caster can increase final duration with luk
    

     

    This is my code on freeze. My problem is if Player1 has high luk and try to frost Player2, the duration of freeze is too fast like 2 ~ 3 secs. But If player1 has normal luk or no luk and try to frost player2, the duration of freeze will be normal. 

     

    Can someone explain what does sc_def and sc_Def2 are? I need to fix this ASAP. 

    UP!

  8. Hi, I tried to change the Loc from 34 to 2 but it seems that its not working because when I try to use a bow it is still two handed. Please help

     

     

    1743,Krieger_Bow1,Glorious Hunter Bow,5,0,,0,100,,5,4,0x001A0848,7,2,2,4,1,1,11,{ bonus2 bSkillAtk,382,5+(getequiprefinerycnt(EQI_HAND_R)*1); bonus2 bSkillAtk,46,5+(getequiprefinerycnt(EQI_HAND_R)*1); bonus bDex,5; if(getrefine()>8){ bonus bDex,5; } },{},{}

     

×
×
  • Create New...