Using TFS 0.2 with Armonia map with Gesior AAC 0.2 (I think, whichever one works for TFS 0.2)
As title says, I'm able to choose Assassin as a class through the AAC, but it actually creates the class as Paladin.
My Vocations.xml:
(Ignore the messed up stats, haven't balanced it yet) So anyway, I made my Assassin class vocation id="9" with fromvoc="9" (I followed how mage, pally, warrior, and priest was done, and put the promoted version of assassin (demihuman) as vocation id="10" with fromvoc="9", which is right, right? -.^
Pics of my stepbystep:
(I tried to set it to assassin sample, but I kept getting an error with that)
-
-
-
-
BUT!!-- The thing is, if I have my accountManager = "yes" , then anyone can log in with 1/1 on acc manager and create an Assassin character just fine. Soo..I'm really confused. It has to be something I need to change in my c:\xamp\htdocs\blah somewhere in there, but I have no idea where. One more thing, i changed the voc thing in my global.lua, is this right?:
Any help greatly appreciated ++REP
As title says, I'm able to choose Assassin as a class through the AAC, but it actually creates the class as Paladin.
My Vocations.xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<vocations>
<vocation id="0" name="None" description="none" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="0">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
<skill id="0" multiplier="1.5"/>
<skill id="1" multiplier="2.0"/>
<skill id="2" multiplier="2.0"/>
<skill id="3" multiplier="2.0"/>
<skill id="4" multiplier="2.0"/>
<skill id="5" multiplier="1.5"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="1" name="Mage" description="a Mage" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="50" gainmanaticks="3" gainmanaamount="100" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="1">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
<skill id="0" multiplier="1.5"/>
<skill id="1" multiplier="2.0"/>
<skill id="2" multiplier="2.0"/>
<skill id="3" multiplier="2.0"/>
<skill id="4" multiplier="2.0"/>
<skill id="5" multiplier="1.5"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="2" name="Priest" description="a Priest" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="50" gainmanaticks="3" gainmanaamount="100" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="2">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
<skill id="0" multiplier="1.5"/>
<skill id="1" multiplier="1.8"/>
<skill id="2" multiplier="1.8"/>
<skill id="3" multiplier="1.8"/>
<skill id="4" multiplier="1.8"/>
<skill id="5" multiplier="1.5"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="3" name="Paladin" description="a Paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="4" gainhpamount="75" gainmanaticks="4" gainmanaamount="75" manamultiplier="1.4" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="3">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
<skill id="0" multiplier="1.2"/>
<skill id="1" multiplier="1.2"/>
<skill id="2" multiplier="1.2"/>
<skill id="3" multiplier="1.2"/>
<skill id="4" multiplier="1.1"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="4" name="Warrior" description="a Warrior" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="100" gainmanaticks="6" gainmanaamount="50" manamultiplier="3.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="4">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
<skill id="0" multiplier="1.1"/>
<skill id="1" multiplier="1.1"/>
<skill id="2" multiplier="1.1"/>
<skill id="3" multiplier="1.1"/>
<skill id="4" multiplier="1.4"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="5" name="Undead Mage" description="an Undead Mage" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="100" gainmanaticks="2" gainmanaamount="200" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="1">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
<skill id="0" multiplier="1.5"/>
<skill id="1" multiplier="2.0"/>
<skill id="2" multiplier="2.0"/>
<skill id="3" multiplier="2.0"/>
<skill id="4" multiplier="2.0"/>
<skill id="5" multiplier="1.5"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="6" name="Unholy Priest" description="an Unholy Priest" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="100" gainmanaticks="2" gainmanaamount="200" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="2">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
<skill id="0" multiplier="1.5"/>
<skill id="1" multiplier="1.8"/>
<skill id="2" multiplier="1.8"/>
<skill id="3" multiplier="1.8"/>
<skill id="4" multiplier="1.8"/>
<skill id="5" multiplier="1.5"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="7" name="Blood Elf Paladin" description="a Blood Elf Hunter" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="150" gainmanaticks="3" gainmanaamount="150" manamultiplier="1.4" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="3">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
<skill id="0" multiplier="1.2"/>
<skill id="1" multiplier="1.2"/>
<skill id="2" multiplier="1.2"/>
<skill id="3" multiplier="1.2"/>
<skill id="4" multiplier="1.1"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="8" name="Death Knight" description="a Death Knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="200" gainmanaticks="4" gainmanaamount="100" manamultiplier="3.0" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="4">
<formula meleeDamage="1.5" distDamage="1.5" defense="1.5" armor="1.5"/>
<skill id="0" multiplier="1.1"/>
<skill id="1" multiplier="1.1"/>
<skill id="2" multiplier="1.1"/>
<skill id="3" multiplier="1.1"/>
<skill id="4" multiplier="1.4"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="9" name="Assassin" description="an Assassin" gaincap="25" gainhp="35" gainmana="65" gainhpticks="3" gainhpamount="50" gainmanaticks="3" gainmanaamount="100" manamultiplier="1.7" attackspeed="20" soulmax="100" gainsoulticks="15" fromvoc="9">
<formula meleeDamage="1.1" distDamage="2.3" defense="1.5" armor="1.1"/>
<skill id="0" multiplier="1.3"/>
<skill id="1" multiplier="1.3"/>
<skill id="2" multiplier="1.3"/>
<skill id="3" multiplier="1.3"/>
<skill id="4" multiplier="1.0"/>
<skill id="5" multiplier="1.0"/>
<skill id="6" multiplier="1.0"/>
</vocation>
<vocation id="10" name="DemiHuman" description="a DemiHuman" gaincap="30" gainhp="55" gainmana="85" gainhpticks="2" gainhpamount="200" gainmanaticks="2" gainmanaamount="350" manamultiplier="1.3" attackspeed="10" soulmax="200" gainsoulticks="10" fromvoc="9">
<formula meleeDamage="2.1" distDamage="2.7" defense="1.9" armor="1.3"/>
<skill id="0" multiplier="1.2"/>
<skill id="1" multiplier="1.2"/>
<skill id="2" multiplier="1.2"/>
<skill id="3" multiplier="1.2"/>
<skill id="4" multiplier="1.0"/>
<skill id="5" multiplier="1.2"/>
<skill id="6" multiplier="1.1"/>
</vocation>
</vocations>
Pics of my stepbystep:
(I tried to set it to assassin sample, but I kept getting an error with that)
-
-
-
-
BUT!!-- The thing is, if I have my accountManager = "yes" , then anyone can log in with 1/1 on acc manager and create an Assassin character just fine. Soo..I'm really confused. It has to be something I need to change in my c:\xamp\htdocs\blah somewhere in there, but I have no idea where. One more thing, i changed the voc thing in my global.lua, is this right?:
Code:
function isSorcerer(cid)
if(isPlayer(cid) == FALSE) then
debugPrint("isSorcerer: Player not found.")
return false
end
return (isInArray({1,5}, getPlayerVocation(cid)) == TRUE)
end
function isDruid(cid)
if(isPlayer(cid) == FALSE) then
debugPrint("isDruid: Player not found.")
return false
end
return (isInArray({2,6}, getPlayerVocation(cid)) == TRUE)
end
function isPaladin(cid)
if(isPlayer(cid) == FALSE) then
debugPrint("isPaladin: Player not found.")
return false
end
return (isInArray({3,7}, getPlayerVocation(cid)) == TRUE)
end
function isKnight(cid)
if(isPlayer(cid) == FALSE) then
debugPrint("isKnight: Player not found.")
return false
end
return (isInArray({4,8}, getPlayerVocation(cid)) == TRUE)
end
[b]function isAssassin(cid)
if(isPlayer(cid) == FALSE) then
debugPrint("isAssassin: Player not found.")
return false
end
return (isInArray({9,10}, getPlayerVocation(cid)) == TRUE)
end[/b]
Any help greatly appreciated ++REP