Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - hybrasyl

Pages: [1]
1
Newbie Help (Start Here) / Where have all the rats gone?
« on: February 17, 2005, 10:46:10 pm »
I\'ve been through the sewers about a dozen times now and have yet to meet a rat.  I\'m finding Rouges and Gobbles everywhere but so far 0 rats, is there a particular place I\'m supposed to be looking?

2
Newbie Help (Start Here) / On the fly translation?
« on: February 17, 2005, 08:10:49 pm »
Ok here\'s a thought that may or may not be good to implement...
There are currently umpteen million various language to language translators available out there, I know of at least 5 that are free and open source, that can translate from any Indo-European language to another with various degrees of accuracy and of course occasionally humorous results....

I\'m wondering how hard it would be to create a plugin based system (it\'s been quite awhile since I looked at the code base for PS so I don\'t know if there is even a plugin system), that would allow for interception of language and on the fly translation.

This would allow those who have no skills in english to communicate with those who are proficient.

Here is how I would implement it.

In the pssetup add an option for \"Native Language\"
If anything other than English is selected, then a flag is set in the client that would cause it to load a translator plugin.

This translator would watch all incoming and outgoing messages from the chat window.  After a person /say\'s anything, it is translated into english then sent to the server maybe with a tag informing the world that this is a machine translation.

This would require a trap after the input but before the send to server.

As messages are recieved in the chat window they could be translated back to the native language of the player.

This would require an intercept at the recieve stage.

All of this is dependant upon the source code which I haven\'t viewed in quite some time.  And the ability to locate and integrate one of the various universal translators.

But I do believe it to be possible.  I think I will look into it further.
Thoughts?

3
I just wanted to say thank you for the new Linux binary installer.
Some things to note before downloading for anyone who chooses this route which IMHO is by far and away the best installer for a linux game I\'ve ever seen.

Please make sure to have your 3D setup and working properly.  I found out the hard way that this can cause hours and hours of endless frustration with the game.  If you have a SuSE 9.x install and are using an ATI graphics card I posted some information in another thread that will help immensely, just make absolutely sure to follow the instructions exactly, and after the download, but before the setup, go to run level 3 otherwise the install instructions, don\'t work properly.  (Also you need to disable dual head operation prior to the ATI update for 3D to work properly)

Anyways thank you VERY much for this binary, I did a virgin install of SuSE 9.2 pro, updated the distro using YOU (Yast Online Update), installed the ATI drivers, and then setup Planeshift.  Not counting download times, the whole process took approx 30 minutes, which is ALOT less than most games I\'ve played, and as I said the whole process was flawless.

Great Job!

4
If you have an ATI video card > 8500 like me and are running SuSE 9.x you should be aware that ATI has released a new driver for linux.
Also Novell has been kind enough to produce a modified version for SuSE users.  This has fixed 90% of the problems I was having with Planeshift so you may wish to go to   http://ftp://ftp.suse.com/pub/suse/i386/supplementary/X/ATI/suse92/i386/fglrx/8.8.25
and get the 2 files and read the readme, make sure to follow the directions exactly since it will hose your system if you screw it up.

Also make sure to properly set your environment variables for planeshift since the Linux installer does not appear to do this for you.

Almost forgot one other thing that should help you whether or not you are running SuSE 9.x is to make sure to run ldconfig as root after installing and before running the program.  This will refresh the dynamic linker cache, and may help with some of the strange errors I have seen posted to the board.
 
And Finally one things that may help if you get strange errors about Xlib and not being able to connect, you may want to try a simple reboot of the computer, no idea why but this actually worked for me :)
Hope This Helps!

5
General Discussion /
« on: January 07, 2005, 03:18:46 am »
~/.bashrc is your bash resource file and was created by SuSE when you created your user account.
~/ always means the users home directory so if your user name was jenny and your running SuSE ~/.bashrc would mean.

Look at the file /home/jenny/.bashrc
Predicating a file with a period means it is a hidden file.  To see all the files (just to make sure you have this file go to a command shell and type ls -all
This will show all files and folders on in your current directory, hidden or otherwise.
To view the contents of your bashrc file type
less ~/.bashrc
To edit it by hand (recommended if using less shows some kind of error) you can use pico
pico ~/.bashrc
Alternatively you can also open it in any other text editor such as kwrite (my fav).
kwrite ~/.bashrc or kwrite /home/jenny/.bashrc if your username is jenny :)

I hope that helps, as for the problem of the missing file verify that it is not in fact there .

On my system it\'s
/home/jenny/planeshift/cal3d/include/cal3d/animcallback.h
I also seem to have one at
/home/jenny/planeshift/cal3d/src/cal3d/animcallback.h

