• 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!

Graphical Spell creator

You have spammed three messages in a row.......
Let the guy do what he wants and likes without you crying like a little baby the whole time..

He is done when he feels he is done.
 
Currently in several more busy days of the year (Last few weeks of this school year e.g.) so development is a lot slower now.
 
Currently in several more busy days of the year (Last few weeks of this school year e.g.) so development is a lot slower now.

Neem je tijd man!

Just keep up the amazing work slowly and deal with your school first =)
 
Finally found some time.

Things that have to be done:
- Re-do distance effect parsing the same way areaeffects are done
- Give all area/distance effects a name (a number looks so derpy)
- Functioning offset function

- Fix vocations
- Preferences
- Recent files
- XML generation
- Finishing script generation

Re-done the resources.xml, it's probably done now.
Code:
<?xml version="1.0"?>
<resources>
	<areaeffects>
		<effect id="0" name="Drawblood" scriptctx="CONST_ME_DRAWBLOOD"/>
		<effect id="1" name="Loseenergy" scriptctx="CONST_ME_LOSEENERGY"/>
		<effect id="2" name="Poff" scriptctx="CONST_ME_POFF"/>
		<effect id="3" name="Blockhit" scriptctx="CONST_ME_BLOCKHIT"/>
		<effect id="4" name="Explosionarea" scriptctx="CONST_ME_EXPLOSIONAREA"/>
		<effect id="5" name="Explosionhit" scriptctx="CONST_ME_EXPLOSIONHIT"/>
		<effect id="6" name="Firearea" scriptctx="CONST_ME_FIREAREA"/>
		<effect id="7" name="Yellow rings" scriptctx="CONST_ME_YELLOW_RINGS"/>
		<effect id="8" name="Green rings" scriptctx="CONST_ME_GREEN_RINGS"/>
		<effect id="9" name="Hitarea" scriptctx="CONST_ME_HITAREA"/>
		<effect id="10" name="Teleport" scriptctx="CONST_ME_TELEPORT"/>
		<effect id="11" name="Energyhit" scriptctx="CONST_ME_ENERGYHIT"/>
		<effect id="12" name="Magic blue" scriptctx="CONST_ME_MAGIC_BLUE"/>
		<effect id="13" name="Magic red" scriptctx="CONST_ME_MAGIC_RED"/>
		<effect id="14" name="Magic green" scriptctx="CONST_ME_MAGIC_GREEN"/>
		<effect id="15" name="Hitbyfire" scriptctx="CONST_ME_HITBYFIRE"/>
		<effect id="16" name="Hitbypoison" scriptctx="CONST_ME_HITBYPOISON"/>
		<effect id="17" name="Mortarea" scriptctx="CONST_ME_MORTAREA"/>
		<effect id="18" name="Sound green" scriptctx="CONST_ME_SOUND_GREEN"/>
		<effect id="19" name="Sound red" scriptctx="CONST_ME_SOUND_RED"/>
		<effect id="20" name="Poisonarea" scriptctx="CONST_ME_POISONAREA"/>
		<effect id="21" name="Sound yellow" scriptctx="CONST_ME_SOUND_YELLOW"/>
		<effect id="22" name="Sound purple" scriptctx="CONST_ME_SOUND_PURPLE"/>
		<effect id="23" name="Sound blue" scriptctx="CONST_ME_SOUND_BLUE"/>
		<effect id="24" name="Sound white" scriptctx="CONST_ME_SOUND_WHITE"/>
		<effect id="25" name="Bubbles" scriptctx="CONST_ME_BUBBLES"/>
		<effect id="26" name="Craps" scriptctx="CONST_ME_CRAPS"/>
		<effect id="27" name="Gift wraps" scriptctx="CONST_ME_GIFT_WRAPS"/>
		<effect id="28" name="Firework yellow" scriptctx="CONST_ME_FIREWORK_YELLOW"/>
		<effect id="29" name="Firework red" scriptctx="CONST_ME_FIREWORK_RED"/>
		<effect id="30" name="Firework blue" scriptctx="CONST_ME_FIREWORK_BLUE"/>
		<effect id="31" name="Stun" scriptctx="CONST_ME_STUN"/>
		<effect id="32" name="Sleep" scriptctx="CONST_ME_SLEEP"/>
		<effect id="33" name="Watercreature" scriptctx="CONST_ME_WATERCREATURE"/>
		<effect id="34" name="Groundshaker" scriptctx="CONST_ME_GROUNDSHAKER"/>
		<effect id="35" name="Hearts" scriptctx="CONST_ME_HEARTS"/>
		<effect id="36" name="Fireattack" scriptctx="CONST_ME_FIREATTACK"/>
		<effect id="37" name="Energyarea" scriptctx="CONST_ME_ENERGYAREA"/>
		<effect id="38" name="Smallclouds" scriptctx="CONST_ME_SMALLCLOUDS"/>
		<effect id="39" name="Holydamage" scriptctx="CONST_ME_HOLYDAMAGE"/>
		<effect id="40" name="Bigclouds" scriptctx="CONST_ME_BIGCLOUDS"/>
		<effect id="41" name="Icearea" scriptctx="CONST_ME_ICEAREA"/>
		<effect id="42" name="Icetornado" scriptctx="CONST_ME_ICETORNADO"/>
		<effect id="43" name="Iceattack" scriptctx="CONST_ME_ICEATTACK"/>
		<effect id="44" name="Stones" scriptctx="CONST_ME_STONES"/>
		<effect id="45" name="Smallplants" scriptctx="CONST_ME_SMALLPLANTS"/>
		<effect id="46" name="Carniphila" scriptctx="CONST_ME_CARNIPHILA"/>
		<effect id="47" name="Purpleenergy" scriptctx="CONST_ME_PURPLEENERGY"/>
		<effect id="48" name="Yellowenergy" scriptctx="CONST_ME_YELLOWENERGY"/>
		<effect id="49" name="Holyarea" scriptctx="CONST_ME_HOLYAREA"/>
		<effect id="50" name="Bigplants" scriptctx="CONST_ME_BIGPLANTS"/>
		<effect id="51" name="Cake" scriptctx="CONST_ME_CAKE"/>
		<effect id="52" name="Giantice" scriptctx="CONST_ME_GIANTICE"/>
		<effect id="53" name="Watersplash" scriptctx="CONST_ME_WATERSPLASH"/>
		<effect id="54" name="Plantattack" scriptctx="CONST_ME_PLANTATTACK"/>
		<effect id="55" name="Tutorialarrow" scriptctx="CONST_ME_TUTORIALARROW"/>
		<effect id="56" name="Tutorialsquare" scriptctx="CONST_ME_TUTORIALSQUARE"/>
		<effect id="57" name="Mirrorhorizontal" scriptctx="CONST_ME_MIRRORHORIZONTAL"/>
		<effect id="58" name="Mirrorvertical" scriptctx="CONST_ME_MIRRORVERTICAL"/>
		<effect id="59" name="Skullhorizontal" scriptctx="CONST_ME_SKULLHORIZONTAL"/>
		<effect id="60" name="Skullvertical" scriptctx="CONST_ME_SKULLVERTICAL"/>
		<effect id="61" name="Assassin" scriptctx="CONST_ME_ASSASSIN"/>
		<effect id="62" name="Stepshorizontal" scriptctx="CONST_ME_STEPSHORIZONTAL"/>
		<effect id="63" name="Bloodysteps" scriptctx="CONST_ME_BLOODYSTEPS"/>
		<effect id="64" name="Stepsvertical" scriptctx="CONST_ME_STEPSVERTICAL"/>
		<effect id="65" name="Yalaharighost" scriptctx="CONST_ME_YALAHARIGHOST"/>
		<effect id="66" name="Bats" scriptctx="CONST_ME_BATS"/>
		<effect id="67" name="Smoke" scriptctx="CONST_ME_SMOKE"/>
		<effect id="68" name="Insects" scriptctx="CONST_ME_INSECTS"/>
		<effect id="69" name="Dragonhead" scriptctx="CONST_ME_DRAGONHEAD"/>
		<effect id="70" name="Orcshaman" scriptctx="CONST_ME_ORCSHAMAN"/>
		<effect id="71" name="Orcshaman fire" scriptctx="CONST_ME_ORCSHAMAN_FIRE"/>
	</areaeffects>
	
	<distanceeffects>
		<effect id="0" name="Spear" scriptctx="CONST_ANI_SPEAR"/>
		<effect id="1" name="Bolt" scriptctx="CONST_ANI_BOLT"/>
		<effect id="2" name="Arrow" scriptctx="CONST_ANI_ARROW"/>
		<effect id="3" name="Fire" scriptctx="CONST_ANI_FIRE"/>
		<effect id="4" name="Energy" scriptctx="CONST_ANI_ENERGY"/>
		<effect id="5" name="Poisonarrow" scriptctx="CONST_ANI_POISONARROW"/>
		<effect id="6" name="Burstarrow" scriptctx="CONST_ANI_BURSTARROW"/>
		<effect id="7" name="Throwingstar" scriptctx="CONST_ANI_THROWINGSTAR"/>
		<effect id="8" name="Throwingknife" scriptctx="CONST_ANI_THROWINGKNIFE"/>
		<effect id="9" name="Smallstone" scriptctx="CONST_ANI_SMALLSTONE"/>
		<effect id="10" name="Death" scriptctx="CONST_ANI_DEATH"/>
		<effect id="11" name="Largerock" scriptctx="CONST_ANI_LARGEROCK"/>
		<effect id="12" name="Snowball" scriptctx="CONST_ANI_SNOWBALL"/>
		<effect id="13" name="Powerbolt" scriptctx="CONST_ANI_POWERBOLT"/>
		<effect id="14" name="Poison" scriptctx="CONST_ANI_POISON"/>
		<effect id="15" name="Infernalbolt" scriptctx="CONST_ANI_INFERNALBOLT"/>
		<effect id="16" name="Huntingspear" scriptctx="CONST_ANI_HUNTINGSPEAR"/>
		<effect id="17" name="Enchantedspear" scriptctx="CONST_ANI_ENCHANTEDSPEAR"/>
		<effect id="18" name="Redstar" scriptctx="CONST_ANI_REDSTAR"/>
		<effect id="19" name="Greenstar" scriptctx="CONST_ANI_GREENSTAR"/>
		<effect id="20" name="Royalspear" scriptctx="CONST_ANI_ROYALSPEAR"/>
		<effect id="21" name="Sniperarrow" scriptctx="CONST_ANI_SNIPERARROW"/>
		<effect id="22" name="Onyxarrow" scriptctx="CONST_ANI_ONYXARROW"/>
		<effect id="23" name="Piercingbolt" scriptctx="CONST_ANI_PIERCINGBOLT"/>
		<effect id="24" name="Whirlwindsword" scriptctx="CONST_ANI_WHIRLWINDSWORD"/>
		<effect id="25" name="Whirlwindaxe" scriptctx="CONST_ANI_WHIRLWINDAXE"/>
		<effect id="26" name="Whirlwindclub" scriptctx="CONST_ANI_WHIRLWINDCLUB"/>
		<effect id="27" name="Etherealspear" scriptctx="CONST_ANI_ETHEREALSPEAR"/>
		<effect id="28" name="Ice" scriptctx="CONST_ANI_ICE"/>
		<effect id="29" name="Earth" scriptctx="CONST_ANI_EARTH"/>
		<effect id="30" name="Holy" scriptctx="CONST_ANI_HOLY"/>
		<effect id="31" name="Suddendeath" scriptctx="CONST_ANI_SUDDENDEATH"/>
		<effect id="32" name="Flasharrow" scriptctx="CONST_ANI_FLASHARROW"/>
		<effect id="33" name="Flammingarrow" scriptctx="CONST_ANI_FLAMMINGARROW"/>
		<effect id="34" name="Shiverarrow" scriptctx="CONST_ANI_SHIVERARROW"/>
		<effect id="35" name="Energyball" scriptctx="CONST_ANI_ENERGYBALL"/>
		<effect id="36" name="Smallice" scriptctx="CONST_ANI_SMALLICE"/>
		<effect id="37" name="Smallholy" scriptctx="CONST_ANI_SMALLHOLY"/>
		<effect id="38" name="Smallearth" scriptctx="CONST_ANI_SMALLEARTH"/>
		<effect id="39" name="Eartharrow" scriptctx="CONST_ANI_EARTHARROW"/>
		<effect id="40" name="Explosion" scriptctx="CONST_ANI_EXPLOSION"/>
		<effect id="41" name="Cake" scriptctx="CONST_ANI_CAKE"/>
	</distanceeffects>
	
	<vocations>
		<vocation id="0" defaultChecked="0" name="Rooky"/>
		<vocation id="1" defaultChecked="1" name="Sorcerer"/>
		<vocation id="2" defaultChecked="1" name="Druid"/>
		<vocation id="3" defaultChecked="1" name="Paladin"/>
		<vocation id="4" defaultChecked="1" name="Knight"/>
		<vocation id="5" defaultChecked="1" name="Master Sorcerer"/>
		<vocation id="6" defaultChecked="1" name="Elder Druid"/>
		<vocation id="7" defaultChecked="1" name="Royal Paladin"/>
		<vocation id="8" defaultChecked="1" name="Elite Knight"/>
	</vocations>
