Ok i use to have an old thread and because people stoped replying i thought to make a new one
the old thread was:
http://otland.net/f16/help-roxor-server-47346/ so dont post anthing what isnt already on that one
Ther verion of roxor im using is : RoXoR Server 8.50 (v0.3) (TFS v0.2.5) Console (if there is a better "non-bugger version" feel free to tell me)
Ok ill get to the point.. I started a roxor map about 5 days ago and i have found a bug, it makes it so i can use the "Vip manarune" but i am unable to get mana from it. But when i use a normal manarune i can get mana and it works just fine...
Ok.. well when i start up my roxor server i get an error what says:
[27/08/2009 16:24:08] >> Loading script systems
[27/08/2009 16:24:13] Warning: [Event::checkScript] Event onUse not found. /scripts/Donated Manarune.lua
But... my spells.xml for Vip manarune says:
PHP:
<rune name="VIP mana rune" id="2299" aggressive="0" charges="10" lvl="9" maglv="3" mana="100" soul="0" exhaustion="1000" prem="1" enabled="1" allowfaruse="1" script="healing/Donated Manarune.lua"></rune>
But... my spells.xml for manarune says:
PHP:
<rune name="Mana Rune" id="2298" aggressive="0" charges="10" lvl="100" maglv="5" mana="250" soul="0" exhaustion="1" prem="0" enabled="1" allowfaruse="1" script="custom/manarune.lua"></rune>
Witch you could probly see that for Vip Manarune is says script="healing/Donated Manarune.lua"></rune>
And for normal manarune it says :script="custom/manarune.lua"></rune>
Under C\RoXoR Server 8.50 (v0.3) (TFS v0.2.5) GUI\data\spells\scripts\healing
I have a file called Donated manarune the text inside it says:
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
function onCastSpell(cid, var)
doPlayerAddMana(cid, 26000)
doCreatureSay(cid,"Ahh, Vip manarune rocks!",19)
return doCombat(cid, combat, var)
end
And under: RoXoR Server 8.50 (v0.3) (TFS v0.2.5) GUI\data\spells\scripts\custom
I have a file called Manarune and in that .text file it says:
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
function onCastSpell(cid, var)
doPlayerAddMana(cid, 500)
return doCombat(cid, combat, var)
end
i cant understand why the donated manarune is in healing but even when i but it under custom the rune still dosnt work in game and also when i use the vip manarune in game it gives me ml....
So i need somone to help me with is to make it so when i use the Vip manarune it also give me mana....
It will mean a lot if you can help me or others with this problem and also if you need more infomation please just ask also if you want my msn adress just PM me
I will rep you
Cheers,
Malice