Jump to content
  • 0

Error after pulled and recompile latest rathena.. Got Error and Debug on map-server.exe


rakuzas

Question


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

error.png.1f68af54fe627db0dc243fe84da2dbdf.png

Source of error : 

npc\re\jobs\novice\academy.txt

line : 5826

// - Manufacturing Maniac
// -----------------------------------------------------------------------------
izlude,93,143,3	script	Manufacturing Maniac#0	-1,{
	mes "[Manufacturing Maniac]";
	mes "Hi~! I am an Alchemist.";
	mes "It's one of the second jobs after Merchant.";
	next;
	mes "[Manufacturing Maniac]";
	mes "I am making a potion.";
	mes "I came to izlude to make potions at a quiet place.";
	mes "I feel that quiet places help to increase the rate of success.";
	mes "I am feeling good!";
	close;

OnTimer30000:
	if (rand(1,2) == 1) {
		emotion ET_BEST;
		specialeffect EF_PHARMACY_OK;
	} else {
		emotion ET_HUK;
		specialeffect EF_PHARMACY_FAIL;
	}
	end;

OnTimer35000:
OnInit:
	initnpctimer;
	end;
}

izlude_a,93,143,3	duplicate(Manufacturing Maniac#0)	Manufacturing Maniac#a	2_M_ALCHE
izlude_b,93,143,3	duplicate(Manufacturing Maniac#0)	Manufacturing Maniac#b	2_M_ALCHE
izlude_c,93,143,3	duplicate(Manufacturing Maniac#0)	Manufacturing Maniac#c	2_M_ALCHE
izlude_d,93,143,3	duplicate(Manufacturing Maniac#0)	Manufacturing Maniac#d	2_M_ALCHE


This error keep appear as long as the server run.. Maybe because of timer and make it looping.. Just for now, I just temporary disable the emotion that cause the error..

Another Error Source : 

\npc\re\quests\homun_s.txt

Line : 1310
 

// Notifiers
//============================================================
que_house_s,11,52,3	script	#03homun_s	111,{
	end;
OnInit:
	initnpctimer;
	end;
OnTimer6000:
	emotion ET_SURPRISE;
	end;
OnTimer7000:
	emotion ET_SURPRISE, getnpcid(0, "#04homun_s");
	stopnpctimer;
	initnpctimer;
	end;
}

Another error source : 

npc\re\quests\quests_brasilis.txt

line : 79

 

OnInit:
	initnpctimer;
	end;

OnTimer10000:
	stopnpctimer;
	donpcevent "Angelo#br::OnGo";
	end;

OnGo:
	emotion ET_SURPRISE;
	initnpctimer;
	end;
}



line : 306
 

OnInit:
	initnpctimer;
	end;

OnTimer7000:
	emotion ET_SURPRISE;
	stopnpctimer;
	initnpctimer;
	end;
}


Last Error Source :
\npc\other\monster_race.txt

line : 208
 

-	script	Runner_main	-1,{
OnEnable:
	emotion ET_SURPRISE;
	enablenpc strnpcinfo(0);
	getmapxy(.@m$,.@x,.@y,UNITTYPE_NPC);
	setarray .@mob[1], 1725,1726,1727,1728,1730,1729;
	.@n = atoi( strnpcinfo(2) );
	monster "p_track01",58,.@y,"The "+ callfunc("F_GetNumSuffix",.@n) +" Racer",.@mob[.@n],1,strnpcinfo(0)+"::OnMyMobDead";
	end;

 

Edited by rakuzas
Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.02
  • Content Count:  267
  • Reputation:   40
  • Joined:  01/19/17
  • Last Seen:  

@rakuzas, use jeybla's tools the convert_emotions.py. You can run that tool to avoid errors with regards to emotions.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

20 minutes ago, iAmGnome said:

@rakuzas, use jeybla's tools the convert_emotions.py. You can run that tool to avoid errors with regards to emotions.

Sorry.. I dont quite get it.. How can I run this tools btw? Never do this before.. 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.02
  • Content Count:  267
  • Reputation:   40
  • Joined:  01/19/17
  • Last Seen:  

2 minutes ago, rakuzas said:

Sorry.. I dont quite get it.. How can I run this tools btw? Never do this before.. 

If you're running linux, go to tools folder = cd tools and run commands "./convert_emotions.py"

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

1 minute ago, iAmGnome said:

If you're running linux, go to tools folder = cd tools and run commands "./convert_emotions.py"

Im using windows btw.. So need to run with Visual Studio? 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.02
  • Content Count:  267
  • Reputation:   40
  • Joined:  01/19/17
  • Last Seen:  

2 minutes ago, rakuzas said:

Im using windows btw.. So need to run with Visual Studio? 

No idea on windows. sorry.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

12 minutes ago, iAmGnome said:

No idea on windows. sorry.

Ok.. thanks for giving the advise btw.. /no1 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  249
  • Reputation:   72
  • Joined:  10/20/12
  • Last Seen:  

Looks like you run updated scripts on an old version of rathenas source. Did you properly update your src files?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

13 minutes ago, Jey said:

Looks like you run updated scripts on an old version of rathenas source. Did you properly update your src files?

I see.. That is the cause.. I'm just pulled from rathena github btw.. And no conflict regarding source.. But will try again with fresh rathena then to confirm.. Thanks..

Edited by rakuzas
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  249
  • Reputation:   72
  • Joined:  10/20/12
  • Last Seen:  

https://github.com/rathena/rathena/blob/master/src/map/script_constants.hpp#L2624

Have a look at that file, either these constants are missing on your side which means your copy is out of date, or you forgot to recompile (or something similar)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

2 minutes ago, Jey said:

https://github.com/rathena/rathena/blob/master/src/map/script_constants.hpp#L2624

Have a look at that file, either these constants are missing on your side which means your copy is out of date, or you forgot to recompile (or something similar)

Ok.. Thank you.. I will test with fresh copy tomorrow.. It weird.. I already pulled with rathena git.. Also already recompile with no error.. I will update this question again tomorrow after I test again.. Thank you for your support.. /no1 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...