PDA

View Full Version : Knight multiple Exori scripts that stop working (reason unkown)



Tripkip
07-09-2013, 12:20 PM
So as The title says I'm using a exori script on deeplings so if X monsters it will use exori, exori gran, exori ico, exori hur etc.

Now I've noticed that the exori script just stops working out of the blue's and if I want it working again, I have to re-execute it :o!

It doesnt get killed, its still in the executed script side, it simply stops working while it meets all requirements, mana amount of monsters etc.

been using multiple scripts, they all get disabled after a random amount of time, can be 1 hour or even a whole night! It seems to be occuring more often now then a few days ago!

My question is, Any idea what could be causing the script to stop working and/or and how to fix it? Im using the deepling script from epic botters and used their exori script, then tryed to switch to the 1 stusse made, and encountered the same problem. Wont put the exori script in here but I could send it to ur inbox, also it doesnt seem to be a problem with 1 single script since it happend in both scripts so far!

Syntax Stusse DarkstaR Neant Adky XtrmJosh

XtrmJosh
07-12-2013, 10:58 PM
Hi Tripkip,

Can you confirm if the script is publicly available or only available by purchasing a script? If it is publicly available, please post it so we can review. Alternatively, contact the script vendor to see if they can help. It's most likely an issue with the script itself, though knowing the scripting team I can't imagine so. If the scripting team don't mind (please obtain permission before doing so) then send it to me via PM, and I will review it and see if I can find any explanation, otherwise I would strongly advise you to speak with them directly.

Thanks

Daemon
07-12-2013, 11:58 PM
Hi Tripkip,

Can you confirm if the script is publicly available or only available by purchasing a script? If it is publicly available, please post it so we can review. Alternatively, contact the script vendor to see if they can help. It's most likely an issue with the script itself, though knowing the scripting team I can't imagine so. If the scripting team don't mind (please obtain permission before doing so) then send it to me via PM, and I will review it and see if I can find any explanation, otherwise I would strongly advise you to speak with them directly.

Thanks

It also happens with a publicly available script provided by Syntax ~ his Aoe script. I talked to him about it some months ago and he could not figure out any logical reason for it to stop working. However it would do the same as the above user is describing sometimes it would stop working after an hour sometimes it wouldnt stop for days.

Daemon
07-12-2013, 11:59 PM
p.s. If I am not wrong Syntax was working with him at one point in time.

XtrmJosh
07-13-2013, 12:43 AM
It also happens with a publicly available script provided by Syntax ~ his Aoe script. I talked to him about it some months ago and he could not figure out any logical reason for it to stop working. However it would do the same as the above user is describing sometimes it would stop working after an hour sometimes it wouldnt stop for days.

Seems like something a little more sinister than the script itself. Do you mind me asking what your PC specs are?

Daemon
07-13-2013, 12:51 AM
Seems like something a little more sinister than the script itself. Do you mind me asking what your PC specs are?

