UPDATE:
I'm not gonna continue on this project of mine. So leave a PM if you want the source code.
I've updated it since v0.1a with some tweaks and improvements but i just dont have the time to continue this anymore.
Old Post:
ItemCraft v0.1a by Rasmus 'Tempest' Jorgensen
Content
- Introduction
- Concept
- Proof of Concept
1. Introduction
Hello Ownedcore community, my name is Tempest.
The chance that some of you proberly know me because
i either asked for help or released commands for ArcEmu.
Anyhow, i've been working with world of warcraft emulation for alot of years now, lets just say i've been focusing on ArcEmu/Ascent/Antrix -Whatever.
One day, along time ago. I made a thread asking about if someone
could make the idea i had in my head for me. I didn't have much skill in scripting back then,
and didn't know alot of php.
After less than a day, Hellgawd replied to my thread, saying that he would give it a try.
And i should give him two days... He never finished nor answered my private messages.
Which was fine, if he didn't want to make the script for me, then be it... I couldn't force him to do it.
After some days, i began to start lua scripting, and i found big interest in the language even though, it can be a pain in the **** sometimes. "You just have to be creative..."
I moved the idea, from being a php script that would run on a website, to lua.
The script got bigger and bigger, and when i was glad with my result, the length were about 2679 lines. <-- Two days, yes i had alot of free time that period.
This script is not nearly done and i have many plans for it in the future.
i'm working on it everyday, and i will not stop work on it before its a fully functionel & user-friendly script.
2. Concept
The concept about the whole idea is that, players can talk to an npc in the game.
A gossip menu will then be executed where the players can either choose
to create a Melee Weapon, Ranged Weapon, Armor, Relic/Sigil/Totem/Libram, Bag.
They will then be shown another menu, where they can type in the name, what quality, what stat and value of it, is it a two-handed axe, or a one-handed sword, or either a fist weapon.
Do they wanna have a quote on it say "I'm leet, and i'm gonna WTFpwn you nub". Then be it, but the concept is that, they could make the item directly from ingame and then add it with a custom command just after.
I also made a permission script, so only the player who were the creator of item would have the ability to add it to themself.
Also a script that would show a list of avaliable items along with the entry id. If the player forgot what entry of his items were.
This script, doesnt have local variables nor global. This would conflict with each other and would be viable. I used tables instead.
I think you got my idea. If not, you can see some pictures below for proof of concept. Remember, this is a early version of the script.
3. Proof of Concept
Melee Weapon "I wanna create a melee weapon"
Name: "Choosing a name..."
Stat: "Hmm, it need stats too..."
Stat Type: "What type of stat should it be?"
Stat Value: "The value of the stat... L33t Number"
Damage: "No damage no weapon... Lets set the damage"
Sheath: "The sheath? On my back of cuz!"
Display: "I liek thunderfury"
Type: "I pick sword..."
Entry: "Yeaaah, it needs that toooo"
Equip: "One-Handed...."
Level Requirement: "Required level? Pssssh. I'm a level 1 twink"
Quality: "Yeah, its of cuz a Artifact.... Most OP badass web evar"
IMPORTING: "WOOOT I GOT A WEAPOOOOON...."
#items - Shows a list of avaliable items for the player
#additem <entry> - Adds the item if the player has the permission for it.
FINAL RESULT: