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.


Topics - Karosh_Steinkatz

Pages: [1]
1
Linux Specific Issues / CB Linux Installer, finally done
« on: January 13, 2005, 12:09:21 am »
I wanted to make it ready until the release of CB, but it didn\'t quite work out as planned. But it\'s finally there, the nice and pretty CB Linux installer!

It worked on Slackware, Arch Linux and Debian so far, and there is a good chance it will run out-of-the box for you. However, this one doesn\'t come with the full art, you have to run the updater first to get the remaining art. The installer creates 4 symlinks for the client, setup, updater and uninstaller, so be sure to not uncheck that option ;) Furthermore, it doesn\'t create menu entries for KDE/Gnome although the option is there. It wouldn\'t work properly anyway (the KDE entries go to \'lost&found\' and the Gnome ones are not created at all). Blame the Loki installer for that :P


Current client version in Installer: 0.3.007-1
Updated on: 20th Feb. 2005
Current client version in Updater: 0.3.009-1
Updated on: 26th Mar. 2005


Download: PlaneShift_CBV0.3.007-1.x86.run (248 MB)
MD5 sum: 96ff91284457074e403c01b9d6807b93

Bittorrent tracker: http://mortalsaviour.de:6969

Download it, use \'chmod +x \' to make it executable and run it .


Minimum Requirements (these values are from my own experience)

Hardware:
- 1Ghz CPU
- 384MB RAM
- Geforce2 class graphics card

Software:
- linux distro with glibc 2.3.2
- xfree86 or x.org  X-Server
- gtk (for the installer)
- curl
- bunzip2


Important!

The current binaries are no longer compiled with debugging symbols, their debugging capabilities don\'t seem to be used by most people anyway :rolleyes:
If you have a previous version of the installer (0.3.007-1 or older), get the new updater package here: http://www.mortalsaviour.de/download/updater-1025.tar.bz2
Extract it into your PS folder and run the updater. It will download the new binaries and start the regular updater to fetch art updates.


List of confirmed successfull installs
SUSE 9.1/9.2
Fedora Core 3
Debian stable/unstable
Slackware 10
Arch Linux 0.6/0.7
Gentoo
Ubuntu unstable
Mandrake 10
FreeBSD 5.3 (linux emulation)


Check this post periodically for updates :)

2
Development Deliberation / psclient error on startup
« on: July 04, 2004, 10:30:20 am »
I made another compiling attempt today. I applied my patches and compiling went fine as usual. But after loading the splash screen the client exits with following error:

Quote

/home/user/dev/cb_current/CS/include/csutil/array.h:509: failed assertion \'n < count\'


gdb spits following out:

Quote

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 16384 (LWP 7822)]
csArray, csArrayMemoryAllocator >::Get (this=0x8520104, n=0) at array.h:510
510         return root[n];


Any ideas?

3
Development Deliberation / gcc 3.4 patches + bugs
« on: June 14, 2004, 03:40:34 pm »
After some time I decided to give the cvs another shot with gcc 3.4 so I downloaded the sources of CS, CEL and CB CVS today again.

Part I: the patches

The compile attempt gave me the same errors as the last time. But now I decided to make diff files to document the changes:

src/common/util/genqueue.cpp: this corrects a spelling error
Quote

56,57c56,57
<     qstart = others.qstart;
<     qend = others.qend;
---
>     qstart = other.qstart;
>     qend = other.qend;


src/common/util/genqueue.h: same as above
Quote

87c87
<   return ((qend + 1) % size) == qstart;
---
>   return ((qend + 1) % qsize) == qstart;


src/client/modehandler.cpp: this is a fix for gcc 3.4 since it doesnt allow variables as case events
Quote

907c907
<             case event.COMBAT_BLOCK:
---
>             case 1:
913c913
<             case event.COMBAT_DAMAGE:
---
>             case 2:
919c919
<             case event.COMBAT_DEATH:
---
>             case 5:
925c925
<             case event.COMBAT_DODGE:
---
>             case 0:
931c931
<             case event.COMBAT_MISS:
---
>             case 3:
937c937
<             case event.COMBAT_OUTOFRANGE:
---
>             case 4:
949c949
<             case event.COMBAT_BLOCK:
---
>             case 1:
955c955
<             case event.COMBAT_DAMAGE:
---
>             case 2:
961c961
<             case event.COMBAT_DEATH:
---
>             case 5:
967c967
<             case event.COMBAT_DODGE:
---
>             case 0:
973c973
<             case event.COMBAT_MISS:
---
>             case 3:
979c979
<             case event.COMBAT_OUTOFRANGE:
---
>             case 4:
991c991
<             case event.COMBAT_BLOCK:
---
>             case 1:
997c997
<             case event.COMBAT_DAMAGE:
---
>             case 2:
1003c1003
<             case event.COMBAT_DEATH:
---
>             case 5:
1009c1009
<             case event.COMBAT_DODGE:
---
>             case 0:
1015c1015
<             case event.COMBAT_MISS:
---
>             case 3:
1021c1021
<             case event.COMBAT_OUTOFRANGE:
---
>             case 4:


