Jump to content
  • 0
Alexandria

Harmony patch update

Question

3 answers to this question

Recommended Posts

  • 0

Files updated by Fluffle Puff:

 

atcommand.c

 

Find:

#include "../common/utils.h"#include "../common/conf.h"#include "../common/sysinfo.h"#include "atcommand.h"#include "battle.h"#include "chat.h"#include "clif.h"

 

Replace:

#include "../common/utils.h"#include "../common/conf.h"#include "../common/sysinfo.h"#include "../common/harmony.h" #include "atcommand.h"#include "battle.h"#include "chat.h"#include "clif.h"

 

Find: (Near of the line 2213)

	pc->memo(sd, position);return true;}/*==========================================**------------------------------------------*/

 

Replace:

 	pc->memo(sd, position); 	return true; }#include "harmony_atcommand.inc"/*==========================================**------------------------------------------*/

 

Find: (Near of the line 9451)
 

	    	    ACMD_DEF2("blvl", baselevelup),	    	    ACMD_DEF2("jlvl", joblevelup),	    	    ACMD_DEF(help),	    	    ACMD_DEF(pvpoff),	    	    ACMD_DEF(pvpon),	    	    ACMD_DEF(gvgoff),

 

Replace:

 		ACMD_DEF2("blvl", baselevelup), 		ACMD_DEF2("jlvl", joblevelup), 		ACMD_DEF(help),		#include "harmony_atcommanddef_ra.inc" 		ACMD_DEF(pvpoff), 		ACMD_DEF(pvpon), 		ACMD_DEF(gvgoff),

 

pc_groups.h

 

Find:

#ifndef _MAP_PC_GROUPS_H_#define _MAP_PC_GROUPS_H_/// PC permissionsenum e_pc_permission {

Replace:

#ifndef _MAP_PC_GROUPS_H_#define _MAP_PC_GROUPS_H_void pc_group_iterate(bool(*callback)(int group_id, int level, const char* name));/// PC permissionsenum e_pc_permission {
Edited by Fluffle Puff

Share this post


Link to post
Share on other sites
  • 0

core.c

 

Find:

#include "../common/console.h"#include "../common/random.h"#include "../common/sysinfo.h"#ifndef MINICORE#include "../common/db.h"#include "../common/socket.h"

Replace:

#include "../common/console.h"#include "../common/random.h"#include "../common/sysinfo.h"#include "../common/harmony.h"#ifndef MINICORE#include "../common/db.h"#include "../common/socket.h"

Find: (Near of the line 157)

}#endif/*** Warns the user if executed as superuser (root)*/

 

Replace:

 

}#endif#ifdef SVNVERSIONconst char *get_svn_revision(void) {	return EXPAND_AND_QUOTE(SVNVERSION);}#else// not SVNVERSION#endif/*** Warns the user if executed as superuser (root)*/

 

Find: (Near of the line 246)

 

	sockt->init();do_init(argc,argv);{// Main runtime cycleint next;while (runflag != CORE_ST_STOP) {

Replace:

	sockt->init();harmony_core_init();do_init(argc,argv);{// Main runtime cycleint next;while (runflag != CORE_ST_STOP) {

 

Find: (Near of the line 254)

	    sockt->perform(next);        }    }    console->final();do_final();

 

Replace:

	    sockt->perform(next);        }    }    harmony_core_final();    console->final();do_final();

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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