Sabzi
2010-07-25 14:39:29
UPDATED:
Thanks to Troll, this is now in a beta stage. I've personally tested and it's worked for a few loads so far. Currently it only crafts Air runes, but all (or most) runes can be added in only a few lines of code. It doesn't work with the form yet, but if you wish to test it out, this version of MSI can be downloaded here. Be sure to set your player's Scripts[0].Name to SCRIPT_RUNECRAFTER_AIR. The Rune essence also has to be visible in the bank.
What's left to do:
Any testing is greatly appreciated.
Oh, and the experience counting currently doesn't work properly. It counts all runes that were crafted, rather than just the essence used. It will be fixed, so don't worry.
Here is a progress report that I got last night:
Yes, .simba and? :D
So I have started working on runecrafting. I have been planning it more than writing so not much progress done(in code), but I am still figuring out MSI. I have to admit some over-nine-thousand-dimensional-arrays are confusing :p, but I get it mostly(like 87,31% +/- 10%).
I don't like working with something a can't fully understand.
I have tested this 2 object record at every f2p altar and they are working well:
I will test them more of course, but my question is: if they are really the same is it okay to have only one record for the altars? (1 for outer, 1 for inner)
Portal colors are different …(maybe some of them are similar, but I have only tested the record in the air temple)
Things that I have stumbled upon:
Please note that names I use in the thread are only for this thread.(inner altar and things like that)
Thanks to Troll, this is now in a beta stage. I've personally tested and it's worked for a few loads so far. Currently it only crafts Air runes, but all (or most) runes can be added in only a few lines of code. It doesn't work with the form yet, but if you wish to test it out, this version of MSI can be downloaded here. Be sure to set your player's Scripts[0].Name to SCRIPT_RUNECRAFTER_AIR. The Rune essence also has to be visible in the bank.
What's left to do:
Withdraw tiara from bank if not found on playerFix experience calculationAdd the rest of RCing locations (P2P I need an account)AirEarthMindBodyFireWater
Any testing is greatly appreciated.
Oh, and the experience counting currently doesn't work properly. It counts all runes that were crafted, rather than just the essence used. It will be fixed, so don't worry.
Here is a progress report that I got last night:
{----------------------------------------------------------------}
{ MSI Phoenix Player Report }
{----------------------------------------------------------------}
{ Time Running: 51 Minutes and 29 Seconds }
{----------------------------------------------------------------}
{ }
{ Player 0: }
{ Location: Varrock West Bank }
{ Time: 48m 34s }
{ Active: False }
{ Reason: Ran out of supplies }
{ }
{ Script: Air Runecrafter }
{ Time: 48m 34s }
{ Skill: Runecrafting }
{ Exp: 8,305 }
{ Level: 23 }
{ Loads: 23 }
{ Item: Air rune }
{ Amount: 1,661 }
{ }
{----------------------------------------------------------------}
{----------------------------------------------------------------}
{----------------------------------------------------------------}
{ MSI Phoenix Player Report }
{----------------------------------------------------------------}
{ Time Running: 8 Minutes and 18 Seconds }
{----------------------------------------------------------------}
{ }
{ Player 0: }
{ Location: Varrock East Bank }
{ Time: 07m 27s }
{ Active: True }
{ }
{ Script: Earth Runecrafter }
{ Time: 07m 27s }
{ Skill: Runecrafting }
{ Exp: 864 }
{ Level: 25 }
{ Loads: 3 }
{ Item: Earth rune }
{ Amount: 133 }
{ }
{----------------------------------------------------------------}
{----------------------------------------------------------------}__________________________________________So I have started working on runecrafting. I have been planning it more than writing so not much progress done(in code), but I am still figuring out MSI. I have to admit some over-nine-thousand-dimensional-arrays are confusing :p, but I get it mostly(like 87,31% +/- 10%).
I don't like working with something a can't fully understand.
The outer altar(which you click to get into the temple) seems to be the same for them(not the glowing color).The symbols on the inner altars(which you click to craft runes) also seems to have the same color.
Portal colors are different …(maybe some of them are similar, but I have only tested the record in the air temple)
Things that I have stumbled upon:
There's no really worst/best tool for rc you can wear tiaras for +1 inventory slot. (MSI_SetupPlayer)Runes are stackable and you have to count those, as far as I can see MSI_CountItems not counting stackables(correct me if I'm wrong), but a simple if/case should be enough depending if the item is stackable or not.Experience <> runes made. We will have to divide the runes based on the player's rc lvl then multiple by xp.(MSI_CountItems ?)No, not really, read posts below.You have to use the bank to withdraw your essence not only depositing. I was thinking making the essence as a tool but that's really a bad idea, imo.(MSI_BankMaterials)Runes should be the AssociatedItems for the inner altar object? Because then we have to have the same object record for each altar only with different AssociatedItems for each one(air rune, fire rune, etc).
Please note that names I use in the thread are only for this thread.(inner altar and things like that)