Jump to content

mrlongshen

Members
  • Content Count

    1126
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by mrlongshen


  1. Hi sir, i have testing its. but i found a bugs. do u want to see ?

     

    i type @aloottype 3 and @aloottype 5

    buy when i check on my list its appear

     

    potion/food (false)

    and card (correct)

     

    Hope you fix it.


  2. Sir, I follow like your step

    Instruction.

    1. Download and extract files using 7z or any application that can extract it.
    2. extract it in your server directory ex: C:/RO Server/Hercules/
    2.1. edit conf/plugins.conf and add afk
    3. find  afk/afk.sln and recompile it.

    4. You can now start using your ready made plugins :no1:

     

    isnt correct ?

    here the ss for you.

    I extract than I put on my hercules folder like this..

    post-1425-0-07480200-1383931731_thumb.png

     

    then i edit the conf/plugins.conf

    like this

     

    post-1425-0-82556000-1383931972_thumb.png

     

    then when open the afk/afk.sln I open with Microsoft Visual Studio 2010 and get this error..

    post-1425-0-74042300-1383931733_thumb.png

     

    post-1425-0-65997500-1383931544_thumb.png

     

    How to fix it sir ?


  3. i try on latest svn.

    and got this error.

    Error	12	error C2065: 'c' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17036	1	map-serverError	25	error C2065: 'c' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17039	1	map-serverError	28	error C2065: 'c' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17040	1	map-serverError	29	error C2065: 'c' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17043	1	map-serverError	35	error C2065: 'c' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17046	1	map-serverError	41	error C2065: 'clif_vend' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	18186	1	map-serverError	8	error C2065: 'd' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17029	1	map-serverError	9	error C2065: 'd' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17030	1	map-serverError	10	error C2065: 'd' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17033	1	map-serverError	11	error C2065: 'd' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17034	1	map-serverError	13	error C2065: 'd' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17036	1	map-serverError	14	error C2065: 'i' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17036	1	map-serverError	15	error C2065: 'i' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17036	1	map-serverError	16	error C2065: 'i' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17036	1	map-serverError	18	error C2065: 'i' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17037	1	map-serverError	17	error C2065: 'item' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17037	1	map-serverError	21	error C2065: 'item' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17038	1	map-serverError	23	error C2065: 'item' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17038	1	map-serverError	26	error C2065: 'item' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17039	1	map-serverError	4	error C2065: 'sd' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17024	1	map-serverError	6	error C2065: 'sd' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17025	1	map-serverError	30	error C2065: 'sd' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17044	1	map-serverError	32	error C2065: 'sd' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17045	1	map-serverError	36	error C2065: 'sd' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17049	1	map-serverError	34	error C2065: 'skill_lv' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17045	1	map-serverError	43	error C2065: 'VEND_COLOR' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapskill.c	6352	1	map-serverError	44	error C2065: 'VEND_COLOR' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapskill.c	15569	1	map-serverError	45	error C2065: 'VEND_COLOR' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapvending.c	65	1	map-serverError	46	error C2065: 'VEND_COLOR' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapvending.c	145	1	map-serverError	47	error C2065: 'VEND_COLOR' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapvending.c	156	1	map-serverError	48	error C2065: 'VEND_COLOR' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapvending.c	161	1	map-serverError	49	error C2065: 'VEND_COLOR' : undeclared identifier	e:1.ragnarokherculeshercules.gittrunksrcmapvending.c	167	1	map-serverError	1	error C2143: syntax error : missing ';' before 'type'	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17020	1	map-serverError	2	error C2143: syntax error : missing ';' before 'type'	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17022	1	map-serverError	3	error C2143: syntax error : missing ';' before 'type'	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17023	1	map-serverError	7	error C2223: left of '->fd' must point to struct/union	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17025	1	map-serverError	31	error C2223: left of '->menuskill_id' must point to struct/union	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17044	1	map-serverError	33	error C2223: left of '->menuskill_val' must point to struct/union	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17045	1	map-serverError	22	error C2223: left of '->nameid' must point to struct/union	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17038	1	map-serverError	24	error C2223: left of '->nameid' must point to struct/union	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17038	1	map-serverError	27	error C2223: left of '->nameid' must point to struct/union	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17039	1	map-server	56	IntelliSense: expected a ';'	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17020	58	map-server	50	IntelliSense: expected an identifier	e:1.ragnarokherculeshercules.gittrunksrcmapstorage.h	37	8	map-server	51	IntelliSense: expected an identifier	e:1.ragnarokherculeshercules.gittrunksrcmaphomunculus.h	99	8	map-server	52	IntelliSense: expected an identifier	e:1.ragnarokherculeshercules.gittrunksrcmapmercenary.h	63	9	map-server	53	IntelliSense: expected an identifier	e:1.ragnarokherculeshercules.gittrunksrcmapmercenary.h	73	8	map-server	54	IntelliSense: expected an identifier	e:1.ragnarokherculeshercules.gittrunksrcmapelemental.h	71	9	map-server	55	IntelliSense: expected an identifier	e:1.ragnarokherculeshercules.gittrunksrcmapelemental.h	84	8	map-serverWarning	38	warning C4024: 'function through pointer' : different types for formal and actual parameter 1	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17049	1	map-serverWarning	20	warning C4047: '!=' : 'int' differs in levels of indirection from 'void *'	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17037	1	map-serverWarning	19	warning C4047: '=' : 'int' differs in levels of indirection from 'item_data *'	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17037	1	map-serverWarning	42	warning C4047: '=' : 'int (__cdecl *)(map_session_data *,int)' differs in levels of indirection from 'int'	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	18186	1	map-serverWarning	37	warning C4047: 'function' : 'map_session_data *' differs in levels of indirection from 'int'	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17049	1	map-serverWarning	5	warning C4098: 'clif_msgtable_num' : 'void' function returning a value	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17024	1	map-serverWarning	39	warning C4098: 'clif_msgtable_num' : 'void' function returning a value	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17050	1	map-serverWarning	40	warning C4098: 'clif_msgtable_num' : 'void' function returning a value	e:1.ragnarokherculeshercules.gittrunksrcmapclif.c	17053	1	map-server

  4. Index: conf/atcommand_athena.conf===================================================================--- conf/atcommand_athena.conf	(revision 17137)+++ conf/atcommand_athena.conf	(working copy)@@ -56,6 +56,7 @@ 	guildstorage: ["gstorage"] 	accinfo: ["accountinfo"] 	itemreset: ["clearinventory"]+	sann: ["staff","astaff"] }  /* Commands help file */Index: conf/groups.conf===================================================================--- conf/groups.conf	(revision 17137)+++ conf/groups.conf	(working copy)@@ -130,6 +130,7 @@ 		request: true 		go: true 		breakguild: true+		sann: true 	} 	permissions: { 	}@@ -152,6 +153,7 @@ 		users: true 		broadcast: true 		localbroadcast: true+		sann: true 	} 	log_commands: true 	permissions: {@@ -172,6 +174,7 @@ 		unloadnpc: true 		npcmove: true 		addwarp: true+		sann: true 	} 	log_commands: true 	permissions: {@@ -210,6 +213,7 @@ 		marry: true 		divorce: true 		refreshall: true+		sann: true 	} 	log_commands: true 	permissions: {@@ -242,6 +246,7 @@ 		cartlist: true 		itemlist: true 		stats: true+		sann: true 	} 	log_commands: true 	permissions: {Index: src/map/atcommand.c===================================================================--- src/map/atcommand.c	(revision 17137)+++ src/map/atcommand.c	(working copy)@@ -1107,6 +1107,47 @@ }  /*==========================================+ * @sann by Donatien - Lain Ragnarok Online+ * Custom Staff Announce Command for rAthena+ * Rev. 17134+ *------------------------------------------*/+ACMD_FUNC(sann)+{+	nullpo_retr(-1, sd);+	memset(atcmd_output, '0', sizeof(atcmd_output));++	if(!message || !*message) {+			clif_displaymessage(fd, "Please, enter a message (usage: @sann <message>).");+			return -1;+		}+                if(pc_get_group_level(sd) == 1){+		sprintf(atcmd_output, "[Super User] %s : %s", sd->status.name, message);+		intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1, 0xFF9900, 0x190, 12, 0, 0);+                }+                if(pc_get_group_level(sd) == 2){+		sprintf(atcmd_output, "[Super User] %s : %s", sd->status.name, message);+		intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1, 0xFF9900, 0x190, 12, 0, 0);+                }+                if(pc_get_group_level(sd) == 3){+                sprintf(atcmd_output, "[GM] %s : %s", sd->status.name, message);+		intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1,0x01DF01, 0x190, 12, 0, 0);+                }+                if(pc_get_group_level(sd) == 4){+                sprintf(atcmd_output, "[GM] %s : %s", sd->status.name, message);+		intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1,0x01DF01, 0x190, 12, 0, 0);+                }+                if(pc_get_group_level(sd) == 10){+                sprintf(atcmd_output, "[GM] %s : %s", sd->status.name, message);+		intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1,0x01DF01, 0x190, 12, 0, 0);+                }+               else if(pc_get_group_level(sd) == 99){+                 sprintf(atcmd_output, "[Admin] %s : %s", sd->status.name, message);+		intif_broadcast2(atcmd_output, strlen(atcmd_output) + 1,0x99CCFF, 0x190, 12, 0, 0);+               }+	return 0;+}++/*==========================================  *  *------------------------------------------*/ ACMD_FUNC(heal)@@ -9099,7 +9140,8 @@ 		ACMD_DEF2("rmvperm", addperm), 		ACMD_DEF(unloadnpcfile), 		ACMD_DEF(cart),-		ACMD_DEF(mount2)+		ACMD_DEF(mount2),+		ACMD_DEF(sann) 	}; 	AtCommandInfo* atcommand; 	int i;

     

    Can someone porting it to hercules ?

×
×
  • Create New...

Important Information

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