Jump to content

RAWRs

Members
  • Posts

    76
  • Joined

  • Last visited

Posts posted by RAWRs

  1. How to reduce drop rate in Endless Tower map? can someone help me? My current MVP card drops is 10%,i want make it 1% only at Endless Tower.

    Bump,really? no idea? Anyone?

  2. Looking for map flag NPC,we can set listed map flag on any map.Example

    • It will ask to set map flag or to turn it off/disable it.

    menu "Set mapflag",setmap,"Disable mapflag",disable,"Close",close;

    • It will ask what mapflag we want to use, nobranch,nowarp,nowarpto,etc.

    mes "Select which mapflag you want to use?"

    menu "No Branch",nobranch,"No Warp",nowarp,"No warp To",nowarpto,"Close",close;

    • after that which map we want to set it.

    mes "Name of the map.";

    input .@mapname;

    • including turn off/disable the maps functions
    • the other one,only GM can see which maps have set the mapflag(using this NPC).

    mes "List of map thats you put mapflags";

    prontera : nowarp

    prontera : nobranch

    payon : nobranch

    Is this thing possible?

  3. custom.c: In function âcustom_config_readâ:
    custom.c:37: warning: too few arguments for format

    Please help me!

     

    // Framework for Custom.conf [Jezznar]
    // separate custom codes by putting them here.
    #include <stdio.h>
    #include <stdlib.h>
    #include "showmsg.h"
    #include "strlib.h"
    #include "custom.h"
    #include "showmsg.h"
    
    //put variables being used globally here
    int d_max_gmembers=76;
    int d_min_gmembers=16;
    int d_gdext_adjustment=6;
    
    
    // put custom codes here
    int custom_config_read(const char *cfgName)
    {
    FILE *fp;
    int line_num = 0;
    //add more w's if you need more
    char line[1024], w1[64], w2[64];
    
    if((fp = fopen(cfgName, "r")) == NULL) {
    ShowWarning("Custom configuration file is not found: %s\n", cfgName);
    return 1;
    }
    
    ShowInfo("Reading the configuration file %s...\n", cfgName);
    
    while(fgets(line, sizeof(line), fp))
    {
    line_num++;
    if ((line[0] == '/' && line[1] == '/') || line[0] == '\n' || line[1] == '\n')
    continue;
    
    if(sscanf(line,"%[^:]: %[^:]:%[^:]:%[^\r\n]", w1, w2) != 2) {
    /* if you need more paramaters, just add more w's and change "!=2"
    to "<=2" to how many w's are present[Jezznar]
    */
    ShowWarning("Error syntax of configuration file %s in line %d.\n", cfgName, line_num);
    continue;
    }
    
    remove_control_chars(w1);
    remove_control_chars(w2);
    //if there are more parameters just add more
    
    /* put all config fetches here [Jezznar]
    if( strcmpi(w1, "<parameter_name_from_custom.conf>") == 0 )
    {
    d_<parameter_name_from_custom.conf> = atoi(w2);
    } else if (condition) {arguments;}
    */
    if(strcmpi(w1,"max_gmembers") == 0) {
    d_max_gmembers = atoi(w2);
    } else if (strcmpi(w1,"min_gmembers") == 0) {
    d_min_gmembers = atoi(w2);
    } else if (strcmpi(w1,"gd_extadjustment") == 0) {
    d_gdext_adjustment = atoi(w2);
    }
    
    }
    
    ShowInfo("Done reading %s.\n", cfgName);
    
    fclose(fp);
    return 0;
    }
    
  4. I have change this #define MAX_SKILL_LEVEL 100 to this #define MAX_SKILL_LEVEL 1000 and compile it,but my skill level only show maximum level is 232 (using item script = skill "TF_DETOXIFY",1000;).Why did this happen? Do i need to change anything else?

    So no one know about this?

×
×
  • Create New...