</resources>

fo2Hh.png

vrZFL.png



====

Edit:
- Finished offset (aka translate) function.
- Added support for manapercent
- Fixed the single known memory leak.
 
Last edited:
Progress on script generation;
- Mirrored area generator because TFS is acting weird, but it works exactly how it should work now.

Did some real tests in the actual Tibia client now, and every effect/damage related thing works fully.

tepRw.png


X12nF.png


ioptT.jpg


testimg12.gif
 
As you said it, there is no program to make spell scripts easy, so this of course will be really usefull, but please, make a linux version too =(
 
As you said it, there is no program to make spell scripts easy, so this of course will be really usefull, but please, make a linux version too =(
There will not be a linux release. At least not initially, since getting .net to work on -nix isn't straight-forward.

When do you want release it :)?
Once it's working good enough.


Anyway, thanks to Benis I've been able to test custom sprites, those also work flawless.
 
There will not be a linux release. At least not initially, since getting .net to work on -nix isn't straight-forward.


Once it's working good enough.


Anyway, thanks to Benis I've been able to test custom sprites, those also work flawless.

It is working wonderfully indeed! Once things are finished it's going to be wonderful for sure :)
 
Great project! I like it. :)

I am quite familiar with creating games with XNA (C#).

If you want, I can help you out developing this program. :)

Some C# references:
[video=youtube_share;7IyPrQ50-Rs]http://youtu.be/7IyPrQ50-Rs[/video]
demo4.jpg
 
Seems like I'm getting quite close for the 1st release.

XML generation is somewhat done, gotta test it's produced crap tho.
bb2YB.png


Script generation is done fully now for what it has to offer.

Preferences works as well.

My fake to-do-list;

Things that have to be done:
- Re-do distance effect parsing the same way areaeffects are done
- Give all area/distance effects a name (a number looks so derpy)
- Functioning offset function
- Fix vocations
- Preferences

- Recent files
- XML generation
- Finishing script generation

Oh dear.
 
NICE!!! is this including direction spells and selftarget spells?
 
NICE!!! is this including direction spells and selftarget spells?

Yea, it does;
oJn9b.png


Threw in some more tests and everything still seems to work allright, also the xml bit.

Found a tiny issue, but I'll fix that today or so.


Tomorrow probably some kind of release, but no promises.
 
Omg love you bro <3!!!

Nice work looking good and awesome this will come in handy!

Thank you very much :)
 
Back
Top