Page 1 of 1

KysisKrotanMiren

Posted: Sat Jun 17, 2017 1:48 pm
by pawelgbw
How to run:
1. SystemMenu->Option->Controls and time->Disable Click-to-Move select
2. NoGravity select
3. You must have Power Shard
4. Skill Return (teleport) - no CDR
5. Start Position ~(527, 119, 175)

Code: Select all

tab = {
527.463,119.031,175.896,
527.463,119.031,175.896,
527.464,119.453,175.896,
527.333,121.169,175.896,
526.229,122.199,175.896,
525.048,123.297,175.896,
523.797,124.45,175.896,
522.596,125.516,175.898,
521.337,126.529,175.9,
519.91,127.481,175.902,
518.994,128.658,175.969,
518.847,130.436,176.439,
518.7,132.215,176.83,
518.577,134.008,177.225,
518.5,135.792,177.617,
518.678,137.657,178.027,
518.972,139.43,178.416,
519.476,141.126,178.788,
520.262,142.683,179.13,
521.257,144.244,179.191,
522.454,145.541,178.947,
523.755,146.765,178.941,
525.121,148.177,178.934,
526.187,149.558,178.928,
527.051,151.209,178.927,
527.57,152.857,179.046,
527.601,154.697,178.98,
527.5,156.433,178.989,
527.39,158.282,178.998,
527.38,158.446,178.999,
527.38,158.446,178.999,
527.712,154.492,179.209,
527.712,154.492,178.909,
527.712,154.792,178.609,
527.712,154.492,179.209,
527.712,154.492,178.909,
527.712,154.792,178.909,
527.712,154.792,178.609,
527.712,155.092,178.609,
527.712,155.392,178.309,
527.712,155.392,178.009,
527.712,155.692,178.009,
527.712,155.692,177.709,
527.712,155.692,177.409,
527.712,156.292,177.409,
527.712,156.592,177.409,
527.712,156.592,177.109,
527.712,156.592,176.809,
527.712,157.192,176.809,
527.712,157.492,176.809,
527.716,159.373,176.809,
527.719,161.106,176.809,
527.723,162.833,176.509,
527.726,164.572,175.909,
527.73,166.429,175.609,
527.734,168.159,175.309,
527.737,169.899,175.009,
527.741,171.628,174.709,
527.745,173.372,174.409,
527.713,175.131,174.109,
527.655,176.898,174.109,
527.642,178.625,174.109,
527.639,180.342,174.109,
527.637,182.064,174.109,
527.634,183.673,174.109,
527.631,185.509,174.109,
527.629,187.216,174.109,
527.626,188.938,174.109,
527.624,190.536,174.109,
527.621,192.361,174.109,
527.619,194.097,174.109,
527.616,195.814,174.109,
527.613,197.599,174.109,
527.611,199.265,174.109,
527.609,201.079,174.109,
527.606,202.904,174.109,
527.604,204.578,174.109,
527.601,206.262,174.109,
527.599,208.073,174.109,
527.596,209.88,174.109,
527.594,211.568,174.109,
527.591,213.248,174.109,
527.588,215.118,174.109,
527.586,216.773,174.109,
527.583,218.56,174.109,
527.581,220.238,174.109,
527.578,222.043,174.109,
527.576,223.732,174.109,
527.573,225.5,174.109,
527.571,227.292,174.109,
527.568,228.956,174.109,
527.566,230.729,174.109,
527.563,232.326,174.109,
527.561,234.121,174.109,
527.558,235.912,174.109,
527.556,237.558,174.109,
527.553,239.37,174.109,
527.551,241.01,174.109,
527.548,242.779,174.109,
527.546,244.577,174.109,
527.543,246.23,174.109,
527.541,247.991,174.109,
527.538,249.758,174.109,
527.54,251.412,174.109,
527.544,253.053,174.109,
527.547,254.854,174.109,
527.551,256.494,174.109,
527.555,258.285,174.109,
527.558,259.828,174.109,
527.562,261.61,174.109,
527.566,263.271,174.109,
527.569,265.016,174.109,
527.573,266.785,174.109,
527.577,268.551,174.109,
527.58,270.354,174.109,
527.584,272.103,174.109,
527.588,273.851,174.109,
527.591,275.496,174.109,
527.601,277.27,174.109,
527.611,279.054,174.109,
527.621,280.653,174.109,
527.63,282.422,174.109,
527.664,284.022,174.109,
527.758,285.787,174.109,
527.924,287.522,174.109,
528.17,289.236,174.109,
528.491,290.831,174.109,
528.831,292.516,174.109,
529.26,294.332,174.109,
529.636,295.903,174.109,
530.057,297.613,174.109,
530.47,299.285,174.109,
530.89,300.983,174.109,
531.27,302.522,174.109,
531.689,304.22,174.109,
532.104,305.897,174.109,
532.518,307.575,174.109,
532.937,309.272,174.109,
533.352,310.951,174.109,
533.765,312.622,174.109,
534.203,314.397,174.109,
534.587,315.952,174.109,
535.031,317.749,174.109,
535.46,319.394,174.109,
535.922,321.046,174.109,
536.361,322.583,174.109,
536.919,324.549,174.109,
537.341,326.203,174.109,
537.793,327.99,174.109,
538.251,329.788,174.109,
538.631,331.499,174.109,
538.966,333.146,174.109,
539.329,334.92,174.109,
539.69,336.565,174.109,
540.092,338.331,174.109,
540.512,339.962,174.109,
540.971,341.57,174.109,
541.43,343.208,174.109,
541.915,344.951,174.109,
542.342,346.577,174.109,
542.747,348.21,174.109,
543.146,349.939,174.109,
543.411,351.595,174.109,
543.738,353.372,174.109,
544.234,355.09,174.109,
544.776,356.652,174.109,
545.22,358.34,174.109,
545.643,360.088,174.109,
546.155,361.665,174.109,
546.453,363.445,174.109,
546.55,364.753,174.109,
546.55,364.753,174.409,
546.55,364.753,174.709,
546.55,364.753,175.009,
546.55,364.753,175.309,
546.55,364.753,175.609,
546.55,364.753,175.909,
546.55,364.753,176.209,
546.55,364.753,176.509,
546.55,364.753,176.809,
546.55,364.753,177.109,
546.55,364.753,177.409, -- 111
546.55,364.753,177.41,
546.521,364.98,177.41,
546.251,366.779,177.41,
545.745,368.378,177.41,
545.143,370.083,177.41,
544.585,371.66,177.41,
543.992,373.339,177.41,
543.435,374.913,177.41,
542.837,376.62,177.41,
542.48,378.358,177.41,
542.461,380.146,177.41,
542.49,381.836,177.41,
542.517,383.497,177.41,
542.547,385.286,177.41,
542.574,386.919,177.41,
542.608,388.68,177.41,
542.647,390.338,177.41,
542.69,392.115,177.41,
542.728,393.777,177.41,
542.759,395.544,177.41,
542.765,397.319,177.41,
542.769,398.974,177.41,
542.772,400.757,177.41,
542.776,402.562,177.41,
542.78,404.216,177.41,
542.783,405.992,177.41,
542.787,407.626,177.41,
542.79,409.367,177.41,
542.795,410.97,177.41,
542.848,412.758,177.41,
542.986,414.484,177.41,
543.139,416.189,177.41,
543.375,418.054,177.41,
543.644,419.645,177.41,
543.977,421.497,177.41,
544.277,423.224,177.41,
544.549,424.987,177.41,
544.771,426.598,177.41,
544.975,428.331,177.41,
545.209,430.046,177.41,
545.431,431.756,177.41,
545.731,433.477,177.41,
546.125,435.292,177.41,
546.215,435.699,177.41,
546.215,435.699,177.71, --- 222
546.209,436.91,177.71,
546.2,438.715,177.71,
546.191,440.408,177.71,
546.203,442.084,177.71,
546.302,443.877,177.71,
546.418,445.68,177.71,
546.522,447.364,177.71,
546.557,449.174,177.71,
546.573,450.857,177.71,
546.59,452.648,177.71,
546.605,454.278,177.71,
546.622,456.085,177.71,
546.625,457.762,177.71,
546.586,459.438,177.71,
546.531,461.243,177.71,
546.483,463.082,177.71,
546.462,464.753,177.71,
546.441,466.427,177.71,
546.419,468.185,177.71,
546.396,470.075,177.71,
546.375,471.727,177.71,
546.354,473.428,177.71,
546.332,475.219,177.71,
546.305,476.872,177.71,
546.237,478.757,177.41,
546.125,480.411,177.11,
545.956,482.303,176.81,
545.689,484.075,176.51,
545.435,485.824,176.21,
545.153,487.444,175.91,
544.842,489.199,175.61,
544.542,490.938,175.31,
544.209,492.562,175.01,
543.872,494.311,174.71,
543.533,496.067,174.41,
543.197,497.806,173.81,
542.861,499.435,173.51,
542.404,501.246,173.21,
541.875,502.95,173.21,
541.378,504.513,172.91,
540.86,506.147,172.91,
540.294,507.934,172.61,
539.78,509.554,172.61,
539.257,511.203,172.31,
538.768,512.744,172.31,
538.257,514.355,172.31,
537.719,516.052,172.31,
537.23,517.593,172.31,
536.706,519.245,172.31,
536.174,520.924,172.31,
535.617,522.57,172.31,
534.951,524.165,172.31,
534.284,525.753,172.31,
533.657,527.242,172.31,
532.929,528.974,172.31,
532.256,530.574,172.31,
531.626,532.072,172.31,
530.951,533.678,172.31,
530.281,535.271,172.31,
529.594,536.842,172.31,
528.901,538.41,172.31,
528.204,539.986,172.31,
527.496,541.587,172.31,
526.8,543.163,172.31,
526.109,544.725,172.31,
525.405,546.317,172.31,
524.655,548.015,172.31,
523.959,549.589,172.31,
523.364,551.124,172.31,
522.847,552.774,172.31,
522.27,554.378,172.31,
521.64,555.983,172.31,
521.061,557.602,172.31,
520.58,559.241,172.31,
520.068,560.869,172.31,
519.522,562.488,172.31,
518.958,564.106,172.31,
518.453,565.144,172.31,
518.453,565.144,172.61,
518.453,565.144,172.91,
518.453,565.144,173.21,
518.453,565.144,173.51, --- 333
518.453,565.144,173.51,
518.578,566.437,173.51,
518.744,568.144,173.51,
518.909,569.85,173.51,
519.079,571.595,173.51,
519.24,573.256,173.51,
519.404,574.954,173.51,
519.58,576.762,173.51,
519.742,578.437,173.51,
519.917,580.244,173.51,
520.09,582.018,173.51,
520.252,583.687,173.51,
520.413,585.352,173.51,
520.614,587.157,173.51,
520.909,588.93,173.51,
521.195,590.561,173.51,
521.484,592.218,173.51,
521.787,593.95,173.51,
522.116,595.829,173.51,
522.426,597.6,173.51,
522.713,599.244,173.51,
523.004,601.014,173.51,
523.177,602.673,173.51,
523.344,604.458,173.51,
523.499,606.118,173.51,
523.651,607.751,173.51,
523.806,609.41,173.51,
523.968,611.17,173.51,
524.089,612.939,173.51,
524.188,614.591,173.51,
524.295,616.363,173.51,
524.399,618.081,173.51,
524.505,619.844,173.51,
524.606,621.514,173.51,
524.711,623.258,173.51,
524.815,624.979,173.51,
524.922,626.741,173.51,
525.022,628.406,173.51,
525.101,630.049,173.51,
525.163,631.815,173.51,
525.236,633.583,173.51,
525.322,635.219,173.51,
525.411,636.996,173.51,
525.519,638.759,173.51,
525.624,640.507,173.51,
525.731,642.272,173.51,
525.846,644.171,173.51,
525.951,645.944,173.51,
526.027,647.582,173.51,
526.093,649.354,173.51,
526.205,650.99,173.51,
526.336,652.751,173.51,
526.453,654.501,173.51,
526.547,656.244,173.51,
526.572,656.797,173.81,
526.572,656.797,174.11,
526.572,656.797,174.41,
526.572,656.797,174.71,
526.572,656.797,175.01,
526.572,656.797,175.31,
526.572,656.797,175.61,
526.572,656.797,175.91,
526.572,656.797,176.21,
526.572,656.797,176.51,
526.572,656.797,176.51,
526.572,656.797,176.81,
526.572,656.797,177.11,
526.572,656.797,177.41,
526.572,656.797,177.71,
526.572,656.797,178.01,
526.572,656.797,178.01,
526.572,656.797,178.31,
526.572,656.797,178.61,
526.572,656.797,178.91,
526.572,656.797,179.21,
526.572,656.797,179.51,
526.572,656.797,179.51,
526.572,656.797,179.81,
526.572,656.797,180.11,
526.572,656.797,180.11,
526.572,656.797,180.41,
526.572,656.797,180.41,
526.572,656.797,180.41,
526.572,656.735,180.933,
527.207,657.939,181.457,
527.059,659.61,182.185,
526.785,661.265,182.961,
526.489,663.055,183.684,
526.49,663.055,183.684,
526.49,663.055,183.684,
526.49,663.055,183.652,
526.455,664.83,184.425,
526.419,666.619,185.203,
526.387,668.261,185.919,
526.359,669.917,186.639,
526.383,671.702,187.416,
526.41,673.345,188.131,
526.421,675.108,188.899,
526.443,676.75,189.613,
526.466,678.523,190.385,
526.488,680.287,191.086,
526.51,681.936,191.748,
526.517,682.524,191.748,
526.517,682.524,191.748,
526.517,682.524,192.409,
526.517,682.524,192.871,
526.513,682.165,192.871,
526.5,681.144,192.871,
526.486,680.097,192.871,
526.472,679.04,192.871,
526.459,677.988,192.871,
526.446,677.004,192.871,
526.432,675.937,192.871,
526.418,674.889,192.871,
526.409,674.182,192.571,
526.409,674.182,192.271,
526.409,674.182,191.971,
526.409,674.182,191.671,
526.409,674.182,191.371,
526.409,674.182,191.071,
526.409,674.182,190.771,
526.409,674.182,190.471,
526.409,674.182,190.171,
526.409,674.182,189.571,
526.409,674.182,189.271,
526.409,674.182,188.971,
526.409,674.182,188.671,
526.409,674.482,188.671,
526.409,674.782,188.671,
526.409,675.382,188.671,
526.409,675.682,188.671,
526.409,675.982,188.671,
526.409,676.282,188.671,
526.409,676.882,188.671,
526.409,677.182,188.671,
526.409,677.482,188.671,
526.409,677.782,188.671,
526.409,678.082,188.371,
526.409,678.382,188.371,
526.409,678.682,188.371,
526.409,678.982,188.371,
526.409,678.982,188.071,
526.409,679.582,188.071,
526.409,679.882,188.071,
526.409,679.882,187.771,
526.514,681.435,187.471,
526.621,683.018,187.171,
526.745,684.854,187.171,
526.862,686.576,187.171,
526.977,688.353,187.171,
527.019,690.043,187.171,
527.115,691.855,187.171,
527.332,693.524,186.871,
527.569,695.323,186.571,
527.666,696.988,186.571,
527.669,698.659,186.571,
527.673,700.46,186.571,
527.676,702.262,186.571,
527.68,704.059,186.571,
527.683,705.851,186.571,
527.687,707.644,186.571,
527.69,709.327,186.571,
527.693,711.005,186.571,
527.696,712.665,186.571,
527.701,714.589,186.571,
527.79,716.253,186.571,
527.918,717.888,186.571,
528.057,719.654,186.571,
528.184,721.327,186.571,
528.25,723,186.571,
528.273,724.674,186.571,
528.268,726.601,186.571,
528.235,728.268,186.571,
528.179,730.049,186.571,
528.131,731.814,186.571,
528.064,733.46,186.571,
527.965,735.246,186.571,
527.899,736.929,186.571,
527.945,738.732,186.571,
528.003,740.616,186.571,
528.049,742.073,186.871,
528.049,742.073,187.171,
528.049,742.073,187.471,
528.049,742.073,187.771,
528.049,742.073,188.071,
528.049,742.073,188.371,
528.049,742.073,188.671,
528.049,742.073,188.971,
528.049,742.073,189.571,
528.049,742.073,189.871,
528.049,742.073,190.171,
528.049,742.073,190.471,
528.049,742.073,190.771,
528.049,742.073,191.071,
528.049,742.073,191.371,
528.372,742.604,191.671,
528.378,742.612,191.971,
528.378,742.612,192.271,
528.378,742.612,192.571,
528.378,742.612,193.171,
528.378,742.612,193.471,
528.378,742.612,193.771,
528.378,742.612,194.071,
528.378,742.612,194.371,
528.378,742.612,194.371,
528.378,742.612,194.671,
528.378,742.612,194.971,
528.378,742.612,195.271,
528.378,742.612,195.271,
528.378,742.612,195.271,
528.378,742.612,195.59,
528.378,742.612,195.59,
528.379,742.612,195.536,
528.379,742.612,195.536,
528.33,743.616,195.547,
528.241,745.421,196.39,
528.152,747.237,197.266,
528.063,749.039,198.003,
527.974,750.711,198.003,
527.865,752.65,198.229,
527.774,754.457,199.078,
527.728,756.263,199.42,
527.725,758.06,199.475,
527.757,759.738,199.464,
527.854,761.545,199.464,
528.95,762.688,199.464,
530.229,763.702,199.464,
531.404,764.635,199.381,
532.668,765.637,199.381,
533.924,766.633,199.381,
535.261,767.694,199.381,
536.439,768.629,199.381,
537.695,769.625,199.381,
538.093,771.408,199.381,
538.126,771.698,199.381,
538.126,771.698,199.381,
538.126,771.699,199.382,
538.126,771.699,199.382,
538.126,771.699,199.382,
538.126,771.699,199.082,
538.126,771.999,199.082,
538.126,771.999,199.082,
538.126,771.999,199.082,
538.126,771.999,198.782,
538.126,772.299,198.782,
538.126,772.299,198.482,
538.126,772.299,198.482,
538.126,772.599,198.482,
538.126,772.599,198.182,
538.126,772.599,198.182,
538.426,772.599,197.882,
538.426,772.599,197.882,
538.426,772.299,197.882,
538.426,772.299,197.582,
538.426,772.599,197.582,
538.426,772.599,197.282,
538.426,772.299,197.282,
538.426,772.299,196.982,
538.426,771.999,196.982,
538.426,771.699,196.682,
538.426,771.699,196.382,
538.426,771.699,196.082,
539.074,772.551,196.082,
540.133,773.946,196.082,
541.205,775.359,196.082,
542.268,776.759,196.082,
542.513,777.082,196.082,
540.656,777.165,196.905,
541.745,778.691,196.605,
542.781,780.143,196.605,
543.746,781.495,196.605,
544.707,782.842,196.605,
545.732,784.272,196.605,
546.76,785.719,196.605,
547.744,787.052,196.605,
548.8,788.477,196.605,
549.781,789.799,196.605,
550.843,791.231,196.605,
551.9,792.657,196.605,
552.949,794.18,196.605,
554.013,795.506,196.605,
555.069,796.93,196.605,
556.046,798.251,196.605,
557.127,799.794,196.605,
558.055,801.124,196.605,
559.05,802.551,196.605,
560.046,803.978,196.605,
560.983,805.322,196.605,
561.994,806.771,196.605,
562.996,808.208,196.605,
563.932,809.549,196.605,
564.927,810.976,196.605,
565.928,812.411,196.605,
566.873,813.898,196.605,
567.853,815.481,196.605,
568.74,816.974,196.605,
569.572,818.629,196.605,
570.317,820.205,196.605,
571.141,821.992,196.605,
571.839,823.555,196.605,
572.543,825.161,196.605,
573.25,826.722,196.605,
573.97,828.288,196.905,
574.663,829.888,196.905,
575.279,831.495,196.905,
575.981,833.33,197.205,
576.594,834.933,197.205,
577.229,836.516,197.205,
577.421,836.88,197.205,
577.421,836.88,197.205,
577.686,837.53,197.205,
577.951,838.255,197.205, -- Ancient Treasure Box 1
577.058,835.968,196.681,
577.039,837.66,196.681,
577.019,839.503,196.681,
577,841.218,196.681,
576.98,842.984,196.681,
576.961,844.708,196.681,
576.943,846.308,196.681,
576.924,848.035,196.681,
576.904,849.757,196.681,
576.887,851.366,196.681,
576.867,853.104,196.681,
576.859,853.87,196.681, -- Ancient Treasure Box 2
576.63,855.06,196.681,
576.304,856.765,196.681,
575.973,858.488,196.681,
575.649,860.179,196.681,
575.341,861.785,196.681,
574.777,863.474,196.681,
573.532,864.246,196.681,
572.866,865.74,196.681,
572.409,867.464,196.681,
571.967,869.139,196.681,
571.636,870.387,196.681,
571.636,870.388,196.681, -- Ancient Treasure Box 3
571.571,870.449,196.681,
570.335,871.614,196.681,
569.082,872.794,196.681,
567.842,873.962,196.681,
566.589,875.142,196.681,
565.336,876.323,196.681,
563.996,877.585,196.681,
562.757,878.753,196.681,
561.927,880.065,196.681,
560.653,881.266,196.681,
559.782,882.51,196.681,
559.594,882.72,196.681, -- Ancient Treasure Box 4
559.594,882.72,196.681,
558.666,883.237,196.681,
557.148,884.083,196.681,
555.636,884.886,196.681,
554.09,885.651,196.681,
552.588,886.468,196.681,
551.133,887.409,196.681,
549.67,888.295,196.681,
548.171,889.142,196.681,
546.641,889.948,196.681,
545.132,890.719,196.681, -- Ancient Treasure Box 5
544.985,890.794,196.681,
544.151,890.94,196.681,
542.395,891.248,196.681,
540.776,891.532,196.681,
539.02,891.84,196.681,
537.31,892.174,196.681,
535.583,892.554,196.681,
533.815,892.842,196.681,
532.189,893.058,196.681,
530.466,893.45,196.681,
528.734,893.835,196.681,
528.198,893.947,196.681, -- Ancient Treasure Box 6
528.198,893.947,196.681,
527.114,893.751,196.681,
525.376,893.435,196.681,
523.74,893.139,196.681,
521.986,892.821,196.681,
520.373,892.529,196.681,
518.615,892.211,196.681,
516.876,891.912,196.681,
515.244,891.656,196.681,
513.623,891.295,196.681,
511.996,890.905,196.681, -- Ancient Treasure Box 7
511.085,890.449,196.681,
509.47,889.635,196.681,
507.976,888.873,196.681,
506.371,888.05,196.681,
504.876,887.245,196.681,
503.428,886.405,196.681,
501.908,885.439,196.681,
500.373,884.53,196.681,
498.812,883.595,196.681,
497.416,882.703,196.681,
497.278,882.612,196.681, -- Ancient Treasure Box 8
497.278,882.612,196.681,
496.538,881.796,196.681,
495.334,880.468,196.681,
494.136,879.148,196.681,
493.017,877.914,196.681,
491.752,876.542,196.681,
490.647,875.307,196.681,
489.513,873.909,196.681,
488.432,872.507,196.681,
487.318,871.283,196.681,
486.106,870.146,196.681,
485.892,869.942,196.681, -- Ancient Treasure Box 9
485.892,869.942,196.681,
485.392,868.637,196.681,
484.754,866.97,196.681,
484.153,865.4,196.681,
483.547,863.829,196.681,
482.876,862.143,196.681,
482.278,860.573,196.681,
481.648,858.887,196.681,
481.084,857.318,196.681,
480.492,855.61,196.681,
479.963,854.02,196.681,
479.519,852.293,196.681,
479.511,852.259,196.681, -- Ancient Treasure Box 10
479.511,852.259,196.681,
479.491,851.4,196.681,
479.451,849.732,196.681,
479.413,847.964,196.681,
479.364,846.316,196.681,
479.252,844.42,196.681,
479.139,842.675,196.681,
479.102,840.91,196.681,
479.055,839.135,196.681,
479.026,838.079,196.681,
479.026,838.079,196.681, -- Ancient Treasure Box 11
479.026,838.079,196.681,
479.132,837.767,196.681,
479.696,836.097,196.681,
480.272,834.391,196.681,
480.838,832.723,196.681,
481.413,831.084,196.681,
481.988,829.398,196.681,
482.489,827.815,196.681,
483.096,826.164,196.681,
483.782,824.548,196.681,
484.435,823.052,196.681,
485.016,821.74,196.681,
485.017,821.738,196.681, -- Ancient Treasure Box 12
485.017,821.738,197.681,
485.017,821.738,198.681,
485.017,821.738,199.681,
- 1, - 1, - 1
}

