Jump to content

GMynna

Members
  • Posts

    58
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by GMynna

  1. help nmn dito.. papano ko sya ggawing every 30minute ung event??

     

    // Capuche cleaning Base on the poring race by Zell_ff8, xianz, Neko
    izlude,128,111,5	script	Poring Race	882,{
    
    	if( .access_Prace == 0 ) {
    		mes "[Poring Race Staff]";
    		mes "Poring Race has ended.";
    		close;
    	}
    	mes "[Poring Race Staff]";
    	mes "Do you want to participate on Poring Race?";
    	if( select( "Yes","No" ) -1 ) {
    		next;
    		mes "[Poring Race Staff]";
    		mes "See you again next time!";
    		close;
    	}
    	if( .access_Prace == 0 ) {
    		next;
    		mes "[Poring Race Staff]";
    		mes "...";
    		mes "...";
    		mes "Cheater!!~~";
    		close;
    	}
    	close2;
    	@prace_winner$ = "";
    	warp "p_track01",52,41;
    	end;
    // OnInit:
    OnMinute30:
    	if( gettime(3)%2 ) end;
    	set .access_Prace, 1;
    	announce "Poring Race is now open Mid Izlude!",0,0xFFAB54;
    	setnpctimer 100000,"Bidder#prace0";
    	startnpctimer "Bidder#prace0";
    	end;
    OnPraceEnd:
    	set .access_Prace, 0;
    	announce "Poring Race is over!",0,0xFFAB54;
    	end;
    }
    
    
    p_track01,58,41,3	script	Bidder#prace0	877,{
    function checkevent;
    
    	mes "[Bidder]";
    	if( getstrlen( @prace_winner$ ) ) {
    		mes "You have choose ^00bb00"+ @prace_winner$ +"^000000";
    		close;
    	}
    	else if ( checkevent() || .start ) {
    		mes "There is a race in progress...";
    		close;
    	}
    	else if( !getvariableofnpc( .access_Prace,"Poring Race" ) ) {
    		mes "There is no race.";
    		close;
    	}
    	mes "Choose the poring you want to bet:";
    	mes "It will cost "+ .zeny_req +" Zeny.";
    
    	.@s = select( .menu_$ );
    	if( .@s == 7 ) {
    		next;
    		mes "[Bidder]";
    		mes "Goodbye.";
    		close;
    	}
    	.@c$ = .monst_$[ .@s -1 ];
    
    	if ( checkevent() ) {
    		next;
    		mes "[Bidder]";
    		mes "...";
    		mes "...";
    		mes "Cheater!!~~";
    		close;
    	}
    	else if( Zeny < .zeny_req ) {
    		next;
    		mes "[Bidder]";
    		mes "You don't have enough Zeny.";
    		close;
    	}
    	Zeny -= .zeny_req;
    	@prace_winner$ = .@c$;
    	.prace_bidders[ .prace_bets ] = getcharid(3);
    	.prace_bets++;
    
    	next;
    	mes "[Bidder]";
    	mes "I have "+ .prace_bets +" bets.";
    	initnpctimer;
    	npctalk "I got "+ strcharinfo(0) +" bet!";
    	close;
    OnTimer60000:
    	npctalk "I got "+ .prace_bets +" bets. Anyone else?";
    	end;
    OnTimer80000:
    	npctalk "The race will start soon. Last chance.";
    	end;
    OnTimer90000:
    	stopnpctimer;
    	.start = 1;
    	mapannounce "p_track01","Porings, on your marks...",1,0xFFAB54;
    	sleep 2500;
    	for( .@i = 3; .@i > 0; .@i-- ) {
    		mapannounce "p_track01","..."+ .@i +"...",1,0xFFAB54;
    		sleep 1000;
    	}
    	donpcevent strnpcinfo(0) +"::OnStartRace";
    	sleep 1000;
    	mapannounce "p_track01","Gooo!!!",1,0xFFAB54;
    	end;
    OnTimer320000:
    	mapwarp "p_track01","prontera",142,170;
    	donpcevent "Poring Race::OnPraceEnd";
    	.prace_winner$ = "";
    	.start = .prace_bets = 0;
    	donpcevent strnpcinfo(0) +"::OnReturnRace";
    	end;
    
    OnStartRace:
    	callsub L_label, "OnRace";
    OnStopRace:
    	callsub L_label, "OnStop";
    OnReturnRace:
    	callsub L_label, "OnReturn";
    L_label:
    	donpcevent "Metaling#prace3::"+ getarg(0);
    	donpcevent "Poring#prace1::"+ getarg(0);
    	donpcevent "Poporing#prace6::"+ getarg(0);
    	donpcevent "Angeling#prace2::"+ getarg(0);
    	donpcevent "Santa Poring#prace5::"+ getarg(0);
    	donpcevent "Deviling#prace4::"+ getarg(0);
    	if( getarg(0) == "OnStop" && .prace_winner$ != "" )
    		callsub L_WinRace;
    	end;
    L_WinRace:
    	mapannounce "p_track01", "The winner is "+ .prace_winner$,1,0xFFAB54;
    	donpcevent strnpcinfo(0) +"::OnChequeo";
    	sleep 3000;
    	donpcevent strnpcinfo(0) +"::OnReturnRace";
    	sleep 10000;
    	mapwarp "p_track01","prontera",142,170;
    	donpcevent "Poring Race::OnPraceEnd";
    	.prace_winner$ = "";
    	.start = .prace_bets = 0;
    	end;
    OnChequeo:
    	for( .@i = 0 ; .@i < getarraysize( .prace_bidders ); .@i++ ) {
    		if( attachrid( .prace_bidders[.@i] ) && getstrlen( @prace_winner$ ) ) {
    			dispbottom "The winner is "+ .prace_winner$ +" and you have bet for "+ @prace_winner$ +".";
    			if( @prace_winner$ == .prace_winner$ ) {
    				dispbottom "You have won!";
    				mapannounce "p_track01"," Congratulations! "+ strcharinfo(0) +" has won!",1,0xFFAB54;
    				getitem .item_gained, .item_num_gain;
    				emotion 21,1;
    			}
    			else {
    				dispbottom "You have lost.";
    				emotion 28,1;
    			}
    			@prace_winner$ = "";
    		}
    	}
    	deletearray .prace_bidders;
    	end;
    OnInit:
    	.zeny_req = 3500;
    	.item_gained = 7227;
    	.item_num_gain = 2;
    	setarray .monst_$,"Poring","Angeling","Metaling","Deviling","Santa Poring","Poporing","None";
    	.menu_$ = implode( .monst_$, ":" );
    	end;
    
    function checkevent {
    	getmapxy .@mapname$, .@x1, .@y, 1, "Poring#prace1";
    	getmapxy .@mapname$, .@x2, .@y, 1, "Angeling#prace2";
    	getmapxy .@mapname$, .@x3, .@y, 1, "Metaling#prace3";
    	getmapxy .@mapname$, .@x4, .@y, 1, "Deviling#prace4";
    	getmapxy .@mapname$, .@x5, .@y, 1, "Santa Poring#prace5";
    	getmapxy .@mapname$, .@x6, .@y, 1, "Poporing#prace6";
    	.@t = ( .@x1 + .@x2 + .@x3 + .@x4 + .@x5 + .@x6 ) != 58 * 6;
    	return .@t;
    }
    }
    //-----------------------------------
    // Racer NPC's
    //-----------------------------------
    
    -	script	pori_race	-1,{
    OnRace:
    	initnpctimer;
    	end;
    OnStop:
    	stopnpctimer;
    	end;
    OnReturn:
    	sleep 1000;
    	while( strnpcinfo(1) != .monst$[ .@i ] ) .@i++;
    	movenpc strnpcinfo(3), 58, .walk_t[.@i];
    	end;
    OnTimer1100:
    	getmapxy .@mapname$,.@x,.@y,1, strnpcinfo(3);
    	if( rand(100) < .prace_random )
    		npcwalkto .@x-1, .@y;
    	.@r = rand( .prace_random2 );
    	if ( .@x -1 == 29 ) {
    		while( strnpcinfo(1) != .monst$[ .@i ] ) .@i++;
    		set getvariableofnpc( .prace_winner$, "Bidder#prace0" ), .monst$[ .@i ];
    		emotion 29;
    		donpcevent "Bidder#prace0::OnStopRace";
    		end;
    	}
    	stopnpctimer;
    	setnpctimer .@r;
    	startnpctimer;
    	end;
    OnInit:
    	deletearray .walk_t;
    	deletearray .monst$;
    	setarray .walk_t, 38, 36, 34, 32, 30, 28;
    	setarray .monst$, "Poring", "Angeling", "Metaling", "Deviling", "Santa Poring", "Poporing";
    	.prace_random = 70;
    	.prace_random2 = 600;
    	end;
    }
    
    p_track01,58,38,2	duplicate(pori_race)	Poring#prace1	1002
    p_track01,58,36,2	duplicate(pori_race)	Angeling#prace2	1096
    p_track01,58,34,2	duplicate(pori_race)	Metaling#prace3	1613
    p_track01,58,32,2	duplicate(pori_race)	Deviling#prace4	1582
    p_track01,58,30,2	duplicate(pori_race)	Santa Poring#prace5	1062
    p_track01,58,28,2	duplicate(pori_race)	Poporing#prace6	1031
    
    p_track01,78,42,0	warp	p_track002	1,3,izlude,128,114
    
    p_track01	mapflag	nobranch
    p_track01	mapflag	noicewall
    p_track01	mapflag	nomemo
    p_track01	mapflag	noreturn
    p_track01	mapflag	noteleport
    p_track01	mapflag	nowarpto
    p_track01	mapflag	nowarp
    p_track01	mapflag	pvp	off
    p_track01	mapflag	nosave
    
  2. Please type this command.

    make clean

    make sql

    make server

    then try again

     

    then i get this error   :(

     

    pc.c: In function ‘pc_addspiritball’:
    pc.c:212: error: ‘MAX_SPIRITBALL’ undeclared (first use in this function)
    pc.c:212: error: (Each undeclared identifier is reported only once
    pc.c:212: error: for each function it appears in.)
    pc.c:234: warning: passing argument 1 of ‘clif_millenniumshield’ from incompatib                         le pointer type
    pc.c: In function ‘pc_delspiritball’:
    pc.c:261: error: ‘MAX_SPIRITBALL’ undeclared (first use in this function)
    pc.c:277: warning: passing argument 1 of ‘clif_millenniumshield’ from incompatib                         le pointer type
    pc.c: At top level:
    pc.c:442: error: conflicting types for ‘pc_setrestartvalue’
    pc.h:815: error: previous declaration of ‘pc_setrestartvalue’ was here
    pc.c:481: error: conflicting types for ‘pc_inventory_rental_clear’
    pc.h:1050: error: previous declaration of ‘pc_inventory_rental_clear’ was here
    pc.c: In function ‘pc_rental_expire’:
    pc.c:499: error: ‘ITEMID_LOVE_ANGEL’ undeclared (first use in this function)
    pc.c:500: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c:501: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c:505: error: ‘ITEMID_SQUIRREL’ undeclared (first use in this function)
    pc.c:506: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c:507: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c:511: error: ‘ITEMID_GOGO’ undeclared (first use in this function)
    pc.c:512: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c:513: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c:517: error: ‘ITEMID_PICTURE_DIARY’ undeclared (first use in this function)
    pc.c:518: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c:519: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c:523: error: ‘ITEMID_MINI_HEART’ undeclared (first use in this function)
    pc.c:524: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c:525: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c:529: error: ‘ITEMID_NEWCOMER’ undeclared (first use in this function)
    pc.c:530: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c:531: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c:535: error: ‘ITEMID_KID’ undeclared (first use in this function)
    pc.c:536: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c:537: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c:541: error: ‘ITEMID_MAGIC_CASTLE’ undeclared (first use in this function)
    pc.c:542: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c:543: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c:547: error: ‘ITEMID_BULGING_HEAD’ undeclared (first use in this function)
    pc.c:548: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c:549: error: ‘struct mmo_charstatus’ has no member named ‘font’
    pc.c: At top level:
    pc.c:624: error: conflicting types for ‘pc_makesavestatus’
    pc.h:816: error: previous declaration of ‘pc_makesavestatus’ was here
    pc.c:674: error: conflicting types for ‘pc_setnewpc’
    pc.h:818: error: previous declaration of ‘pc_setnewpc’ was here
    pc.c:724: error: conflicting types for ‘pc_setinventorydata’
    pc.h:827: error: previous declaration of ‘pc_setinventorydata’ was here
    pc.c:847: error: conflicting types for ‘pc_isequipped’
    pc.h:869: error: previous declaration of ‘pc_isequipped’ was here
    pc.c: In function ‘pc_isequipped’:
    pc.c:855: warning: implicit declaration of function ‘pc_is_same_equip_index’
    pc.c: At top level:
    pc.c:1020: error: conflicting types for ‘pc_isequip’
    pc.h:825: error: previous declaration of ‘pc_isequip’ was here
    pc.c: In function ‘pc_authok’:
    pc.c:1138: error: ‘struct map_session_data’ has no member named ‘expiration_tid’
    pc.c:1139: error: ‘struct map_session_data’ has no member named ‘autotrade_tid’
    pc.c:1156: error: ‘MAX_SPIRITBALL’ undeclared (first use in this function)
    pc.c:1199: error: ‘struct map_session_data’ has no member named ‘delayed_damage’
    pc.c:1210: error: incompatible types in assignment
    pc.c:1256: error: ‘struct map_session_data’ has no member named ‘expiration_time                         ’
    pc.c:1278: error: ‘struct map_session_data’ has no member named ‘sc_display’
    pc.c:1279: error: ‘struct map_session_data’ has no member named ‘sc_display_coun                         t’
    pc.c:1284: error: ‘struct map_session_data’ has no member named ‘last_addeditem_                         index’
    pc.c: At top level:
    pc.c:1336: error: conflicting types for ‘pc_reg_received’
    pc.h:821: error: previous declaration of ‘pc_reg_received’ was here
    pc.c: In function ‘pc_reg_received’:
    pc.c:1423: error: ‘SCO_FIRST’ undeclared (first use in this function)
    pc.c:1423: error: ‘SCO_FORCE’ undeclared (first use in this function)
    pc.c:1458: warning: implicit declaration of function ‘pc_check_expiration’
    pc.c:1462: error: ‘struct map_session_data’ has no member named ‘autotrade_tid’
    pc.c:1462: error: ‘struct Battle_Config’ has no member named ‘feature_autotrade_                         open_delay’
    pc.c:1462: error: ‘pc_autotrade_timer’ undeclared (first use in this function)
    pc.c: At top level:
    pc.c:1497: error: conflicting types for ‘pc_calc_skilltree’
    pc.h:833: error: previous declaration of ‘pc_calc_skilltree’ was here
    pc.c: In function ‘pc_calc_skilltree’:
    pc.c:1665: warning: implicit declaration of function ‘pc_is_taekwon_ranker’
    pc.c: At top level:
    pc.c:1846: error: conflicting types for ‘pc_updateweightstatus’
    pc.h:873: error: previous declaration of ‘pc_updateweightstatus’ was here
    pc.c: In function ‘pc_bonus_item_drop’:
    pc.c:2063: warning: implicit declaration of function ‘itemdb_group_exists’
    pc.c: In function ‘pc_exeautobonus’:
    pc.c:2201: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c: In function ‘pc_endautobonus’:
    pc.c:2214: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c: In function ‘pc_itemgrouphealrate’:
    pc.c:2289: error: ‘struct map_session_data’ has no member named ‘itemgrouphealra                         te_count’
    pc.c:2290: error: invalid type argument of ‘->’
    pc.c:2294: error: ‘struct map_session_data’ has no member named ‘itemgrouphealra                         te_count’
    pc.c:2295: error: invalid type argument of ‘->’
    pc.c:2304: warning: implicit declaration of function ‘ers_alloc’
    pc.c:2304: error: expected expression before ‘struct’
    pc.c:2304: warning: assignment makes pointer from integer without a cast
    pc.c:2305: error: dereferencing pointer to incomplete type
    pc.c:2306: error: dereferencing pointer to incomplete type
    pc.c:2308: error: ‘struct map_session_data’ has no member named ‘itemgrouphealra                         te_count’
    pc.c:2308: error: incompatible types in assignment
    pc.c:2309: error: ‘struct map_session_data’ has no member named ‘itemgrouphealra                         te_count’
    pc.c: In function ‘pc_itemgrouphealrate_clear’:
    pc.c:2317: error: ‘struct map_session_data’ has no member named ‘itemgrouphealra                         te_count’
    pc.c:2321: error: ‘struct map_session_data’ has no member named ‘itemgrouphealra                         te_count’
    pc.c:2322: warning: implicit declaration of function ‘ers_free’
    pc.c:2323: error: ‘struct map_session_data’ has no member named ‘itemgrouphealra                         te_count’
    pc.c:2325: error: incompatible types in assignment
    pc.c: At top level:
    pc.c:2337: error: conflicting types for ‘pc_bonus’
    pc.h:880: error: previous declaration of ‘pc_bonus’ was here
    pc.c: In function ‘pc_bonus’:
    pc.c:2446: warning: implicit declaration of function ‘CHK_ELEMENT’
    pc.c:2588: warning: implicit declaration of function ‘CHK_RACE’
    pc.c:2595: warning: implicit declaration of function ‘CHK_CLASS’
    pc.c: At top level:
    pc.c:2942: error: conflicting types for ‘pc_bonus2’
    pc.h:881: error: previous declaration of ‘pc_bonus2’ was here
    pc.c: In function ‘pc_bonus2’:
    pc.c:2976: warning: implicit declaration of function ‘CHK_MOBSIZE’
    pc.c:3362: warning: implicit declaration of function ‘CHK_RACE2’
    pc.c:3393: error: ‘SP_ADD_ITEMGROUP_HEAL_RATE’ undeclared (first use in this fun                         ction)
    pc.c: At top level:
    pc.c:3608: error: conflicting types for ‘pc_bonus3’
    pc.h:882: error: previous declaration of ‘pc_bonus3’ was here
    pc.c:3724: error: conflicting types for ‘pc_bonus4’
    pc.h:883: error: previous declaration of ‘pc_bonus4’ was here
    pc.c: In function ‘pc_bonus4’:
    pc.c:3757: error: ‘SP_SET_DEF_RACE’ undeclared (first use in this function)
    pc.c:3766: error: ‘SP_SET_MDEF_RACE’ undeclared (first use in this function)
    pc.c: At top level:
    pc.c:3791: error: conflicting types for ‘pc_bonus5’
    pc.h:884: error: previous declaration of ‘pc_bonus5’ was here
    pc.c: In function ‘pc_skill’:
    pc.c:3851: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c: At top level:
    pc.c:3995: error: conflicting types for ‘pc_checkadditem’
    pc.h:845: error: previous declaration of ‘pc_checkadditem’ was here
    pc.c:4031: error: conflicting types for ‘pc_inventoryblank’
    pc.h:846: error: previous declaration of ‘pc_inventoryblank’ was here
    pc.c:4053: error: conflicting types for ‘pc_payzeny’
    pc.h:848: error: previous declaration of ‘pc_payzeny’ was here
    pc.c:4195: error: conflicting types for ‘pc_getzeny’
    pc.h:850: error: previous declaration of ‘pc_getzeny’ was here
    pc.c:4228: error: conflicting types for ‘pc_search_inventory’
    pc.h:847: error: previous declaration of ‘pc_search_inventory’ was here
    pc.c: In function ‘pc_additem’:
    pc.c:4308: error: ‘struct map_session_data’ has no member named ‘last_addeditem_                         index’
    pc.c: At top level:
    pc.c:4349: error: conflicting types for ‘pc_delitem’
    pc.h:851: error: previous declaration of ‘pc_delitem’ was here
    pc.c:4381: error: conflicting types for ‘pc_dropitem’
    pc.h:867: error: previous declaration of ‘pc_dropitem’ was here
    pc.c:4425: error: conflicting types for ‘pc_takeitem’
    pc.h:866: error: previous declaration of ‘pc_takeitem’ was here
    pc.c: In function ‘pc_isUseitem’:
    pc.c:4520: error: ‘ITEM_NOUSE_SITTING’ undeclared (first use in this function)
    pc.c:4529: error: ‘struct <anonymous>’ has no member named ‘dead_branch’
    pc.c:4616: error: ‘struct <anonymous>’ has no member named ‘group’
    pc.c:4618: error: ‘ITEM_CANT_OBTAIN_WEIGHT’ undeclared (first use in this functi                         on)
    pc.c:4663: error: ‘struct <anonymous>’ has no member named ‘dead_branch’
    pc.c: In function ‘pc_useitem’:
    pc.c:4740: error: ‘COLOR_YELLOW’ undeclared (first use in this function)
    pc.c:4762: error: ‘ITEM_CANT_USE_AREA’ undeclared (first use in this function)
    pc.c: At top level:
    pc.c:4817: error: conflicting types for ‘pc_cart_additem’
    pc.h:860: error: previous declaration of ‘pc_cart_additem’ was here
    pc.c: In function ‘pc_cart_additem’:
    pc.c:4833: error: ‘BOUND_ACCOUNT’ undeclared (first use in this function)
    pc.c: At top level:
    pc.c:4886: error: conflicting types for ‘pc_cart_delitem’
    pc.h:861: error: previous declaration of ‘pc_cart_delitem’ was here
    pc.c:4911: error: conflicting types for ‘pc_putitemtocart’
    pc.h:862: error: previous declaration of ‘pc_putitemtocart’ was here
    pc.c:4956: error: conflicting types for ‘pc_getitemfromcart’
    pc.h:863: error: previous declaration of ‘pc_getitemfromcart’ was here
    pc.c:4985: warning: ‘enum bound_type’ declared inside parameter list
    pc.c:4985: warning: its scope is only this definition or declaration, which is p                         robably not what you want
    pc.c:4985: error: parameter 2 (‘type’) has incomplete type
    pc.c: In function ‘pc_steal_item’:
    pc.c:5097: error: ‘BC_DEFAULT’ undeclared (first use in this function)
    pc.c: At top level:
    pc.c:5146: error: conflicting types for ‘pc_setpos’
    pc.h:840: error: previous declaration of ‘pc_setpos’ was here
    pc.c: In function ‘pc_setpos’:
    pc.c:5159: error: ‘struct Battle_Config’ has no member named ‘revive_onwarp’
    pc.c:5160: error: too many arguments to function ‘pc_setstand’
    pc.c:5253: error: ‘struct Battle_Config’ has no member named ‘teleport_on_portal                         ’
    pc.c:5287: warning: implicit declaration of function ‘hom_is_active’
    pc.c: At top level:
    pc.c:5315: error: conflicting types for ‘pc_randomwarp’
    pc.h:842: error: previous declaration of ‘pc_randomwarp’ was here
    pc.c: In function ‘pc_randomwarp’:
    pc.c:5329: error: ‘struct Battle_Config’ has no member named ‘teleport_on_portal                         ’
    pc.c: At top level:
    pc.c:5342: error: conflicting types for ‘pc_memo’
    pc.h:843: error: previous declaration of ‘pc_memo’ was here
    pc.c:5424: error: conflicting types for ‘pc_checkskill’
    pc.h:829: error: previous declaration of ‘pc_checkskill’ was here
    pc.c:5523: error: conflicting types for ‘pc_checkequip2’
    pc.h:831: error: previous declaration of ‘pc_checkequip2’ was here
    pc.c: In function ‘pc_checkbaselevelup’:
    pc.c:6141: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c:6147: error: ‘SCO_FORCE’ undeclared (first use in this function)
    pc.c: In function ‘pc_checkjoblevelup’:
    pc.c:6207: error: ‘SCO_FORCE’ undeclared (first use in this function)
    pc.c: At top level:
    pc.c:6521: error: conflicting types for ‘pc_statusup’
    pc.h:909: error: previous declaration of ‘pc_statusup’ was here
    pc.c: In function ‘pc_statusup’:
    pc.c:6552: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c: In function ‘pc_statusup2’:
    pc.c:6596: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c: In function ‘pc_skillup’:
    pc.c:6626: warning: implicit declaration of function ‘hom_skillup’
    pc.c:6642: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c: In function ‘pc_allskillup’:
    pc.c:6710: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c: In function ‘pc_resetlvl’:
    pc.c:6800: error: ‘SCO_FORCE’ undeclared (first use in this function)
    pc.c: In function ‘pc_resetstate’:
    pc.c:6865: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c: In function ‘pc_resetskill’:
    pc.c:6917: warning: implicit declaration of function ‘hom_vaporize’
    pc.c:6978: error: ‘SCO_FORCE’ undeclared (first use in this function)
    pc.c: In function ‘pc_respawn’:
    pc.c:7066: error: too many arguments to function ‘pc_setstand’
    pc.c: In function ‘pc_damage’:
    pc.c:7097: error: too many arguments to function ‘pc_setstand’
    pc.c: In function ‘pc_dead’:
    pc.c:7215: warning: implicit declaration of function ‘mercenary_delete’
    pc.c:7267: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c:7331: error: ‘it’ undeclared (first use in this function)
    pc.c:7331: error: ‘count’ undeclared (first use in this function)
    pc.c:7331: error: too many arguments to function ‘map_addflooritem’
    pc.c:7335: error: ‘BSF_REM_ON_DEAD’ undeclared (first use in this function)
    pc.c: In function ‘pc_revive’:
    pc.c:7478: error: too many arguments to function ‘pc_setstand’
    pc.c: In function ‘pc_setparam’:
    pc.c:7664: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c: In function ‘pc_itemheal’:
    pc.c:7828: warning: implicit declaration of function ‘pc_get_itemgroup_bonus’
    pc.c: At top level:
    pc.c:7945: error: conflicting types for ‘pc_jobchange’
    pc.h:934: error: previous declaration of ‘pc_jobchange’ was here
    pc.c: In function ‘pc_jobchange’:
    pc.c:8012: error: ‘struct Battle_Config’ has no member named ‘transcendent_statu                         s_points’
    pc.c:8015: error: ‘struct Battle_Config’ has no member named ‘transcendent_statu                         s_points’
    pc.c:8019: error: ‘struct Battle_Config’ has no member named ‘transcendent_statu                         s_points’
    pc.c:8118: error: ‘SCO_FORCE’ undeclared (first use in this function)
    pc.c: In function ‘pc_setoption’:
    pc.c:8230: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c:8275: error: ‘BSF_REM_ON_MADOGEAR’ undeclared (first use in this function)
    pc.c: In function ‘pc_setcart’:
    pc.c:8337: warning: implicit declaration of function ‘clif_status_change2’
    pc.c:8344: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c: In function ‘pc_setregistry’:
    pc.c:8622: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c: At top level:
    pc.c:9087: error: conflicting types for ‘pc_equipitem’
    pc.h:918: error: previous declaration of ‘pc_equipitem’ was here
    pc.c: In function ‘pc_equipitem’:
    pc.c:9264: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c: In function ‘pc_unequipitem’:
    pc.c:9438: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c: In function ‘pc_checkitem’:
    pc.c:9504: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c: In function ‘map_day_timer’:
    pc.c:9875: error: ‘BC_DEFAULT’ undeclared (first use in this function)
    pc.c: In function ‘map_night_timer’:
    pc.c:9896: error: ‘BC_DEFAULT’ undeclared (first use in this function)
    pc.c: At top level:
    pc.c:9906: error: conflicting types for ‘pc_setstand’
    pc.h:986: error: previous declaration of ‘pc_setstand’ was here
    pc.c:9952: error: conflicting types for ‘pc_isautolooting’
    pc.h:1055: error: previous declaration of ‘pc_isautolooting’ was here
    pc.c:10023: error: conflicting types for ‘pc_add_talisman’
    pc.h:1065: error: previous declaration of ‘pc_add_talisman’ was here
    pc.c:10054: error: conflicting types for ‘pc_del_talisman’
    pc.h:1066: error: previous declaration of ‘pc_del_talisman’ was here
    pc.c:10542: error: conflicting types for ‘pc_readdb’
    pc.h:1028: error: previous declaration of ‘pc_readdb’ was here
    pc.c:10800: warning: conflicting types for ‘pc_check_expiration’
    pc.c:1458: warning: previous implicit declaration of ‘pc_check_expiration’ was h                         ere
    pc.c: In function ‘pc_check_expiration’:
    pc.c:10803: error: ‘struct map_session_data’ has no member named ‘expiration_tim                         e’
    pc.c:10804: error: ‘struct map_session_data’ has no member named ‘expiration_tim                         e’
    pc.c:10810: warning: implicit declaration of function ‘pc_expire_check’
    pc.c: In function ‘pc_expiration_timer’:
    pc.c:10819: error: ‘struct map_session_data’ has no member named ‘expiration_tid                         ’
    pc.c: In function ‘pc_autotrade_timer’:
    pc.c:10835: error: ‘struct map_session_data’ has no member named ‘autotrade_tid’
    pc.c: In function ‘pc_global_expiration_timer’:
    pc.c:10857: error: ‘struct map_session_data’ has no member named ‘expiration_tim                         e’
    pc.c: At top level:
    pc.c:10865: warning: conflicting types for ‘pc_expire_check’
    pc.c:10810: warning: previous implicit declaration of ‘pc_expire_check’ was here
    pc.c: In function ‘pc_expire_check’:
    pc.c:10867: error: ‘struct map_session_data’ has no member named ‘expiration_tid                         ’
    pc.c:10871: error: ‘struct map_session_data’ has no member named ‘expiration_tim                         e’
    pc.c:10880: error: ‘struct map_session_data’ has no member named ‘expiration_tid                         ’
    pc.c:10880: error: ‘struct map_session_data’ has no member named ‘expiration_tim                         e’
    pc.c: In function ‘pc_bonus_script_timer’:
    pc.c:10994: warning: passing argument 1 of ‘pc_bonus_script_remove’ from incompa                         tible pointer type
    pc.c:10994: error: too few arguments to function ‘pc_bonus_script_remove’
    pc.c:10995: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c: At top level:
    pc.c:11004: warning: ‘struct s_bonus_script’ declared inside parameter list
    pc.c:11004: error: conflicting types for ‘pc_bonus_script_remove’
    pc.h:1081: error: previous declaration of ‘pc_bonus_script_remove’ was here
    pc.c: In function ‘pc_bonus_script_remove’:
    pc.c:11008: error: dereferencing pointer to incomplete type
    pc.c:11009: error: dereferencing pointer to incomplete type
    pc.c:11010: error: dereferencing pointer to incomplete type
    pc.c:11011: error: dereferencing pointer to incomplete type
    pc.c:11011: error: dereferencing pointer to incomplete type
    pc.c:11012: error: dereferencing pointer to incomplete type
    pc.c:11013: error: dereferencing pointer to incomplete type
    pc.c:11014: error: dereferencing pointer to incomplete type
    pc.c:11015: error: dereferencing pointer to incomplete type
    pc.c:11016: error: dereferencing pointer to incomplete type
    pc.c:11017: error: dereferencing pointer to incomplete type
    pc.c: In function ‘pc_bonus_script_clear’:
    pc.c:11034: error: ‘BSF_REM_BUFF’ undeclared (first use in this function)
    pc.c:11035: error: ‘BSF_REM_DEBUFF’ undeclared (first use in this function)
    pc.c:11039: warning: passing argument 1 of ‘pc_bonus_script_remove’ from incompa                         tible pointer type
    pc.c:11043: error: ‘BSF_REM_ON_LOGOUT’ undeclared (first use in this function)
    pc.c:11044: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c: In function ‘pc_bonus_script_clear_all’:
    pc.c:11061: error: ‘BSF_PERMANENT’ undeclared (first use in this function)
    pc.c:11064: warning: passing argument 1 of ‘pc_bonus_script_remove’ from incompa                         tible pointer type
    pc.c:11067: error: ‘SCO_NONE’ undeclared (first use in this function)
    pc.c: At top level:
    pc.c:11122: error: conflicting types for ‘pc_get_itemgroup_bonus’
    pc.c:7828: error: previous implicit declaration of ‘pc_get_itemgroup_bonus’ was                          here
    pc.c: In function ‘pc_get_itemgroup_bonus’:
    pc.c:11126: error: ‘struct map_session_data’ has no member named ‘itemgrouphealr                         ate_count’
    pc.c:11128: error: ‘struct map_session_data’ has no member named ‘itemgrouphealr                         ate_count’
    pc.c:11129: error: invalid type argument of ‘->’
    pc.c:11131: warning: assignment makes pointer from integer without a cast
    pc.c:11136: error: invalid type argument of ‘->’
    pc.c: In function ‘pc_get_itemgroup_bonus_group’:
    pc.c:11154: error: ‘struct map_session_data’ has no member named ‘itemgrouphealr                         ate_count’
    pc.c:11156: error: ‘struct map_session_data’ has no member named ‘itemgrouphealr                         ate_count’
    pc.c:11157: error: invalid type argument of ‘->’
    pc.c:11158: error: invalid type argument of ‘->’
    pc.c: At top level:
    pc.c:11170: error: conflicting types for ‘pc_is_same_equip_index’
    pc.c:855: error: previous implicit declaration of ‘pc_is_same_equip_index’ was h                         ere
    pc.c: In function ‘do_final_pc’:
    pc.c:11198: warning: implicit declaration of function ‘ers_destroy’
    pc.c: At top level:
    pc.c:11202: error: conflicting types for ‘do_init_pc’
    pc.h:1029: error: previous declaration of ‘do_init_pc’ was here
    pc.c: In function ‘do_init_pc’:
    pc.c:11240: warning: implicit declaration of function ‘ers_new’
    pc.c:11240: error: invalid application of ‘sizeof’ to incomplete type ‘struct sc                         _display_entry’
    pc.c:11240: error: ‘ERS_OPT_NONE’ undeclared (first use in this function)
    pc.c:11240: warning: assignment makes pointer from integer without a cast
    pc.c:11241: error: invalid application of ‘sizeof’ to incomplete type ‘struct s_                         pc_itemgrouphealrate’
    pc.c:11241: warning: assignment makes pointer from integer without a cast
    make[1]: *** [obj_sql/pc.o] Error 1
    make[1]: Leaving directory `/root/rAthena/src/map'
    make: *** [map] Error 2
    
    
  3. i get this error please help :(

     

     

    pc.c: In function ‘pc_addspiritball’:

    pc.c:212: error: ‘MAX_SPIRITBALL’ undeclared (first use in this function)

    pc.c:212: error: (Each undeclared identifier is reported only once

    pc.c:212: error: for each function it appears in.)

    pc.c:234: warning: passing argument 1 of ‘clif_millenniumshield’ from incompatib                         le pointer type

    pc.c: In function ‘pc_delspiritball’:

    pc.c:261: error: ‘MAX_SPIRITBALL’ undeclared (first use in this function)

    pc.c:277: warning: passing argument 1 of ‘clif_millenniumshield’ from incompatib                         le pointer type

    pc.c: At top level:

    pc.c:442: error: conflicting types for ‘pc_setrestartvalue’

    pc.h:815: error: previous declaration of ‘pc_setrestartvalue’ was here

    pc.c:481: error: conflicting types for ‘pc_inventory_rental_clear’

    pc.h:1050: error: previous declaration of ‘pc_inventory_rental_clear’ was here

    pc.c: In function ‘pc_rental_expire’:

    pc.c:499: error: ‘ITEMID_LOVE_ANGEL’ undeclared (first use in this function)

    pc.c:500: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c:501: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c:505: error: ‘ITEMID_SQUIRREL’ undeclared (first use in this function)

    pc.c:506: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c:507: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c:511: error: ‘ITEMID_GOGO’ undeclared (first use in this function)

    pc.c:512: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c:513: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c:517: error: ‘ITEMID_PICTURE_DIARY’ undeclared (first use in this function)

    pc.c:518: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c:519: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c:523: error: ‘ITEMID_MINI_HEART’ undeclared (first use in this function)

    pc.c:524: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c:525: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c:529: error: ‘ITEMID_NEWCOMER’ undeclared (first use in this function)

    pc.c:530: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c:531: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c:535: error: ‘ITEMID_KID’ undeclared (first use in this function)

    pc.c:536: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c:537: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c:541: error: ‘ITEMID_MAGIC_CASTLE’ undeclared (first use in this function)

    pc.c:542: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c:543: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c:547: error: ‘ITEMID_BULGING_HEAD’ undeclared (first use in this function)

    pc.c:548: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c:549: error: ‘struct mmo_charstatus’ has no member named ‘font’

    pc.c: At top level:

    pc.c:624: error: conflicting types for ‘pc_makesavestatus’

    pc.h:816: error: previous declaration of ‘pc_makesavestatus’ was here

    pc.c:674: error: conflicting types for ‘pc_setnewpc’

    pc.h:818: error: previous declaration of ‘pc_setnewpc’ was here

    pc.c:724: error: conflicting types for ‘pc_setinventorydata’

    pc.h:827: error: previous declaration of ‘pc_setinventorydata’ was here

    pc.c:847: error: conflicting types for ‘pc_isequipped’

    pc.h:869: error: previous declaration of ‘pc_isequipped’ was here

    pc.c: In function ‘pc_isequipped’:

    pc.c:855: warning: implicit declaration of function ‘pc_is_same_equip_index’

    pc.c: At top level:

    pc.c:1020: error: conflicting types for ‘pc_isequip’

    pc.h:825: error: previous declaration of ‘pc_isequip’ was here

    pc.c: In function ‘pc_authok’:

    pc.c:1138: error: ‘struct map_session_data’ has no member named ‘expiration_tid’

    pc.c:1139: error: ‘struct map_session_data’ has no member named ‘autotrade_tid’

    pc.c:1156: error: ‘MAX_SPIRITBALL’ undeclared (first use in this function)

    pc.c:1199: error: ‘struct map_session_data’ has no member named ‘delayed_damage’

    pc.c:1210: error: incompatible types in assignment

    pc.c:1256: error: ‘struct map_session_data’ has no member named ‘expiration_time                         ’

    pc.c:1278: error: ‘struct map_session_data’ has no member named ‘sc_display’

    pc.c:1279: error: ‘struct map_session_data’ has no member named ‘sc_display_coun                         t’

    pc.c:1284: error: ‘struct map_session_data’ has no member named ‘last_addeditem_                         index’

    pc.c: At top level:

    pc.c:1336: error: conflicting types for ‘pc_reg_received’

    pc.h:821: error: previous declaration of ‘pc_reg_received’ was here

    pc.c: In function ‘pc_reg_received’:

    pc.c:1423: error: ‘SCO_FIRST’ undeclared (first use in this function)

    pc.c:1423: error: ‘SCO_FORCE’ undeclared (first use in this function)

    pc.c:1458: warning: implicit declaration of function ‘pc_check_expiration’

    pc.c:1462: error: ‘struct map_session_data’ has no member named ‘autotrade_tid’

    pc.c:1462: error: ‘struct Battle_Config’ has no member named ‘feature_autotrade_                         open_delay’

    pc.c:1462: error: ‘pc_autotrade_timer’ undeclared (first use in this function)

    pc.c: At top level:

    pc.c:1497: error: conflicting types for ‘pc_calc_skilltree’

    pc.h:833: error: previous declaration of ‘pc_calc_skilltree’ was here

    pc.c: In function ‘pc_calc_skilltree’:

    pc.c:1665: warning: implicit declaration of function ‘pc_is_taekwon_ranker’

    pc.c: At top level:

    pc.c:1846: error: conflicting types for ‘pc_updateweightstatus’

    pc.h:873: error: previous declaration of ‘pc_updateweightstatus’ was here

    pc.c: In function ‘pc_bonus_item_drop’:

    pc.c:2063: warning: implicit declaration of function ‘itemdb_group_exists’

    pc.c: In function ‘pc_exeautobonus’:

    pc.c:2201: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c: In function ‘pc_endautobonus’:

    pc.c:2214: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c: In function ‘pc_itemgrouphealrate’:

    pc.c:2289: error: ‘struct map_session_data’ has no member named ‘itemgrouphealra                         te_count’

    pc.c:2290: error: invalid type argument of ‘->’

    pc.c:2294: error: ‘struct map_session_data’ has no member named ‘itemgrouphealra                         te_count’

    pc.c:2295: error: invalid type argument of ‘->’

    pc.c:2304: warning: implicit declaration of function ‘ers_alloc’

    pc.c:2304: error: expected expression before ‘struct’

    pc.c:2304: warning: assignment makes pointer from integer without a cast

    pc.c:2305: error: dereferencing pointer to incomplete type

    pc.c:2306: error: dereferencing pointer to incomplete type

    pc.c:2308: error: ‘struct map_session_data’ has no member named ‘itemgrouphealra                         te_count’

    pc.c:2308: error: incompatible types in assignment

    pc.c:2309: error: ‘struct map_session_data’ has no member named ‘itemgrouphealra                         te_count’

    pc.c: In function ‘pc_itemgrouphealrate_clear’:

    pc.c:2317: error: ‘struct map_session_data’ has no member named ‘itemgrouphealra                         te_count’

    pc.c:2321: error: ‘struct map_session_data’ has no member named ‘itemgrouphealra                         te_count’

    pc.c:2322: warning: implicit declaration of function ‘ers_free’

    pc.c:2323: error: ‘struct map_session_data’ has no member named ‘itemgrouphealra                         te_count’

    pc.c:2325: error: incompatible types in assignment

    pc.c: At top level:

    pc.c:2337: error: conflicting types for ‘pc_bonus’

    pc.h:880: error: previous declaration of ‘pc_bonus’ was here

    pc.c: In function ‘pc_bonus’:

    pc.c:2446: warning: implicit declaration of function ‘CHK_ELEMENT’

    pc.c:2588: warning: implicit declaration of function ‘CHK_RACE’

    pc.c:2595: warning: implicit declaration of function ‘CHK_CLASS’

    pc.c: At top level:

    pc.c:2942: error: conflicting types for ‘pc_bonus2’

    pc.h:881: error: previous declaration of ‘pc_bonus2’ was here

    pc.c: In function ‘pc_bonus2’:

    pc.c:2976: warning: implicit declaration of function ‘CHK_MOBSIZE’

    pc.c:3362: warning: implicit declaration of function ‘CHK_RACE2’

    pc.c:3393: error: ‘SP_ADD_ITEMGROUP_HEAL_RATE’ undeclared (first use in this fun                         ction)

    pc.c: At top level:

    pc.c:3608: error: conflicting types for ‘pc_bonus3’

    pc.h:882: error: previous declaration of ‘pc_bonus3’ was here

    pc.c:3724: error: conflicting types for ‘pc_bonus4’

    pc.h:883: error: previous declaration of ‘pc_bonus4’ was here

    pc.c: In function ‘pc_bonus4’:

    pc.c:3757: error: ‘SP_SET_DEF_RACE’ undeclared (first use in this function)

    pc.c:3766: error: ‘SP_SET_MDEF_RACE’ undeclared (first use in this function)

    pc.c: At top level:

    pc.c:3791: error: conflicting types for ‘pc_bonus5’

    pc.h:884: error: previous declaration of ‘pc_bonus5’ was here

    pc.c: In function ‘pc_skill’:

    pc.c:3851: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c: At top level:

    pc.c:3995: error: conflicting types for ‘pc_checkadditem’

    pc.h:845: error: previous declaration of ‘pc_checkadditem’ was here

    pc.c:4031: error: conflicting types for ‘pc_inventoryblank’

    pc.h:846: error: previous declaration of ‘pc_inventoryblank’ was here

    pc.c:4053: error: conflicting types for ‘pc_payzeny’

    pc.h:848: error: previous declaration of ‘pc_payzeny’ was here

    pc.c:4195: error: conflicting types for ‘pc_getzeny’

    pc.h:850: error: previous declaration of ‘pc_getzeny’ was here

    pc.c:4228: error: conflicting types for ‘pc_search_inventory’

    pc.h:847: error: previous declaration of ‘pc_search_inventory’ was here

    pc.c: In function ‘pc_additem’:

    pc.c:4308: error: ‘struct map_session_data’ has no member named ‘last_addeditem_                         index’

    pc.c: At top level:

    pc.c:4349: error: conflicting types for ‘pc_delitem’

    pc.h:851: error: previous declaration of ‘pc_delitem’ was here

    pc.c:4381: error: conflicting types for ‘pc_dropitem’

    pc.h:867: error: previous declaration of ‘pc_dropitem’ was here

    pc.c:4425: error: conflicting types for ‘pc_takeitem’

    pc.h:866: error: previous declaration of ‘pc_takeitem’ was here

    pc.c: In function ‘pc_isUseitem’:

    pc.c:4520: error: ‘ITEM_NOUSE_SITTING’ undeclared (first use in this function)

    pc.c:4529: error: ‘struct <anonymous>’ has no member named ‘dead_branch’

    pc.c:4616: error: ‘struct <anonymous>’ has no member named ‘group’

    pc.c:4618: error: ‘ITEM_CANT_OBTAIN_WEIGHT’ undeclared (first use in this functi                         on)

    pc.c:4663: error: ‘struct <anonymous>’ has no member named ‘dead_branch’

    pc.c: In function ‘pc_useitem’:

    pc.c:4740: error: ‘COLOR_YELLOW’ undeclared (first use in this function)

    pc.c:4762: error: ‘ITEM_CANT_USE_AREA’ undeclared (first use in this function)

    pc.c: At top level:

    pc.c:4817: error: conflicting types for ‘pc_cart_additem’

    pc.h:860: error: previous declaration of ‘pc_cart_additem’ was here

    pc.c: In function ‘pc_cart_additem’:

    pc.c:4833: error: ‘BOUND_ACCOUNT’ undeclared (first use in this function)

    pc.c: At top level:

    pc.c:4886: error: conflicting types for ‘pc_cart_delitem’

    pc.h:861: error: previous declaration of ‘pc_cart_delitem’ was here

    pc.c:4911: error: conflicting types for ‘pc_putitemtocart’

    pc.h:862: error: previous declaration of ‘pc_putitemtocart’ was here

    pc.c:4956: error: conflicting types for ‘pc_getitemfromcart’

    pc.h:863: error: previous declaration of ‘pc_getitemfromcart’ was here

    pc.c:4985: warning: ‘enum bound_type’ declared inside parameter list

    pc.c:4985: warning: its scope is only this definition or declaration, which is p                         robably not what you want

    pc.c:4985: error: parameter 2 (‘type’) has incomplete type

    pc.c: In function ‘pc_steal_item’:

    pc.c:5097: error: ‘BC_DEFAULT’ undeclared (first use in this function)

    pc.c: At top level:

    pc.c:5146: error: conflicting types for ‘pc_setpos’

    pc.h:840: error: previous declaration of ‘pc_setpos’ was here

    pc.c: In function ‘pc_setpos’:

    pc.c:5159: error: ‘struct Battle_Config’ has no member named ‘revive_onwarp’

    pc.c:5160: error: too many arguments to function ‘pc_setstand’

    pc.c:5253: error: ‘struct Battle_Config’ has no member named ‘teleport_on_portal                         ’

    pc.c:5287: warning: implicit declaration of function ‘hom_is_active’

    pc.c: At top level:

    pc.c:5315: error: conflicting types for ‘pc_randomwarp’

    pc.h:842: error: previous declaration of ‘pc_randomwarp’ was here

    pc.c: In function ‘pc_randomwarp’:

    pc.c:5329: error: ‘struct Battle_Config’ has no member named ‘teleport_on_portal                         ’

    pc.c: At top level:

    pc.c:5342: error: conflicting types for ‘pc_memo’

    pc.h:843: error: previous declaration of ‘pc_memo’ was here

    pc.c:5424: error: conflicting types for ‘pc_checkskill’

    pc.h:829: error: previous declaration of ‘pc_checkskill’ was here

    pc.c:5523: error: conflicting types for ‘pc_checkequip2’

    pc.h:831: error: previous declaration of ‘pc_checkequip2’ was here

    pc.c: In function ‘pc_checkbaselevelup’:

    pc.c:6141: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c:6147: error: ‘SCO_FORCE’ undeclared (first use in this function)

    pc.c: In function ‘pc_checkjoblevelup’:

    pc.c:6207: error: ‘SCO_FORCE’ undeclared (first use in this function)

    pc.c: At top level:

    pc.c:6521: error: conflicting types for ‘pc_statusup’

    pc.h:909: error: previous declaration of ‘pc_statusup’ was here

    pc.c: In function ‘pc_statusup’:

    pc.c:6552: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c: In function ‘pc_statusup2’:

    pc.c:6596: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c: In function ‘pc_skillup’:

    pc.c:6626: warning: implicit declaration of function ‘hom_skillup’

    pc.c:6642: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c: In function ‘pc_allskillup’:

    pc.c:6710: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c: In function ‘pc_resetlvl’:

    pc.c:6800: error: ‘SCO_FORCE’ undeclared (first use in this function)

    pc.c: In function ‘pc_resetstate’:

    pc.c:6865: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c: In function ‘pc_resetskill’:

    pc.c:6917: warning: implicit declaration of function ‘hom_vaporize’

    pc.c:6978: error: ‘SCO_FORCE’ undeclared (first use in this function)

    pc.c: In function ‘pc_respawn’:

    pc.c:7066: error: too many arguments to function ‘pc_setstand’

    pc.c: In function ‘pc_damage’:

    pc.c:7097: error: too many arguments to function ‘pc_setstand’

    pc.c: In function ‘pc_dead’:

    pc.c:7215: warning: implicit declaration of function ‘mercenary_delete’

    pc.c:7267: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c:7331: error: ‘it’ undeclared (first use in this function)

    pc.c:7331: error: ‘count’ undeclared (first use in this function)

    pc.c:7331: error: too many arguments to function ‘map_addflooritem’

    pc.c:7335: error: ‘BSF_REM_ON_DEAD’ undeclared (first use in this function)

    pc.c: In function ‘pc_revive’:

    pc.c:7478: error: too many arguments to function ‘pc_setstand’

    pc.c: In function ‘pc_setparam’:

    pc.c:7664: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c: In function ‘pc_itemheal’:

    pc.c:7828: warning: implicit declaration of function ‘pc_get_itemgroup_bonus’

    pc.c: At top level:

    pc.c:7945: error: conflicting types for ‘pc_jobchange’

    pc.h:934: error: previous declaration of ‘pc_jobchange’ was here

    pc.c: In function ‘pc_jobchange’:

    pc.c:8012: error: ‘struct Battle_Config’ has no member named ‘transcendent_statu                         s_points’

    pc.c:8015: error: ‘struct Battle_Config’ has no member named ‘transcendent_statu                         s_points’

    pc.c:8019: error: ‘struct Battle_Config’ has no member named ‘transcendent_statu                         s_points’

    pc.c:8118: error: ‘SCO_FORCE’ undeclared (first use in this function)

    pc.c: In function ‘pc_setoption’:

    pc.c:8230: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c:8275: error: ‘BSF_REM_ON_MADOGEAR’ undeclared (first use in this function)

    pc.c: In function ‘pc_setcart’:

    pc.c:8337: warning: implicit declaration of function ‘clif_status_change2’

    pc.c:8344: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c: In function ‘pc_setregistry’:

    pc.c:8622: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c: At top level:

    pc.c:9087: error: conflicting types for ‘pc_equipitem’

    pc.h:918: error: previous declaration of ‘pc_equipitem’ was here

    pc.c: In function ‘pc_equipitem’:

    pc.c:9264: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c: In function ‘pc_unequipitem’:

    pc.c:9438: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c: In function ‘pc_checkitem’:

    pc.c:9504: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c: In function ‘map_day_timer’:

    pc.c:9875: error: ‘BC_DEFAULT’ undeclared (first use in this function)

    pc.c: In function ‘map_night_timer’:

    pc.c:9896: error: ‘BC_DEFAULT’ undeclared (first use in this function)

    pc.c: At top level:

    pc.c:9906: error: conflicting types for ‘pc_setstand’

    pc.h:986: error: previous declaration of ‘pc_setstand’ was here

    pc.c:9952: error: conflicting types for ‘pc_isautolooting’

    pc.h:1055: error: previous declaration of ‘pc_isautolooting’ was here

    pc.c:10023: error: conflicting types for ‘pc_add_talisman’

    pc.h:1065: error: previous declaration of ‘pc_add_talisman’ was here

    pc.c:10054: error: conflicting types for ‘pc_del_talisman’

    pc.h:1066: error: previous declaration of ‘pc_del_talisman’ was here

    pc.c:10542: error: conflicting types for ‘pc_readdb’

    pc.h:1028: error: previous declaration of ‘pc_readdb’ was here

    pc.c:10800: warning: conflicting types for ‘pc_check_expiration’

    pc.c:1458: warning: previous implicit declaration of ‘pc_check_expiration’ was h                         ere

    pc.c: In function ‘pc_check_expiration’:

    pc.c:10803: error: ‘struct map_session_data’ has no member named ‘expiration_tim                         e’

    pc.c:10804: error: ‘struct map_session_data’ has no member named ‘expiration_tim                         e’

    pc.c:10810: warning: implicit declaration of function ‘pc_expire_check’

    pc.c: In function ‘pc_expiration_timer’:

    pc.c:10819: error: ‘struct map_session_data’ has no member named ‘expiration_tid                         ’

    pc.c: In function ‘pc_autotrade_timer’:

    pc.c:10835: error: ‘struct map_session_data’ has no member named ‘autotrade_tid’

    pc.c: In function ‘pc_global_expiration_timer’:

    pc.c:10857: error: ‘struct map_session_data’ has no member named ‘expiration_tim                         e’

    pc.c: At top level:

    pc.c:10865: warning: conflicting types for ‘pc_expire_check’

    pc.c:10810: warning: previous implicit declaration of ‘pc_expire_check’ was here

    pc.c: In function ‘pc_expire_check’:

    pc.c:10867: error: ‘struct map_session_data’ has no member named ‘expiration_tid                         ’

    pc.c:10871: error: ‘struct map_session_data’ has no member named ‘expiration_tim                         e’

    pc.c:10880: error: ‘struct map_session_data’ has no member named ‘expiration_tid                         ’

    pc.c:10880: error: ‘struct map_session_data’ has no member named ‘expiration_tim                         e’

    pc.c: In function ‘pc_bonus_script_timer’:

    pc.c:10994: warning: passing argument 1 of ‘pc_bonus_script_remove’ from incompa                         tible pointer type

    pc.c:10994: error: too few arguments to function ‘pc_bonus_script_remove’

    pc.c:10995: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c: At top level:

    pc.c:11004: warning: ‘struct s_bonus_script’ declared inside parameter list

    pc.c:11004: error: conflicting types for ‘pc_bonus_script_remove’

    pc.h:1081: error: previous declaration of ‘pc_bonus_script_remove’ was here

    pc.c: In function ‘pc_bonus_script_remove’:

    pc.c:11008: error: dereferencing pointer to incomplete type

    pc.c:11009: error: dereferencing pointer to incomplete type

    pc.c:11010: error: dereferencing pointer to incomplete type

    pc.c:11011: error: dereferencing pointer to incomplete type

    pc.c:11011: error: dereferencing pointer to incomplete type

    pc.c:11012: error: dereferencing pointer to incomplete type

    pc.c:11013: error: dereferencing pointer to incomplete type

    pc.c:11014: error: dereferencing pointer to incomplete type

    pc.c:11015: error: dereferencing pointer to incomplete type

    pc.c:11016: error: dereferencing pointer to incomplete type

    pc.c:11017: error: dereferencing pointer to incomplete type

    pc.c: In function ‘pc_bonus_script_clear’:

    pc.c:11034: error: ‘BSF_REM_BUFF’ undeclared (first use in this function)

    pc.c:11035: error: ‘BSF_REM_DEBUFF’ undeclared (first use in this function)

    pc.c:11039: warning: passing argument 1 of ‘pc_bonus_script_remove’ from incompa                         tible pointer type

    pc.c:11043: error: ‘BSF_REM_ON_LOGOUT’ undeclared (first use in this function)

    pc.c:11044: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c: In function ‘pc_bonus_script_clear_all’:

    pc.c:11061: error: ‘BSF_PERMANENT’ undeclared (first use in this function)

    pc.c:11064: warning: passing argument 1 of ‘pc_bonus_script_remove’ from incompa                         tible pointer type

    pc.c:11067: error: ‘SCO_NONE’ undeclared (first use in this function)

    pc.c: At top level:

    pc.c:11122: error: conflicting types for ‘pc_get_itemgroup_bonus’

    pc.c:7828: error: previous implicit declaration of ‘pc_get_itemgroup_bonus’ was                          here

    pc.c: In function ‘pc_get_itemgroup_bonus’:

    pc.c:11126: error: ‘struct map_session_data’ has no member named ‘itemgrouphealr                         ate_count’

    pc.c:11128: error: ‘struct map_session_data’ has no member named ‘itemgrouphealr                         ate_count’

    pc.c:11129: error: invalid type argument of ‘->’

    pc.c:11131: warning: assignment makes pointer from integer without a cast

    pc.c:11136: error: invalid type argument of ‘->’

    pc.c: In function ‘pc_get_itemgroup_bonus_group’:

    pc.c:11154: error: ‘struct map_session_data’ has no member named ‘itemgrouphealr                         ate_count’

    pc.c:11156: error: ‘struct map_session_data’ has no member named ‘itemgrouphealr                         ate_count’

    pc.c:11157: error: invalid type argument of ‘->’

    pc.c:11158: error: invalid type argument of ‘->’

    pc.c: At top level:

    pc.c:11170: error: conflicting types for ‘pc_is_same_equip_index’

    pc.c:855: error: previous implicit declaration of ‘pc_is_same_equip_index’ was h                         ere

    pc.c: In function ‘do_final_pc’:

    pc.c:11198: warning: implicit declaration of function ‘ers_destroy’

    pc.c: At top level:

    pc.c:11202: error: conflicting types for ‘do_init_pc’

    pc.h:1029: error: previous declaration of ‘do_init_pc’ was here

    pc.c: In function ‘do_init_pc’:

    pc.c:11240: warning: implicit declaration of function ‘ers_new’

    pc.c:11240: error: invalid application of ‘sizeof’ to incomplete type ‘struct sc                         _display_entry’

    pc.c:11240: error: ‘ERS_OPT_NONE’ undeclared (first use in this function)

    pc.c:11240: warning: assignment makes pointer from integer without a cast

    pc.c:11241: error: invalid application of ‘sizeof’ to incomplete type ‘struct s_                         pc_itemgrouphealrate’

    pc.c:11241: warning: assignment makes pointer from integer without a cast

    make[1]: *** [obj_sql/pc.o] Error 1

    make[1]: Leaving directory `/root/rAthena/src/map'

    make: *** [map] Error 2

     

  4. Ask ko lang if , Normal lang ba na mabilsis ang Memory usage consumption sa isang server 

    ang players ko so far is 50-60players, 

     

    pero ung memory consumption ko sobrang bilis ? kanina 40% then after 2-3hrs 63% na xa. then nung dinelite ko yng LOGS  naging 57% pero after 1hrs nging 60% n xa... my problem ba kaya sa server hosting ko ???

    here's my spec 

    • Dual Intel® Xeon® E5-2643 @ 2.83GHz
    • Memory : 1024MB
    • vSwap : 1024MB
    • Cores : 4
    • Disk : 10GB Solid State Drive
    • Bandwidth : 3TB
    • OS : CENTOS 5.9 32BIT
    • Location : Los Angeles, Ca

     

     

  5. @GMynna What he tries to say is that you may change the variables (or the conditions), as said in the posted description part. Just look up the variable ($rachel_donate) and change the value:

    	if ($rachel_donate >= 10000) {
    

    You can set the donation limit with it. /no1

     

    thank you

  6.  

    mga sir posible ba to ? 

     

    ang balak ko kci gawing main map yng izlude. so ang mangyyari po .. khit mag save sila sa ibang town like payon , automatic pa din sila ibabato sa izlude town?  tapos sa izlude lang pwede mag vend bawal sa ibang town?? 

    I think hindi pwede yung sinasabi mo na  " khit mag save sila sa ibang town like payon , automatic pa din sila ibabato sa izlude town? "

    About sa vend pwede sya lagyan mo lang mapflag yung map na bawal mag vend

     

     

     

    sir papano naman po un san yng specific n folder ko ilalagay yng bawal mg vend sa ibang town... izlude lng pwede?

  7.  

    https://github.com/rathena/rathena/blob/master/npc/quests/quests_rachel.txt

    //===== rAthena Script ======================================= 
    //= Rachel Quests
    //===== By: ================================================== 
    //= L0ne_W0lf
    //===== Current Version: ===================================== 
    //= 3.6
    //===== Compatible With: ===================================== 
    //= rAthena Project
    //===== Description: ========================================= 
    //= Collection of Rachel Quests 
    //= Lost Child Quest:
    //= - End of quest coincides with opening the Sanctuary.
    //= - Variable in use: lost_boy (max 13)
    //= Bruspetti Quest:
    //= - [Official Conversion]
    //= - Requires friendship quest as a prerequisite.
    //= - Variable in use: rach_vice (max 24)
    //= Ice Necklace Quest:
    //= - iRO uses a different sprite for Urstia, and no cutins.
    //= - Variable in use: ice_necklace_q (max 7)
    //= Sanctuary Quest:
    //= - Actually two quests in one. Donation and dungeon quest.
    //= - Requires 10000 donations before players can start the quest.
    //= - Variable in use: ra_tem_q (max 23) (unset at end)
    //= - Variable in use: Once completed MISC_QUEST bit 8192 is set
    //= - Variable in use: ra_have_donated (0 no/1 yes)
    //= - Variable in use: $rachel_donate (max 10000)
    //===== Additional Comments: ================================= 
    //= 3.0 Large reordering of Zhed, and Peace to the Arunafeltz addition. [L0ne_W0lf]
    //=     Some more numeric conversion, and some other cleanup.
    //= 3.1 Updated Ice Necklace quest, added missing checks. [L0ne_W0lf]
    //= 3.2 Added missing updates for Peace to the Arunafeltz quest. [L0ne_W0lf]
    //= 3.3 Fixed occurance of PcName. [L0ne_W0lf]
    //=     Fixed level 4 ID warps always being usable.
    //= 3.3a Fixed level 4 ID warps again. (Bugreport:4102) [L0ne_W0lf]
    //= 3.4 Added quest log entries for:
    //=     - Ice Necklace Quest
    //=     - Thor Volcano Base Quest addition.
    //= 3.5 Updated RE/Pre-RE EXP. [Euphy]
    //= 3.6 Added questlog support. [Euphy]
    //============================================================ 
    
    // Lost Child Quest (Prerequisite to High Priest quest) :: rachel_wonjumin
    //============================================================ 
    

     

     

    i do have question if i copy paste all scripts? it will automatically remove the 10,000 donation?

  8.  

    /config/application.php

     

    //'Donations'   => array(
                //'Donate'        => array('module' => 'donate'),
                //'Purchase'      => array('module' => 'purchase'),
    //),
    //'Information' => array(
                //'Server Info'   => array('module' => 'server', 'action' => 'info'),
                //'Server Status' => array('module' => 'server', 'action' => 'status'),
                //'WoE Hours'     => array('module' => 'woe'),
                //'Castles'       => array('module' => 'castle'),
                //"Who's Online"  => array('module' => 'character', 'action' => 'online'),
               //'Map Statistics'=> array('module' => 'character', 'action' => 'mapstats'),
               //'Ranking Info'  => array('module' => 'ranking', 'action' => 'character'),
    //),
     
    Just put // to disable that.

     

     

     

    thankyou hyd

  9. nope.. kci ganto po .. ngdagdag kci ako ng map .. tapos nka limutan ko xa lgyan ng bgm .. yng mga friends ko ndi nila marinig ung BGM na nilagay ko . .so ang balak ko is gumawa ng patch pra mag add ng BGM .. example e2 ilalagay ko sa BGM nila "mymusic.mp3" papano ko xa ipapatch ? pra malagay sa BGM nila?

×
×
  • Create New...