PDA

View Full Version : Phasing boxes



Gibreficul
11-25-2008, 06:16 PM
Hey, I'm making a script, well I'm modding a script for a sorcerer friend, and I would totally appreciate someone with a sorcerer posting the results of phasing a box successfully, and unsuccessfully. I was going to say, I won't need the results of phasing a magical box, but then glyphs came to mind, so I'll need that too.

Thanks in advance.

Gibreficul

Allereli
11-25-2008, 10:16 PM
Fail:

Voodoo '704 my ches' to 'PREPARE 704', 'CAST AT my ches'.
You begin drawing a faint, twisting symbol while softly intoning the words for Phase...
Your spell is ready.
>
You gesture at a plain monir chest.
The chest becomes momentarily insubstantial but quickly returns to normal.
Cast Roundtime 3 Seconds.


success:

Voodoo '704 kit' to 'PREPARE 704', 'CAST AT kit'.
You begin drawing a faint, twisting symbol while softly intoning the words for Phase...
Your spell is ready.
>
You gesture at a red silk field kit clasped with a void black rune-carved deathstone.
The kit becomes momentarily insubstantial and appears lighter.
Cast Roundtime 3 Seconds.


magic/glyph:

Voodoo '704 my cof' to 'PREPARE 704', 'CAST AT my cof'.
You begin drawing a faint, twisting symbol while softly intoning the words for Phase...
Your spell is ready.
>
You gesture at a badly damaged mithril coffer.
A badly damaged mithril coffer resists the effects of your magic!
Cast Roundtime 3 Seconds.

Abyran'sa
11-25-2008, 10:54 PM
Allereli got the basics above... but there is a distinction between successfully phased LOCKED boxes/items and non locked ones, and that might be worthwhile to note for your script. The non-locked syntax will appear for any single items or weapons that are phased in addition to non locked containers. The difference is when you see the latter, only the weight of the container itself becomes weightless, the weight of the stuff inside still counts as being ‘in this world’.


A locked item gets the following:
You gesture at a mottled brown satchel.
The satchel becomes momentarily insubstantial and appears lighter.

A non-locked item gets the following:
You gesture at a mottled brown satchel.
The satchel becomes somewhat insubstantial and appears lighter.

Do note: I have both strings highlighted differently, as it will indicate if I forgot to properly lock one of my satchels and thus, might have a bunch of unwanted encumbrance.

Sereg’s 45 pound-phasing puppeteer

Swami71
11-25-2008, 11:13 PM
Good stuff Sereg. 45 lbs? Do you have demonology enhancives or is the site wrong.

Allereli
11-25-2008, 11:26 PM
Good stuff Sereg. 45 lbs? Do you have demonology enhancives or is the site wrong.

he has a pretty princess tiara!

Abyran'sa
11-25-2008, 11:44 PM
To phase 45 pounds one only needs 207 ranks of demonology, which I can reach with only 5 extra ranks of enhansives. Sadly, there is no way to reach 46 pounds, because you simply can't get 228 total ranks of demonology :(

AestheticDeath
11-25-2008, 11:59 PM
why not? I thought you could get up to 50 bonus on items?

Swami71
11-26-2008, 12:04 AM
at 207 demonology wouldn't you be able to phase 46 lbs? 2 lbs per tier.

Swami71
11-26-2008, 12:06 AM
he has a pretty princess tiara!

Pretty Tiara? So unlike Sereg with his dead disgusting stuff. What about those bangles from EG this year?

Gibreficul
11-26-2008, 04:16 AM
alright, for those of you lich users, here's what I have so far... The sorcerer that's using it says it tries to phase mithril boxes... I think I have it fixed in the code below... Anywho...



#Sorc phase looter

silence_me

#A couple methods set up to make this script as universal as possible

