Guest User

Untitled

a guest
Aug 16th, 2013
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.73 KB | None | 0 0
  1. //instance endless cellar
  2.  
  3.  
  4. [Error]: Loading NPC file: npc/custom/instances/EndlessCellar.txt
  5. script error on npc/custom/instances/EndlessCellar.txt line 35
  6. parse_callfunc: expected ')' to close argument list
  7. 34 : {
  8. * 35 : if(((EC_Lasttime + $EC_Cooldown > gettimetick(2) && EC_Lasttime < gettimetick(2)) || (EC_Lasttime > gettimetick(2) && EC_Lastinstid != instance_id('1'))) && getgmlevel() < $EC_GM){
  9. 36 : set .@last,EC_Lasttime + $EC_Cooldown - gettimetick(2);
  10. 37 : set .@hours,.@last / 60 / 60;
  11. 38 : set .@minutes,.@last / 60 % 60;
  12. 39 : set .@seconds,.@last % 60;
  13. 40 : mes "Due to the entree aftereffect,";
  14. [Error]:
  15. script error on npc/custom/instances/EndlessCellar.txt line 151
  16. parse_callfunc: expected ')' to close argument list
  17. 146 : } else
  18. 147 : donpcevent instance_npcname("EC_Manager")+"::OnPorDead";
  19. 148 : end;
  20. 149 :
  21. 150 : OnMobDead:
  22. * 151 : set .@i,instance_id('0');
  23. 152 : set 'EC_Mobs,'EC_Mobs-1;
  24. 153 : if('EC_Mobs){
  25. 154 : instance_announce .@i,"Monsters remaining on Floor "+'EC_Floor+": "+'EC_Mobs,bc_map,0x00FF00;
  26. 155 : end;
  27. 156 : }
  28. [Error]:
  29. script error on npc/custom/instances/EndlessCellar.txt line 317
  30. parse_callfunc: expected ')' to close argument list
  31. 312 : end;
  32. 313 : case 5:
  33. 314 : mes "Are you sure?";
  34. 315 : next;
  35. 316 : if(select("Yes:No") == 2) end;
  36. * 317 : instance_destroy instance_id('0');
  37. 318 : end;
  38. 319 : default:
  39. 320 : end;
  40. 321 : }
  41. 322 : }
  42. [Error]: npc_parse_mapflag: unrecognized mapflag 'restricted' (file 'npc/custom/instances/EndlessCellar.txt', line '956').
  43. [Error]: npc_parse_mapflag: unrecognized mapflag 'restricted' (file 'npc/custom/instances/EndlessCellar.txt', line '966').
  44. [Error]: npc_parse_mapflag: unrecognized mapflag 'restricted' (file 'npc/custom/instances/EndlessCellar.txt', line '976').
  45. [Error]: npc_parse_mapflag: unrecognized mapflag 'restricted' (file 'npc/custom/instances/EndlessCellar.txt', line '986').
  46. [Error]: npc_parse_mapflag: unrecognized mapflag 'restricted' (file 'npc/custom/instances/EndlessCellar.txt', line '996').
  47. ////////////////////////////////////////////////////////////////////////
  48.  
  49. //instance Museum
  50.  
  51. [Error]: Loading NPC file: npc/custom/instances/Museum.txt
  52. script error on npc/custom/instances/Museum.txt line 12
  53. parse_callfunc: expected ')' to close argument list
  54. 11 : {
  55. * 12 : if(((M_Lasttime + $M_Cooldown > gettimetick(2) && M_Lasttime < gettimetick(2)) || (M_Lasttime > gettimetick(2) && M_Lastinstid != instance_id('1')))){
  56. 13 : set .@last,M_Lasttime + $M_Cooldown - gettimetick(2);
  57. 14 : set .@hours,.@last / 60 / 60;
  58. 15 : set .@minutes,.@last / 60 % 60;
  59. 16 : set .@seconds,.@last % 60;
  60. 17 : mes "Due to the entree aftereffect,";
  61. ////////////////////////////////////////////
  62.  
  63. //instance glast heim memorial
  64.  
  65. [Error]: Loading NPC file: npc/yggdrasil/instances/glast_heim_memorial.txt
  66. script error on npc/yggdrasil/instances/glast_heim_memorial.txt line 291
  67. parse_line: expect command, missing function name or calling undeclared function
  68. 286 : switch(select("Oh. Well, about that..."))
  69. 287 : {
  70. 288 : case 1:
  71. 289 : mes "["+strcharinfo(0)+"]";
  72. 290 : mes "Oh yeah, hahaha, we were told to meet someone called Varmunt.";
  73. * 291 : 'p'layertalk(1,"Oh yeah, hahaha, we were told to meet someone called Varmunt.");
  74. 292 : next;
  75. 293 : mes "[Varmunt]";
  76. 294 : mes "We don't have time. We must tell Sir Heinrich about Himmelmez's invasion.";
  77. 295 : npctalk "We don't have time. We must tell Sir Heinrich about Himmelmez's invasion.";
  78. 296 : cutin "gl_barmund2",2;
  79. [Error]:
  80. script error on npc/yggdrasil/instances/glast_heim_memorial.txt line 693
  81. parse_line: expect command, missing function name or calling undeclared function
  82. 688 : switch(select("Heinrich, about the castle ..."))
  83. 689 : {
  84. 690 : case 1:
  85. 691 : mes "["+strcharinfo(0)+"]";
  86. 692 : mes "Do you know what is happening now in the castle, Heinrich?";
  87. * 693 : 'p'layertalk(1,"Do you know what is happening now in the castle, Heinrich?");
  88. 694 : next;
  89. 695 : mes "[Heinrich]";
  90. 696 : mes "You are the adventurers who have come with Varmunt, right?";
  91. 697 : npctalk "You are the adventurers who have come with Varmunt, right?";
  92. 698 : next;
  93. [Error]:
  94. script error on npc/yggdrasil/instances/glast_heim_memorial.txt line 1814
  95. parse_line: expect command, missing function name or calling undeclared function
  96. 1809 : switch(select("Hey, wake up! Are there any other survivors?"))
  97. 1810 : {
  98. 1811 : case 1:
  99. 1812 : mes "["+strcharinfo(0)+"]";
  100. 1813 : mes "Hey, wake up! Are you alone?";
  101. * 1814 : 'p'layertalk(1,"Hey, wake up! Are you alone?");
  102. 1815 : next;
  103. 1816 : mes "[Butcher]";
  104. 1817 : mes "The Chamberlain... the Monk... They've become monsters. I couldn't do anything";
  105. 1818 : npctalk "The Chamberlain... the Monk... They've become monsters. I couldn't do anything";
  106. 1819 : next;
  107. [Error]:
  108. script error on npc/yggdrasil/instances/glast_heim_memorial.txt line 1881
  109. parse_line: expect command, missing function name or calling undeclared function
  110. 1876 : switch(select("Don't worry!"))
  111. 1877 : {
  112. 1878 : case 1:
  113. 1879 : mes "["+strcharinfo(0)+"]";
  114. 1880 : mes "Don't worry! Mam. Are you alone? No other survivors?";
  115. * 1881 : 'p'layertalk (1,"Don't worry! Mam. Are you alone? No other survivors?");
  116. 1882 : next;
  117. 1883 : mes "[Destroyer]";
  118. 1884 : mes "I'm the only survivor left";
  119. 1885 : npctalk "I'm the only survivor left";
  120. 1886 : next;
  121. //////////////////////////////////////////////////
  122.  
  123. instance Buwaya Cave
  124.  
  125. [Error]: Loading NPC file: npc/re/instances/BuwayaCave.txt
  126. script error on npc/re/instances/BuwayaCave.txt line 76
  127. parse_callfunc: not enough arguments, expected ','
  128. 71 : close;
  129. 72 : } else {
  130. 73 : erasequest 4229;
  131. 74 : // fall through
  132. 75 : }
  133. * 76 : if (instance_create(.@md_name$')' < 0) {
  134. 77 : mes "[Guard]";
  135. 78 : mes "Party name is... "+getpartyname(.@party_id)+".";;
  136. 79 : mes "Party leader is... "+strcharinfo(0);
  137. 80 : mes "^0000ff"+.@md_name$+"^000000 cannot be opened now.";
  138. 81 : mes "Please try a moment later.";
  139. [Error]:
  140. script error on npc/re/instances/BuwayaCave.txt line 127
  141. parse_simpleexpr: unmatched ')'
  142. 122 : erasequest 4229;
  143. 123 : // fall through
  144. 124 : }
  145. 125 : switch(select("Enter.:Turn back.")) {
  146. 126 : case 1:
  147. * 127 : switch(instance_enter'('"Buwaya Cave")) {
  148. 128 : case 3:
  149. 129 : mes "[Guard]";
  150. 130 : mes "Oh, now is not a good time.";
  151. 131 : mes "Please try again a moment later.";
  152. 132 : close;
  153. [Error]:
  154. script error on npc/re/instances/BuwayaCave.txt line 246
  155. parse_callfunc: not enough arguments, expected ','
  156. 243 : {
  157. 244 : end;
  158. 245 : OnInstanceInit:
  159. * 246 : setcell instance_mapname'('"1@ma_c"),30,118,35,118,cell_shootable,1; //custom
  160. 247 : disablenpc instance_npcname("#box_mob_call");
  161. 248 : end;
  162. 249 : OnEnable:
  163. 250 : enablenpc instance_npcname("#box_mob_call");
  164. 251 : set .@label$, instance_npcname("#box_mob_call")+"::OnMyMobDead";
  165. [Error]:
  166. script error on npc/re/instances/BuwayaCave.txt line 277
  167. parse_callfunc: not enough arguments, expected ','
  168. 272 : enablenpc instance_npcname("#box_out");
  169. 273 : end;
  170. 274 : OnTouch:
  171. 275 : set .@x, rand(1,20) + 97;
  172. 276 : set .@y, rand(1,20) + 74;
  173. * 277 : warp instance_mapname'('"1@ma_c"),.@x,.@y;
  174. 278 : end;
  175. 279 : }
  176. 280 :
  177. 281 : 1@ma_c,97,74,0 script #box_call 139,50,50,{
  178. 282 : end;
  179. [Error]:
  180. script error on npc/re/instances/BuwayaCave.txt line 288
  181. parse_callfunc: not enough arguments, expected ','
  182. 283 : OnInstanceInit:
  183. 284 : disablenpc instance_npcname("#box_call");
  184. 285 : initnpctimer;
  185. 286 : end;
  186. 287 : OnTimer30000:
  187. * 288 : mapannounce instance_mapname'('"1@ma_c"),"Buwaya : I will put you in my treasure box!",bc_map,"0x00ff99"; //FW_NORMAL 12 0 0
  188. 289 : // Should execute OnTimer33000, but client doesn't render the effect fast enough.
  189. 290 : for(set .@i,1; .@i<=9; set .@i,.@i+1)
  190. 291 : donpcevent instance_npcname("#yunobi"+.@i)+"::OnEnable";
  191. 292 : end;
  192. 293 : OnTimer33000:
  193. [Error]:
  194. script error on npc/re/instances/BuwayaCave.txt line 341
  195. parse_callfunc: not enough arguments, expected ','
  196. 336 : end;
  197. 337 : OnInstanceInit:
  198. 338 : initnpctimer;
  199. 339 : end;
  200. 340 : OnTimer58000:
  201. * 341 : mapannounce instance_mapname'('"1@ma_c"),"Buwaya : I had enough with this, let's go till the end!",bc_map,"0x00ff99"; //FW_NORMAL 12 0 0
  202. 342 : end;
  203. 343 : OnTimer61000:
  204. 344 : mapannounce instance_mapname("1@ma_c"),"Buwaya : This is!",bc_map,"0x00ff99"; //FW_NORMAL 12 0 0
  205. 345 : end;
  206. 346 : OnTimer62000:
  207. [Error]:
  208. script error on npc/re/instances/BuwayaCave.txt line 387
  209. parse_callfunc: not enough arguments, expected ','
  210. 384 : {
  211. 385 : end;
  212. 386 : OnInstanceInit:
  213. * 387 : areamonster instance_mapname'('"1@ma_c"),90,67,104,81,"Buwaya",2319,1,instance_npcname("#buwaya_con")+"::OnMyMobDead";
  214. 388 : end;
  215. 389 : OnMyMobDead:
  216. 390 : set .@map$, instance_mapname("1@ma_c");
  217. 391 : if (mobcount(.@map$,instance_npcname("#buwaya_con")+"::OnMyMobDead") < 1) {
  218. 392 : donpcevent instance_npcname("#box_call")+"::OnDisable";
  219. [Error]:
  220. script error on npc/re/instances/BuwayaCave.txt line 408
  221. parse_line: need ';'
  222. 403 : OnInstanceInit:
  223. 404 : initnpctimer;
  224. 405 : end;
  225. 406 : OnTimer60000:
  226. 407 : set .@label$, instance_npcname("#exit_mob")+"::OnMyMobDead";
  227. * 408 : set .@map$, instance_mapname'('"1@ma_c");
  228. 409 : if (mobcount(.@map$,.@label$) < 30)
  229. 410 : set .@amount,10;
  230. 411 : else
  231. 412 : set .@amount,1;
  232. 413 : areamonster .@map$,43,58,47,60,"Water Plant",2331,.@amount,.@label$;
  233. [Error]:
  234. script error on npc/re/instances/BuwayaCave.txt line 444
  235. parse_line: need ';'
  236. 442 : {
  237. 443 : OnInstanceInit:
  238. * 444 : set .@map$, instance_mapname'('"1@ma_c");
  239. 445 : areamonster .@map$,73,81,93,101,"Seaweed",2331,18;
  240. 446 : areamonster .@map$,110,97,116,103,"Seaweed",2331,8;
  241. 447 : areamonster .@map$,59,63,63,67,"Seaweed",2331,8;
  242. 448 : areamonster .@map$,73,55,77,59,"Seaweed",2331,4;
  243. 449 : areamonster .@map$,103,69,107,73,"Seaweed",2331,4;
  244. //////////////////////////////////////////
  245.  
  246. instance Bukonawa Lake
  247.  
  248. [Error]: Loading NPC file: npc/re/instances/BakonawaLake.txt
  249. script error on npc/re/instances/BakonawaLake.txt line 64
  250. parse_callfunc: not enough arguments, expected ','
  251. 59 : next;
  252. 60 : set .@i, select(":Now I will go down.:Cancel.");
  253. 61 : }
  254. 62 : switch(.@i) {
  255. 63 : case 1:
  256. * 64 : if (instance_create(.@md_name$')' < 0) {
  257. 65 : mes "[Taho]";
  258. 66 : mes "Oh, the rope got dropped. I have to make a new one.";
  259. 67 : close;
  260. 68 : }
  261. 69 : mes "[Taho]";
  262. [Error]:
  263. script error on npc/re/instances/BakonawaLake.txt line 147
  264. parse_line: need ';'
  265. 142 : OnInstanceInit:
  266. 143 : disablenpc instance_npcname("#Bakonawan1");
  267. 144 : end;
  268. 145 : OnStart:
  269. 146 : enablenpc instance_npcname("#Bakonawan1");
  270. * 147 : set .@map$, instance_mapname'('"1@ma_b");
  271. 148 : mapannounce .@map$,"Taho: I can see him there on the surface! ATTACK!!!",bc_map,"0x00ffff"; //FW_NORMAL 15 0 0
  272. 149 : monster .@map$,78,81,"Bakonawa",2320,1,instance_npcname("#Bakonawan1")+"::OnMyMobDead"; //original: (78,83)
  273. 150 : initnpctimer;
  274. 151 : end;
  275. 152 : OnFail:
  276. [Error]:
  277. script error on npc/re/instances/BakonawaLake.txt line 210
  278. parse_line: need ';'
  279. 205 : disablenpc instance_npcname("#SummonPuppetsn1");
  280. 206 : end;
  281. 207 : OnTimer5000:
  282. 208 : setarray .@x[0],79,71,60,61,57,89,95,96,99;
  283. 209 : setarray .@y[0],71,72,80,90,99,73,82,90,99;
  284. * 210 : set .@map$, instance_mapname'('"1@ma_b");
  285. 211 : for(set .@i,0; .@i<9; set .@i,.@i+1) {
  286. 212 : set .@rand, rand(1,10);
  287. 213 : if (.@rand > 7)
  288. 214 : monster .@map$,.@x[.@i],.@y[.@i],"Bakonawa's Will",2337,1,instance_npcname("#SummonPuppetsn1")+"::OnMyMobDead";
  289. 215 : else if (.@rand < 4)
  290. [Error]:
  291. script error on npc/re/instances/BakonawaLake.txt line 238
  292. parse_callfunc: not enough arguments, expected ','
  293. 233 : OnStart:
  294. 234 : enablenpc instance_npcname("#BakonawaDeadn1");
  295. 235 : initnpctimer;
  296. 236 : end;
  297. 237 : OnTimer100:
  298. * 238 : mapannounce instance_mapname'('"1@ma_b"),"Taho: Good! Bakonawa is hidden under water. He will now try to swallow the moon.",bc_map,"0x00ffff"; //FW_NORMAL 15 0 0
  299. 239 : end;
  300. 240 : OnTimer5000:
  301. 241 : mapannounce instance_mapname("1@ma_b"),"Taho: We must make loud noises with caldron and gong so he can never concentrate on the moon!",bc_map,"0x00ffff"; //FW_NORMAL 15 0 0
  302. 242 : end;
  303. 243 : OnTimer10000:
  304. [Error]:
  305. script error on npc/re/instances/BakonawaLake.txt line 262
  306. parse_line: need ';'
  307. 257 : disablenpc instance_npcname("#Bakonawan2");
  308. 258 : end;
  309. 259 : OnStart:
  310. 260 : enablenpc instance_npcname("#Bakonawan2");
  311. 261 : set .@label$, instance_npcname("#Bakonawan2")+"::OnMyMobDead";
  312. * 262 : set .@map$, instance_mapname'('"1@ma_b");
  313. 263 : monster .@map$,95,98,"Caldron",2328,1,.@label$;
  314. 264 : monster .@map$,60,98,"Caldron",2328,1,.@label$;
  315. 265 : monster .@map$,97,104,"Gong",2328,1,.@label$;
  316. 266 : monster .@map$,58,104,"Gong",2328,1,.@label$;
  317. 267 : donpcevent instance_npcname("#Bakonawan2-1")+"::OnStart";
  318. [Error]:
  319. script error on npc/re/instances/BakonawaLake.txt line 315
  320. parse_callfunc: not enough arguments, expected ','
  321. 310 : OnInstanceInit:
  322. 311 : disablenpc instance_npcname("#Bakonawan2-1");
  323. 312 : end;
  324. 313 : OnStart:
  325. 314 : enablenpc instance_npcname("#Bakonawan2-1");
  326. * 315 : monster instance_mapname'('"1@ma_b"),78,81,"Enraged Bakonawa",2321,1,instance_npcname("#Bakonawan2-1")+"::OnMyMobDead"; //original: (78,93)
  327. 316 : end;
  328. 317 : OnFail:
  329. 318 : killmonster instance_mapname("1@ma_b"),instance_npcname("#Bakonawan2-1")+"::OnMyMobDead";
  330. 319 : end;
  331. 320 : OnEnd:
  332. [Error]:
  333. script error on npc/re/instances/BakonawaLake.txt line 349
  334. parse_callfunc: not enough arguments, expected ','
  335. 344 : disablenpc instance_npcname("#Bakonawan3");
  336. 345 : end;
  337. 346 : OnStart:
  338. 347 : enablenpc instance_npcname("#Bakonawan3");
  339. 348 : initnpctimer;
  340. * 349 : monster instance_mapname'('"1@ma_b"),78,81,"Enraged Bakonawa",2322,1,instance_npcname("#Bakonawan3")+"::OnMyMobDead"; //original: (78,83)
  341. 350 : donpcevent instance_npcname("#Bakonawan3-1")+"::OnStart";
  342. 351 : end;
  343. 352 : OnMyMobDead:
  344. 353 : set .@map$, instance_mapname("1@ma_b");
  345. 354 : set .@mob_dead_num, mobcount(.@map$,instance_npcname("#Bakonawan3")+"::OnMyMobDead");
  346. [Error]:
  347. script error on npc/re/instances/BakonawaLake.txt line 409
  348. parse_callfunc: not enough arguments, expected ','
  349. 404 : end;
  350. 405 : OnStart:
  351. 406 : initnpctimer;
  352. 407 : end;
  353. 408 : OnEnd:
  354. * 409 : killmonster instance_mapname'('"1@ma_b"),instance_npcname("#Bakonawan3-1")+"::OnMyMobDead";
  355. 410 : //showdigit 0;
  356. 411 : stopnpctimer;
  357. 412 : end;
  358. 413 : OnMyMobDead:
  359. 414 : showdigit mobcount(instance_mapname("1@ma_b"),instance_npcname("#Bakonawan3-1")+"::OnMyMobDead");
  360. [Error]:
  361. script error on npc/re/instances/BakonawaLake.txt line 486
  362. parse_callfunc: not enough arguments, expected ','
  363. 481 : OnStart:
  364. 482 : enablenpc instance_npcname("Taho#Completed");
  365. 483 : initnpctimer;
  366. 484 : end;
  367. 485 : OnTimer1000:
  368. * 486 : monster instance_mapname'('"1@ma_b"),78,74,"Bakonawa Treasure Box",2335,1;
  369. 487 : end;
  370. 488 : OnTimer10000:
  371. 489 : mapannounce instance_mapname("1@ma_b"),"Taho: After opening the treasure box, please visit me at the top of the hill. I've got something to give to you.",bc_map,"0x00ffff"; //FW_NORMAL 15 0 0
  372. 490 : stopnpctimer;
  373. 491 : end;
  374. ///////////////////////////////////
  375.  
  376. //instance Bangungot Hospital
  377.  
  378. [Error]: Loading NPC file: npc/re/instances/BangungotHospital.txt
  379. script error on npc/re/instances/BangungotHospital.txt line 259
  380. parse_callfunc: not enough arguments, expected ','
  381. 254 : mes "one more chance?";
  382. 255 : }
  383. 256 : next;
  384. 257 : switch(select(((getarg(0))?"Prepare to enter the second floor.":"")+":Enter the second floor.:Do not enter.")) {
  385. 258 : case 1:
  386. * 259 : if (instance_create(.@md_name$')' < 0) {
  387. 260 : mes "[Nurse Maenne]";
  388. 261 : mes "A critical situation has happened.";
  389. 262 : mes "You can't go up to the 2nd floor.";
  390. 263 : close2;
  391. 264 : cutin "",255;
  392. [Error]:
  393. script error on npc/re/instances/BangungotHospital.txt line 380
  394. parse_line: need ';'
  395. 377 : {
  396. 378 : end;
  397. 379 : OnTouch:
  398. * 380 : set .@map$, instance_mapname'('"1@ma_h");
  399. 381 : mapannounce .@map$,"Bangungot: You silly "+strcharinfo(0)+" ....",bc_map,"0xFF82FF";
  400. 382 : mapannounce .@map$,"Bangungot: Get out before you die...",bc_map,"0xFF82FF";
  401. 383 : areamonster .@map$,44,156,46,158,"Bangungot's Mangkukulam",2339,1,instance_npcname("#Memorial Start")+"::OnMyMobDead";
  402. 384 : donpcevent instance_npcname("#Memorial Start_time")+"::OnEnable";
  403. 385 : end;
  404. [Error]:
  405. script error on npc/re/instances/BangungotHospital.txt line 414
  406. parse_callfunc: not enough arguments, expected ','
  407. 409 : end;
  408. 410 : OnDisable:
  409. 411 : stopnpctimer;
  410. 412 : end;
  411. 413 : OnTimer5000:
  412. * 414 : mapannounce instance_mapname'('"1@ma_h"),"Bangungot: You cannot help.... you can't defeat me.",bc_map,"0xFF82FF";
  413. 415 : end;
  414. 416 : OnTimer10000:
  415. 417 : mapannounce instance_mapname("1@ma_h"),"Bangungot: HAHAHAHAHAHAHAHA!!!!",bc_map,"0xFF82FF";
  416. 418 : stopnpctimer;
  417. 419 : end;
  418. [Error]:
  419. script error on npc/re/instances/BangungotHospital.txt line 428
  420. parse_line: need ';'
  421. 423 : end;
  422. 424 : OnInstanceInit:
  423. 425 : disablenpc instance_npcname(strnpcinfo(0));
  424. 426 : end;
  425. 427 : OnEnable1:
  426. * 428 : set .@map$, instance_mapname'('"1@ma_h");
  427. 429 : set .@label$, instance_npcname(strnpcinfo(0))+"::OnMyMobDead";
  428. 430 : enablenpc instance_npcname(strnpcinfo(0));
  429. 431 : specialeffect EF_BAT2;
  430. 432 : switch(atoi(charat(strnpcinfo(2),4))) {
  431. 433 : case 1:
  432. [Error]:
  433. script error on npc/re/instances/BangungotHospital.txt line 500
  434. parse_line: need ';'
  435. 495 : end;
  436. 496 : OnInstanceInit:
  437. 497 : disablenpc instance_npcname("#Ward6 Entry");
  438. 498 : end;
  439. 499 : OnEnable1:
  440. * 500 : set .@map$, instance_mapname'('"1@ma_h");
  441. 501 : set .@label$, instance_npcname("#Ward6 Entry")+"::OnMyMobDead";
  442. 502 : enablenpc instance_npcname("#Ward6 Entry");
  443. 503 : specialeffect EF_BAT2;
  444. 504 : areamonster .@map$,93,137,95,139,"Bangungot's Mangkukulam",2339,1,.@label$;
  445. 505 : areamonster .@map$,95,137,97,139,"Bangungot's Mangkukulam",2339,1,.@label$;
  446. [Error]:
  447. script error on npc/re/instances/BangungotHospital.txt line 537
  448. parse_callfunc: not enough arguments, expected ','
  449. 532 : OnInstanceInit:
  450. 533 : disablenpc instance_npcname("#Summon Boss");
  451. 534 : end;
  452. 535 : OnEnable:
  453. 536 : enablenpc instance_npcname("#Summon Boss");
  454. * 537 : monster instance_mapname'('"1@ma_h"),143,158,"Bangungot",2317,1,instance_npcname("#Summon Boss")+"::OnMyMobDead";
  455. 538 : donpcevent instance_npcname("#Boss Room Entry")+"::OnEnableEntry";
  456. 539 : donpcevent instance_npcname("#Boss Room Entry")+"::OnEnable";
  457. 540 : end;
  458. 541 : OnMyMobDead:
  459. 542 : initnpctimer;
  460. [Error]:
  461. script error on npc/re/instances/BangungotHospital.txt line 570
  462. parse_callfunc: not enough arguments, expected ','
  463. 565 : enablenpc instance_npcname("#Boss Room Entry");
  464. 566 : enablenpc instance_npcname("#Boss Room Door");
  465. 567 : enablenpc instance_npcname("#Boss Room Door1");
  466. 568 : end;
  467. 569 : OnSpawn:
  468. * 570 : areamonster instance_mapname'('"1@ma_h"),123,152,137,166,"Bangungot's Manananggal",2338,1,instance_npcname("#Boss Room Entry")+"::OnMyMobDead";
  469. 571 : end;
  470. 572 : OnReset:
  471. 573 : killmonster instance_mapname("1@ma_h"),instance_npcname("#Boss Room Entry")+"::OnMyMobDead";
  472. 574 : end;
  473. 575 : OnMyMobDead:
  474. [Error]:
  475. script error on npc/re/instances/BangungotHospital.txt line 616
  476. parse_callfunc: not enough arguments, expected ','
  477. 611 : end;
  478. 612 : OnInstanceInit:
  479. 613 : disablenpc instance_npcname("#Boss Room Entry_time");
  480. 614 : end;
  481. 615 : OnEnable:
  482. * 616 : mapannounce instance_mapname'('"1@ma_h"),"Bangungot: You poor little things. I will invite you to the world of infectious disease...",bc_map,"0xFF82FF";
  483. 617 : initnpctimer;
  484. 618 : end;
  485. 619 : OnTimer25000:
  486. 620 : mapannounce instance_mapname("1@ma_h"),"Bangungot: You will know what it is...",bc_map,"0xFF82FF";
  487. 621 : for(set .@i,10; .@i<=22; set .@i,.@i+1)
  488. [Error]:
  489. script error on npc/re/instances/BangungotHospital.txt line 692
  490. parse_callfunc: not enough arguments, expected ','
  491. 687 : end;
  492. 688 : OnInstanceInit:
  493. 689 : disablenpc instance_npcname("#Boss Room Entry_2");
  494. 690 : end;
  495. 691 : OnEnable:
  496. * 692 : mapannounce instance_mapname'('"1@ma_h"),"Bangungot: You are pretty powerful...",bc_map,"0xFF82FF";
  497. 693 : initnpctimer;
  498. 694 : end;
  499. 695 : OnTimer3000:
  500. 696 : mapannounce instance_mapname("1@ma_h"),"Bangungot: But can you...",bc_map,"0xFF82FF";
  501. 697 : end;
  502. [Error]:
  503. script error on npc/re/instances/BangungotHospital.txt line 733
  504. parse_line: need ';'
  505. 728 : OnTouch:
  506. 729 : donpcevent instance_npcname("#Summon Ward Mob_time")+"::OnEnable";
  507. 730 : specialeffect EF_CURSEATTACK;
  508. 731 : end;
  509. 732 : OnEnable1:
  510. * 733 : set .@map$, instance_mapname'('"1@ma_h");
  511. 734 : set .@label$, instance_npcname("#Summon Ward Mob")+"::OnMyMobDead";
  512. 735 : areamonster .@map$,47,77,49,79,"Bangungot's Tiyanak",2340,1,.@label$;
  513. 736 : areamonster .@map$,49,77,51,79,"Bangungot's Tiyanak",2340,1,.@label$;
  514. 737 : areamonster .@map$,51,77,53,79,"Bangungot's Tiyanak",2340,1,.@label$;
  515. 738 : areamonster .@map$,47,79,49,81,"Bangungot's Tiyanak",2340,1,.@label$;
  516. [Error]:
  517. script error on npc/re/instances/BangungotHospital.txt line 824
  518. parse_callfunc: not enough arguments, expected ','
  519. 819 : OnEnable:
  520. 820 : initnpctimer;
  521. 821 : disablenpc instance_npcname("#Summon Ward Mob");
  522. 822 : end;
  523. 823 : OnTimer2000:
  524. * 824 : mapannounce instance_mapname'('"1@ma_h"),"Bangungot: My spirit will be with your cursed body...",bc_map,"0xFF82FF";
  525. 825 : end;
  526. 826 : OnTimer4000:
  527. 827 : mapannounce instance_mapname("1@ma_h"),"Bangungot: My inferiors...!! Go!! Go torment the patients in the wards!!",bc_map,"0xFF82FF";
  528. 828 : end;
  529. 829 : OnTimer6000:
  530. [Error]:
  531. script error on npc/re/instances/BangungotHospital.txt line 854
  532. parse_callfunc: not enough arguments, expected ','
  533. 849 : end;
  534. 850 : OnEnable1:
  535. 851 : enablenpc instance_npcname("#Summon Pillar");
  536. 852 : donpcevent instance_npcname("#Boss Room Entry_time")+"::OnStopTimer";
  537. 853 : donpcevent instance_npcname("#Summon Pillar_time")+"::OnEnable";
  538. * 854 : monster instance_mapname'('"1@ma_h"),131,157,"Pillar of Spirit",2327,1,instance_npcname("#Summon Pillar")+"::OnMyMobDead";
  539. 855 : end;
  540. 856 : OnEnable3:
  541. 857 : enablenpc instance_npcname("#Boss Room Exit");
  542. 858 : disablenpc instance_npcname("#Summon Pillar");
  543. 859 : end;
  544. [Error]:
  545. script error on npc/re/instances/BangungotHospital.txt line 892
  546. parse_callfunc: not enough arguments, expected ','
  547. 887 : end;
  548. 888 : OnStopTimer:
  549. 889 : stopnpctimer;
  550. 890 : end;
  551. 891 : OnTimer1000:
  552. * 892 : mapannounce instance_mapname'('"1@ma_h"),"- Bangungot's Pillar of Spirit is curing Bangungot. If you don't hunt it now, he will fully recover!! -",bc_map,"0xFF8200";
  553. 893 : specialeffect EF_MAPPILLAR2,AREA,instance_npcname("#Patternwarp45");
  554. 894 : end;
  555. 895 : OnTimer7000:
  556. 896 : mapannounce instance_mapname("1@ma_h"),"Bangungot: I never die!!!!",bc_map,"0xFF82FF";
  557. 897 : specialeffect EF_MAPPILLAR2,AREA,instance_npcname("#Patternwarp45");
  558. [Error]:
  559. script error on npc/re/instances/BangungotHospital.txt line 956
  560. parse_callfunc: not enough arguments, expected ','
  561. 953 : {
  562. 954 : end;
  563. 955 : OnInstanceInit:
  564. * 956 : monster instance_mapname'('"1@ma_h"),131,62,"Bangungot",2318,1;
  565. 957 : end;
  566. 958 : OnEnable:
  567. 959 : mapannounce instance_mapname("1@ma_h"),"Moaning Patient: aaawwww....",bc_map,"0xFF0000";
  568. 960 : initnpctimer;
  569. 961 : end;
  570. [Error]:
  571. script error on npc/re/instances/BangungotHospital.txt line 996
  572. parse_callfunc: not enough arguments, expected ','
  573. 991 : case 9: set .@str$,"Suffering Patient: Stop... please..."; break;
  574. 992 : case 10: set .@str$,"Wriggling Patient: awwww..."; break;
  575. 993 : case 11: set .@str$,"Patient in Cold Sweat: Help.....help...."; break;
  576. 994 : case 12: set .@str$,"Howling Patient: aaaaahhhhhhhhhh!!"; break;
  577. 995 : }
  578. * 996 : mapannounce instance_mapname'('"1@ma_h"),.@str$,bc_map,"0xFF0000";
  579. 997 : initnpctimer;
  580. 998 : end;
  581. 999 : OnTimer5000:
  582. 1000 : OnTimer8000:
  583. 1001 : OnTimer11000:
  584. ////////////////////////////////////////////////////////////
  585.  
  586. instance Dawn
  587.  
  588. [Error]: Loading NPC file: npc/custom/instances/DawnInstance.txt
  589. script error on npc/custom/instances/DawnInstance.txt line 72
  590. parse_callfunc: expected ')' to close argument list
  591. 70 : {
  592. 71 :
  593. * 72 : if((gettimetick(2)-INSTPR_Lasttime)<$INSTPR_Cooldown && INSTPR_Lastinstid != instance_id('1'))
  594. 73 : {
  595. 74 : set .@last,INSTPR_Lasttime + $INSTPR_Cooldown - gettimetick(2);
  596. 75 : set .@hours,.@last / 60 / 60;
  597. 76 : set .@minutes,.@last / 60 % 60;
  598. 77 : set .@seconds,.@last % 60;
  599. [Error]: npc_parse_mapflag: unrecognized mapflag 'restricted' (file 'npc/custom/instances/DawnInstance.txt', line '377').
Advertisement
Add Comment
Please, Sign In to add comment