Help me please im using a 16797 rathena svn . and i cant find atcommand.inc and atcommand_def.inc and the line on pc.h
diff --git a/src/custom/atcommand.inc b/src/custom/atcommand.inc
index afb74b2..76fe9c8 100644
--- a/src/custom/atcommand.inc
+++ b/src/custom/atcommand.inc
@@ -17,3 +17,25 @@
// clif_specialeffect(&sd->bl, 343, AREA);
// return 0;
//}
+
+ACMD_FUNC(bst) {
+ struct map_session_data *pl_sd;
+ struct s_mapiterator* iter;
+ char aaa[255];
+ nullpo_retr(-1, sd);
+ if ( !message || !*message ) {
+ clif_displaymessage(fd, "Please, enter a message (usage: @bst <message>).");
+ return -1;
+ }
+ if ( sd->bst_delay + 60 > (int)time(NULL) ) {
+ clif_displaymessage(fd, "There is a 60 seconds delay of using this command again");
+ return 0;
+ }
+ sprintf( aaa, "[Market] %s : %s", sd->status.name, message );
+ iter = mapit_getallusers();
+ for ( pl_sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); pl_sd = (TBL_PC*)mapit_next(iter) )
+ clif_broadcast2( &pl_sd->bl, aaa, strlen(aaa) +1 , strtol("0x9999FF", NULL, 0), 0x190, 12, 0, 0, SELF);
+ mapit_free(iter);
+ sd->bst_delay = (int)time(NULL);
+ return 0;
+}
\ No newline at end of file
diff --git a/src/custom/atcommand_def.inc b/src/custom/atcommand_def.inc
index 300944c..c739f71 100644
--- a/src/custom/atcommand_def.inc
+++ b/src/custom/atcommand_def.inc
@@ -9,3 +9,5 @@
**/
//ACMD_DEF(newcommand),
+
+ACMD_DEF(bst),
\ No newline at end of file
diff --git a/src/map/pc.h b/src/map/pc.h
index 12b36dd..bcf4dd9 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -580,6 +580,7 @@ struct map_session_data {
int16 icon;
int tid;
} bonus_script[MAX_PC_BONUS_SCRIPT];
+ int bst_delay;
};
enum weapon_type {
help me how to add this src by not updating my svn because i changed alot of src on my svn now (