def box_stash(loot)
fput "look"
disks = matchwait(/(You also see|You notice).*/)
ok = disks.scan(/[A-Z][a-z]+\s+disk|coffin/)
ok.delete(checkname)
while(ok.length > 0 and checkleft)
fput "put #{loot} in " + ok.delete_at(0)
end
(fput "put my " + loot + " in my greatcloak" if checkname =~ /qesto|xenzar/i) if checkleft
(fput "put my " + loot + " in my cloak" unless checkname =~ /qesto|xenzar/i) if checkleft
(fput "put my " + loot + " in my pack" unless checkname =~ /byzkit|droiyan/i) if checkleft
multifput("whi group dropping a box I don't have room for","drop left") if checkleft

end

def rbox_stash(loot)
fput "look"
disks = matchwait(/(You also see|You notice).*/)
ok = disks.scan(/[A-Z][a-z]+\s+disk|coffin/)
while(ok.length > 0 and checkright)
fput "put #{loot} in " + ok.delete_at(0)
end
(fput "put my " + loot + " in my greatcloak" if checkname =~ /qesto|xenzar/i) if checkright
(fput "put my " + loot + " in my cloak" unless checkname =~ /qesto|xenzar/i) if checkright
(fput "put my " + loot + " in my pack" unless checkname =~ /byzkit|droiyan/i) if checkright
multifput("whi group dropping a box I don't have room for","drop right") if checkright
end

loop {
itemname = matchfind "(left|also left|had|carried)\s(a[n]*|some)\s?\s(behind|on\s(her|him|it)(!|.))";
pause_scripts("nelemar","trig")
iarr = itemname.split('\s')
loot = iarr[2][iarr[2].rindex(' ')+1,14]
shield = true if (checkleft =~ /shield|buckler|targe|parma|aegis|scutum|greatshiel d|mantlet|pavis/ and checkright != nil)
openright = true if (checkleft != nil and checkright == nil)

if loot =~ /blouse|plate|shoes?|moss|leg|cloth|bone|iron|muffi n|tart|vest|donut|doughnut|pouch|sack|cloak|pack|b ackpack|tabard|scabbard|leaf|potion|lichen|grass|t rousers|chemise|snood|bonnet|cookie/
respond
respond "Skipping some useless " + loot
respond
elsif loot =~ /box|strongbox|chest|coffer|trunk/
phase_box = false
magic_box = false
if itemname =~ /mithril|enruned/
magic_box = true
else
phase_box = true
end
fput "store shield" if shield == true
fput "get " + loot
if magic_box
fput "put " + loot + " in " + checkname + " disk"
if openright == true
rbox_stash(loot) if checkright != nil
else
box_stash(loot) if checkleft != nil
end
elsif phase_box
multifput("prep 704","cast my #{loot}")
phased = matchwait("becomes momentarily insubstantial and appears lighter\.","resists the effects of your magic!","becomes momentarily insubstantial but quickly returns to normal\.")
if phased =~ /becomes momentarily insubstantial and appears lighter\./
fput "Stow my " + loot
else
if openright == true
rbox_stash(loot) if checkright != nil
else
box_stash(loot) if checkleft != nil
end
end
end
else
fput "store shield" if shield == true
multifput("get #{loot}","stow #{loot}")
fput "ready shield" if shield == true
end
unpause_scripts("nelemar","trig")
}




#The trunk becomes momentarily insubstantial and appears lighter.
#An enruned thanot coffer resists the effects of your magic!
#The satchel becomes momentarily insubstantial but quickly returns to normal







Yay Lich


Gibreficul.

Beguiler
11-26-2008, 10:01 AM
Not meaning to hijack the thread, but could someone explain to me locking containers and phasing and how that all works? I hear bits and pieces, but have never actually gotten the straight skinny on the 'why to do it' and 'how to do it'.

Syri, exposing her ignorance to all..

Gibreficul
11-26-2008, 05:56 PM
The phase spell (704) has multiple purposes. ONe of which is the ability to "phase" locked boxes and containers to make them weightless, which is the use of the spell you are questioning. The amount of weight a sorcerer can phase is related to their demonology lore ranks. So... assume the sorcerer can phase 26 pounds, and they find a 24 pound box that isn't mithril/enruned/glyphed. They can phase it and not suffer any encumbrence penalty from carrying that box, until the phase duration expires. I don't know the specifics, but I believe the phased items still take "space" in the containers they're placed in. (You can't pile 100 phased boxes into a backpack.) Anyway, a lot of sorcerers keep a couple of their containers locked and phased to eliminate, say, the weight of carrying around alchemy supplies and whatnot.

Gibreficul

Abyran'sa
11-28-2008, 03:25 PM
As to Syri's locked question...

If a container is locked, when it is phased the entire weight of the container and its contents become weightless (with a few exceptions). If a container is not locked, when it is phased only the weight of the container itself is negated.

Thus, if you had a 5 pound satchel with 30 pounds of gear in it. If locked, a successful phase would remove all 35 pounds of encumbrance. However, if it was not locked, you would only remove the 5 pounds of actual satchel weight from encumbrance, while the 30 pounds of contents would still slow you down.

The exceptions relate to non-phasable stuff. For example, if you put a heavy quartz orb in a locked satchel and phase it... the weight of the orb is still there for encumbrance.

And Gibreficul is correct in his assertion that phased containers still take up space in cloaks and the such. A phased 40 pound box may not weigh anything for encumbrance purposes, but it still takes up 40 pounds of 'space' in the cloak, backpack that is holding it.

Sereg's puppeteer - who is going through more than just a phase.

Beguiler
11-28-2008, 03:58 PM
Thank you both, I believe I understand a bit better. Must be time to see about getting a couple of containers fitted with locks!

I love how generous people on the PC can be with information.

Gibreficul
11-28-2008, 04:37 PM
If you need stuff locked, Glimmin's site will have a list of lockable nouns, and you can find me on AIM at Lord Gibreficul, and I'll do whatever you need for a relatively modest price, relative to what the asshole overcharging merchant people will charge you. ALSO... I've modified that phasing script to sort gems into a seperate container, and I think I fixed a bug where it didn't recognize mithril/enruned boxes. I'm not sure on the mithril/enruned part, but otherwise, it's working. I also made it release a prepped spell before it's cast if it's not phase, and made it recast phase if armor hindrence prevents the spell.

Thanks to Siphere's player for running the script and letting me know where it screwed up so I could fix it up real nice for all you ungrateful bastards!

Here's what it looks like NOW.


#Sorc phase looter

silence_me
gemdb = [ "jade", "spherine", "egg", "thunderstone", "faenor-bloom", "star ruby", "aetherstone", "agate", "ambergris", "azurite", "beryl", "bloodjewel", "bloodstone", "bluerock", "caederine", "cordierite", "deathstone", "doomstone", "dreamstone", "eostone", "firestone", "galena", "geode", "hyacinth", "onyx", "pyrite", "peridot", "rhimar", "riftshard", "riftstone", "rosepar", "wyrdshard", "spinel", "shard", "faenor", "blazestar", "despanal", "feystone", "diamond", "emerald", "ruby", "pearl", "sapphire", "opal", "jacinth", "garnet", "moonstone", "stone", "topaz", "gem", "coral", "sunstone", "starstone", "quartz", "heliodor", "glimaerstone", "carbuncle", "turquoise", "chalcedony", "tourmaline", "obsidian", "zircon", "amethyst", "lapis lazuli", "amber","lazuli" ]
#A couple methods set up to make this script as universal as possible
def phase_cast_box(loot)
waitrt?
fput("release") unless(checkprep =~ /None|Phase/i)
multifput("prep 704","cast my #{loot}")
phased = matchwait("Spell Hindrance for","becomes momentarily insubstantial and appears lighter\.","resists the effects of your magic!","becomes momentarily insubstantial but quickly returns to normal\.")
if phased =~ /becomes momentarily insubstantial and appears lighter\./
if $openright == true
fput "put my " + loot + " in my pack" if checkright
fput "put my " + loot + " in my tunic" if checkright
fput "put my " + loot + " in my cloak" if checkright
fput "drop my " + loot if checkright
else
fput "store shield" if $shield == true
fput "put my " + loot + " in my pack" if checkleft
fput "put my " + loot + " in my tunic" if checkleft
fput "put my " + loot + " in my cloak" if checkleft
fput "drop my " + loot if checkleft
fput "ready shield" if $shield == true
end
elsif phased =~ /Spell Hindrance for/
phase_cast_box(loot)
else
if openright == true
rbox_stash(loot) if checkright != nil
else
box_stash(loot) if checkleft != nil
end
end
end

