Jump to content

Fizi

Members
  • Content Count

    44
  • Joined

  • Last visited

Posts posted by Fizi


  1. Thank you @@evilpuncker. It's working.. but new error occur like @@aznan83 mention above.

     

     

     

    	MKDIR	obj_sql
    	CC	char.c
    char.c: In function 'char_check_char_name':
    char.c:1624: warning: logical '&&' with non-zero constant will always evaluate as true
    char.c:1630: warning: logical '&&' with non-zero constant will always evaluate as true
    	CC	HPMchar.c
    	CC	loginif.c
    	CC	mapif.c
    	CC	geoip.c
    	CC	inter.c
    inter.c: In function 'mapif_parse_NameChangeRequest':
    inter.c:1274: warning: logical '&&' with non-zero constant will always evaluate as true
    inter.c:1280: warning: logical '&&' with non-zero constant will always evaluate as true
    	CC	int_auction.c
    	CC	int_elemental.c
    	CC	int_guild.c
    int_guild.c: In function 'mapif_parse_CreateGuild':
    int_guild.c:1183: warning: logical '&&' with non-zero constant will always evaluate as true
    int_guild.c:1189: warning: logical '&&' with non-zero constant will always evaluate as true
    	CC	int_homun.c
    int_homun.c: In function 'mapif_homunculus_rename':
    int_homun.c:291: warning: logical '&&' with non-zero constant will always evaluate as true
    int_homun.c:297: warning: logical '&&' with non-zero constant will always evaluate as true
    	CC	int_mail.c
    	CC	int_mercenary.c
    	CC	int_party.c
    int_party.c: In function 'mapif_parse_CreateParty':
    int_party.c:495: warning: logical '&&' with non-zero constant will always evaluate as true
    int_party.c:508: warning: logical '&&' with non-zero constant will always evaluate as true
    	CC	int_pet.c
    	CC	int_quest.c
    	CC	int_storage.c
    	CC	pincode.c
    	LD	char-server
    make[1]: Leaving directory `/root/Desktop/Hercules/src/char'
    	MAKE	map_sql
    make[1]: Entering directory `/root/Desktop/Hercules/src/map'
    	MKDIR	obj_sql
    	CC	atcommand.c
    	CC	battle.c
    	CC	battleground.c
    	CC	buyingstore.c
    	CC	channel.c
    	CC	chat.c
    	CC	chrif.c
    	CC	clif.c
    	CC	date.c
    	CC	duel.c
    	CC	elemental.c
    	CC	guild.c
    guild.c: In function 'guild_change_position':
    guild.c:1123: error: 'GPERM_MASK' undeclared (first use in this function)
    guild.c:1123: error: (Each undeclared identifier is reported only once
    guild.c:1123: error: for each function it appears in.)
    make[1]: *** [obj_sql/guild.o] Error 1
    make[1]: Leaving directory `/root/Desktop/Hercules/src/map'
    make: *** [map_sql] Error 2 

     

     


  2. Hello hercules,

     

    As topic above, below is my compile logs. Please help me out from this error.

     

     

     

    make[1]: Entering directory `/root/Desktop/Hercules/src/common'
    	MKDIR	obj_all
    	CC	conf.c
    	CC	db.c
    	CC	des.c
    	CC	ers.c
    	CC	grfio.c
    	CC	HPM.c
    	CC	mapindex.c
    	CC	md5calc.c
    	CC	mutex.c
    	CC	nullpo.c
    	CC	random.c
    	CC	showmsg.c
    	CC	strlib.c
    strlib.c: In function 'strlib_normalize_name':
    strlib.c:193: warning: logical '&&' with non-zero constant will always evaluate as true
    strlib.c:203: warning: logical '&&' with non-zero constant will always evaluate as true
    strlib.c:210: warning: logical '&&' with non-zero constant will always evaluate as true
    strlib.c: In function 'strlib_e_mail_check':
    strlib.c:314: warning: logical '&&' with non-zero constant will always evaluate as true
    strlib.c: In function 'sv_escape_c':
    strlib.c:767: warning: logical '&&' with non-zero constant will always evaluate as true
    	CC	sysinfo.c
    	CC	thread.c
    	CC	timer.c
    	CC	utils.c
    	CC	console.c
    	CC	core.c
    	CC	memmgr.c
    memmgr.c: In function 'malloc_verify_ptr':
    memmgr.c:938: warning: logical '&&' with non-zero constant will always evaluate as true
    	CC	socket.c
    	AR	obj_all/common.a
    	MKDIR	obj_sql
    	CC	sql.c
    	AR	obj_sql/common_sql.a
    	CC	console.c
    	CC	core.c
    	CC	memmgr.c
    memmgr.c: In function 'malloc_verify_ptr':
    memmgr.c:938: warning: logical '&&' with non-zero constant will always evaluate as true
    	CC	socket.c
    	AR	obj_all/common_mini.a
    make[1]: Leaving directory `/root/Desktop/Hercules/src/common'
    	MAKE	login_sql
    make[1]: Entering directory `/root/Desktop/Hercules/src/login'
    	MKDIR	obj_sql
    	CC	account_sql.c
    	CC	HPMlogin.c
    	CC	ipban_sql.c
    	CC	ragnaban_sql.c
    	CC	login.c
    	CC	loginlog_sql.c
    	LD	login-server
    make[1]: Leaving directory `/root/Desktop/Hercules/src/login'
    	MAKE	char_sql
    make[1]: Entering directory `/root/Desktop/Hercules/src/char'
    	MKDIR	obj_sql
    	CC	char.c
    char.c: In function 'char_check_char_name':
    char.c:1624: warning: logical '&&' with non-zero constant will always evaluate as true
    char.c:1630: warning: logical '&&' with non-zero constant will always evaluate as true
    	CC	HPMchar.c
    	CC	loginif.c
    	CC	mapif.c
    	CC	geoip.c
    	CC	inter.c
    inter.c: In function 'mapif_parse_NameChangeRequest':
    inter.c:1274: warning: logical '&&' with non-zero constant will always evaluate as true
    inter.c:1280: warning: logical '&&' with non-zero constant will always evaluate as true
    	CC	int_auction.c
    	CC	int_elemental.c
    	CC	int_guild.c
    int_guild.c: In function 'mapif_parse_CreateGuild':
    int_guild.c:1183: warning: logical '&&' with non-zero constant will always evaluate as true
    int_guild.c:1189: warning: logical '&&' with non-zero constant will always evaluate as true
    int_guild.c:1204: error: 'GPERM_ALL' undeclared (first use in this function)
    int_guild.c:1204: error: (Each undeclared identifier is reported only once
    int_guild.c:1204: error: for each function it appears in.)
    make[1]: *** [obj_sql/int_guild.o] Error 1
    make[1]: Leaving directory `/root/Desktop/Hercules/src/char'
    make: *** [char_sql] Error 2
    

     

     

     

    Thank you.


  3. Actually, the palette follows a pattern.

    It means, the white color is always at same position.

     

    Problems we had with palettes before was just that the palette was made to change colors that the jobs didn't use.

    In that case, jRO made the palettes with an bizarre pattern.

     

    I've corrected them, even the Royal Guard, I'll post it on Download section today, they're totally compatible with default palette already.

     

    +1 Thanks @@Haziel


  4. can you post your error here? Btw, I forgot to write close; on my first reply. Sorry..

     

     

    try this:

    prontera,145,158,4	script	3rd Job Sprite	4_ELEPHANT,{
    	mes "[PVP Narrator]";
    	mes "Hello and welcome!";
    	mes "I am in charge of";
    	mes "explaining the new Job Sprites.";
    	next;
    	switch(select("Change me!:Explain please:End Dialog.")) {
    		case 1:
    			if ( Class == Job_Mechanic || Class == Job_Guillotine_Cross_Trans || Class == Job_Genetic ) {
    				setlook 13, 1;
    				close;
    			}  
    			else {
    				mes "I am sorry but you cant change.";
    				mes "Only Mechanic Guillotine Cross and Genetic can use this npc.";
    				emotion e_swt,1;
    				close;    
    			}
    			break;
    		
    		case 2:
    			mes"Your explanation.. bla bla bla..";
    			break;
    
    		case 3:
    			mes "Okay, bye..";
    			break;
    	}
    	close;
    }
    

  5. prontera,145,158,4    script    3rd Job Sprite    4_ELEPHANT,{
        
    	menu "New 3rd Class:Exit", -1;
    	
    	switch (@menu) {
    		case 1:
    	
    			if ( Class == Job_Mechanic || Class == Job_Guillotine_Cross || Class == Job_Genetic ) {
    				setlook 13, 1;
    				close;
    			}  
    			
    			else {
    				mes "I am sorry but you cant change.";
    				mes "Only Mechanic Guillotine Cross and Genetic can use this npc.";
    				emotion e_swt,1;
    				close;    
    			}
    			break;
    			
    		default:
    			mes "Okay, bye..";
    			break;
    	}
    }
    

     

    Try this. I don't test it. Hope it work.  ;)

×
×
  • Create New...

Important Information

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