Fisal Moha 21 Report post Posted January 23, 2018 Hi for long time i am having a problem where monster summon instantly without delay when gameserver stay online for like day or half day i am using garnermonster_conf.lua to summon those monsters here some part of the code for i = 1, 10, 1 do CreateCha(1040, math.random(2099,2163)*100, math.random(2733,2805)*100, 145, 30) CreateCha(1041, math.random(2099,2163)*100, math.random(2733,2805)*100, 145, 30) end i wonder if someone got the same problem or some have a solution for that problem!! Thanks in advance! Quote Share this post Link to post Share on other sites
x3w0r 33 Report post Posted January 23, 2018 Provide full code. Quote Share this post Link to post Share on other sites
Fisal Moha 21 Report post Posted January 24, 2018 12 hours ago, x3wor said: Provide full code. hi here the full --Shrub 1 for i = 1, 10, 1 do CreateCha(1040, math.random(2099,2163)*100, math.random(2733,2805)*100, 145, 30) CreateCha(1041, math.random(2099,2163)*100, math.random(2733,2805)*100, 145, 30) end for i = 1, 10, 1 do CreateCha(1042, math.random(2099,2163)*100, math.random(2733,2805)*100, 145, 30) CreateCha(1043, math.random(2099,2163)*100, math.random(2733,2805)*100, 145, 30) CreateCha(1044, math.random(2099,2163)*100, math.random(2677,2733)*100, 145, 30) CreateCha(1045, math.random(2099,2163)*100, math.random(2677,2733)*100, 145, 30) end for i = 1, 10, 1 do CreateCha(1046, math.random(2099,2163)*100, math.random(2677,2733)*100, 145, 30) CreateCha(1047, math.random(1965,2163)*100, math.random(2733,2805)*100, 145, 30) CreateCha(1048, math.random(1965,2163)*100, math.random(2733,2805)*100, 145, 30) CreateCha(1049, math.random(1965,2163)*100, math.random(2733,2805)*100, 145, 30) end for i = 1, 10, 1 do CreateCha(1050, math.random(1965,2163)*100, math.random(2677,2733)*100, 145, 30) CreateCha(1051, math.random(1965,2163)*100, math.random(2677,2733)*100, 145, 30) CreateCha(1052, math.random(1965,2163)*100, math.random(2677,2733)*100, 145, 30) CreateCha(1053, math.random(1965,2163)*100, math.random(2677,2733)*100, 145, 30) end --Shrub 2 for i = 1, 15, 1 do CreateCha(1040, math.random(2157,2283)*100, math.random(2599,2673)*100, 145, 30) CreateCha(1041, math.random(2157,2283)*100, math.random(2599,2673)*100, 145, 30) end for i = 1, 15, 1 do CreateCha(1042, math.random(2157,2283)*100, math.random(2599,2673)*100, 145, 30) CreateCha(1043, math.random(2157,2283)*100, math.random(2599,2673)*100, 145, 30) CreateCha(1044, math.random(2157,2283)*100, math.random(2517,2599)*100, 145, 30) CreateCha(1045, math.random(2157,2283)*100, math.random(2517,2599)*100, 145, 30) end for i = 1, 15, 1 do CreateCha(1046, math.random(2157,2283)*100, math.random(2517,2599)*100, 145, 30) CreateCha(1047, math.random(1975,2157)*100, math.random(2599,2673)*100, 145, 30) CreateCha(1048, math.random(1975,2157)*100, math.random(2599,2673)*100, 145, 30) CreateCha(1049, math.random(1975,2157)*100, math.random(2599,2673)*100, 145, 30) end for i = 1, 15, 1 do CreateCha(1050, math.random(1975,2157)*100, math.random(2517,2599)*100, 145, 30) CreateCha(1051, math.random(1975,2157)*100, math.random(2517,2599)*100, 145, 30) CreateCha(1052, math.random(1975,2157)*100, math.random(2517,2599)*100, 145, 30) CreateCha(1053, math.random(1975,2157)*100, math.random(2517,2599)*100, 145, 30) end --Bag 1 for i = 1, 15, 1 do CreateCha(1055, math.random(1869,1906)*100, math.random(2826,2865)*100, 145, 30) CreateCha(1056, math.random(1869,1906)*100, math.random(2826,2865)*100, 145, 30) end for i = 1, 15, 1 do CreateCha(1057, math.random(1745,1869)*100, math.random(2826,2865)*100, 145, 30) CreateCha(1058, math.random(1745,1869)*100, math.random(2826,2865)*100, 145, 30) end for i = 1, 15, 1 do CreateCha(1059, math.random(1869,1906)*100, math.random(2865,2968)*100, 145, 30) CreateCha(1060, math.random(1869,1906)*100, math.random(2865,2968)*100, 145, 30) CreateCha(1061, math.random(1869,1906)*100, math.random(2865,2968)*100, 145, 30) end for i = 1, 15, 1 do CreateCha(1062, math.random(1745,1869)*100, math.random(2865,2968)*100, 145, 30) CreateCha(1063, math.random(1745,1869)*100, math.random(2865,2968)*100, 145, 30) CreateCha(1064, math.random(1745,1869)*100, math.random(2865,2968)*100, 145, 30) end --Bag 2 for i = 1, 15, 1 do CreateCha(1055, math.random(1877,1973)*100, math.random(2530,2593)*100, 145, 30) CreateCha(1056, math.random(1877,1973)*100, math.random(2530,2593)*100, 145, 30) end for i = 1, 15, 1 do CreateCha(1057, math.random(1759,1877)*100, math.random(2451,2593)*100, 145, 30) CreateCha(1058, math.random(1759,1877)*100, math.random(2451,2593)*100, 145, 30) end for i = 1, 15, 1 do CreateCha(1059, math.random(1877,1973)*100, math.random(2451,2530)*100, 145, 30) CreateCha(1060, math.random(1877,1973)*100, math.random(2451,2530)*100, 145, 30) end for i = 1, 15, 1 do CreateCha(1061, math.random(1759,1877)*100, math.random(2451,2530)*100, 145, 30) CreateCha(1062, math.random(1759,1877)*100, math.random(2451,2530)*100, 145, 30) end for i = 1, 25, 1 do CreateCha(1063, math.random(1639,1740)*100, math.random(2554,2617)*100, 145, 30) CreateCha(1064, math.random(1639,1740)*100, math.random(2554,2617)*100, 145, 30) end --Mystery Tree for i = 1, 75, 1 do CreateCha(888, math.random(2035,2158)*100, math.random(2735,2800)*100, 145, 15) end --Spiritual for i = 1, 50, 1 do CreateCha(1066, math.random(1575,1755)*100, math.random(2789,2967)*100, 145, 15) CreateCha(1067, math.random(1575,1755)*100, math.random(2967,3203)*100, 145, 15) CreateCha(1068, math.random(1248,1562)*100, math.random(2833,3188)*100, 145, 15) CreateCha(1069, math.random(1248,1562)*100, math.random(2833,3188)*100, 145, 15) CreateCha(1070, math.random(1238,1578)*100, math.random(2631,2795)*100, 145, 15) CreateCha(1071, math.random(1238,1578)*100, math.random(2631,2795)*100, 145, 15) CreateCha(1072, math.random(1238,1578)*100, math.random(2631,2795)*100, 145, 15) end --Dragons for i = 1, 50, 1 do CreateCha(1074, math.random(955,1245)*100, math.random(2539,3189)*100, 145, 10) CreateCha(1075, math.random(955,1245)*100, math.random(2539,3189)*100, 145, 10) CreateCha(1076, math.random(955,1245)*100, math.random(2539,3189)*100, 145, 10) CreateCha(1077, math.random(519,955)*100, math.random(2539,3189)*100, 145, 10) CreateCha(1078, math.random(519,955)*100, math.random(2539,3189)*100, 145, 10) CreateCha(1079, math.random(519,955)*100, math.random(2539,3189)*100, 145, 10) CreateCha(1080, math.random(263,519)*100, math.random(2539,2791)*100, 145, 10) CreateCha(1081, math.random(257,873)*100, math.random(2051,2539)*100, 145, 10) CreateCha(1082, math.random(257,873)*100, math.random(2051,2539)*100, 145, 10) CreateCha(1083, math.random(500,907)*100, math.random(1797,2051)*100, 145, 10) end --Thunder Mobs for i = 1, 25, 1 do CreateCha(1085, math.random(751,812)*100, math.random(1600,1644)*100, 145, 15) CreateCha(1085, math.random(649,737)*100, math.random(1600,1644)*100, 145, 15) end for i = 1, 25, 1 do CreateCha(1086, math.random(926,1034)*100, math.random(1532,1622)*100, 145, 15) CreateCha(1086, math.random(518,988)*100, math.random(1660,1791)*100, 145, 15) end for i = 1, 50, 1 do CreateCha(1087, math.random(260,518)*100, math.random(1522,1788)*100, 145, 15) CreateCha(1088, math.random(254,523)*100, math.random(1153,1522)*100, 145, 15) CreateCha(1089, math.random(254,523)*100, math.random(1153,1522)*100, 145, 15) end for i = 1, 30, 1 do CreateCha(1090, math.random(533,680)*100, math.random(1170,1623)*100, 145, 15) CreateCha(1091, math.random(533,680)*100, math.random(1170,1623)*100, 145, 15) CreateCha(1092, math.random(533,680)*100, math.random(1170,1623)*100, 145, 15) CreateCha(1090, math.random(853,975)*100, math.random(1170,1623)*100, 145, 15) CreateCha(1091, math.random(853,975)*100, math.random(1170,1623)*100, 145, 15) CreateCha(1092, math.random(853,975)*100, math.random(1170,1623)*100, 145, 15) end for i = 1, 100, 1 do CreateCha(1093, math.random(670,1033)*100, math.random(1013,1374)*100, 145, 25) CreateCha(1094, math.random(670,1033)*100, math.random(1013,1374)*100, 145, 25) end --Glacier for i = 1, 40, 1 do CreateCha(1097, math.random(2155,2279)*100, math.random(1092,1170)*100, 145, 30) end local CaveMob_1 = 88 local CaveMob_2 = 243 local CaveMob_3 = 253 local CaveSum = 30 CreateCha(CaveMob_2, 1896*100, 2761*100, 145, CaveSum) CreateCha(CaveMob_3, 1905*100, 2760*100, 145, CaveSum) CreateCha(CaveMob_3, 1897*100, 2751*100, 145, CaveSum) CreateCha(CaveMob_2, 1904*100, 2747*100, 145, CaveSum) CreateCha(CaveMob_1, 1896*100, 2740*100, 145, CaveSum) CreateCha(CaveMob_3, 1907*100, 2738*100, 145, CaveSum) CreateCha(CaveMob_2, 1905*100, 2724*100, 145, CaveSum) CreateCha(CaveMob_2, 1896*100, 2711*100, 145, CaveSum) CreateCha(CaveMob_3, 1905*100, 2695*100, 145, CaveSum) CreateCha(CaveMob_1, 1908*100, 2718*100, 145, CaveSum) CreateCha(CaveMob_1, 1911*100, 2715*100, 145, CaveSum) CreateCha(CaveMob_1, 1907*100, 2709*100, 145, CaveSum) CreateCha(CaveMob_1, 1910*100, 2706*100, 145, CaveSum) CreateCha(CaveMob_1, 1906*100, 2703*100, 145, CaveSum) CreateCha(CaveMob_2, 1882*100, 2753*100, 145, CaveSum) CreateCha(CaveMob_3, 1867*100, 2743*100, 145, CaveSum) CreateCha(CaveMob_2, 1866*100, 2755*100, 145, CaveSum) CreateCha(CaveMob_2, 1846*100, 2750*100, 145, CaveSum) CreateCha(CaveMob_3, 1839*100, 2760*100, 145, CaveSum) CreateCha(CaveMob_1, 1837*100, 2750*100, 145, CaveSum) CreateCha(CaveMob_1, 1820*100, 2738*100, 145, CaveSum) CreateCha(CaveMob_2, 1822*100, 2730*100, 145, CaveSum) CreateCha(CaveMob_3, 1833*100, 2724*100, 145, CaveSum) CreateCha(CaveMob_3, 1829*100, 2714*100, 145, CaveSum) CreateCha(CaveMob_3, 1829*100, 2705*100, 145, CaveSum) CreateCha(CaveMob_1, 1839*100, 2716*100, 145, CaveSum) CreateCha(CaveMob_2, 1848*100, 2710*100, 145, CaveSum) CreateCha(CaveMob_1, 1856*100, 2721*100, 145, CaveSum) CreateCha(CaveMob_3, 1852*100, 2727*100, 145, CaveSum) CreateCha(CaveMob_1, 1851*100, 2694*100, 145, CaveSum) CreateCha(CaveMob_1, 1859*100, 2691*100, 145, CaveSum) CreateCha(CaveMob_1, 1856*100, 2696*100, 145, CaveSum) CreateCha(CaveMob_1, 1851*100, 2699*100, 145, CaveSum) CreateCha(CaveMob_1, 1861*100, 2698*100, 145, CaveSum) CreateCha(CaveMob_1, 1855*100, 2704*100, 145, CaveSum) CreateCha(CaveMob_1, 1860*100, 2709*100, 145, CaveSum) CreateCha(CaveMob_2, 1837*100, 2694*100, 145, CaveSum) CreateCha(CaveMob_3, 1812*100, 2682*100, 145, CaveSum) CreateCha(CaveMob_1, 1816*100, 2694*100, 145, CaveSum) CreateCha(CaveMob_2, 1783*100, 2702*100, 145, CaveSum) CreateCha(CaveMob_2, 1785*100, 2710*100, 145, CaveSum) CreateCha(CaveMob_2, 1787*100, 2719*100, 145, CaveSum) CreateCha(CaveMob_3, 1802*100, 2744*100, 145, CaveSum) CreateCha(CaveMob_3, 1785*100, 2749*100, 145, CaveSum) CreateCha(CaveMob_1, 1785*100, 2759*100, 145, CaveSum) CreateCha(CaveMob_2, 1790*100, 2767*100, 145, CaveSum) CreateCha(CaveMob_3, 1806*100, 2759*100, 145, CaveSum) CreateCha(CaveMob_3, 1796*100, 2678*100, 145, CaveSum) CreateCha(CaveMob_2, 1798*100, 2663*100, 145, CaveSum) CreateCha(CaveMob_1, 1797*100, 2640*100, 145, CaveSum) CreateCha(CaveMob_1, 1802*100, 2638*100, 145, CaveSum) CreateCha(CaveMob_1, 1808*100, 2641*100, 145, CaveSum) CreateCha(CaveMob_1, 1818*100, 2641*100, 145, CaveSum) CreateCha(CaveMob_1, 1789*100, 2650*100, 145, CaveSum) CreateCha(CaveMob_2, 1823*100, 2668*100, 145, CaveSum) CreateCha(CaveMob_2, 1847*100, 2654*100, 145, CaveSum) CreateCha(CaveMob_3, 1857*100, 2664*100, 145, CaveSum) CreateCha(CaveMob_3, 1887*100, 2644*100, 145, CaveSum) CreateCha(CaveMob_3, 1900*100, 2643*100, 145, CaveSum) CreateCha(CaveMob_2, 1899*100, 2671*100, 145, CaveSum) CreateCha(CaveMob_1, 1890*100, 2688*100, 145, CaveSum) CreateCha(CaveMob_2, 1871*100, 2668*100, 145, CaveSum) --Cave 2 CreateCha(CaveMob_2, 1675*100, 2716*100, 145, CaveSum) CreateCha(CaveMob_2, 1685*100, 2708*100, 145, CaveSum) CreateCha(CaveMob_2, 1686*100, 2692*100, 145, CaveSum) CreateCha(CaveMob_2, 1682*100, 2679*100, 145, CaveSum) CreateCha(CaveMob_2, 1684*100, 2672*100, 145, CaveSum) CreateCha(CaveMob_2, 1685*100, 2656*100, 145, CaveSum) CreateCha(CaveMob_2, 1698*100, 2657*100, 145, CaveSum) CreateCha(CaveMob_2, 1705*100, 2669*100, 145, CaveSum) CreateCha(CaveMob_2, 1721*100, 2675*100, 145, CaveSum) CreateCha(CaveMob_2, 1732*100, 2677*100, 145, CaveSum) CreateCha(CaveMob_2, 1718*100, 2692*100, 145, CaveSum) CreateCha(CaveMob_2, 1714*100, 2710*100, 145, CaveSum) CreateCha(CaveMob_2, 1707*100, 2725*100, 145, CaveSum) CreateCha(CaveMob_2, 1685*100, 2736*100, 145, CaveSum) CreateCha(CaveMob_2, 1674*100, 2736*100, 145, CaveSum) CreateCha(CaveMob_2, 1735*100, 2671*100, 145, CaveSum) CreateCha(CaveMob_1, 1743*100, 2713*100, 145, CaveSum) CreateCha(CaveMob_1, 1739*100, 2710*100, 145, CaveSum) CreateCha(CaveMob_1, 1749*100, 2719*100, 145, CaveSum) CreateCha(CaveMob_1, 1742*100, 2722*100, 145, CaveSum) CreateCha(CaveMob_1, 1747*100, 2724*100, 145, CaveSum) Quote Share this post Link to post Share on other sites
x3w0r 33 Report post Posted January 24, 2018 I didn't mean these since they are the same thing repeated, I am talking about local variables (i) Quote Share this post Link to post Share on other sites
Fisal Moha 21 Report post Posted January 24, 2018 (edited) 40 minutes ago, x3wor said: I didn't mean these since they are the same thing repeated, I am talking about local variables (i) that all in the file nothing else o_o Edited January 24, 2018 by Fisal Moha Quote Share this post Link to post Share on other sites
Fisal Moha 21 Report post Posted January 24, 2018 (edited) 1 minute ago, Fisal Moha said: that all in the file nothing else o_o that code inside garnermonster_conf.lua , btw mob spawn normally with no problem in the other maps which has a timer where it close and open in accordance to that timer! Edited January 24, 2018 by Fisal Moha Quote Share this post Link to post Share on other sites
x3w0r 33 Report post Posted January 24, 2018 You can't have it working good without defining what's "i" 1 Quote Share this post Link to post Share on other sites
Fisal Moha 21 Report post Posted January 24, 2018 2 hours ago, x3wor said: You can't have it working good without defining what's "i" i got it thanks i will try make that then, thanks for help Quote Share this post Link to post Share on other sites