Failed to cast warning

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
noobbotter
Posts: 527
Joined: Fri Aug 31, 2012 1:15 pm

Re: Failed to cast warning

#21 Post by noobbotter »

I think that line in the language file is called when the bot wants to call and display that particular error. I think it would be called like this:" language[82]" So you'll have to search the bot code to find where it has that.


Edit: I found a couple instances of calling language[82] in the player.lua.
User avatar
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: Failed to cast warning

#22 Post by beanybabe »

I tried reverting the bot back 10 version I tried 104 105 micromacro no matter what I try I get same. failed and aborted.

Windows did some updates they may be the cause but I tried a restore and no effect.

I notice in romdev.ini a server address when i ping it the ping is running near 100 that is lots higher than it usually is.
User avatar
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: Failed to cast warning

#23 Post by beanybabe »

nothing seem to work set debug mode in settings file still no help just more errors.
User avatar
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: Failed to cast warning

#24 Post by beanybabe »

found were one of the messages comes from in player.lua
i put in prints and startTime seems to be changing but skill.CastTime is always=0 this seems to come from skill.lua but I dont follow what is happening there.
One other think I notice is Wrong value returned in update of item id: ##### this happens almost every time I start bot but numbers keep changing.

------------------------------------
855 local function waitTillCastingStarts()
local startTime = getTime();
print("starttime = ",startTime) --- xxxcheck
self:updateCasting();
if( skill.CastTime > 0 ) then
while( not self.Casting ) do -- wait for casting to start
-- Check if mob is dead during wait, only for damage skills
if skill.Type ~= STYPE_HEAL and skill.Type ~= STYPE_HOT then
local target = CPawn.new(self.TargetPtr);
if not target:isAlive() then
printf(language[82]); -- close print 'Casting ..." / aborted
return false
end
end
Post Reply