Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Message: [string "script_helper = {..."]:156: attempt to call method 'enemyPlayerWithin' (a nil value)
- Time: Sat Nov 16 00:04:22 2019
- Count: 879
- Stack: [string "script_helper = {..."]:156: attempt to call method 'enemyPlayerWithin' (a nil value)
- [string "script_helper = {..."]:156: in function `ress'
- [string "-- Grinder by Logitech..."]:935: in function `grind'
- [string "-- Grinder by Logitech..."]:598: in function <[string "-- Grinder by Logitech..."]:569>
- Locals: self = <table> {
- getHSCD = <function> defined script_helper = {
- water = {},
- numWater = 1,
- food = {},
- numFood = 1,
- myMounts = {},
- numMounts = 1,
- healthPotion = {},
- manaPotion = {},
- numHealthPotion = 1,
- numManaPotion = 1,
- isSafeSpot = false,
- sX = 0,
- sY = 0,
- sZ = 0,
- safeTimer = 1
- }
- function script_helper:distance3D(x, y, z, xx, yy, zz)
- if x == nil or xx == nil then
- Log:Error('Helper: invalid coordinates to distance3D.')
- return 10000
- end
- return ((xx-x)^2 + (yy-y)^2 + (zz-z)^2)^(1/2);
- end
- function script_helper:nrOfSellableSlots()
- local numSlot = 0
- for b = 0, 4 do
- for i = 1, GetContainerNumSlots(b) do
- if GetContainerItemLink(b, i) ~= nil then
- local itemName, itemLink, itemRarity, itemLevel, itemMinLevel, itemType, itemSubType,
- itemStackCount, itemEquipLoc, itemTexture = GetItemInfo(GetContainerItemLink(0, i));
- if itemType ~= "Quest" then
- if not script_vendor:keepItem(itemName) and not script_vendor:unsellableItem(itemName) then
- if itemName ~= script_vend sZ = 0
- addMount = <function> defined script_helper = {
- water = {},
- numWater = 1,
- food = {},
- numFood = 1,
- myMounts = {},
- numMounts = 1,
- healthPotion = {},
- manaPotion = {},
- numHealthPotion = 1,
- numManaPotion = 1,
- isSafeSpot = false,
- sX = 0,
- sY = 0,
- sZ = 0,
- safeTimer = 1
- }
- function script_helper:distance3D(x, y, z, xx, yy, zz)
- if x == nil or xx == nil then
- Log:Error('Helper: invalid coordinates to distance3D.')
- return 10000
- end
- return ((xx-x)^2 + (yy-y)^2 + (zz-z)^2)^(1/2);
- end
- function script_helper:nrOfSellableSlots()
- local numSlot = 0
- for b = 0, 4 do
- for i = 1, GetContainerNumSlots(b) do
- if GetContainerItemLink(b, i) ~= nil then
- local itemName, itemLink, itemRarity, itemLevel, itemMinLevel, itemType, itemSubType,
- itemStackCount, itemEquipLoc, itemTexture = GetItemInfo(GetContainerItemLink(0, i));
- if itemType ~= "Quest" then
- if not script_vendor:keepItem(itemName) and not script_vendor:unsellableItem(itemName) then
- if itemName ~= script_ven distance3D = <function> defined script_helper = {
- water = {},
- numWater = 1,
- food = {},
- numFood = 1,
- myMounts = {},
- numMounts = 1,
- healthPotion = {},
- manaPotion = {},
- numHealthPotion = 1,
- numManaPotion = 1,
- isSafeSpot = false,
- sX = 0,
- sY = 0,
- sZ = 0,
- safeTimer = 1
- }
- function script_helper:distance3D(x, y, z, xx, yy, zz)
- if x == nil or xx == nil then
- Log:Error('Helper: invalid coordinates to distance3D.')
- return 10000
- end
- return ((xx-x)^2 + (yy-y)^2 + (zz-z)^2)^(1/2);
- end
- function script_helper:nrOfSellableSlots()
- local numSlot = 0
- for b = 0, 4 do
- for i = 1, GetContainerNumSlots(b) do
- if GetContainerItemLink(b, i) ~= nil then
- local itemName, itemLink, itemRarity, itemLevel, itemMinLevel, itemType, itemSubType,
- itemStackCount, itemEquipLoc, itemTexture = GetItemInfo(GetContainerItemLink(0, i));
- if itemType ~= "Quest" then
- if not script_vendor:keepItem(itemName) and not script_vendor:unsellableItem(itemName) then
- if itemName ~= script_v numMounts = 64
- numManaPotion = 6
- water = <table> {
- }
- nrOfWater = <function> defined script_helper = {
- water = {},
- numWater = 1,
- food = {},
- numFood = 1,
- myMounts = {},
- numMounts = 1,
- healthPotion = {},
- manaPotion = {},
- numHealthPotion = 1,
- numManaPotion = 1,
- isSafeSpot = false,
- sX = 0,
- sY = 0,
- sZ = 0,
- safeTimer = 1
- }
- function script_helper:distance3D(x, y, z, xx, yy, zz)
- if x == nil or xx == nil then
- Log:Error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement