• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OpenTibia SpellCreator: A graphical spell creation enviroment

Oh dude...dot another problem^^

I make such a spell:

j9bs4k.png


And all i get is this:

1ru49y.png


what is wrong? I already clsoed and opened the creator again but nothin happened :(

Seems like you offset the spell.
 
i think i cna speak for ever when i say, Yoshi, have you created the best tool ever. Spells was always the hardest thing for me and my friend but now itll be a delight. ive made my first one and had a smile on my face the whole time, easy to use and wonderful! I wish i could give you more rep then i already have. haha
g5ECM.gif
 
would their be a way to make the spells for a third promotion though editor? or just change it in the script.
 
woops, can't fucking damn edit posts...

not settings.ini, it's resources.xml
 
It's giving me errors when I try to implement the spell to server, using 9.44 TFS server,
 
Can you post the script too so I can see where the problem is?
 
Can you post the script too so I can see where the problem is?

Code:
setCombatParam(combat25_NewItem70405, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatArea(combat25_NewItem70405,createCombatArea({{1, 1, 1, 1, 1, 1, 1},
{0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 2, 0, 0, 0}}))
function getDmg_NewItem70405(cid, level, maglevel)
	return (10)*-1,(20)*-1 
end
setCombatCallback(combat25_NewItem70405, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_NewItem70405")

-- Areas/Combat for 2900ms
local combat29_NewItem70405 = createCombatObject()
setCombatParam(combat29_NewItem70405, COMBAT_PARAM_EFFECT, CONST_ME_FIREWORK_BLUE)
setCombatParam(combat29_NewItem70405, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_REDSTAR)
setCombatParam(combat29_NewItem70405, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatArea(combat29_NewItem70405,createCombatArea({{1, 1, 1, 1, 1, 1, 1, 1, 1},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 2, 0, 0, 0, 0}}))
function getDmg_NewItem70405(cid, level, maglevel)
	return (10)*-1,(20)*-1 
end
setCombatCallback(combat29_NewItem70405, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_NewItem70405")

-- Areas/Combat for 3300ms
local combat33_NewItem70405 = createCombatObject()
setCombatParam(combat33_NewItem70405, COMBAT_PARAM_EFFECT, CONST_ME_FIREWORK_BLUE)
setCombatParam(combat33_NewItem70405, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_REDSTAR)
setCombatParam(combat33_NewItem70405, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatArea(combat33_NewItem70405,createCombatArea({{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0}}))
function getDmg_NewItem70405(cid, level, maglevel)
	return (10)*-1,(20)*-1 
end
setCombatCallback(combat33_NewItem70405, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_NewItem70405")

-- Areas/Combat for 3700ms
local combat37_NewItem70405 = createCombatObject()
setCombatParam(combat37_NewItem70405, COMBAT_PARAM_EFFECT, CONST_ME_FIREWORK_BLUE)
setCombatParam(combat37_NewItem70405, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_REDSTAR)
setCombatParam(combat37_NewItem70405, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatArea(combat37_NewItem70405,createCombatArea({{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0}}))
function getDmg_NewItem70405(cid, level, maglevel)
	return (10)*-1,(20)*-1 
end
setCombatCallback(combat37_NewItem70405, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_NewItem70405")

-- =============== CORE FUNCTIONS ===============
function RunPart(c,cid,var) -- Part
	if (isCreature(cid)) then
		doCombat(cid, c, var)
	end
end

function onCastSpell(cid, var)
	RunPart(combat0_NewItem70405,cid,var)
	addEvent(RunPart,1700,combat17_NewItem70405,cid,var)
	addEvent(RunPart,1200,combat12_NewItem70405,cid,var)
	addEvent(RunPart,600,combat6_NewItem70405,cid,var)
	addEvent(RunPart,2200,combat22_NewItem70405,cid,var)
	addEvent(RunPart,2500,combat25_NewItem70405,cid,var)
	addEvent(RunPart,2900,combat29_NewItem70405,cid,var)
	addEvent(RunPart,3300,combat33_NewItem70405,cid,var)
	addEvent(RunPart,3700,combat37_NewItem70405,cid,var)
	return true
end
 
It looks like you didn't copy the entire script from the program, it looks like it's missing half of the script.
 
It looks like you didn't copy the entire script from the program, it looks like it's missing half of the script.

;/

it was missing some parts after you put it to attention, dont know why it didnt copy it since i did ctrl + a to select all ;/
 
how i can make it work so monsters can deal dmg with spell also? now it heals player it shoots on
 
Back
Top