src/server/npcmanager.cpp: same as above
Quote

327c327
<             case list.CMD_DRDATA:
---
>             case 1:
368c368
<             case list.CMD_ATTACK:
---
>             case 2:


Now PS compiled with a bunch of warnings, most of them about boolean operations always being false

Part II: the bugs

After I started the client it froze at the splash screen. But I discovered that you need to click into the window to let the main menu appear. And here is the next bug: If you click on a (invisible) edit field, the screen freezes too including the cursor. You can enter the values like name and password, but the game window shows no reaction. You have to click next to the edit field to unlock the it again. Same goes for the server select list and it\'s scroll arrows.

Then after logging in and entering the npcroom I noticed that this issue continues if you click in the text display area of the chat window or the edit field where you enter the text. Most other widgets or windows are not affected by this, but I didn\'t test them all.

Then there is the info window, which doesnt fade if you enter it with the cursor. Same for the inventory window, but there is only the title bar fading.

Edit:removed some typos

4
Development Deliberation / Bug hunting
« on: May 08, 2004, 01:36:30 pm »
I thought it would be quite handy to have a bug reporting form,   so here we  go,  with some example  bugs from today\'s  CVS:

Operating system: Linux
Compiler: gcc 3.4
Crystal Space CVS date: 05/08/2004
CEL CVS date: 05/08/2004
Cal3D CVS date: 04/18/2004
Planeshift CVS date: 05/08/2004

Bug type:  compilation error
Bug description:
 src/server/npcmanager.cpp: In member function `void NPCManager::HandleCommandList(MsgEntry*)\':
 src/server/npcmanager.cpp:324: error: `list\' cannot appear in a constant-expression
 src/server/npcmanager.cpp:324: error: `.\' cannot appear in a constant-expression
 src/server/npcmanager.cpp:372: error: `list\' cannot appear in a constant-expression
 src/server/npcmanager.cpp:372: error: `.\' cannot appear in a constant-expression
...
 src/client/modehandler.cpp: In member function `void ModeHandler::HandleCombatEvent(MsgEntry*)\':
 src/client/modehandler.cpp:902: error: `event\' cannot appear in a constant-expression
 src/client/modehandler.cpp:902: error: `.\' cannot appear in a constant-expression
  src/client/modehandler.cpp:908: error: `event\' cannot appear in a constant-expression
 src/client/modehandler.cpp:908: error: `.\' cannot appear in a constant-expression
 src/client/modehandler.cpp:914: error: `event\' cannot appear in a constant-expression
  src/client/modehandler.cpp:914: error: `.\' cannot appear in a constant-expression
  src/client/modehandler.cpp:920: error: `event\' cannot appear in a constant-expression
 src/client/modehandler.cpp:920: error: `.\' cannot appear in a constant-expression
 src/client/modehandler.cpp:926: error: `event\' cannot appear in a constant-expression
 src/client/modehandler.cpp:926: error: `.\' cannot appear in a constant-expression
  src/client/modehandler.cpp:932: error: `event\' cannot appear in a constant-expression
  src/client/modehandler.cpp:932: error: `.\' cannot appear in a constant-expression
  src/client/modehandler.cpp:944: error: `event\' cannot appear in a constant-expression
 src/client/modehandler.cpp:944: error: `.\' cannot appear in a constant-expression
  src/client/modehandler.cpp:950: error: `event\' cannot appear in a constant-expression
  src/client/modehandler.cpp:950: error: `.\' cannot appear in a constant-expression
 src/client/modehandler.cpp:956: error: `event\' cannot appear in a constant-expression
  src/client/modehandler.cpp:956: error: `.\' cannot appear in a constant-expression
  src/client/modehandler.cpp:962: error: `event\' cannot appear in a constant-expression
 src/client/modehandler.cpp:962: error: `.\' cannot appear in a constant-expression
 src/client/modehandler.cpp:968: error: `event\' cannot appear in a constant-expression
  src/client/modehandler.cpp:968: error: `.\' cannot appear in a constant-expression
  src/client/modehandler.cpp:974: error: `event\' cannot appear in a constant-expression
 src/client/modehandler.cpp:974: error: `.\' cannot appear in a constant-expression
 src/client/modehandler.cpp:986: error: `event\' cannot appear in a constant-expression
 src/client/modehandler.cpp:986: error: `.\' cannot appear in a constant-expression
 src/client/modehandler.cpp:992: error: `event\' cannot appear in a constant-expression
 src/client/modehandler.cpp:992: error: `.\' cannot appear in a constant-expression
 src/client/modehandler.cpp:998: error: `event\' cannot appear in a constant-expression
 src/client/modehandler.cpp:998: error: `.\' cannot appear in a constant-expression
  src/client/modehandler.cpp:1004: error: `event\' cannot appear in a constant-expression
 src/client/modehandler.cpp:1004: error: `.\' cannot appear in a constant-expression
 src/client/modehandler.cpp:1010: error: `event\' cannot appear in a constant-expression
 src/client/modehandler.cpp:1010: error: `.\' cannot appear in a constant-expression
 src/client/modehandler.cpp:1016: error: `event\' cannot appear in a constant-expression
 src/client/modehandler.cpp:1016: error: `.\' cannot appear in a constant-expression
