Jump to content

Chasewalk

Members
  • Posts

    94
  • Joined

  • Last visited

Posts posted by Chasewalk

  1. just like that @request but error on map-server  

    ACMD_FUNC(request)
    {
        if (!message || !*message) {
            clif_displaymessage(sd->fd,msg_txt(sd,277));    // Usage: @request <petition/message to online GMs>.
            return -1;
    }

            sprintf(atcmd_output, msg_txt(sd,278), message);    // (@request): %s
            intif_wis_message_to_gm(sd->status.name, PC_PERM_RECEIVE_REQUESTS, atcmd_output);
            if( DIFF_TICK( sd->request_delay_tick,gettick() ) > 0 ){
            clif_displaymessage(fd,"There is a 3 minutes delay in using @go command");
            return 0;
    }else{
            sd->request_delay_tick = gettick() + 180000; 
    }
            clif_disp_onlyself(sd, atcmd_output, strlen(atcmd_output));
            clif_displaymessage(sd->fd,msg_txt(sd,279));    // @request sent.
            return 0;
    }



    atcommand.cpp(8848,9): error C3861: 'clif_disp_onlyself': identifier not found

  2. Good day everyone, i'm requesting for a npc script how to put in the script for example when they pay 5k zeny is 5% to chance get item, but when 5m zeny 10% chance they getitem. sorry for may bad english!!

    PS: 5,000 zeny is 5% chance and 5M zeny is 10% chance

     ~Thanks.

     

            input .@zeny_to_gamble;
            if (.@zeny_to_gamble == 0) {
                 mes "You can only put ^FF00005,000^000000 up to ^FF00005,000,000^000000 Zeny to proceed.";
                 close;
            }
            if (.@zeny_to_gamble < 5000 || .@zeny_to_gamble > 5000000) {
                    mes "You can only put ^FF00005,000^000000 up to ^FF00005,000,000^000000 Zeny to proceed.";
                    close;
                }
                Zeny -= .@zeny_to_gamble;
                .@r = rand(100);
                if (.@r < (.@zeny_to_gamble/100000)) { // 50/100 = 50% chance

  3. Thank you so muchI'll try later

    it is not working same not showing mobs hp

    i'm using 1 GM account and 1 Normal Player but a normal player  can't see hp mobs using normal player!

    i want to showing mobs hp and removing hp emperium

  4. Hello i have a question why is that even though I have a buff and my agi and dex  is full 255 but my aspd is 194 instead of 196 sorry for my bad english!

     

    ps: i used deadly poison and reduced by 2 aspd in stats which should not be reduced because my agi and dex is max

    EDP 2.png

    EDP.png

    image.png

    image.png

    image.png

    image.png

  5. Hi sorry for the late reply same error [Warning]: Unexpected type for argument 1. Expected string.
    [Debug]: Data: variable name='#CASHPOINTS' index=0
    [Debug]: Function: setd

            set #CASHPOINTS,#CASHPOINTS+1;

             setarray .Points$,"#CASHPOINTS";

            "0,2,0,0,14232,1,13517,1",            // Day 1: 1 Yggdrasilberry box 1 Box of Thunder

    Error.png

  6. good day!

    help me please i'm using daily reward script but every time i put in points there is an error on map-server but when I return to the previous no error thanks for the help!

     

     

    setarray rewards$
    10000,10,0,0,14232,1,1357,1 


    Points$,"#CASHPOINTS","Activity Points";

  7. can i a request for 7 days daily reward npc example when login ingame you need to talk to npc to get reward and you get yggberry box zeny and points when you get it you will have to wait a 1 day thanks advance more power

×
×
  • Create New...