Jump to content

nitrous

Developer
  • Posts

    138
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by nitrous

  1. This happened to me too, as a temporary fix I've just put the would-be custom item group into item_group_db.txt

     

    When the item db is loaded, it never checks for imports in tiem_group_db

  2. It starts at line 271

    getpartymember getcharid(1),1;
    getpartymember getcharid(1),2;
    for(set [email protected], 0; [email protected] < [email protected]; [email protected]++){
    	if(isloggedin([email protected][[email protected]], [email protected][[email protected]])){
    		if(attachrid([email protected][[email protected]])){
    			if(h_run==1 && getcharid(3) != [email protected] && [email protected]$ == currentquest$ && HP > 0){
    				getmapxy([email protected]$,[email protected],[email protected],0);
    				if([email protected]$ == [email protected]$ && distance([email protected],[email protected],[email protected],[email protected]) < .party_range){
    					if(getd([email protected]$+"_"[email protected]+"_"[email protected]+"_killcount")<getd("."[email protected]$+"_huntingmob["[email protected]+"]"))
    					{
    						setd([email protected]$+"_"[email protected]+"_"[email protected]+"_killcount", getd([email protected]$+"_"[email protected]+"_"[email protected]+"_killcount")+1);
    						dispbottom getd("."[email protected]$+"_huntingname$")+": ["+strmobinfo(1,[email protected])+"] ("+ getd([email protected]$+"_"[email protected]+"_"[email protected]+"_killcount")+"/"+getd("."[email protected]$+"_huntingmob["[email protected]+"]")+")";
    					}
    				}
    			}
    		}
    	}
    }
    attachrid([email protected]);
    
    
  3. It's in db/job_db2.txt

     

    The format is:

    // Job-specific Stat Bonuses Database
    //
    // Structure of Database:
    // JobID,JobLv1,JobLv2,JobLv3,...
    //
    // Legend for 'JobLvN' fields:
    //  0 = No stat bonus at this job level
    //  1 = STR increased by 1 at this job level
    //  2 = AGI increased by 1 at this job level
    //  3 = VIT increased by 1 at this job level
    //  4 = INT increased by 1 at this job level
    //  5 = DEX increased by 1 at this job level
    //  6 = LUK increased by 1 at this job level
  4. Try this

    prontera,111,111,4	script	Daily Buff	-1,{
    function getcurrenttime;
    function getcurrenttime {
    	return (gettime(7)*10000)+(gettime(6)*100)+gettime(5);
    }
    	mes "add your own message";
    	mes "add your own message";
    	mes "add your own message";
    	next;
    	if(select("Yes","No") == 2) close;
    	if(#LastDailyBuff >= getcurrenttime()){
    		mes "still on cooldown";
    		close;
    	}
    	mes "here's your buff";
    	sc_start SC_EXPBOOST,3600000,100; 
    	#LastDailyBuff = getcurrenttime();
    	close;
    }
    
    • Upvote 1
  5. This tool is amazing, thank you.

    I'm just getting into GrfCL now. When I try to use the .bat file display info, on this line:

    set c=%c% -fileInfo "data\sprite\¸ó½ºÅÍ\high_orc.spr"
    

    I get the error:

    #Error : An exception has been thrown
    #Error : Given command line : GrfCL.exe   -breakOnExceptions true -open test.grf -info -break -write "Now showing the structure of the current GRF : " -tree data true all -break -fileInfo "data\sprite\A,A3A½AºA.A?\high_orc.spr" -break
    #Error : Command being executed : -fileInfo  <data\sprite\A,A3A½AºA.A?\high_orc.spr>
    #Exception : The given key was not present in the dictionary.
    

    However, if I open the GrfCL command prompt, then copy and paste the command, it works. Is this an issue with the encoding of the .bat file? That's my assumption as the error shows a different monster sprite folder, but I don't know how to fix this. This is on Windows 10.

×
×
  • Create New...

Important Information

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