Author Topic: Problem with planeshift CVS server and Linux installer  (Read 2513 times)

Taffy

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
Problem with planeshift CVS server and Linux installer
« on: February 10, 2005, 02:31:06 am »
Is there an alternative CVS server somewhere?
cvs -d:pserver:anonymous:@cvs.sourceforge.net:/cvsroot/planeshift login
Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/planeshift
cvs [login aborted]: unrecognized auth response from cvs.sourceforge.net: M PserverBackend::PserverBackend()Connect (Connection refused)

I first tried running the updater yesterday and I have tried many times since but I keep getting that error... The 3.006 installer worked fine for me (and I can start up the client etc) but when I try to connect to the server I get:
\"You are not running the correct version of Planeshift for this server.\"
« Last Edit: February 10, 2005, 03:03:42 am by Taffy »

Taffy

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
(No subject)
« Reply #1 on: February 10, 2005, 02:59:17 am »
From the sourceforge.net status page:
(  2005-02-09 08:58:54 - Project CVS Service )   As of 2005-02-09 there is an outage of anonymous CVS (tarballs, pserver-based CVS and ViewCVS) for projects whose UNIX names start with the letters m, n, p, q, t, y and z. We are currently working on resolving this issue.

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #2 on: February 10, 2005, 03:40:59 am »
You can use my Java updater if you like (I\'d actually be interested to here how it works out as I\'ve not been able to test it on Linux). Since the files are not actually located on the CVS server you should be able to DL all the updates in the repository. My updater (I\'m not liable for anything bad that happens when you use it ;) ): Updater.jar (29 k)

Make sure you have Java version 1.4.2 or later (available from java.sun.com).

If that option doesn\'t work for you, the CVS should be back up in a few days (so I\'ve heard).
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

trebiani

  • Traveller
  • *
  • Posts: 15
    • View Profile
(No subject)
« Reply #3 on: February 10, 2005, 10:16:44 am »
Quote
Originally posted by Cha0s
You can use my Java updater if you like (I\'d actually be interested to here how it works out as I\'ve not been able to test it on Linux). Since the files are not actually located on the CVS server you should be able to DL all the updates in the repository. My updater (I\'m not liable for anything bad that happens when you use it ;) ): Updater.jar (29 k)

Make sure you have Java version 1.4.2 or later (available from java.sun.com).

If that option doesn\'t work for you, the CVS should be back up in a few days (so I\'ve heard).


your java updater is running right now: Estimated time remaining: About 8 hours ....
i\'ll send you the results when it is finished!

thanx,
treb

p.s.: is it possible to see the source of your updater?

trebiani

  • Traveller
  • *
  • Posts: 15
    • View Profile
(No subject)
« Reply #4 on: February 10, 2005, 12:30:33 pm »
did the update with the java updater. same problem as ever:
Segmentation fault

Androgos

  • Guest
(No subject)
« Reply #5 on: February 10, 2005, 01:35:57 pm »
Quote
Originally posted by trebiani
p.s.: is it possible to see the source of your updater?


Just decompile it.
Someone actually wrote that much code, for me? :)

derula

  • Hydlaa Citizen
  • *
  • Posts: 409
  • Staying away because Talad asked nicely
    • View Profile
(No subject)
« Reply #6 on: February 10, 2005, 02:28:55 pm »
@Cha0s: well, your updater downloads _ALL_ data, wich means a redownload of _ALL_ data, even if it exists and is the same. eg art directory exists, but you updater gets all art data. perhaps this can be done in another way? well perhaps it only gets it because i run it in the wrong directory... where should i?

edit: oh yes it downloads into the wrong directory. how can i change that?
« Last Edit: February 10, 2005, 02:36:39 pm by derula »

trebiani

  • Traveller
  • *
  • Posts: 15
    • View Profile
(No subject)
« Reply #7 on: February 10, 2005, 03:50:03 pm »
what should i do to get rid of the seg-fault - any hints?

~/games/planeshift/planeshift $ ./psclient
crystalspace.maploader: Could not get model converter
crystalspace.maploader: Could not get model crossbuilder

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.99 r0 [Unix-x86-GCC]
LOG_ANY flag deactivated.
LOG_WEATHER flag deactivated.
LOG_SPAWN flag deactivated.
LOG_CELPERSIST flag deactivated.
LOG_PAWS flag deactivated.
LOG_GROUP flag deactivated.
LOG_CHEAT flag deactivated.
LOG_LINMOVE flag deactivated.
LOG_SPELLS flag deactivated.
LOG_NEWCHAR flag deactivated.
LOG_SUPERCLIENT flag deactivated.
LOG_EXCHANGES flag deactivated.
LOG_ADMIN flag deactivated.
LOG_STARTUP flag deactivated.
LOG_CHARACTER flag deactivated.
LOG_CONNECTIONS flag deactivated.
LOG_CHAT flag deactivated.
LOG_NET flag deactivated.
LOG_LOAD flag deactivated.
LOG_NPC flag deactivated.
LOG_TRADE flag deactivated.
LOG_SOUND flag deactivated.
LOG_COMBAT flag deactivated.
LOG_SKILLXP flag deactivated.
LOG_QUESTS flag deactivated.
LOG_SCRIPT flag deactivated.
Segmentation fault

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #8 on: February 10, 2005, 03:58:55 pm »
Run the updater from the directory in which all your normal Planeshift files exist... I\'m not exactly sure how the Linux distro is set up, but run it from directory that contains all your cfg files (planeshift.cfg, psclient.cfg, etc.). As for updating the zip archives by entries instead of DLing the whole archive, run it from the command line (in the correct directory!!!) by typing:


java -jar Updater.jar ARGS (detailed below)

You can have up to 4 arguments at the moment which you can enter in place of ARGS, including:
Run without the GUI: \"nogui\"
Download individual zip entries instead the whole archive: \"zipentries\"
Update everything (including cfg files which aren\'t normally updated): \"updateall\"
Show debug messages when errors are encountered: \"debugmode\"

Example:
java -jar Updater.jar zipentries nogui
That would run the updater without the GUI and try to DL the zip entries. The compression is a little weird though, so the archive sizes don\'t come out quite right (i.e. the same as the repository). :\\

As for the code, I\'ll consider making it generally available, though for now you can get to it by decompiling (no comments or variable names though).

Androgos: who said I wrote it for you? :P
« Last Edit: February 10, 2005, 04:00:57 pm by Cha0s »
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

Diamondcite

  • Hydlaa Resident
  • *
  • Posts: 165
    • View Profile
(No subject)
« Reply #9 on: February 10, 2005, 04:04:15 pm »
@trebiani
Not  enough information, please do the following
$ gdb ./psclient
wait for it to segfault
> backtrace
Post results somewhere... to give a clue to as what\'s wrong.. also how much ram/swap do you have?

gdb = GNU Debug or something similar and should be easily installable on all systems.
I like taking things literally, going overboard is fun! Now... why do I keep getting odd looks?

derula

  • Hydlaa Citizen
  • *
  • Posts: 409
  • Staying away because Talad asked nicely
    • View Profile
(No subject)
« Reply #10 on: February 10, 2005, 04:20:42 pm »
Cha0s: I ran at in the planeshift directory, but instead of downloading into that directory, it downloaded in the home directory (wich is 2 dirs above). i\'ll try from console.

edit: now that seems to work.
« Last Edit: February 10, 2005, 04:23:24 pm by derula »

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #11 on: February 10, 2005, 04:21:35 pm »
Oh, and as for the estimated time thing... It only becomes accurate about 5-10 minutes in (assuming an hour or so update) and that\'s cause I was lazy when I made my estimated time algorithm. Basically, it just takes the bytes DL/the time running (in seconds) as the average speed and divides the total updates (in bytes) by that. I might implement a better one today if I have enough time. If I do develop one, it\'ll probably use the last 5 amounts DLed over the last 25 seconds (it updates every 5 seconds) to calculate speed of DL. If anyone has any better suggests, I\'m open to them. :)
« Last Edit: February 10, 2005, 04:22:27 pm by Cha0s »
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

trebiani

  • Traveller
  • *
  • Posts: 15
    • View Profile
(No subject)
« Reply #12 on: February 10, 2005, 06:03:51 pm »
Quote
Originally posted by Diamondcite
@trebiani
Not  enough information, please do the following
$ gdb ./psclient
wait for it to segfault
> backtrace
Post results somewhere... to give a clue to as what\'s wrong.. also how much ram/swap do you have?


thanx - now i know that my planeshift was using a different CS installation after setting CRYSTAL=path/to/CS, CEL=path/to/cel and CSCONFPATH=path/to/cel i get:

./psclient
crystalspace.maploader: Could not get model converter
crystalspace.maploader: Could not get model crossbuilder

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.99 r0 [Unix-x86-GCC]
LOG_ANY flag deactivated.
LOG_WEATHER flag deactivated.
LOG_SPAWN flag deactivated.
LOG_CELPERSIST flag deactivated.
LOG_PAWS flag deactivated.
LOG_GROUP flag deactivated.
LOG_CHEAT flag deactivated.
LOG_LINMOVE flag deactivated.
LOG_SPELLS flag deactivated.
LOG_NEWCHAR flag deactivated.
LOG_SUPERCLIENT flag deactivated.
LOG_EXCHANGES flag deactivated.
LOG_ADMIN flag deactivated.
LOG_STARTUP flag deactivated.
LOG_CHARACTER flag deactivated.
LOG_CONNECTIONS flag deactivated.
LOG_CHAT flag deactivated.
LOG_NET flag deactivated.
LOG_LOAD flag deactivated.
LOG_NPC flag deactivated.
LOG_TRADE flag deactivated.
LOG_SOUND flag deactivated.
LOG_COMBAT flag deactivated.
LOG_SKILLXP flag deactivated.
LOG_QUESTS flag deactivated.
LOG_SCRIPT flag deactivated.

LoadConfigFromFile:
  set
  set
  set
  set
  set
Invaild sound setting, setting to 100%

planeshift.application.client:
  psEngine initialized.
Creating psnetconnection 862eac0!
./psclient: symbol lookup error: /home/test/games/planeshift/CS/sprcal3d.so:
undefined symbol: _ZN12CalCoreModelC1ERKSs


.... what now?

p.s.: 1Gig RAM and 2Gig swap should do it :-)
« Last Edit: February 10, 2005, 06:04:45 pm by trebiani »

trebiani

  • Traveller
  • *
  • Posts: 15
    • View Profile
(No subject)
« Reply #13 on: February 10, 2005, 06:08:08 pm »
Quote
As for the code, I\'ll consider making it generally available, though for now you can get to it by decompiling (no comments or variable names though).


thanx for the nice tool and i usually ask before i decompile other peoples binaries. most of the time i get code with comments ....

cheers,
treb

Diamondcite

  • Hydlaa Resident
  • *
  • Posts: 165
    • View Profile
(No subject)
« Reply #14 on: February 10, 2005, 06:10:17 pm »
How was it installed? Was it installed from CVS or maybe the Unofficial binaries? Maybe a script?
I like taking things literally, going overboard is fun! Now... why do I keep getting odd looks?