Author Topic: Slanting actor, bending as the texture below him  (Read 1670 times)

Ralleyon

  • Hydlaa Citizen
  • *
  • Posts: 304
  • Protector in the Survivors of Vaern
    • View Profile
Slanting actor, bending as the texture below him
« on: September 06, 2006, 04:09:44 pm »
Here's the problem...

I compiled according to the instructions a home server, I used the recommended stable version - "2006-07-12 00:00:00 UTC" -  and played around with it. CEL, CAL3D and CrystalSpace are also according to the recommended versions. I built the whole thing according to the procedure on two different computers, one running Ubuntu Dapper and the other one Debian Unstable. My best guess is, given the fact that the hardware is nowhere similar, that it's not a hardware issue.

The problem I'm facing acually is the fact that the actor bends according to the texture under him, always having a slanting posture, instead of being upright. The issue is server side, because I connect with the same client (the official one) both to my server and to Laanx. This seems to happen on any surface that is not perfectly horizontal. Basically I am always perpendicular on the "ground" below me. I can see myself not standing upright, but the other person next to me cannot. Same thing happens to him as well of course. On Laanx, connecting with the same client, everything is fine, on my server I look like this:






The very first time I compiled it, with the cvs data, it worked just fine. After that, I added the official texture files and modified the ".cfg" files under the PS root directory to load the actual data. Started psserver and psnpcclient (the latter giving me a LOT of errors), and then the symptoms decribed above started to appear.

I checked on IRC and some people have had the same issue, but so far we don't know a sollution. Perhaps someone with more experience can tell what the problem is a fix for it. I heard that this has also been an issue on Laanx a while back, so maybe a dev knows what exactly is going on.

Please tell me if there is more relevant data that I should post.

« Last Edit: September 07, 2006, 08:37:04 am by Ralleyon »
To see the world in a grain of sand
And Heaven in a wild flower,
Hold Infinity in the palm of your hand
And Eternity in an hour.
     
   [William Blake - Auguries of Innocence]

ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: Slanting actor, bending as the texture below him
« Reply #1 on: September 06, 2006, 04:26:48 pm »
Confirmed.
While I was testing with Lanarel on my server this issue occured too.
I didn't have the tilting issue, but Lanarel did. I don't know if on Lanarel's screen he was tilted too though.
Screenshot
We're not evil. We're simply amazing.

Lanarel

  • Testers
  • Hydlaa Notable
  • *
  • Posts: 782
    • View Profile
Re: Slanting actor, bending as the texture below him
« Reply #2 on: September 07, 2006, 07:32:57 pm »
I didn't have the tilting issue, but Lanarel did. I don't know if on Lanarel's screen he was tilted too though.

I definately see the tilting myself. Great to make nice screenshots, such as this one of Rolenun pushing me off the eagles head :)


ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: Slanting actor, bending as the texture below him
« Reply #3 on: September 07, 2006, 08:03:38 pm »
Rolenun = the evil :devil:
We're not evil. We're simply amazing.

Wired_Crawler

  • Hydlaa Citizen
  • *
  • Posts: 429
    • View Profile
Re: Slanting actor, bending as the texture below him
« Reply #4 on: September 07, 2006, 09:51:05 pm »
Try the following on CVS database.

For male Klyros.
Code: [Select]
UPDATE race_info set size_x=0.6 where race_id=11;
UPDATE race_info set size_z=1.6 where race_id=11;

For female Klyros:
Code: [Select]
UPDATE race_info set size_x=0.6 where race_id=22;
UPDATE race_info set size_z=1.6 where race_id=22;

Works for me (at least it was working in the past).
Above values of size_x and size_z were for model of Kran, so You may want to adjust them.

Edit: Ah. You must restart server after doing those changes.
Edit2: I don't see any difference, when I change size_y, but it can also have an influence on tilting.
Edit3: I forgot, that "y" is vertical coordinate in CS. Fixed.
Edit4: Hehe, one more y replaced with z, all shoud be fine now.
« Last Edit: September 10, 2006, 04:49:01 pm by Wired_Crawler »
"Close the world, txEn eht nepO."

Ralleyon

  • Hydlaa Citizen
  • *
  • Posts: 304
  • Protector in the Survivors of Vaern
    • View Profile
Re: Slanting actor, bending as the texture below him
« Reply #5 on: September 10, 2006, 03:20:52 pm »
It worked! Wired_Crawler, you're a genius!  :sorcerer: At first, with size_y I was baffled, but with the latest correction is is SWEET. No need for adjustments I tried with other races as well and it works juuuuust fine.

* Ralleyon smiles deviously

Now that I know how to "toggle" this thing on and off, I'll have a blast with screenies. Erm... but now... if I'm not too curious, what do those values do actually and how did you guess the right ones please?
To see the world in a grain of sand
And Heaven in a wild flower,
Hold Infinity in the palm of your hand
And Eternity in an hour.
     
   [William Blake - Auguries of Innocence]

Wired_Crawler

  • Hydlaa Citizen
  • *
  • Posts: 429
    • View Profile
Re: Slanting actor, bending as the texture below him
« Reply #6 on: September 10, 2006, 05:01:53 pm »
Some time ago I had the same problem. The reason was obviously in database, because everything was OK  during connection with Laanx server. I also noticed, that model of Kran had big, invisible box around it (see this similar thread - btw was it resolved?). So, I looked into database and found promising filelds: size_x, size_y, size_z in table race_info. I searched for those strings in source code and found out, that they define size of bounding box for the model. The rest was easy - I had to set proper dimensions of bounding box, they are, more or less, in meters.
"Close the world, txEn eht nepO."