Are you excited to try out this system?

Yes!

No

I am about to become homeless.. well in 24 days I will be homeless so I have no need for my ot server code. I was going to launch an ot server but that is a lot of work. Although I was almost done with the project, it still requires a lot more time to finish than I have.

But in reality I need to find a real job so with that said. I am releasing this system I made some time last year.

If you follow the instructions you shouldn't have any issues with getting it to work.

Guide
This guide will help you install and create the necessary files needed to run Magical Items.
If you follow this guide step by step you shouldn't have any problems, this system is written entirely in lua & the TFS framework, no source editing is required.

A little bit about Magical Items:
Magical Items by @Codex NG, is a tiered based system for all items which can be equipped to a player.
These items can have all sorts of conditions applied to them, they can also be transformed from one item to another.
This system allows you to set and stack damage types for both attack and defense.
You can also assign existing spells which are not normally meant for that vocation at different tiers that a player can use temporarily or forever.

An example of this system:

Code (Text):

17:03 You see a backpack (Vol:20).

It weighs 150.60 oz.

Wearing this backpack will grant the bearer these attributes [Axe:20] in stats.

Damage Reduction [Fire: +9] [Physical: +9]

In addition to everything listed above, Magical Items has been assigned an auto heal script which determines the type of damage a player takes and uses the appropriate potion (health / mana) regardless of level or vocation requirement.

When a player logins they will receive a msg some thing similar to this:

Code (Text):

17:03 Your autoheal is not active, the warning msg is on, has not been set, it is at its default of 50%, for more info type /autoheal help.

To see exactly what autoheal does type the command /autoheal help
Which should look like this:

Code (Text):

17:07 To see the status autoheal type:

17:07 /autoheal status

17:07 To turn on autoheal type:

17:07 /autoheal on

17:07 To turn off autoheal type:

17:07 /autoheal off

17:07 To toggle the warning message you get when out of potions type:

17:07 /autoheal warning toggle

17:07 To change the percentage of healing type:

17:07 /autoheal n

17:07 Where n is a number, the number must be between 1 - 100.

17:07 If the number is the same, less than 1 or greater than 100, then no change will take place.

The execution per heal will show an emote at what percentage you are healing and a message in the console will tell you what potions you are using.
When a player runs out of potions of the required type an emote warning is executed, this warning can be toggled off.

run_first.lua
This file creates a file called items.lua and must be run 1st, it parses your items.xml file.
If you have custom items with different names or properties such as a shield which you made into a helmet it will read that shield as a helmet.

items.lua
This is the base file you want to edit to add or remove items you won't be using with this system.
The next two files parse the information which is retained in items.lua.

run_second.lua
This file parses the items.lua file and generates a file called magical_items.lua and should be run 2nd

run_third.lua
This file also parses the items.lua file and creates a file called magical_items.xml

magical_items_lib.lua
This is the library which contains all the code needed to run the magical items system.

Step 3magicItems_creaturescript.lua
Place this file in data/creaturescripts/scripts/

Step 6
Open up the magical_items.xml which was created in data/items/ and then open up your movements.xml in data/movements/

Copy the entries in magical_items.xml and replace the existing onEquip/DeEquip entries in movements.xml

Next place the magical_items_movements.lua in your data/movement/scripts/ directory.

Step 7
Go to data/talkactions and open talkactions.xml and place this in there.

HTML:

<talkaction words="/autoheal" separator=" " script="autoHeal.lua"/>

Next go to data/talkactions/scripts and drop autoheal.lua in there

Step 8

Editing

magical_items.lua
This file will contain all of items which will be used with this system.

On server startup all the items in this file will be set with a default of tier 1 with no conditions associated with them.
It will be your job to use the methods in the magical items library to set the different attributes to your equipment in this file.

Please note all methods are procedural, also you can not (or shouldn't) stack the same condition on top of another.

Example:

Code (Lua):

[B][/B]

-- sets the item ancient tiara to tier 1 at slot 1

-- x:setTier(slot, item name, tier)

x:setTier(1,'ancient tiara',1)

-- everything below will be a tier 1 value until it reaches another set tier

I paid for this system, and i havent given him any permission to release it.

Click to expand...

I did not exclusively write this system for you, you do not own the rights to it.
So I do not need your permission as I can do what I like with it.
I wrote it for me, what sane person would spend an entire month writing and re-writing a library for $100?
I have already explain this to you on numerous occasions.

I did not exclusively write this system for you, you do not own the rights to it.
So I do not need your permission as I can do what I like with it.
I wrote it for me, what sane person would spend an entire month writing and re-writing a library for $100?
I have already explain this to you on numerous occasions.

Click to expand...

100$? You got more than 150$ when we stablished 100$ for that system. And now you did it for yourself? REALLY?
At least karma seems to work.

Actually yeah, you are right. I thought it was more. I paid exactly 101$ to you. 60$ in advance. (Just checked paypal)
So i paid you to work in something for yourself? Why would i pay if i could get it for free?

So i paid you to work in something for yourself? Why would i pay if i could get it for free?

Click to expand...

Because you have a difficult time understanding verbal or written English, I explained this to you on several occasions that I would either use this for my project, resell it or make it public.

I don't know what the goal of your posting here is, I never pointed out in this thread or its sources that this system was made for your server.
You have your own self to blame for this admission, especially when its not 100% accurate.

My goal was to let the community know something about you that they seem to know already.

But i will not get to your level and i will just live with it. Its a good system!

Click to expand...

If you didn't state when buying that this script is exclusively made for you, and cannot be shared anywhere, then he is right. You bought the script, but he is free to do whatever he likes with it, even share it for free (which I don't support, because it's just not fair for the one who bought it, but that's his desire.).

I don't know what happened to the original movements scripts because this does not look like it.. I would have to look it over which i really don't have the time for but here is link to the github which @Peonso forked.peonso/Magical-Items-1.2-3-Otx3