--=///////////// GLOBAL VARIABLES \\\\\\\\\\\\\\--

         Plr = Player:GetPosition()
   delay_SEC = 0.4
     tick_MS = 0
tab_ENDTRACE = false
   tab_COUNT = 1
   FlagPause = true

--\\Open_AncientTreasureBox() GLOBAL VARIABLES //--

progstate = 0
item, item_s = nil
itemname = "Ancient Treasure Box"



function OnLoad()
	Register ("PauseProgram", "P", "Control")
	Write ("Press <CTRL + P>) to start/pause program.")
end

function OnFrame()

	if tick_MS > Time()  or FlagPause == true or tab_ENDTRACE == true then
		return
	end

	-- add + 1 do result
	if tab_COUNT == 621 + 1 or tab_COUNT == 633 + 1 or tab_COUNT == 645 + 1 or tab_COUNT == 657 + 1 or tab_COUNT == 668 + 1 or tab_COUNT == 680 + 1 or
	   tab_COUNT == 691 + 1 or tab_COUNT == 702 + 1 or tab_COUNT == 714 + 1 or tab_COUNT == 727 + 1 or tab_COUNT == 738 + 1 or tab_COUNT == 751 + 1 then
	   	result = Open_AncientTreasureBox()
		if result ~= 7 then
			return
		end
		progstate = 0
	end

	ftab_ReadData (tab_COUNT)

	if Plr.X == - 1 and Plr.Y == - 1 and Plr.Z == - 1 then
		tab_ENDTRACE = true
		return
	end
	Info ()
	Player:SetPosition (Plr)
	tab_COUNT = tab_COUNT + 1
	tick_MS = Time() + delay_SEC * 1000