If you didn\'t get the file look here for just that one file you can get it from the web enabled cvs tree by going here http://cvs.sourceforge.net/viewcvs.py/cal3d/cal3d/src/cal3d/
and looking for the file, just make sure to copy it to wherever it belongs in your own source tree.

6
General Discussion / Delete it
« on: January 06, 2005, 02:12:32 am »
Try deleting the directory for cal3D and re-running the script, the CVS updater should download all the files you need.

I like Rapsys bash script better than my own,  however what I don\'t like about it is having to sit and wait for 3 different packages to download just so I can press enter.  I think i will take the good parts from both and merge them to make a nicer script.  Anyways great work Rapsys.

7
General Discussion / Supporting the script
« on: January 05, 2005, 01:29:38 am »
Hey everyone, as I find workarounds for the problems in the script above I will edit the script, if you know of any fixes please post them here and I will add them to the post.  In the meantime, I have a fulltime job and a brand new baby girl to take care of, so I won\'t be able to support this script.

Please make sure at a minimum you have installed TCL/TK and LSB packages on your system, also check to make sure you have zlib and curl as well as curl-development installed.  The script should pretty much handle the rest.  But if it craps out saying something is missing, go to http://www.rpmfind.net/ and look for what packages have the missing file and or library.

To run the script you will need to have expect installed, most distros I have run, do this by default.
Expect is an extension to the TCL programming language and is installed by either LSB or TCL packages depending on your distro.

Enjoy!

8
General Discussion / Use this instead
« on: January 04, 2005, 08:08:19 am »
Hello all I just made a script to do 99% of the work for you, for more information click  the link http://www.planeshift3d.com/wbboard/thread.php?threadid=12987&boardid=13&styleid=3

9
General Discussion / Automated Installer for Linux
« on: January 04, 2005, 08:03:31 am »
Below is a script that you can use to install Planeshift on nearly any linux box.  
Just copy/paste it into an empty text document, save as ps-installer.sh or some such thing, then make sure to chmod a+x the file.

Please enjoy!

Code: [Select]

#!/bin/sh
# \\
exec expect -- \"$0\" ${1+\"$@\"}

## Planeshift installer for linux v2.0 (C)2005 by Hybrasyl
## Licensed GPL etc and so forth, so if it breaks your computer don\'t cry, just fix it


###TODO fix this script so it you can run it without being root
###NOTE: Commented areas are due to bug in the expect sudo combination requiring a work around

##This script has only been tested on SuSE 9.2 and appears to do it\'s job without problems

set setupdir \"~/planeshift\"
set installdir \"/opt\"
set password \"\"
set tout 60
set addvars \"TRUE\"

send_user \"\\n\\nThis program automatically installs Planeshift to your computer\\n\"
send_user \"It\'s the next best thing to a universal RPM for Planeshift so enjoy!\\n\\n\"
send_user \"If you are unsure about what this program does or how it does it, plese READ THE SOURCE!\\n\\n\\n\"
send_user \"This program must be run as ROOT if you are not root please exit now!\\n\\n\"
send_user \"For all entries the directories must already exist\\nThis will hopefully be fixed in the next release\\n\"
send_user \"Please make sure to leave off trailing slashes these will be automatically added for you\\n\"
send_user \"When entering information please note that the defaults are sufficient for MOST OS\'s change them only if needed\\n\\n\"
send_user \"Please enter the directory you want to download to (DEFAULT is $setupdir)\\n\"
send_tty \"$setupdir: \"
set timeout $tout
expect \"\\n\" {
    set raw $expect_out(buffer)
    set setupdir2 [string trimright \"$raw\" \"\\n\"]
    if {$setupdir2 != \"\"} {
       set $setupdir $setupdir2
   }
}

send_user \"Please enter the directory you want to install to (DEFAULT is $installdir)\\n\"
send_tty \": \"
set timeout $tout
expect \"\\n\" {
    set raw $expect_out(buffer)
    set installdir2 [string trimright \"$raw\" \"\\n\"]
    if {$installdir2 != \"\"} {
     set $installdir $installdir2
   }
}

send_user \"Would you like me to add the needed environment variables to your bashrc script?\\n\"
send_user \"(HINT:  If you have used this script before then type NO)\\n\"
send_tty \": \"
set timeout $tout
expect \"\\n\" {
    set raw $expect_out(buffer)
    set addvars2 [string trimright \"$raw\" \"\\n\"]
    if {$addvars2 != \"\"} {
     set $addvars $addvars2
   }
}

#send_user \"To proceed with the install please enter the password for the root user\\n\"
#send_user \"Please note that if you leave this blank you will have to log in as root and run make install in each directory\"
#send_tty \"$password: \"
#set timeout $tout
#expect \"\\n\" {
#    set raw $expect_out(buffer)
#    set password [string trimright \"$raw\" \"\\n\"]
#   }

#exec mkdir $installdir
#exec mkdir $setupdir

cd $setupdir
send_user \"Changed to $setupdir\\n\"

##Cal 3D
spawn cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cal3d login
expect \"CVS password: \"
send \"\\n\"
expect eof
spawn cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cal3d co cal3d
expect eof

##Crystal Space
spawn cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/crystal login
expect \"CVS password: \"
send \"\\n\"
expect eof
spawn cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/crystal co CS
expect eof

##CEL
spawn cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cel login
expect \"CVS password: \"
send \"\\n\"
expect eof
spawn cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cel co cel
expect eof

##Planeshift
spawn cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/planeshift login
expect \"CVS password: \"
send \"\\n\"
expect eof
spawn cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/planeshift co planeshift
expect eof

##Install Routines
##Cal 3D
send_user \"Beginning Compile of Cal 3D\\n\"
cd $setupdir/cal3d
spawn ./autogen.sh
expect eof
spawn ./configure  --prefix=$installdir/cal3d
expect eof
spawn ./make
expect eof
#if {$password !=\"\"}{
   send_user \"Installing Cal 3D\\n\"
   #spawn sudo make install
    #expect \"Password: \"
  #set timeout $tout
  #send \"$password\\n\"
    spawn make install
  expect eof
  exec export LD_LIBRARY_PATH=$install/cal3d/lib:$LD_LIBRARY_PATH
#}

##CS
send_user \"Beginning Compile of Crystal Space\\n\"
exec cd $setupdir/CS
spawn ./autogen.sh
expect eof
spawn ./configure --with-libcal3d=$installdir/cal3d --enable-new-renderer
expect eof
spawn jam
expect eof
#if {$password !=\"\"}{
 send_user \"Installing Crystal Space\\n\"
 #spawn sudo make install
    #expect \"Password: \"
  #set timeout $tout
  #send \"$password\\n\"
    spawn make install
  expect eof
  exec export CRYSTAL=$installdir/CS
#}

##CEL
cd $setupdir/cel
exec export CSCONFPATH=$installdir/cel/
spawn ./configure --disable-jamtest --enable-new-renderer
expect eof
spawn jam
expect eof
exec export CEL=$installdir/cel/

##Planeshift
cd $setupdir/planeshift
spawn ./autogen.sh
expect eof
spawn ./configure --enable-new-renderer
expect eof
spawn jam -aq
expect eof

##Set .bashrc environment variables
if ($addvars == \"TRUE\"){
   send_user \"Adding environment variables to ~/.bashrc\\n\"
    exec echo\"export HOME=$installdir/planeshift\" >> ~/.bashrc
    exec echo\"export LD_LIBRARY_PATH=$installdir/cal3d/lib:$LD_LIBRARY_PATH\" >> ~/.bashrc
 exec echo\"export CRYSTAL=$installdir/CS\" >> ~/.bashrc
 exec echo\"export CEL=$installdir/cel/\" >> ~/.bashrc
}

send_user \"Install Completed successfully!\\n\"
send_user \"You must now obtain the artwork using the updater unfortunately at this time it is a manual process\\n\"
send_user \"Download\\n\"
send_user \"http://laanx.fragnetics.com/updater_hidden/root/updaterconfig.xml\\n\"
send_user \"user: psteam\\n\"
send_user \"pass: p1ane\\n\"
send_user \"replace updaterconfig.xml in your planeshift dir with the downloaded one.\\n\"
send_user \"To get the laanx server into the server list do the following:\\n\"
send_user \"cd $installdir/planeshift\\n\"
send_user \"Edit the data/servers.xml file with a text editor\\n\"
send_user \"change the file to the following\\n\"
send_user \"\\n\"
send_user \"\\n\"
send_user \"
\\n\"
send_user \"Run the updater before playing the game (yes it will take alot of time. so take some coffee).\\n\"
send_user \"Without this the game has no picture, music, models, world maps, everything.\\n\"
send_user \"Special thanks to kronon for the information above and providing the inspiration for this script!\\n\"
 
exit


Special thanks go to Kronon whose previous work this script is based on, and without whom this script would not have been possible

10
General Discussion / Less annoying install script
« on: January 03, 2005, 12:19:10 pm »
The poster above did a great job with the install script, it only has 1 major drawback though...
It\'s very annoying to sit and wait for each piece to fetch and then compile, just so you can hit enter before the CVS server times out when asking for the password.

Here is a slightly modified version of the same script, it is for the most part automagic, just make sure to hit the enter key each time it asks for a password then go watch TV or something while this thing compiles.

Code: [Select]

HOME_DIR=$1
if [ $HOME_DIR ] && [ $2 ]

then

echo \"WARNING: You have to be root to run this script\"
echo \"Fetching files, please press the ENTER key when prompted for a password\"


cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cal3d login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cal3d co cal3d
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/crystal login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/crystal co CS
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cel login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cel co cel
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/planeshift login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/planeshift co planeshift

echo \"Building, go watch TV or something, this will take some time\"

cd $HOME_DIR/development/cal3d

./autogen.sh

./configure  --prefix=$HOME_DIR/development/cal3d

make

make install

export LD_LIBRARY_PATH=$HOME_DIR/development/cal3d/lib:$LD_LIBRARY_PATH

cd $HOME_DIR/development/CS

./configure --with-libcal3d=$HOME_DIR/development/cal3d --enable-new-renderer

jam

export CRYSTAL=$HOME_DIR/development/CS

#./walktest --recalc --relight

cd $HOME_DIR/development/cel

export CSCONFPATH=$HOME_DIR/development/cel/

./configure --disable-jamtest --enable-new-renderer

jam

export CEL=$HOME_DIR/development/cel/

cd $HOME_DIR/development/planeshift

./autogen.sh

./configure --enable-new-renderer

jam -aq

echo \"Installation complete\"
###End cut and paste

else

echo \"Usage: install-ps.sh url_to_installation_location option_nr\"

echo \"\"

echo \"Option nrs\"

echo \"0 install for first time\"

echo \"1 already installed once\"

echo \"\"

echo \"Reminder: First install Jam before running this script.\"



fi


11
General Discussion / If I may respond to that
« on: January 15, 2004, 10:19:33 pm »
First off, let me give you a warm welcome back and let you know that this is how I see things as they stand.
Since my position currently seems to be developing in the chat section of the game, let me give ya a couple of spoilers.

First off, this is PRIMARILY a role playing game.  Meaning you are expected to be in chracter at ALL times, and use the OOC (Out of Character)channels (which you can mute client side if you choose) for OOC conversation.

Secondly, there is a /ignore function, if you see people doing this behavior talking OOC in the primary channel you can / ignore them and poof, no more problem.

Also I have just finished the /mute module. that will be given to GMs to shut someone up, who keeps talking OOC outside the OOC channel.

Anything more would have to be up to the players.

So stay in character it\'s alot of fun :)

12
General Discussion / Home and Business
« on: January 05, 2004, 05:18:43 am »
Ok first off the topic of using your home as a place of business is a little absurd for anything other than high demand cottage industry stuff (health potions and the like) so what I would do is divide the question.

A home is a place in game mostly used to keep your stuff.
You could easily implement this like AO (Anarchy Online) where they use an apartment system.  You are given a key to a large building and in that building is really only one door.  When you pass through the door, you are taken into your apartment.  The apartment can be decorated, heck in AO you can even buy TV\'s and a Fridge and watch the big game if you want to.
In reality the Apartment can only be entered by the owner, however the owner can go to a machine that will duplicate his key, so he can give one to his friends (those who are paranoid can create a one time use key).
The data for the apartment can easily be stored client side, or could be implemented like a fancy backpack and stored server side.  Eitherway the apartment is on it\'s own seperate map, so it could be expanded etc, without infringing on the original design.  A great place for this would be in the upper levels of the Blood Tower :) (Temple high rise anyone?)

As for a place to conduct business, that would be great.  However you would want/need an NPC to man the store while you are away.  With 100,000 players, the amount of Map space needed would be horrendous. (urban sprawl)

If I were designing an in game business though, I would do a simple consignment shop.  Where there is a single guy in any town in game that takes any item you want to give him, and then you set a price.  When someone comes to the store to buy and sees your item, the NPC takes the money, then notifies you about the sale.  Then the game either places the money in your bank account (Direct Deposit?) or you come and collect the money from the NPC yourself.

The difference between this approach and the other ideas is that instead of each person setting up shop (which would actually waste alot of map space, not to mention being a programming nightmare) there is a single place to go to buy, and effectively be able to buy from All players at once.  Also with a single point of contact an item is much more likely to be sold, especially if the player is offline.

Another slight variation would be a pawnshop, where if you are in a hurry to sell an item, the NPC could buy the item from you, for a percentage say 50% of what the same item sold for last time.  This approach would guarantee that people would try to develop thier trade skills, since they would have a fair market in which to sell them, and an always interested buyer.  But please make sure not to have NPC price gouging like in EverQuest where it costs 10plat (the currency in that game) to make an item that you can only sell it to NPCs for 100 gold (1plat = 100 gold) and then the NPC sells the same item for 20 plat.  This system is very discouraging and one of the main reasons I quit playing EQ.

I hope this helps.

Pages: [1]