but with ksmagma script and a lvl 90/1 m/s with 2loot X honor party, and not even housemaid buff ive been making 2.8kk for a couple of hrs now

That's interesting. I always botting there with level 55 accounts. How many G/H you make with lvl 50 chars there? (official server?) I wanted to change my accounts. An M / P can not keep up with a R / S.lisa wrote: Note:
In my testing I found that without honor party a lvl 50 can get very good G/H, this is because the honor party changes loot to match the lower lvl character. I would deliberately let the character die 15-20 times to build up the xp debt and then set it off in KS. Unfortunately you need well stated gear to kill fast and stay alive at lvl 50.
pretty sure I made the first WP before we even had Y values in createpath by default.BlubBlab wrote:Edit:I see lisa has also deleted the Y values.
Code: Select all
if(waypoint.Y and math.abs(player.Y - waypoint.Y) > 35)then
cprintf(cli.green,"We have drooped down so we search the next Waypoint \n ");
__WPL:setWaypointIndex(__WPL:getNearestWaypoint(player.X, player.Z, player.Y,true));
end
Code: Select all
function CWaypointList:getNearestWaypoint(_x, _z, _y, _plain)
local closest = 1;
for i,v in pairs(self.Waypoints) do
local oldClosestWp = self.Waypoints[closest];
if( _plain and v.Y and _y)then
if( distance(_x, _z, _y, v.X, v.Z, v.Y) < distance(_x, _z, _y, oldClosestWp.X, oldClosestWp.Z, oldClosestWp.Y) and math.abs(_y - v.Y) < 40 ) then
closest = i;
end
else
if( distance(_x, _z, _y, v.X, v.Z, v.Y) < distance(_x, _z, _y, oldClosestWp.X, oldClosestWp.Z, oldClosestWp.Y) ) then
closest = i;
end
end
end
return closest;
end
I'm not sure that would work. There are basically 3 ways the moveTo function can end; get stuck, interrupted by aggro or success. If you get stuck or interrupted by aggro you could be nowhere near the target waypoint and so y could easily be offset by 35. You don't want it to reset to the nearest waypoint every time you get attacked or stuck. Technically speaking doing this might work but there are many situations where resetting to the nearest waypoint will cause trouble, especially in waypoint files whose path crisscrosses over itself, so it should be done with the utmost caution.BlubBlab wrote:on the bottom of my moveTo I have this code:
Code: Select all
if(waypoint.Y and math.abs(player.Y - waypoint.Y) > 35)then cprintf(cli.green,"We have drooped down so we search the next Waypoint \n "); __WPL:setWaypointIndex(__WPL:getNearestWaypoint(player.X, player.Z, player.Y,true)); end
Code: Select all
if (waypoint.Y and distance(player.X, player.Z, waypoint.X, waypoint.Z) < 50 and player.Y < waypoint.Y - 35)then
I'm not sure about this.BlubBlab wrote:in WaypointList:
Code: Select all
function CWaypointList:getNearestWaypoint(_x, _z, _y, _plain) local closest = 1; for i,v in pairs(self.Waypoints) do local oldClosestWp = self.Waypoints[closest]; if( _plain and v.Y and _y)then if( distance(_x, _z, _y, v.X, v.Z, v.Y) < distance(_x, _z, _y, oldClosestWp.X, oldClosestWp.Z, oldClosestWp.Y) and math.abs(_y - v.Y) < 40 ) then closest = i; end else if( distance(_x, _z, _y, v.X, v.Z, v.Y) < distance(_x, _z, _y, oldClosestWp.X, oldClosestWp.Z, oldClosestWp.Y) ) then closest = i; end end end return closest; end
Code: Select all
local oldClosestWp = self.Waypoints[closest];
if( distance(_x, _z, _y, v.X, v.Z, v.Y) < distance(_x, _z, _y, oldClosestWp.X, oldClosestWp.Z, oldClosestWp.Y) ) then
if v.Y and _y then
local adj = distance(player.X,player.Z,v.X,v.Z)
local opp = v.Y - player.Y
if math.atan(opp/adj) < 0.52327832213198 then -- 30 degrees in radians, Needs testing to find right angle.
closest = i;
end
else
closest = i;
end
end
Code: Select all
delvalue = 300
averagedelvalue = 0
averagedelcount = 0
--change the part that checks what value to delete to this.
if ( item:isType("Weapons") or item:isType("Armor") ) and (delvalue > item.Worth and 3 > item.Quality) and item.Name ~= "Gunpowder Arrow" then
averagedelvalue = averagedelvalue + item.Worth
averagedelcount = averagedelcount + 1
item:delete()
end
startruntime = os.time()
startgold = RoMScript('GetPlayerMoney("copper");')
local function comma_value(n)
local left,num,right = string.match(n,'^([^%d]*%d)(%d*)(.-)$')
return left..(num:reverse():gsub('(%d%d%d)','%1,'):reverse())
end
function loggh()
local currentgold = RoMScript('GetPlayerMoney("copper");')
local _timepassed = (os.time() - startruntime)/3600 -- mins
local _printtime = string.sub(_timepassed*60,1,4)
local _goldreceived = currentgold - startgold
local _goldperhour = string.sub((_goldreceived/_timepassed),1,8)
print("\n\nCount: "..averagedelcount.." Avg: "..averagedelvalue/averagedelcount.."\n\n")
logInfo(player.Name,"Count: "..averagedelcount.." \tdelprice: "..delvalue.." \tMins for run: ".._printtime.." \tG/H: "..comma_value(_goldperhour),true,"KS")
averagedelvalue = 0
averagedelcount = 0
startruntime = os.time()
startgold = RoMScript('GetPlayerMoney("copper");')
delvalue = delvalue + 100
if delvalue >= 1500 then delvalue = 300 end
end
Code: Select all
loggh()
Code: Select all
02/22/14 11:31:08 Count: 18 delprice: 300 Mins for run: 5.8 G/H: 3,484,500
02/22/14 11:37:05 Count: 19 delprice: 300 Mins for run: 5.58 G/H: 3,607,135
02/22/14 11:43:14 Count: 38 delprice: 400 Mins for run: 5.93 G/H: 3,566,882
02/22/14 11:49:37 Count: 43 delprice: 500 Mins for run: 6.18 G/H: 3,519,567
02/22/14 11:55:14 Count: 38 delprice: 600 Mins for run: 5.43 G/H: 3,673,744
02/22/14 12:02:01 Count: 59 delprice: 700 Mins for run: 6.6 G/H: 3,381,700
02/22/14 12:07:58 Count: 18 delprice: 300 Mins for run: 5.53 G/H: 3,382,026
02/22/14 12:13:45 Count: 28 delprice: 400 Mins for run: 5.6 G/H: 3,497,914
02/22/14 12:20:03 Count: 39 delprice: 500 Mins for run: 6.08 G/H: 3,595,758
02/22/14 12:26:18 Count: 43 delprice: 600 Mins for run: 6.06 G/H: 3,759,616
02/22/14 12:32:54 Count: 59 delprice: 700 Mins for run: 6.4 G/H: 3,446,981
02/22/14 12:39:14 Count: 54 delprice: 800 Mins for run: 6.13 G/H: 3,734,295
02/22/14 12:45:36 Count: 51 delprice: 900 Mins for run: 6.16 G/H: 3,664,984
02/22/14 12:52:07 Count: 63 delprice: 1000 Mins for run: 6.31 G/H: 3,662,387
02/22/14 12:58:45 Count: 59 delprice: 1100 Mins for run: 6.43 G/H: 3,553,423
02/22/14 13:05:23 Count: 80 delprice: 1200 Mins for run: 6.43 G/H: 3,517,489
02/22/14 13:11:55 Count: 64 delprice: 1300 Mins for run: 6.33 G/H: 3,652,910
02/22/14 13:18:24 Count: 74 delprice: 1400 Mins for run: 6.28 G/H: 3,758,056
Code: Select all
02/23/14 12:13:16 Count: 57 delprice: 850 Mins for run: 6.15 G/H: 3,669,170
02/23/14 12:19:45 Count: 58 delprice: 900 Mins for run: 6.26 G/H: 3,808,206
02/23/14 12:26:37 Count: 62 delprice: 950 Mins for run: 6.66 G/H: 3,238,866
02/23/14 12:33:26 Count: 55 delprice: 700 Mins for run: 6.61 G/H: 3,442,978
02/23/14 12:40:00 Count: 45 delprice: 750 Mins for run: 6.35 G/H: 3,605,574
02/23/14 12:46:38 Count: 55 delprice: 800 Mins for run: 6.41 G/H: 3,507,998
--=== no honor party anymore ===--
02/23/14 12:52:57 Count: 56 delprice: 850 Mins for run: 6.13 G/H: 3,754,594
02/23/14 12:59:18 Count: 56 delprice: 900 Mins for run: 6.15 G/H: 3,866,526
02/23/14 13:06:10 Count: 70 delprice: 950 Mins for run: 6.68 G/H: 3,661,065
Users browsing this forum: No registered users and 1 guest