• 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

What do you think of this?
bKL6Em.gif

A whole bunch of lag in my server.
 
You can insert that function under addEvent at a specific timespan as you could choose in the program.
You just need to program it so it recognizes the location of the square of the target animation destination.

I know, it's just a bit annoying that it has to be done like that.
However, I got a way in my mind that will allow support for 'real' distance effects on another way.

I'll add this sometime, it'll take some time (Especially directional spells and rendering in-editor is time consuming).

It will come :).
 
Since I can't edit I'll just double post;

An update has been released (only .exe has to be replaced).
Redownload from opening post.

Changes:
- Fixed Lua error once you logout while casting a spell
- Fixed save/load of timeMax
- Changed tab order of preferences/brush edit windows
- Changed exception handler a bit
- Added a way to select spr/dat from another folder, easily
- Changed default thumbnails
- Some stuff I forgot =3.
 
I never said that.

isCreature ... also detects monsters, so no, you won't.

Sorry for the lack of thinking ;)

Since I can't edit I'll just double post;

An update has been released (only .exe has to be replaced).
Redownload from opening post.

Changes:
- Fixed Lua error once you logout while casting a spell
- Fixed save/load of timeMax
- Changed tab order of preferences/brush edit windows
- Changed exception handler a bit
- Added a way to select spr/dat from another folder, easily
- Changed default thumbnails
- Some stuff I forgot =3.

Great work! Not only did you create an awesome spell maker but your support for it is astounding :D

Red
 
Coming soon(?)...

testimg19.gif


Gotta find a way to increase frame count without severely increasing the file size tho :p.
 
Gotta find a way to increase frame count without severely increasing the file size tho :p.
Gimp optimizes gif using transparent color.
 
love it hehe
One thing I don't understand tho is how to use distance effects
it seems to only show the area effect and not distance one
 
love it hehe
One thing I don't understand tho is how to use distance effects
it seems to only show the area effect and not distance one

You clearly don't understand what the distance effect does;
The distance effect gets casted towards the target (the point where the player is). Whenever you target a monster or so, and cast a spell on it where the RequireTarget param is checked, you'll see a distance effect floating towards your selected target (the center position). You'll also see this effect if you walk away after casting the spell and another sub-effect (later on the timeline) takes place.

As seen in the preview (http://otland.net/f19/spellcreator-...ion-enviroment-160371/index9.html#post1545138) support for the kind of distance effects you want is being added someday.
 
You can now increase the fps programatically now.
This allows "smoother" distance effects.

Xtejm.png


20 fps; increased compression;
testimg20.gif
 
Dammit, keep forgetting that you cannot edit posts here, so frustrating...
Here is all the information that was under the "Details" button.

Code:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: value
   at System.Windows.Forms.ImageList.ImageCollection.Add(Image value)
   at  .[T](Dictionary`2 , String , String , Form )
   at .(Object , EventArgs )
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SpellCreator
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Evan's%20Computer/Desktop/SpellCreator/SpellCreator.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5458 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
Code:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: value
   at System.Windows.Forms.ImageList.ImageCollection.Add(Image value)
   at  .[T](Dictionary`2 , String , String , Form )
   at .(Object , EventArgs )
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SpellCreator
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Evan's%20Computer/Desktop/SpellCreator/SpellCreator.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5458 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

What spr/dat do you use? DID it work before the update with the same spr/dat?
Try to clean the resources.xml file too (area/distance effects cleaned).
 
I tested the first update you made i couldnt open the area effect with my spr & dat = pokexgames!
But your first release it worked 100%
 
What spr/dat do you use? DID it work before the update with the same spr/dat?
Try to clean the resources.xml file too (area/distance effects cleaned).

First I used 9.44, then when I updated the program, I used 9.53, but it didn't seem to be working, so I changed it back to 9.44.
I replaced the resources.xml with a brand-new fresh downloaded one, still the same issue.
 
yh same as evan, area affects bugs on 9.53 spr. This is why i said it would be better to manually add custom sprites and for the download to consist of the spell sprites as you originally intended.
 
Found the issue, didn't happen on older spr/dats it seems. I have to remove some of the new stuff first, then I'll release a fix.
 
Working like charm!

Now i can open the area effects!

But still one question: should it be like this that i cant see the dist effect when i put them?
 
Back
Top Bottom