...
 src/npcclient/networkmgr.cpp: In member function `void NetworkManager::HandlePerceptions(MsgEntry*)\':
 src/npcclient/networkmgr.cpp:245: error: `list\' cannot appear in a constant-expression
 src/npcclient/networkmgr.cpp:245: error: `.\' cannot appear in a constant-expression
 src/npcclient/networkmgr.cpp:261: error: `list\' cannot appear in a constant-expression
 src/npcclient/networkmgr.cpp:261: error: `.\' cannot appear in a constant-expression
 src/npcclient/networkmgr.cpp:287: error: `list\' cannot appear in a constant-expression
 src/npcclient/networkmgr.cpp:287: error: `.\' cannot appear in a constant-expression
 src/npcclient/networkmgr.cpp:313: error: `list\' cannot appear in a constant-expression
 src/npcclient/networkmgr.cpp:313: error: `.\' cannot appear in a constant-expression
Bug solution: Edit: After  some investigation it seems to be a compiler issue. Revert back to an older version  of gcc until this is resolved.

Bug type: compilation error
Bug description:
 src/server/error.cpp:1:20: config.h: No such file or directory
 src/server/error.cpp:6:27: psnet/pserror.h: No such file or directory
Bug solution: comment out the lines containing #include \"config.h\" and #include \"psnet/pserror.h\"

Maybe  we can  make this a  general bug reporting thread?

5
I compiled  the MB server under linux and it runs perfectly.
BUT:
Not a single ruby appears on a spawn point. I tweaked the db to run with the normal levels  instead of the podium  map. I thought I misconfigured something  and reverted everything to default. But still no spawning  occurs, although the server console says \"Scheduled hidden crystal 1000 to be spawned in xx seconds\" on startup. I checked the server sources if there is something disabled or buggy, but they seem to be ok. So I think it\'s the db. Has someone else created a private server and can tell me  what to do to get it working?

BTW: When I drop an item it\'s stuck in the ground. I think it\'s dropped 1 unit too low. Is  this a bug?

6
Single Author Stories / The magical beer bottle (PS version)
« on: February 24, 2004, 12:00:36 pm »
I think it\'s time to introduce my writings to the public PS community, and here we go with the first one (original was posted to the Blitzers forum and now modified to fit better into PS):

Once upon a time there were 3 brave heros who moved out to the lower level of Yliakum to experience countless adventures. After a long journey they came to a small town where a great festival was taking place. They needed some rest, so they decided to halt and have some fun. Sieglinde the female dermorian spotted the local bath-house and decided to have some fun there. Gerd the enkidukai ranger had the same idea, but a swarm of arrows convienced him to find another occupation. He went to the tavern together with Rudolf the dwarven barbarian. They arrived at the right time, since the local ynwnn druid offered his magical brewed beer only on this event, a secret recipe with honey. Certainly they couldn\'t miss that, so they ordered a bottle of the noble brew. After the well equipped demorian barmaid brought the bottles to table 12, Gerd received a mighty smack since he wanted to taste something else before the beer. After he raised from the wrecked neighbor table and sat down in opposite of the headshaking Rudolf, they said \"cheers\" and let the beer flow down their throats. Some big gulps and burps later Gerd noticed that Rudolf was already drinking from his third bottle while he sipped still from his first one, although they drunk the same amount. Gerd looked at his bottle doubtfully and determined that his bottle was still almost full. Surprised by this fact he called the barmaid to ask her what the heck this was all about. She answered that this beer is a special one, not the standard stuff that is poured everywhere else. Rudolf began to look at his bottle sceptically and noticed that his bottle was a different one. He asked the maid why he has gotten a usual swill, and she answered that the special brew was out. This woke Rudolf\'s rage and he dismantled half of the tavern before he took special care of the barmaid with anger in his eyes.
In the meantime Gerd strolled across the marketplace letting Rudolf have his fun. There he met Sieglinde again, who was browsing the stands for some nice ornaments. He pushed his bottle into her hand to let her have a sip. After she drank from it she suddenly jumped upon him while kissing him like crazy. While the pair was having fun on the grassy area near the marketplace, Rudolf had almost dismantled the tavern. His rage was almost over, but he certainly had to smash the steam boiler with full force. After the few survivors crawled out of the crater and Sieglinde and Gerd finished their affair, they sneaked away with a stolen golden ring which Gerd handed her as a engangement ring. They settled in a town nearby and lived in harmony under a falsified name while their hometown was devastated by the Dark Empire since the party didn\'t fulfill their objective to assassinate princess Aelya... That\'s life...

Pages: [1]