Jump to content

Hakuryuu

Members
  • Content Count

    20
  • Joined

  • Last visited

Posts posted by Hakuryuu


  1. I don't really remember, you will need to disable the diff "ignore missing files error" in your hexed and then look the file names that are being show in the error

    Don't worked. :(

    the error does not appear

     

    @edit 

     

    Worked!

    Thanks Evil.


  2. nameid = itemdb->searchrandomid(-nameid);

     

    What error when you change as per AngelMelody post?

    AngelMelody solution is correct , maybe some other line is having error now?

     

    error: 

     

    script.c: In function ‘buildin_getstorageitem’:script.c:17656: warning: passing argument 1 of ‘itemdb->searchrandomid’ makes pointer from integer without a castscript.c:17656: note: expected ‘struct item_group *’ but argument is of type ‘int’ 

     


  3. ..... problem this command

    BUILDIN(failedrefitemR) // by jakeRed{	int i=-1,num,ep,ref;	TBL_PC *sd;	num = script_getnum(st,2); // Equip Slot	ref = script_getnum(st,3); // Refine Points Lost	sd = script->rid2sd(st);	if( sd == NULL )		return 0;	if( num > 0 && num <= ARRAYLENGTH(script->equip) )		i = pc->checkequip(sd,script->equip[num-1]);	if( i >= 0 )	{		short announce_refine[] = { 7, 9, 8, 7, 5 };		ep = sd->status.inventory[i].equip;		//Logs items, got from (N)PC scripts [Lupus]		log->pick_pc(sd, LOG_TYPE_SCRIPT, -1, &sd->status.inventory[i]);		if( battle_config.channel_announces&4 && server_channel[CHN_VENDING] && sd->inventory_data[i]->wlv >= 0 && sd->inventory_data[i]->wlv <= 4 && sd->status.inventory[i].refine >= announce_refine[sd->inventory_data[i]->wlv] )		{ // Announces Refines to Chat			char chat_announce[256];			sprintf(chat_announce, msg_txt(NULL,704), server_channel[CHN_VENDING]->name, sd->status.name, sd->status.inventory[i].refine, sd->inventory_data[i]->jname, sd->inventory_data[i]->slot,(sd->status.inventory[i].refine - ref));			clif_channel_message(server_channel[CHN_VENDING], chat_announce, 1);		}		ref = min(ref,sd->status.inventory[i].refine); // To avoid negative Refine		sd->status.inventory[i].refine = sd->status.inventory[i].refine - ref;		pc->unequipitem(sd,i,2); // status calc will happen in pc_equipitem() below		clif->refine(sd->fd,0,i,sd->status.inventory[i].refine);		clif->delitem(sd,i,1,3);		log_pick_pc(sd, LOG_TYPE_SCRIPT, 1, &sd->status.inventory[i]);		clif->additem(sd,i,1,0);		pc->equipitem(sd,i,ep);		clif->misceffect(&sd->bl,2);	}	return 0;} 

    Error:

     

     

    script.c: In function ‘buildin_failedrefitemR’:script.c:8718: warning: implicit declaration of function ‘log_pick_pc’script.c:8720: error: ‘struct Battle_Config’ has no member named ‘channel_announces’script.c:8720: error: ‘server_channel’ undeclared (first use in this function)script.c:8720: error: (Each undeclared identifier is reported only oncescript.c:8720: error: for each function it appears in.)script.c:8720: error: ‘CHN_VENDING’ undeclared (first use in this function)script.c:8723:43: error: macro "msg_txt" passed 2 arguments, but takes just 1script.c:8723: error: ‘msg_txt’ undeclared (first use in this function)script.c:8724: warning: implicit declaration of function ‘clif_channel_message’ 

    Please help..


  4.  

    try this

     

    ACMD(helper){    int new_group = 0;    nullpo_retr(-1, sd);    if (!pcg->exists(3) || !pcg->exists(4)) {        clif->message(fd, msg_fd(fd,1227)); // Specified group does not exist.        return -1;    }    if ( sd->group_id == 4) {        sd->group_id = 3;        clif->message(fd,"Mensagens do sistema Helper ativo.");        pcg->reload(sd);/* update cache */        return 0;    }        if ( sd->group_id == 3) {        sd->group_id = 4;        clif->message(fd,"Mensagens do sistema Helper desativo.");                pcg->reload(sd);/* update cache */        return 0;    }    return 0;} 
     

     

    atcommand.c: In function ‘atcommand_helper’:atcommand.c:3123: error: too many arguments to function ‘pcg->reload’atcommand.c:3130: error: too many arguments to function ‘pcg->reload’atcommand.c:3113: warning: unused variable ‘new_group’ 

     


  5. Command:

     

    ACMD(helper){	int new_group = 0;	nullpo_retr(-1, sd);	if (!pc_group_exists(3) || !pc_group_exists(4)) {		clif->message(fd, msg_fd(fd,1227)); // Specified group does not exist.		return -1;	}	if ( sd->group_id == 4) {		sd->group_id = 3;		clif->message(fd,"Mensagens do sistema Helper ativo.");		pc_group_pc_load(sd);/* update cache */		return 0;	}		if ( sd->group_id == 3) {		sd->group_id = 4;		clif->message(fd,"Mensagens do sistema Helper desativo.");				pc_group_pc_load(sd);/* update cache */		return 0;	}	return 0;} 

     

    Error:

    atcommand.c: In function ‘atcommand_helper’:atcommand.c:3117: warning: implicit declaration of function ‘pc_group_exists’atcommand.c:3124: warning: implicit declaration of function ‘pc_group_pc_load’atcommand.c:3113: warning: unused variable ‘new_group’ 

     

    Please help...

     

  6. Error in console:

    [Status]: Map Server is now online.[Info]: Received Fame List of '0' characters.[Status]: Received '40' guild castles from char-server.[Notice]: Abnormal end of connection (ip: 201.11.161.15): Unknown packet 0x5548[Info]: Closed connection from '201.11.161.15'.[Notice]: Abnormal end of connection (ip: 201.11.161.15): Unknown packet 0x5548[Info]: Closed connection from '201.11.161.15'. 

    My mmo.h:

    20120410

     

    my hexed:

    20120410

     

    my clientinfo:

     

    <?xml version="1.0" encoding="euc-kr" ?><clientinfo> <desc>Ragnarok Client Information</desc> <servicetype>brazil</servicetype> <servertype>primary</servertype> <connection>  <display>ragnarok</display>  <desc>Ragnarok Online</desc>  <balloon>1000x/1000x/500x</balloon>  <address>189.1.169.50</address>  <port>6900</port>  <version>30</version>  <langtype>1</langtype>  <aid>   <admin>2000000</admin>   <admin>2000001</admin>   <admin>2000002</admin>  </aid><loading>			<image>loading00.jpg</image>			<image>loading01.jpg</image>			<image>loading02.jpg</image>			<image>loading03.jpg</image>			<image>loading04.jpg</image>			<image>loading05.jpg</image>			<image>loading06.jpg</image>			<image>loading07.jpg</image>			<image>loading08.jpg</image></loading> </connection></clientinfo> 

     

     

     


  7. problem:
     
    script.c: In function ‘buildin_getstorageitem’:
    script.c:17571: warning: implicit declaration of function ‘itemdb_searchrandomid’
     
    code:

     

    	else {		nameid = script_getnum(st,2);		if ( nameid < 0 )			nameid = itemdb_searchrandomid(-nameid);		if ( nameid <= 0 || !itemdb->exists(nameid) ) {			ShowError("getstorageitem: Non-existant item %d requested.n", nameid);			return 0;		}	} 

     

     
    Please help.
×
×
  • Create New...

Important Information

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