Page 1 of 1

Vanguard Field Marshall- title fire training

Posted: Sun Dec 11, 2011 8:01 am
by spawni
Hmm.. my char has the Vanguard Field Marshall-title which gets me the ability fire training skill (->
http://www.runesdatabase.com/skill/495174/fire-training.

Skill is not in the skill-file of the bot - can I use that skill anyway?

Re: Vanguard Field Marshall- title fire training

Posted: Sun Dec 11, 2011 9:10 am
by spawni
:D
Did it...
Added

Code: Select all

 <skill name="ALL_FIRE_TRAINING" id="495174" casttime="2" cooldown="240" target="self" />
to skills-file - and than added the skill as every other one to the profile -
As I am alway have different fight-sequences for trash and mobs - now i fight boss-fights a little faster :D

Re: Vanguard Field Marshall- title fire training

Posted: Mon Dec 12, 2011 4:43 am
by Pmaia
were u get that skill i´v searsh for that and dont find anything conclusive
were u find it and wat need to do?

Re: Vanguard Field Marshall- title fire training

Posted: Mon Dec 12, 2011 7:13 am
by lisa
You get it when doing the guild titles using the items received from Seige war.

Re: Vanguard Field Marshall- title fire training

Posted: Mon Dec 12, 2011 8:59 am
by rock5
How do you use the skills when you get them? Do they just appear in one of your skills tabs? Which one? If they look like any other skill, we probably can just add them to the database. The only issue is, isn't there quite a lot of them?

Re: Vanguard Field Marshall- title fire training

Posted: Mon Dec 12, 2011 9:02 am
by lisa
Skilltab 1
and you use just like any other skill

I have been thinking lately about skills that can be used with any class and how they need to be added to every skills set.

Could have a profile section for shared skills, like fire training

Re: Vanguard Field Marshall- title fire training

Posted: Mon Dec 12, 2011 9:31 am
by rock5
lisa wrote:Skilltab 1
Hm... I thought the bot only checked tabs 2-4.

Code: Select all

	for tab = 2,4 do -- tabs of interest 2,3 and 4
So how did spawni get it to work?
lisa wrote:I have been thinking lately about skills that can be used with any class and how they need to be added to every skills set.

Could have a profile section for shared skills, like fire training
There is. It's called

Code: Select all

<skills>

Re: Vanguard Field Marshall- title fire training

Posted: Mon Dec 12, 2011 9:36 am
by lisa
Deffinately tab 1.
There is.
Ahh cool, I didn't know.

Re: Vanguard Field Marshall- title fire training

Posted: Mon Dec 12, 2011 9:42 am
by rock5
Lisa can you confirm that it works if you just add it to your skills like that?

Re: Vanguard Field Marshall- title fire training

Posted: Mon Dec 12, 2011 10:03 am
by lisa
skills.xml

Code: Select all

<skill name="ALL_FIRE_TRAINING" id="495174" casttime="2" cooldown="240" target="self" />
profile

Code: Select all

	<skills>
		<skill name="ALL_FIRE_TRAINING"    	hotkey="MACRO" priority="110"/>
	</skills>

Code: Select all

1:      table: 048E4F88
        NoBuffTarget:   player
        BuffName:
        MinRange:       0
        Mana:   0
        Range:  20
        MaxHpPer:       100
        TPToLevel:      0
        Blocking:       false
        AutoUse:        true
        TargetMaxHp:    9999999
        Rage:   0
        Type:   0
        CastTime:       2
        aslevel:        0
        NoBuffCount:    0
        MinManaPer:     0
        used:   0
        Cooldown:       240
        maxuse: 0
        LastCastTime:   table: 048E4FB0
                low:    0
                high:   0
        Nature: 0
        MaxManaPer:     100
        ReqBuffCount:   0
        Concentration:  0
        Target: 1
        Level:  1
        Available:      false
        Toggled:        false
        ReqBuffTarget:  player
        priority:       110
        hotkey: MACRO
        rebuffcut:      0
        pullonly:       false
        ReqBuffName:
        Toggleable:     false
        NoBuffName:
        Name:   ALL_FIRE_TRAINING
        TargetMaxHpPer: 100
        pull:   false
        ManaInc:        0
        Energy: 0
        Id:     495174
It didn't get any info from memory it seems.

Skill didn't cast on it's own, says unavailable.

How ever same details and use

Code: Select all

player:cast("ALL_FIRE_TRAINING")
It did cast the skill but printed it didn't

Code: Select all

Use MACRO: ALL_FIRE_TRAINING   =>   * Failed to cast *
So skill was actually cast.

Re: Vanguard Field Marshall- title fire training

Posted: Mon Dec 12, 2011 10:26 am
by lisa
it doesn't use the tab to cast the spells anyway.

Code: Select all

	if(self.hotkey == "MACRO" or self.hotkey == "" or self.hotkey == nil ) then
		-- Get skill name
		local skillName = GetIdName(self.Id)

		-- Cast skill
		RoMScript("CastSpellByName(\""..skillName.."\");");
So aslong as the ID is correct it should still cast it using player:cast()

Re: Vanguard Field Marshall- title fire training

Posted: Mon Dec 12, 2011 10:36 am
by lisa
Changed the tab check for 1,4

Code: Select all

table: 01D85718
1:      table: 01D85790
        NoBuffTarget:   player
        BuffName:
        MinRange:       0
        Mana:   0
        Range:  20
        MaxHpPer:       100
        TPToLevel:      0
        Blocking:       false
        AutoUse:        true
        TargetMaxHp:    9999999
        Rage:   0
        Type:   0
        CastTime:       2
        aslevel:        0
        NoBuffCount:    0
        MinManaPer:     0
        used:   0
        Cooldown:       240
        maxuse: 0
        LastCastTime:   table: 01D857B8
                low:    0
                high:   0
        Available:      true
        Nature: 0
        TargetMaxHpPer: 100
        MaxManaPer:     100
        ReqBuffCount:   0
        Concentration:  0
        Target: 1
        Level:  0
        skilltab:       1
        Toggled:        false
        ReqBuffTarget:  player
        priority:       110
        hotkey: MACRO
        rebuffcut:      0
        pullonly:       false
        ReqBuffName:
        Toggleable:     false
        NoBuffName:
        Name:   ALL_FIRE_TRAINING
        skillnum:       16
        pull:   false
        ManaInc:        0
        Energy: 0
        Id:     495174
So it got more info from memory, shows tab and skillnum,
Still didn't cast skill on it's own though.

Code: Select all

[DEBUG] ONLYFRIENDLY ALL_FIRE_TRAINING 0

Re: Vanguard Field Marshall- title fire training

Posted: Mon Dec 12, 2011 10:47 am
by rock5
You beat me to the post. I was going to suggest that. It probably didn't cast because it looks like there is info missing from the database entry.

Re: Vanguard Field Marshall- title fire training

Posted: Mon Dec 12, 2011 10:57 am
by lisa
Yeah I just copied what was posted, it didn't have type.

Use this and works fine

Code: Select all

  <skill name="ALL_FIRE_TRAINING" id="495174" cooldown="240" target="self" type="buff" />

Re: Vanguard Field Marshall- title fire training

Posted: Mon Dec 12, 2011 11:01 am
by rock5
Don't you need the buff id so it can check the buff?

Re: Vanguard Field Marshall- title fire training

Posted: Mon Dec 12, 2011 11:18 am
by lisa

Code: Select all

  <skill name="ALL_FIRE_TRAINING" id="495174" cooldown="240" target="self" type="buff" buffname="506060" />

Re: Vanguard Field Marshall- title fire training

Posted: Mon Dec 12, 2011 11:33 am
by rock5
That looks better. So how many skills are there? I guess if there are too many we could just add the lowest level ones that are most common.

Re: Vanguard Field Marshall- title fire training

Posted: Sun Dec 18, 2011 2:06 am
by lisa
Added in 683.

Re: Vanguard Field Marshall- title fire training

Posted: Tue Dec 05, 2017 5:31 am
by ThulsaDoom
Hello;
Sorry to re open this old topic.
I'm wondering if some one knows how to remove fire effects during fire training buff.
Causes a lot of lag...
I heard about model..

Thanks