end

function PauseProgram ()
	if FlagPause == false then
		FlagPause = true
	else
		FlagPause = false
		tick_MS = Time() + delay_SEC * 1000
	end
end

function ftab_ReadData (idx)
	id = (idx - 1) * 3
	Plr.X = tab [id + 1]
	Plr.Y = tab [id + 2]
	Plr.Z = tab [id + 3]
end

function Info()
	Write ("ID: " ..tab_COUNT.. " MoveTo: " ..Plr.X.. ", " ..Plr.Y.. ", " ..Plr.Z)
end

function Open_AncientTreasureBox()

	if progstate == 0 then
		tick_MS = Time() + 1000
		PlayerInput:Console ("/select "..itemname)
		item = EntityList:GetEntity(Player: GetTargetID())
		if item ~= nil and item:GetName() == itemname then
			progstate = 1
		end
		return progstate
	end

	if progstate == 1 then
		tick_MS = Time() + 500
		PlayerInput:Console("/skill Return")
		progstate = 2
		return progstate
	end

	if progstate == 2 or progstate == 3 then
		tick_MS = Time() + 500
		PlayerInput:Console("/skill Toggle Power Shard")
		progstate = progstate + 1
		return progstate
	end

	if progstate == 4 then
		tick_MS = Time() + 1000
		PlayerInput:Console("/attack")
		item_s = EntityList: GetEntity(item: GetID())
		if item_s ~= nil and item_s:IsDead() == false then
			return progstate
		end
		progstate = 5
		return progstate
	end

	if progstate == 5 then
		tick_MS = Time() + 1000
		if  DialogList:GetDialog("loot_dialog"):IsVisible() then
			DialogList:GetDialog("loot_dialog/takeall_button"):Click()
		else
			progstate = 6
		end
	return progstate
	end

	if progstate == 6 then
		if DialogList:GetDialog("loot_dialog"):IsVisible() then
			progstate = 5
			return progstate
		end
		progstate = 7
	end

	return progstate
end

Re: KysisKrotanMiren

Posted: Sat Jun 17, 2017 4:12 pm
by nucular
Really appreciated for sharing.

Personally i thought/hoped that more people would contribute to AionScript because actually it's free and they got one really cool tool in their hand to do things like this.

Re: KysisKrotanMiren

Posted: Sat Jun 17, 2017 5:27 pm
by pawelgbw
Aionscript is irreplaceable

Re: KysisKrotanMiren

Posted: Wed Jul 12, 2017 9:52 am
by 0x00
nucular wrote:
Sat Jun 17, 2017 4:12 pm
Really appreciated for sharing.

Personally i thought/hoped that more people would contribute to AionScript because actually it's free and they got one really cool tool in their hand to do things like this.
That was the problem with the original community! Everyone had something noone shared anything!