aboutsummaryrefslogtreecommitdiff
path: root/pipermail/nel/2001-February/000266.html
blob: 4692ffe12a0d6816b7268a18095aaf80c7a54289 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Nel] Getting NeL up and running.</TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:dayta%40ucc.gu.uwa.edu.au">
   <LINK REL="Previous"  HREF="000277.html">
   <LINK REL="Next" HREF="000270.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Nel] Getting NeL up and running.</H1>
    <B>Leighton Haynes</B> 
    <A HREF="mailto:dayta%40ucc.gu.uwa.edu.au"
       TITLE="[Nel] Getting NeL up and running.">dayta@ucc.gu.uwa.edu.au</A><BR>
    <I>Sun, 25 Feb 2001 01:29:01 +0800</I>
    <P><UL>
        <LI> Previous message: <A HREF="000277.html">[Nel] 2 questions and something else</A></li>
        <LI> Next message: <A HREF="000270.html">[Nel] Getting NeL up and running.</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#266">[ date ]</a>
              <a href="thread.html#266">[ thread ]</a>
              <a href="subject.html#266">[ subject ]</a>
              <a href="author.html#266">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Hi Guys,
    Well, i finally managed to get the sample snowballs client and
    server up and running, though it required quite a few code hacks
    on my part. (Damn my wacky machine config). Oh yeah, this is all
    for the linux code as well.. my machine is basically debian woody
    (though various gnome/wine/sawfish things are latest releases
    compiled from source)

    Most of my 'fixes' aren't really, they address the symptoms rather
    than the cause, though I don't think I've broken anything major 
    with them ;) If anyone wants to give me some hints on what could
    be causing them, please do. 
    In case anyone else has similar problems, things I got were:
        time_service was exiting: temporarily fixed by removing the
          call of _Callback() in checkConfigFiles() method of 
          code/nel/src/misc/config_file/config_file.cpp. I haven't
          managed to work out where it's being set, or why the value
          isn't correct yet.
          I gather the point of the Callback function is so that the 
          client which has loaded the Config file can become aware 
          of any changes to the parameters in the file, the time_service
          doesn't appear to set any callbacks for this though. *shrug*
        moves_service - suspect it had the same problem as above, it
          _was_ segfaulting, but went away after the above hack.
        the client was exiting with a message in the logfile about 
          being unable to load file &quot;data/&quot;. Managed to eventually track
          it down to some of the texture loading code in 
          code/nel/src/3d/landscape.cpp. The loading of the diffuse
          texturemap doesn't do a check for textName == &quot;&quot; though
          the loading of the alpha texture map does. Haven't worked 
          out yet why it's decided that the textName is &quot;&quot; (it's too
          late ;)). I modified the code to do a test for textName == &quot;&quot;
          and made it default to loading the CTextureCross texture.

    As some other comments - processes are defaulting under linux to
    some (IMHO) really ugly behaviour of 'fork'ing another process,
    the sole purpose of this appears to be to let them run in the 
    background. I don't see any really good reason for doing this,
    since it can be quite easily achieved by 'nohup'ing it and 
    shoving an '&amp;' on the end of the line. Am I missing something?
    (It makes it a bugger to debug, I can't run 'strace' on them effectively
    etc etc. Obviously, i just commented the code out of my version ;)
    Perhaps a commandline switch would be more appropriate?)

    Oh well, after all that, the client runs at about 5fps ;) Guess
    I should spend some time seeing if I can get it faster eh?
    Can anyone give me some benchmarkish figures for framerate 
    under window~1? For a P3-550 with Geforce(1) would be best ;)
    Then I can have a base to work from.

    Anyhow, nice work guys. The framework (which I've forcibly had
    to poke) seems pretty decent (I'm reserving judgement for further
    praise until I've had more experience with it ;)). Having spent
    some time working on one of these, I know just how much work it
    is to get anything this complex working. 

    
Leighton...

--

Part-time student. Full-time Programmer. 
Seeking the 36 hour day and the 10 hour working week.
(08) 9272 9058 (Home - like I'm ever there)
0401 335 136 (Mobile - like it's ever on)

</pre>

























<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI> Previous message: <A HREF="000277.html">[Nel] 2 questions and something else</A></li>
	<LI> Next message: <A HREF="000270.html">[Nel] Getting NeL up and running.</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#266">[ date ]</a>
              <a href="thread.html#266">[ thread ]</a>
              <a href="subject.html#266">[ subject ]</a>
              <a href="author.html#266">[ author ]</a>
         </LI>
       </UL>
</body></html>