And now here is the REAL shiny - realXtend joins OpenSim - Page 7 - SLUniverse Forums
 
Navigation » SLUniverse Forums > Community Discussion > Other Grids / Virtual Worlds » And now here is the REAL shiny - realXtend joins OpenSim


Other Grids / Virtual Worlds Discuss other grids, services, and virtual worlds.

Sponsor:
Azure Islands
Reply
 
LinkBack (6) Thread Tools Display Modes
Old 05-06-2009, 07:49 AM   #151 (permalink)
witly verbiage hear

SLU Supporter
 
Vivianne Draper's Avatar
 
Join Date: Jun 2007
Location: DC Area
Posts: 4,540
My Mood:
SLShopper Ads: 2
SL Join Date: September 11, 2005
Blog Entries: 1
i'm just so dissapointed that this isn't about a male enhancement product
__________________
~~~~~



Vivianne Draper is offline   Reply With Quote
1 User Laughed:
Old 05-06-2009, 12:33 PM   #152 (permalink)
Junior Member
 
Join Date: May 2009
Posts: 11
My Mood:
Quote:
Originally Posted by CaleVinson View Post
I haven't followed realXtend developments recently, so the following applies only to version 0.3.

I just tested it on my PC. Rezzed a cube, edited it, and hit the "reX" tab. The "Extended properties" check box is definitely there:

Hi
Thanks a lot for the infromation but i am using realxtend0.4 version.I installed 0.3 version but the problem is that i have rexserverblankwithassets0.4.when i try to run it with realXtendviewer 0.3.I find my user in sea and there i cant do anything.I tried to search rexserverblankwithassets0.3 from internet but couldn't succeed.Is it compatibity problem or something else and if contiue work on 0.4version for viewer then how can i run python there.
shaimush is offline   Reply With Quote
Old 05-06-2009, 11:21 PM   #153 (permalink)
Hypersonic Absolutist
 
CaleVinson's Avatar
Fully Zeno certified
 
Join Date: Aug 2007
Posts: 1,506
Quote:
Originally Posted by shaimush View Post
Hi
Thanks a lot for the infromation but i am using realxtend0.4 version.I installed 0.3 version but the problem is that i have rexserverblankwithassets0.4.when i try to run it with realXtendviewer 0.3.I find my user in sea and there i cant do anything.I tried to search rexserverblankwithassets0.3 from internet but couldn't succeed.Is it compatibity problem or something else and if contiue work on 0.4version for viewer then how can i run python there.
Sorry Shaimush, there's nothing else I can tell you - as I said, my last experience with realXtend was v0.3.
CaleVinson is offline   Reply With Quote
Old 05-07-2009, 02:30 AM   #154 (permalink)
Junior Member
 
Join Date: May 2009
Posts: 11
My Mood:
Quote:
Originally Posted by CaleVinson View Post
Sorry Shaimush, there's nothing else I can tell you - as I said, my last experience with realXtend was v0.3.
Hi Thanks for reply,can you please tell me were you using Rexblankserverwithassets ?so which version of server you were using and from which website you got it
shaimush is offline   Reply With Quote
Old 05-07-2009, 03:36 AM   #155 (permalink)
Hypersonic Absolutist
 
CaleVinson's Avatar
Fully Zeno certified
 
Join Date: Aug 2007
Posts: 1,506
Quote:
Originally Posted by shaimush View Post
Hi Thanks for reply,can you please tell me were you using Rexblankserverwithassets ?so which version of server you were using and from which website you got it
I had a fresh install of v0.3, for both client and server. At the time, v0.3 was the version available from the realXtend website.
CaleVinson is offline   Reply With Quote
Old 05-07-2009, 03:56 AM   #156 (permalink)
Account Closed
Unedited
 
Join Date: Jun 2007
Posts: 33,567
My Mood:
You might have better luck contacting realXtend directly for support, as no one from their company posts here.

realXtend

Sorry I can't help you further, I have never tried to do anything with python in realXtend.
Joshua Nightshade is offline   Reply With Quote
Old 05-08-2009, 07:18 AM   #157 (permalink)
Junior Member
 
Join Date: May 2009
Posts: 11
My Mood:
Quote:
Originally Posted by CaleVinson View Post
I had a fresh install of v0.3, for both client and server. At the time, v0.3 was the version available from the realXtend website.
Hi guys thanks a lot for your replies.I transferred my REalXTendviewer 0.4 and server to another computer and there the python code is working actually at the beginning the edit the python file with notepad this can be problem.Now i dont know how to create a new file in python and how can we edit the existing files.
shaimush is offline   Reply With Quote
Old 05-08-2009, 10:15 AM   #158 (permalink)
Hypersonic Absolutist
 
CaleVinson's Avatar
Fully Zeno certified
 
Join Date: Aug 2007
Posts: 1,506
Quote:
Originally Posted by shaimush View Post
Hi guys thanks a lot for your replies.I transferred my REalXTendviewer 0.4 and server to another computer and there the python code is working actually at the beginning the edit the python file with notepad this can be problem.Now i dont know how to create a new file in python and how can we edit the existing files.

I confirmed the following in a fresh install of realXtend v0.4.

1) Navigate to <your_server_dir>/rexserver/ScriptEngine/PythonScript

(You should see directories "ChambersOfIkuturso", "RXCore", and "Samples".

2) Create a new directory, I called mine "Cale".

3) In "Cale" create a new file, "__init__.py", containing the single line "import touch_test".

4) In "Cale", create a new file "touch_test.py", containing the following code:

Code:
import rxactor
import sys
import clr
print "file touch_test.py loaded!"

asm = clr.LoadAssemblyByName('OpenSim.Region.ScriptEngine.Common')

class TouchHandler(rxactor.Actor):

    def GetScriptClassName():
        return "touch_test.TouchHandler"

    def EventTouch(self, toucher):
        self.llShout(0,"Help, Cale is molesting me!")

    def EventCreated(self):
        super(self.__class__,self).EventCreated()
        print "class touch_test.TouchHandler created"
5) Run the rex server and client. Check the server console, and make sure the two print statements above have executed.

6) Create and edit a cube. Hit the "reX" tab, and then the "Misc" sub-tab. In the Class Name box enter "touch_test.TouchHandler". Exit edit mode.

7) The cube now shouts a message every time you touch it:



8) Look in the "Samples" directory for more python examples.
CaleVinson is offline   Reply With Quote
Old 05-08-2009, 10:41 AM   #159 (permalink)
Junior Member
 
Join Date: May 2009
Posts: 11
My Mood:
Quote:
Originally Posted by CaleVinson View Post
I confirmed the following in a fresh install of realXtend v0.4.

1) Navigate to <your_server_dir>/rexserver/ScriptEngine/PythonScript

(You should see directories "ChambersOfIkuturso", "RXCore", and "Samples".

2) Create a new directory, I called mine "Cale".

3) In "Cale" create a new file, "__init__.py", containing the single line "import touch_test".

4) In "Cale", create a new file "touch_test.py", containing the following code:

Code:
import rxactor
import sys
import clr
print "file touch_test.py loaded!"

asm = clr.LoadAssemblyByName('OpenSim.Region.ScriptEngine.Common')

class TouchHandler(rxactor.Actor):

    def GetScriptClassName():
        return "touch_test.TouchHandler"

    def EventTouch(self, toucher):
        self.llShout(0,"Help, Cale is molesting me!")

    def EventCreated(self):
        super(self.__class__,self).EventCreated()
        print "class touch_test.TouchHandler created"
5) Run the rex server and client. Check the server console, and make sure the two print statements above have executed.

6) Create and edit a cube. Hit the "reX" tab, and then the "Misc" sub-tab. In the Class Name box enter "touch_test.TouchHandler". Exit edit mode.

7) The cube now shouts a message every time you touch it:



8) Look in the "Samples" directory for more python examples.
Hi thanks for your concern.Are you using note pad for creating python files or pyScripter?
shaimush is offline   Reply With Quote
Old 05-08-2009, 10:46 AM   #160 (permalink)
Hypersonic Absolutist
 
CaleVinson's Avatar
Fully Zeno certified
 
Join Date: Aug 2007
Posts: 1,506
Quote:
Originally Posted by shaimush View Post
Hi thanks for your concern.Are you using note pad for creating python files or pyScripter?
Well, choice of text editors is starting to get a little off-topic, but I'm using XEmacs.
CaleVinson is offline   Reply With Quote
1 User Laughed:
Old 05-11-2009, 06:27 AM   #161 (permalink)
Junior Member
 
Join Date: May 2009
Posts: 11
My Mood:
hi,
i have created a door in realxtend but i dont know how to open it because my user cant enter inside it .I think i need some coding to open it .Does anyone has idea about it
shaimush is offline   Reply With Quote
Old 05-19-2009, 11:02 AM   #162 (permalink)
Junior Member
 
Join Date: May 2009
Posts: 11
My Mood:
hi i am using following LSL script for opening and closing the door
// Handles the touch event.
// Handles the collision event.

vector delta = <1.0, 0.0, 0.0>; // amount to move door
// when we open it

vector closed_position; // original position of the
// door when closed

// Processing for the script when it first starts up

default {
// What we do when we first enter this state

state_entry() {
closed_position = llGetPos(); // Save position when door is closed
state closed; // Move to the closed state
}
}

// Processing for the script when it is in the closed state

public state closed {
// What we do when we first enter this state

state_entry() {
llSetPos(closed_position); // Move door to closed position
}



touch_start(integer total_number) {
state open; // Move to the open state
}

// What to do when something hits the door

collision_start(integer total_number)
{
state open; // Move to the open state
}
}

// Processing for the script when it is in the open state

public state open {
// What we do when we first enter this state

state_entry() {
llSetPos(closed_position + delta); // Move door to open position
}


touch_start(integer total_number) {
state closed; // Move to the closed state

}




// What to do when something hits the door

collision_start(integer total_number)
{
// Do nothing, the door is already open
}
}





but when i run it on RealXtend i get following error
Member modifier public must proceed with name member type and name.Does anyone know about it ?
shaimush is offline   Reply With Quote
Old 05-19-2009, 11:28 AM   #163 (permalink)
Neko-licious™

SLU Supporter
 
Ann Launay's Avatar
Swooping...is...bad...
 
Join Date: Aug 2007
Posts: 8,211
My Mood:
SL Join Date: 8/8/06
Blog Entries: 3

Awards: 1
Thread Title of the Week 
Help, Cale is molesting me!
__________________

Ann Launay is offline   Reply With Quote
1 User Laughed:
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.sluniverse.com/php/vb/other-grids-virtual-worlds/7027-now-here-real-shiny-realxtend.html
Posted By For Type Date
SL Exchange This thread Refback 08-15-2008 10:34 AM
realXtend This thread Refback 02-26-2008 07:29 AM
Tutoriel d'instalation d'opensim - Page 10 - Second Life This thread Refback 02-19-2008 01:44 PM
YouTube - realXtend v0.1 This thread Refback 02-18-2008 01:30 PM
MOTHERFCUKING BLOGS ON A PRIM! on Flickr - Photo Sharing! This thread Refback 02-15-2008 08:27 PM
New non-Linden grid opening [updated] - Massively This thread Refback 02-15-2008 03:47 PM