def box_stash(loot)
fput "look"
disks = matchwait(/(You also see|You notice).*/)
ok = disks.scan(/[A-Z][a-z]+\s+disk|coffin/)
ok.delete(checkname)
while(ok.length > 0 and checkleft)
fput "put #{loot} in " + ok.delete_at(0)
end
(fput "put my " + loot + " in my pack") if checkleft
(fput "put my " + loot + " in my tunic") if checkleft
(fput "put my " + loot + " in my cloak") if checkleft
multifput("whi group dropping a box I don't have room for","drop left") if checkleft

end

def rbox_stash(loot)
fput "look"
disks = matchwait(/(You also see|You notice).*/)
ok = disks.scan(/[A-Z][a-z]+\s+disk|coffin/)
while(ok.length > 0 and checkright)
fput "put #{loot} in " + ok.delete_at(0)
end
(fput "put my " + loot + " in my pack") if checkright
(fput "put my " + loot + " in my tunic") if checkright
(fput "put my " + loot + " in my cloak") if checkright
multifput("whi group dropping a box I don't have room for","drop right") if checkright
end

loop {
itemname = matchfind "(left|also left|had|carried)\s(a[n]*|some)\s?\s(behind|on\s(her|him|it)(!|.))";
iarr = itemname.split('\s')
loot = iarr[2][iarr[2].rindex(' ')+1,14]
$shield = true if (checkleft =~ /shield|buckler|targe|parma|aegis|scutum|greatshiel d|mantlet|pavis/ and checkright != nil)
$openright = true if (checkleft != nil and checkright == nil)

if loot =~ /blouse|plate|shoes?|moss|leg|cloth|bone|iron|muffi n|tart|vest|donut|doughnut|pouch|sack|cloak|pack|b ackpack|tabard|scabbard|leaf|potion|lichen|grass|t rousers|chemise|snood|bonnet|cookie/
respond
respond "Skipping some useless " + loot
respond
elsif loot =~ /box|strongbox|chest|coffer|trunk/
phase_box = false
magic_box = false
if iarr =~ /mithril|enruned/
magic_box = true
else
phase_box = true
end
fput "store shield" if $shield == true
fput "get " + loot
if magic_box
fput "put " + loot + " in " + checkname + " disk"
if $openright == true
rbox_stash(loot) if checkright != nil
else
box_stash(loot) if checkleft != nil
end
elsif phase_box
phase_cast_box(loot)
end
elsif loot =~ /\b(?:#{gemdb.join('|')})/
fput "store shield" if $shield == true
multifput("get #{loot}","put my #{loot} in my pouch")
fput "ready shield" if $shield == true
else
fput "store shield" if $shield == true
multifput("get #{loot}","put my #{loot} in my pack")
fput "ready shield" if $shield == true
end
}




#The trunk becomes momentarily insubstantial and appears lighter.
#An enruned thanot coffer resists the effects of your magic!
#The satchel becomes momentarily insubstantial but quickly returns to normal




Gibreficul, friend to all sorcerers that aren't whiney bitches. (ducks and runs)