Jump to content

Kei

Members
  • Content Count

    101
  • Joined

  • Last visited

Posts posted by Kei


  1. how can make this one to execute first and if the char is in the map it will execute the another thing

     

     

    pc->setpos(sd, mapindex_name2id( MAP_VIP_LOUNGE ), 160, 150, CLR_TELEPORT);	sprintf(atcmd_output, msg_txt(5), sd->bl.x, sd->bl.y);	clif->message(fd, atcmd_output);

  2. is it compatible??

     

    heres the code

     

    /*==========================================* @afk by [cr0wmaster]* Features: 1z required to use. Venders are forbidden to use this command.*------------------------------------------*/int atcommand_afk(const int fd, struct map_session_data* sd, const char* command, const char* message){nullpo_retr(-1, sd);if (sd->vender_id)  //check if that player's vending [cr0wmaster]{clif_displaymessage(fd, "You can't use this command while you're vending.");}elseif(sd->status.zeny >= 1)   {			  sd->status.zeny += -1;		   clif_updatestatus(sd, SP_ZENY);		   sd->state.logout = 1;clif_authfail_fd(fd, 15);   } else {	   clif_displaymessage(fd, "You do not have enough money to use this command.");	   clif_displaymessage(fd, "@afk failed.");		   }return 0;}

     

    and how can i make it to make a pub when they execute the commands? and written in the pub is AFK?


  3. I don't get what you're trying to do, could you please elaborate more?

     

    Also, are you sure a script wouldn't cover you better for warping a player when certain conditions are met instead of a source edit?

     

    well i need it to teleport me to the map i desired example i set it to prontera .. then if i execute the command it will warp me directly to prontera.

     

    yes script will do.. but i need it for my custom commands


  4.  

    ..conf/battle/skill.conf

     

    // Delay time after casting (Note 2)delay_rate: 100

     

    and for specific skill

     

    If you are using pre-renewal server

    ..db/pre-re/skill_cast_db.txt 

     

    if you are using renewal server

    ..db/re/skill_cast_db.txt

     

    How to tell if you are using renewal?

     

    check

    ..src/config/renewal.h

    ( the #define RENEWAL is not commented. )

    This is renewal

     

    /// game renewal server mode/// (disable by commenting the line)////// leave this line to enable renewal specific support such as renewal formulas#define RENEWAL

     

    This is pre-renewal

    ( the #define RENEWAL is commented. )

     

    /// game renewal server mode/// (disable by commenting the line)////// leave this line to enable renewal specific support such as renewal formulas//#define RENEWAL

     

    thanks for the reply what i'm going to do in delay_rate?? i'm going to make it 0?? cuz i try to make it 0 and my champ skill has a delay i think

×
×
  • Create New...

Important Information

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