Sfoglia il codice sorgente

* [Scripting Engine Update] New variables are ready to be used.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6703 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lance 19 anni fa
parent
commit
5120d7677c
3 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 2 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/clif.c
  3. 1 1
      src/map/script.c

+ 2 - 0
Changelog-Trunk.txt

@@ -3,6 +3,8 @@ Date	Added
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
+2006/05/23
+	* [Scripting Engine Update] New variables are ready to be used. [Lance]
 2006/05/22
 	* Updated skill_delayfix to return 0 for mobs since they have no skill
 	  delay other than the one specified in mob_skill_db [Skotlex]

+ 1 - 1
src/map/clif.c

@@ -8622,7 +8622,7 @@ void clif_parse_GetCharNameRequest(int fd, struct map_session_data *sd) {
     			sprintf(gm_msg, "Hack on NameRequest: character '%s' (account: %d) requests name of invisible chars.", sd->status.name, sd->status.account_id);
 				ShowWarning(gm_msg);
 			    // information is sended to all online GM
-			  //  intif_wis_message_to_gm(wisp_server_name, battle_config.hack_info_GM_level, gm_msg);
+				intif_wis_message_to_gm(wisp_server_name, battle_config.hack_info_GM_level, gm_msg);
 			return;
 		}
 		clif_charnameack(fd, bl);

+ 1 - 1
src/map/script.c

@@ -1043,11 +1043,11 @@ static unsigned char *skip_space(unsigned char *p)
 static unsigned char *skip_word(unsigned char *p)
 {
 	// prefix
+	if(*p=='\'') p++;
 	if(*p=='$') p++;	// MAP鯖内共有変数用
 	if(*p=='@') p++;	// 一時的変数用(like weiss)
 	if(*p=='#') p++;	// account変数用
 	if(*p=='#') p++;	// ワールドaccount変数用
-	if(*p=='\'') p++;
 
 	while(isalnum(*p)||*p=='_'|| *p>=0x81)
 		if(*p>=0x81 && p[1]){