Yeah :P Give me a moment and I shall tell you (They aren't grand but not aweful).

Daemon
07-13-2013, 12:52 AM
Processor: AMD Athlon II X2 245e Prcoessor 2.90 GHz
Ram: 4.00 GB (3.75 GB usable)

64 bit operating system ~~~~~~Windows 7

Daemon
07-13-2013, 01:00 AM
http://forums.xenobot.net/showthread.php?11556-Xenobot-Community-Scripts&p=159229#post159229



It was a script that Spectrus had made. This was about 3 months ago and I started using the script that Syntax made however I still encounter the same problem just not quite as often.

Daemon
07-13-2013, 01:05 AM
Any reason this should occur DarkstaR ? I noticed it about 3 months ago and as the link to a post 3 months ago spectrus said there is no logical reason for it. It still is an issue that happens. I don't have a clue as to why though. :P (not bitchin by the way just an odd bug or whatever you want to refrence it as).

XtrmJosh
07-13-2013, 01:18 AM
The only reason I can think of is if the script were to overrun itself, and effectively crash. That would require some simulation testing, which I don't really know how to perform. I don't think your specs are low enough for that to be the issue though... Let's see what DarkstaR has to say. Not sure he'll be on it tonight, there is a lot going on ATM for a few people, so be considerate if you will.

Cheers, and sorry I couldn't help...

Daemon
07-13-2013, 01:42 AM
Yeah Spectrus did not have any clue as to why it occured and I had not heard of anyone else having that issue till the above poster mentioned it. As he said the script does not crash or anything it just simply stops working and has to be manually killed and re exectuted.


Edit: p.s. Thanks for the input XtrmJosh

Tripkip
07-13-2013, 07:51 PM
Aah didnt notice the posts...! Stusse will check the script tomorow and look for possible causes still, kinda weird indeed....

I could send you the exori script if Stusse agrees!

XtrmJosh

shinchan
07-13-2013, 08:52 PM
i use this, works really well..


local config = {
['exori gran'] = { names = {'Sea Serpent', 'Young Sea Serpent'}, count = 3, radius = 1, priority = 10, mana = 340},
['exori'] = { names = {'Sea Serpent', 'Young Sea Serpent'}, count = 2, radius = 1, priority = 5, mana = 115},
['exori ico'] = { names = {'Sea Serpent', 'Young Sea Serpent'}, count = 1, radius = 1, priority = 3, mana = 40}
}

function getCreatureCount(pos, radius, names)
local n = 0
for i = CREATURES_LOW, CREATURES_HIGH do
local creature = Creature.GetFromIndex(i)
if creature:isOnScreen() and creature:isAlive() then
if getDistanceBetween(creature:Position(), pos) <= radius then
if table.find(names, creature:Name()) then
n = n + 1
end
end
end
end
return n
end

while true do
for spell, data in pairs(config) do
local amt = getCreatureCount(Self.Position(), data.radius, data.names)
if amt >= data.count then
if Self.CanCastSpell(spell) then
Self.Cast(spell, data.priority, data.mana)
wait(200, 600)
end
end
end
sleep(50)
end

XtrmJosh
07-13-2013, 08:58 PM
Aah didnt notice the posts...! Stusse will check the script tomorow and look for possible causes still, kinda weird indeed....

I could send you the exori script if Stusse agrees!

XtrmJosh

If the script is the same as the public one then I don't see any fault with it (nor do a few people who have also looked), so I suspect a bug in the bot, really. I'm wondering if any log files are generated at the minute in your documents folder?

Daemon
07-13-2013, 09:48 PM
This one stopped working on one client after 19 hours and still going strong on the other client after 19 hours as well has not bugged yet. Both are botting the same script that I made same place using Syntax Aoe script~ as it is publicly available I will post it what I am using: XtrmJosh


--[[
Instructions:
Attacks are prioritized least to greatest.

Required parameters:
words = spell words or rune id
min = minimum monster amount to trigger spell/rune
distance = the max range of the attack

Optional parameters:
max = the max monsters the spell will attack
mana = the minimum mana you want to have before casting
padding = the extra sqm's to check for players PAST the attack distance (default is 0)
needsTarget = the attack needs a target (exori hur, etc)
needsDirection = spells most effective when facing target (exori min)
multiFloor = check for players above/below (stairhop skulling)
ignoreParty = ignore player checks for party members
whiteList = table of players to ignore
targetList = table of monsters to attack, to attack all do not specify this option

]]


attack = {}
attack[1] = {words="exori hur", min=1, max=8, needsTarget=true, distance=4, padding=0, multiFloor=false, ignoreParty=true}
attack[2] = {words="exori ico", min=1, max=8, needsTarget=true, distance=1, padding=0, multiFloor=false, ignoreParty=true}
attack[3] = {words="exori min", min=1, mana=100, needsDirection=true, distance=1, padding=0, multiFloor=true, ignoreParty=true, targetList= {'Crystal Spider','Frost Dragon Hatchling'}}
attack[4] = {words="exori", min=2, mana=100, distance=1, padding=0, multiFloor=true, ignoreParty=true, targetList= {'Crystal Spider','Frost Dragon Hatchling','Frost Dragon','Ice Golem'}}
attack[5] = {words="exori gran", min=3, mana=340, distance=1, padding=0, multiFloor=true, ignoreParty=true, targetList= {'Crystal Spider','Frost Dragon Hatchling','Frost Dragon','Ice Golem'}}


function getTargetCount(distance, padding, multiFloor, ignoreParty, whiteList, targetList)
local n = 0
padding = padding or 0
whiteList = whiteList or {}
targetList = targetList or {}
for i = CREATURES_LOW, CREATURES_HIGH do
local cid = Creature.GetFromIndex(i)
local checkPad = cid:isPlayer() and padding or 0
if(cid:isValid() and cid:isVisible() and cid:isAlive() and cid:DistanceFromSelf() <= (distance + checkPad) and not cid:isSelf())then
if(getSelfPosition().z == cid:Position().z or (multiFloor and cid:isPlayer()))then
if(cid:isPlayer() and (not cid:isPartyMember() or not ignoreParty) and not table.find(whiteList, cid:Name(), false))then
return 0
elseif(cid:isMonster() and (table.find(targetList, cid:Name(), false) or #targetList<1))then
n = n + 1
end
end
end
end
return n
end

function main()
for i = 1, #attack do
local atk = attack[i]
local count = getTargetCount(atk.distance, atk.padding, atk.multiFloor, atk.ignoreParty, atk.whiteList, atk.targetList)
if(count > 0)then
if(count >= atk.min and count <= ((atk.max == nil) and count or atk.max))then
if(type(atk.words) == 'number')then
Self.UseItemWithMe(atk.words)
wait(900, 1200)
elseif(Self.CanCastSpell(atk.words) and (not atk.mana or Self.Mana() >= atk.mana))then
local target = Creature.GetByID(Self.TargetID())
if(atk.needsTarget or atk.needsDirection)then
if(target:isOnScreen() and target:isVisible() and target:isAlive())then
if(target:DistanceFromSelf() <= atk.distance)then
if(atk.needsDirection)then
local pos, toPos = getSelfPosition(), target:Position()
local dir = pos.x > toPos.x and WEST or pos.x < toPos.x and EAST or pos.y > toPos.y and NORTH or SOUTH
Self.Turn(dir)
wait(100, 200)
else
Self.Say(atk.words)
end
end
end
end
if(not atk.needsTarget)then
Self.Say(atk.words)
end
wait(600, 1000)
end
end
end
end
end

print([[
Name: Auto Area Attack
Description: Shoots area spells/rune on certain conditions
Author: Cavitt Glover (Syntax)
Version: 5.0.00 (updated 11.26.2012)]])
wait(2000)

registerEventListener(TIMER_TICK, "main")

Daemon
07-13-2013, 09:53 PM
and shinchan you will not find a better scripter in the world of lua than Syntax (the script I posted) It is not a script failure it is a bug.

XtrmJosh
07-13-2013, 10:04 PM
and shinchan you will not find a better scripter in the world of lua than Syntax (the script I posted) It is not a script failure it is a bug.

Pretty sure you're on the money there. Looking at it the only thing I can think of is maybe recent changes to the battle list are effecting it, but I can't believe they would do so and this would have to be an extreme edge case. Still can't get my head around it, though. Try setting needsTarget to false, see if it continues to crash, also maybe set ignoreParty to false, since it is kinda pointless unless you bot with party on...

Joshwa534
07-14-2013, 12:47 AM
I have seen the exact issue you're experiencing, once it starts it literally doesn't stop occurring no matter what you do. That's when the following exori script was created a few months ago:


--[[
Instructions:
Attacks are prioritzed top to bottom.

Required parameters:
words = spell words

Optional parameters:
creatures = creature list {'Name'}, {'Name2')
needTarget = does your attack need a target
useUtito = use utito tempo before casting spell
]]

local PvPSafe = false
local Attacks = {}
local Time = 0 --Don't change.

-- Example: Attacks[#] = {creatures = {'name', 'name', 'name'}, words = 'exori', count = 1, range = 1, padding = 1, needTarget = false}
Attacks[1] = {creatures = {'creature1', 'creature2', 'creature3'}, words = 'exori gran', count = 3, range = 1, padding = 2}
Attacks[2] = {creatures = {'creature1', 'creature2', 'creature3'}, words = 'exori', count = 2, range = 1, padding = 2}
Attacks[3] = {creatures = {'creature1'}, words = 'exori hur', count = 1, range = 3, padding = 2, needTarget = true}
Attacks[4] = {creatures = {'creature1', 'creature2'}, words = 'exori ico', count = 1, range = 1, padding = 2, needTarget = true}

Module.New('Spell Caster', function(module)
for _, data in ipairs(Attacks) do
local count = 0
if (data.creatures) then
local mobs = Self.GetTargets(data.range)
for i = 1, #mobs do
if (table.find(data.creatures, mobs[i]:Name(), false)) then
count = count + 1
end
end
else
count = #Self.GetTargets(data.range)
end
if (not data.needTarget) and (count >= data.count and Self.CanCastSpell(data.words)) then
if (not PvPSafe) or (PvPSafe and Self.isAreaPvPSafe(data.padding, true)) then
Self.Say(data.words)
end
return
end
if (data.needTarget) and (count >= data.count) then
local target = Creature.New(Self.TargetID())
if Self.CanCastSpell(data.words) and (target:isAlive()) and ((data.creatures and table.find(data.creatures, target:Name(), false)) or (not data.creatures)) then
Self.Say(data.words)
end
end
end
end)

It doesn't do some things like turn to face creatures before casting exori min.

Just like the scripts I've seen posted here, this one is also outdated thus there is no longer any continued support/updates for it which also means I will not add things to this either. You can find a similar, if not identical, exori script in the community script thread. Once again, I've never seen this particular one fail.

EDIT: The particular script Daemon posted started failing for us months ago, that's why the one I posted just now was ever created.

Daemon
07-14-2013, 03:34 AM
Joshwa534 did anyone come to a technical conclusion as to why it was occuring (out of curiousity). Thanks for your input as well.

Joshwa534
07-14-2013, 06:41 AM
Joshwa534 did anyone come to a technical conclusion as to why it was occuring (out of curiousity). Thanks for your input as well.

None of us could find any particular reason, granted we didn't look very hard as its almost less time to just make a new one.

Ceefyra
08-06-2013, 10:50 PM
Bump here, is there any Exori Min script out there?

i got an exori script from this dude
http://forums.xenobot.net/showthread.php?16033-List-With-Usefull-Lua-Scripts!

but there was no exori min on it

Nerxan
09-11-2013, 03:57 PM
I get the same problem after a while of botting. Cant really tell why but somethings just stops working after a while. Running 4x clients most of the times can that be the problem?

Mish
09-11-2013, 03:59 PM
Yep! I've got the same problem as well.

This didn't happen on my other computer which has way better hardware I think.
If you reload the script it works again btw.

Solution?

Nerxan
09-13-2013, 05:58 PM
Write the monsters that you are hunting and want to do exori on, the only fix i found. Same thing with Exevo mas san script, but im now running dx9 and got around 40-50 fps limited and its running smooth now :)

gald127
10-02-2013, 01:20 PM
I got the same problem .... it just stops working after awhile, what is the solution? Since I really need exori to exp, Ive been trying all the scripts on the forum.

dinmamma
10-02-2013, 02:08 PM
I just want to post that I have had the same kind of issues with a couple of scripts, 3 to be exact. The first one is the skinning script (community one), other one is pixie_frigos attacker and last one is the AoE rune shooter we had from a long time ago, which was the best free one before pixies :)

They just stop to work after a while, also noticed after you had some intense manual hunts with those scripts running. My guess is some kind of internal PC bug, maybe something that Josh mentioned, "overrunning".

Paskanaama
01-01-2014, 12:39 PM
I get the exactly same problem and when i reload the exori script it works again

Kinda suxs cus i cant go totally afk unless its a meele spawn

ppgab
03-22-2014, 03:07 AM
This problem still happens as of today, also exori all scripts(that follow the same base code) are also slow, i always lose 1-2 turns doing no attack spells

Darkstar-sama pls