summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorvalaris <valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-21 14:04:58 +0000
committervalaris <valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-21 14:04:58 +0000
commitb005f9413dbdc081fa09365f927677e7f7e9319d (patch)
treeaf793a9e1a130f3b003c05f74ad7ef0a4b571d9e /src/map
parent1170b595e25fbd5abe031dfccd0fba160296b8dd (diff)
downloadhercules-b005f9413dbdc081fa09365f927677e7f7e9319d.tar.gz
hercules-b005f9413dbdc081fa09365f927677e7f7e9319d.tar.bz2
hercules-b005f9413dbdc081fa09365f927677e7f7e9319d.tar.xz
hercules-b005f9413dbdc081fa09365f927677e7f7e9319d.zip
* Removed japanese interserver packets, should fix various problems (jumpto, where, charposreq). [Valaris]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@291 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/atcommand.c5
-rw-r--r--src/map/intif.c77
-rw-r--r--src/map/intif.h4
3 files changed, 0 insertions, 86 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index eab110beb..a4d89c293 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -1081,8 +1081,6 @@ int atcommand_where(
if(strncmp(sd->status.name,character,24)==0)
return -1;
- intif_where(sd->status.account_id,character);
-
if ((pl_sd = map_nick2sd(character)) == NULL) {
snprintf(output, sizeof output, "%s %d %d",
sd->mapname, sd->bl.x, sd->bl.y);
@@ -1121,7 +1119,6 @@ int atcommand_jumpto(
if(strncmp(sd->status.name,character,24)==0) //Yourself mate? Tsk tsk tsk.
return -1;
- intif_jumpto(sd->status.account_id,character);
if ((pl_sd = map_nick2sd(character)) != NULL) {
if (pl_sd->bl.m >= 0 && map[pl_sd->bl.m].flag.nowarpto && battle_config.any_warp_GM_min_level > pc_isGM(sd)) {
clif_displaymessage(fd, "You are not authorised to warp you to the map of this player.");
@@ -4029,8 +4026,6 @@ atcommand_recall(
if(strncmp(sd->status.name,character,24)==0)
return -1;
- intif_charmovereq(sd,character,1);
-
if ((pl_sd = map_nick2sd(character)) != NULL) {
if (pc_isGM(sd) >= pc_isGM(pl_sd)) { // you can recall only lower or same level
if (sd->bl.m >= 0 && map[sd->bl.m].flag.nowarpto && battle_config.any_warp_GM_min_level > pc_isGM(sd)) {
diff --git a/src/map/intif.c b/src/map/intif.c
index 62a2bd761..fc79e5148 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -533,83 +533,6 @@ int intif_guild_castle_datasave(int castle_id,int index, int value)
return 0;
}
-/*==========================================
- * 指定した名前のキャラの場所要求
- *------------------------------------------
- */
-int intif_charposreq(int account_id,char *name,int flag)
-{
- WFIFOW(inter_fd,0)=0x3090;
- WFIFOL(inter_fd,2)=account_id;
- memcpy(WFIFOP(inter_fd,6),name,24);
- WFIFOB(inter_fd,30)=flag;
- WFIFOSET(inter_fd,31);
- return 0;
-}
-
-/*==========================================
- * 指定した名前のキャラの場所に移動する
- * @jumpto
- *------------------------------------------
- */
-int intif_jumpto(int account_id,char *name)
-{
- intif_charposreq(account_id,name,1);
- //printf("intif_jumpto: %d %s\n",account_id,name);
- return 0;
-}
-
-/*==========================================
- * 指定した名前のキャラの場所表示する
- * @where
- *------------------------------------------
- */
-int intif_where(int account_id,char *name)
-{
- intif_charposreq(account_id,name,0);
- //printf("intif_where: %d %s\n",account_id,name);
- return 0;
-}
-
-/*==========================================
- * 指定した名前のキャラを呼び寄せる
- * flag=0 あなたに逢いたい
- * flag=1 @recall
- *------------------------------------------
- */
-int intif_charmovereq(struct map_session_data *sd,char *name,int flag)
-{
- nullpo_retr(0,sd);
-
- //printf("intif_charmovereq: %d %s\n",sd->status.account_id,name);
- if(name==NULL)
- return -1;
-
- WFIFOW(inter_fd,0)=0x3092;
- WFIFOL(inter_fd,2)=sd->status.account_id;
- memcpy(WFIFOP(inter_fd,6),name,24);
- WFIFOB(inter_fd,30)=flag;
- memcpy(WFIFOP(inter_fd,31),sd->mapname,16);
- WFIFOW(inter_fd,47)=sd->bl.x;
- WFIFOW(inter_fd,49)=sd->bl.y;
- WFIFOSET(inter_fd,51);
- return 0;
-}
-/*==========================================
- * 対象IDにメッセージを送信
- *------------------------------------------
- */
-int intif_displaymessage(int account_id, char* mes)
-{
- int len = 6+strlen(mes)+1;
- WFIFOW(inter_fd,0) = 0x3093;
- WFIFOW(inter_fd,2) = len;
- WFIFOL(inter_fd,4) = account_id;
- strncpy(WFIFOP(inter_fd,8), mes, len-6);
- WFIFOSET(inter_fd, len );
-
- return 0;
-}
//-----------------------------------------------------------------
// Packets receive from inter server
diff --git a/src/map/intif.h b/src/map/intif.h
index 3fe14f2e4..5077dbe18 100644
--- a/src/map/intif.h
+++ b/src/map/intif.h
@@ -53,8 +53,4 @@ int intif_request_petdata(int account_id, int char_id, int pet_id);
int intif_save_petdata(int account_id, struct s_pet *p);
int intif_delete_petdata(int pet_id);
-int intif_jumpto(int account_id,char *name);
-int intif_where(int account_id,char *name);
-int intif_charmovereq(struct map_session_data *sd,char *name,int flag);
-
#endif