diff options
author | valaris <valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-21 14:04:58 +0000 |
---|---|---|
committer | valaris <valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-21 14:04:58 +0000 |
commit | b005f9413dbdc081fa09365f927677e7f7e9319d (patch) | |
tree | af793a9e1a130f3b003c05f74ad7ef0a4b571d9e /src/map/intif.c | |
parent | 1170b595e25fbd5abe031dfccd0fba160296b8dd (diff) | |
download | hercules-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/intif.c')
-rw-r--r-- | src/map/intif.c | 77 |
1 files changed, 0 insertions, 77 deletions
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 |