Post new topic Reply to topic

Page 4 of 6
Go to page Previous  1, 2, 3, 4, 5, 6  Next

Topic

Jamie Marchant

Joined: 11 Jan 2011

Posts: 971

Location: Ontario, Canada

Reply with quote

Post Posted: Sun Apr 29, 2012 10:30 pm — Post subject:

Here is a script to get you to the fun house more easily. I'm new to Plasma and Python, so bar with me if it's a bit "rough":

Code:


# this script will take you too the fun house.
from Plasma import *
import Plasma
import SDL
import math
def toTFH():
   Plasma.PtConsole("Net.LinkToAgeInstance Neighborhood 90938281-2c92-4e16-b959-85fce306f00c")

Lyrositor

Joined: 08 Aug 2010

Posts: 689

Location: Relto, Sea of Mist

Reply with quote

Post Posted: Sun Apr 29, 2012 10:53 pm — Post subject:

That should work indeed, but you're doing superfluous imports:
1. from Plasma import * will import all functions from the Plasma module, without having to prepend "Plasma." to each function. Since you're using the Plasma.XXXX form, you only need import Plasma.
2. Why do you need to import math?


_________________
Lyrositor
Explorer #16601888
Unless otherwise stated, opinions are mine only and not Guild endorsed.

Jamie Marchant

Joined: 11 Jan 2011

Posts: 971

Location: Ontario, Canada

Reply with quote

Post Posted: Sun Apr 29, 2012 11:21 pm — Post subject:

I used the imports and the "from line" from one of the other scrips for I did not know what "header" commands I needed to get the scrip to work, math was one of them and I though it might be a dependency for Plasma.

Lyrositor

Joined: 08 Aug 2010

Posts: 689

Location: Relto, Sea of Mist

Reply with quote

Post Posted: Sun Apr 29, 2012 11:28 pm — Post subject:

Headers are not like imports. Very Happy
Math was used for Pi, if I recall correctly, in one of the scripts. If Plasma needs Math, it'll include it itself automatically.


_________________
Lyrositor
Explorer #16601888
Unless otherwise stated, opinions are mine only and not Guild endorsed.

Jamie Marchant

Joined: 11 Jan 2011

Posts: 971

Location: Ontario, Canada

Reply with quote

Post Posted: Mon Apr 30, 2012 12:35 am — Post subject:

Uh... understood. Now I have learned something about Python.

Jamie Marchant

Joined: 11 Jan 2011

Posts: 971

Location: Ontario, Canada

Reply with quote

Post Posted: Tue May 01, 2012 8:02 pm — Post subject:

I thought of another "Gray Hat" question that I should have asked at the meting, how do I turn myself into a Boroh? (again only to be used in The Fun House).

Lyrositor

Joined: 08 Aug 2010

Posts: 689

Location: Relto, Sea of Mist

Reply with quote

Post Posted: Tue May 01, 2012 8:55 pm — Post subject:

Shocked
Uh...
/me prepares witty response dripping with fabricated wisdom.
You extrapolate the vertices from any given subset of a bit-conglomerate and re-engineer the particles to track splines of the avatar entities. Cool How obvious.


_________________
Lyrositor
Explorer #16601888
Unless otherwise stated, opinions are mine only and not Guild endorsed.

Jamie Marchant

Joined: 11 Jan 2011

Posts: 971

Location: Ontario, Canada

Reply with quote

Post Posted: Tue May 01, 2012 9:00 pm — Post subject:

Wow! if only everything was that simple Smile, in other words you don't know. LOL

Lyrositor

Joined: 08 Aug 2010

Posts: 689

Location: Relto, Sea of Mist

Reply with quote

Post Posted: Tue May 01, 2012 9:07 pm — Post subject:

A grey-hatted fellow left me this mysterious note just now, though:

Code:

Avatar.Clothing.ChangeAvatar

I don't see any point to it. I don't understand what it does neither. Maybe you can make more sense out of it, though? Wink


_________________
Lyrositor
Explorer #16601888
Unless otherwise stated, opinions are mine only and not Guild endorsed.

Jamie Marchant

Joined: 11 Jan 2011

Posts: 971

Location: Ontario, Canada

Reply with quote

Post Posted: Tue May 01, 2012 10:42 pm — Post subject:

I thought of that but must have misspelled Barrouh! I will try that sometime.

Deledrius

Joined: 09 May 2006

Posts: 855

Location: Jurupa Valley, CA USA

Reply with quote

Post Posted: Tue May 01, 2012 11:27 pm — Post subject:

Jamie Marchant wrote:

I thought of that but must have misspelled Barrouh!


You've already spelled it two ways at least in this thread. Wink


_________________
MOULa KI #23298
MOUL KI #35129
D'mala KI #74265
Gehn KI #10113

Nev'yn

Joined: 15 Nov 2011

Posts: 227

Location: Tampa Bay, FL

Reply with quote

Post Posted: Wed May 02, 2012 12:46 am — Post subject:

Umm...As I know AE & Doobes will get a kick out of this:

Idea Have you tried simply, "Reversing the polarity?" Surprised


_________________
KI# 14883206 | "The truth speaks for itself, I am just the messenger." -Lyta Alexander

(Nevyn's Note: Any comments or opinions, taken whole or in part, are mine and do not reflect the stance of GoMe.)

Jamie Marchant

Joined: 11 Jan 2011

Posts: 971

Location: Ontario, Canada

Reply with quote

Post Posted: Wed May 02, 2012 1:00 am — Post subject:

I tried that but then I got a warp core overload and had 2 minutes to shutdown the core and I did it in the last 20 seconds Wink :LOL:

DLordofTime

Joined: 08 Oct 2011

Posts: 1007

Reply with quote

Post Posted: Wed May 02, 2012 3:48 pm — Post subject:

Bahro


_________________
KI: 17967159

Jamie Marchant

Joined: 11 Jan 2011

Posts: 971

Location: Ontario, Canada

Reply with quote

Post Posted: Wed May 02, 2012 5:08 pm — Post subject:

Thanks!

All times are GMT

Jump to:

Post new topic Reply to topic

Page 4 of 6
Go to page Previous  1, 2, 3, 4, 5, 6  Next

You can…

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum