guxtegak 0 Report post Posted September 17, 2020 Hello guys, i am new here and i am doing one server so i need help to halt this things on my server. Quote Share this post Link to post Share on other sites
Dan 184 Report post Posted September 18, 2020 Socket can be found in script>calculate>forge.lua Find function can_milling_item_main ( Table ) if Check_Hole >= 3 then -- Can be changed to 2 if you want socket max to be 2. SystemNotice ( role , "Socket slots are max. Unable to continue Fusion" ) return 0 end Max level can be paused at: scripts>calculate>Int_Attr.lua SetChaAttrMax( ATTR_LV , 90 ) -- Max Level currently 90 Also must null out the Levels you do not want players to obtain, server side in character_lvup.txt Example: //ID Lv experience formula 1 1 0 2 2 5 3 3 15 4 4 35 5 5 101 6 6 250 7 7 500 8 8 1000 9 9 1974 10 10 3208 11 11 4986 12 12 7468 13 13 10844 14 14 15338 15 15 21210 16 16 28766 17 17 38356 18 18 50382 19 19 65306 20 20 83656 21 21 106032 22 22 133112 23 23 165668 24 24 204564 25 25 250780 26 26 305412 27 27 369692 28 28 444998 29 29 532870 30 30 635026 31 31 753378 32 32 890062 33 33 1047438 34 34 1228138 35 35 1435074 36 36 1671470 37 37 1940892 38 38 2247288 39 39 2595010 40 40 2988860 41 41 3434132 42 42 3936658 43 43 4502856 44 44 5139778 45 45 5855180 46 46 6657576 47 47 7556310 48 48 8561630 49 49 9684764 50 50 10938016 51 51 12334856 52 52 13890020 53 53 15619622 54 54 17541282 55 55 19674240 56 56 22039516 57 57 24660044 58 58 27560852 59 59 30769230 60 60 37746418 61 61 45876427 62 62 59571153 63 63 75703638 64 64 94615279 65 65 116688304 66 66 155291059 67 67 186418013 68 68 238159614 69 69 298622278 70 70 368975850 71 71 450525549 72 72 568409779 73 73 679324744 74 74 806544569 75 75 952091724 76 76 1188099236 77 77 1480429211 78 78 1776125584 79 79 2091634902 80 80 2425349810 81 81 2440895086 82 82 2458896515 83 83 2479742169 84 84 2503881436 85 85 2531834707 86 86 2564204594 87 87 2601688923 88 88 2645095775 89 89 2695360909 90 90 2753567934 //91 91 2820971668 //92 92 2899025191 //93 93 2989411170 //94 94 3094078133 //95 95 3215282476 //96 96 3355637105 //97 97 3518167765 //98 98 3706378269 //99 99 3924326032 //100 100 4176709541 Cap Gem Level: script>calculate>forge.lua Find: function can_unite_item_main ( Table ) below if ItemType2 == 49 and ItemType3 == 49 then if Item2_Lv >= 9 or Item3_Lv >= 9 then SystemNotice ( role , "Level of Gems are Maxed") return 0 end end Add: --Start of Gem Cap --Lust Cap at level 3 if ItemID2 >= 0881 and ItemID2 <= 0881 then if Item2_Lv>=3 or Item3_Lv >=3 then SystemNotice ( role , "The gem is currently at maxed level.") return 0 end end Quote Share this post Link to post Share on other sites
DangThao 81 Report post Posted September 18, 2020 9 hours ago, ᴡʀx said: Socket can be found in script>calculate>forge.lua Find function can_milling_item_main ( Table ) if Check_Hole >= 3 then -- Can be changed to 2 if you want socket max to be 2. SystemNotice ( role , "Socket slots are max. Unable to continue Fusion" ) return 0 end Max level can be paused at: scripts>calculate>Int_Attr.lua SetChaAttrMax( ATTR_LV , 90 ) -- Max Level currently 90 Also must null out the Levels you do not want players to obtain, server side in lifelvup.txt Example: //ID Lv Required Lifeskill EXP 1 1 0 2 2 1500 3 3 5000 4 4 10500 5 5 18000 6 6 27500 7 7 39000 8 8 52500 9 9 68000 10 10 85500 11 11 105000 12 12 126500 13 13 150000 14 14 175500 15 15 203000 16 16 232500 17 17 264000 18 18 297500 19 19 333000 20 20 370500 21 21 410000 22 22 451500 23 23 495000 24 24 540500 25 25 588000 26 26 637500 27 27 689000 28 28 742500 29 29 798000 30 30 855500 31 31 915000 32 32 976500 33 33 1040000 34 34 1105500 35 35 1173000 36 36 1242500 37 37 1314000 38 38 1387500 39 39 1463000 40 40 1540500 41 41 1620000 42 42 1701500 43 43 1785000 44 44 1870500 45 45 1958000 46 46 2047500 47 47 2139000 48 48 2232500 49 49 2328000 50 50 2425500 51 51 2525000 52 52 2626500 53 53 2730000 54 54 2835500 55 55 2943000 56 56 3052500 57 57 3164000 58 58 3277500 59 59 3393000 60 60 3510500 61 61 3630000 62 62 3751500 63 63 3875000 64 64 4000500 65 65 4128000 66 66 4257500 67 67 4389000 68 68 4522500 69 69 4658000 70 70 4795500 71 71 4935000 72 72 5076500 73 73 5220000 74 74 5365500 75 75 5513000 76 76 5662500 77 77 5814000 78 78 5967500 79 79 6123000 80 80 6280500 81 81 6440000 82 82 6601500 83 83 6765000 84 84 6930500 85 85 7098000 86 86 7267500 87 87 7439000 88 88 7612500 89 89 7788000 90 90 7965500 //91 91 8145000 //92 92 8326500 //93 93 8510000 //94 94 8695500 //95 95 8883000 //96 96 9072500 //97 97 9264000 //98 98 9457500 //99 99 9653000 //100 100 9850500 Cap Gem Level: script>calculate>forge.lua Find: function can_unite_item_main ( Table ) below if ItemType2 == 49 and ItemType3 == 49 then if Item2_Lv >= 9 or Item3_Lv >= 9 then SystemNotice ( role , "Level of Gems are Maxed") return 0 end end Add: --Start of Gem Cap --Lust Cap at level 3 if ItemID2 >= 0881 and ItemID2 <= 0881 then if Item2_Lv>=3 or Item3_Lv >=3 then SystemNotice ( role , "The gem is currently at maxed level.") return 0 end end Weren't exp formula for character max level is in charlvup.txt and not lifelvup.txt? 1 Quote Share this post Link to post Share on other sites