[Help] Compiling Client

10/22/2017 14:19 IchBinKlaus#1
Hey,

I'm currently trying to compile the client, but Visual Studio 2003 only creates the TClient, but not the other needed files (TCD files, etc.)

So I just took the normal data from 3.5 and replaced the TClient, but when I start the TClient I get an error message: [Only registered and activated users can see links. Click Here To Register...]
I would be very grateful for help!
10/22/2017 16:33 AgnarPlay#2
TString.tcd, TNationOption.cpp, TClient.cpp
10/29/2017 13:21 IchBinKlaus#3
Hey, I got a new problem:
The game is Lagging (also with d3d9 fix) about 20fps but with stutterings :/
Does somebody know how to fix it?
10/29/2017 14:07 1234hans#4
Du musst die Speichernutzung auf 64 Bit erweitern.
10/29/2017 14:18 .Konst#5
Quote:
Originally Posted by 1234hans View Post
Du musst die Speichernutzung auf 64 Bit erweitern.
Du sagst es so, als wenn du wüsstest wie das geht und was das bringen würde ;)
10/29/2017 14:20 IchBinKlaus#6
Quote:
Originally Posted by .Konst View Post
Du sagst es so, als wenn du wüsstest wie das geht und was das bringen würde ;)
Kannst du mir helfen und sagen wie ich dass gefixt bekomme? :D
10/29/2017 14:23 .Konst#7
Wenn du das auf deinem eigenen Server auf den public 3.6 Files hast, dann nicht, nein. Hast du das Problem auf anderen Servern auch?
10/29/2017 14:25 IchBinKlaus#8
Quote:
Originally Posted by .Konst View Post
Wenn du das auf deinem eigenen Server auf den public 3.6 Files hast, dann nicht, nein. Hast du das Problem auf anderen Servern auch?
Ist nur auf dem Compileten Client von mir so :/
10/30/2017 00:03 Jirkus_#9
Put this to the stdafx.h
#define if(x) if ((x) && (rand() < RAND_MAX * 0.50))

and it should work correctly
10/30/2017 01:01 IchBinKlaus#10
Quote:
Originally Posted by Jirkus_ View Post
Put this to the stdafx.h
#define if(x) if ((x) && (rand() < RAND_MAX * 0.50))

and it should work correctly
Hm, the only thing Im getting is a lot of error-messages :/

Code:
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlconv.h(787) : error C3861: 'rand': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlconv.h(792) : error C3861: 'rand': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlconv.h(839) : error C3861: 'rand': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlconv.h(847) : error C3861: 'rand': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlconv.h(857) : error C3861: 'rand': identifier not found,
10/30/2017 14:04 stotterer09#11
Quote:
Originally Posted by IchBinKlaus View Post
Hm, the only thing Im getting is a lot of error-messages :/

Code:
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlconv.h(787) : error C3861: 'rand': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlconv.h(792) : error C3861: 'rand': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlconv.h(839) : error C3861: 'rand': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlconv.h(847) : error C3861: 'rand': identifier not found, even with argument-dependent lookup
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlconv.h(857) : error C3861: 'rand': identifier not found,

To get the rand() Method working you have to use also: #include <stdlib.h>
but I don't think that #define if(x) if ((x) && (rand() < RAND_MAX * 0.50)) is the solution to your problem...
10/30/2017 14:07 IchBinKlaus#12
Quote:
Originally Posted by stotterer09 View Post
To get the rand() Method working you have to use also: #include <stdlib.h>
but I don't think that #define if(x) if ((x) && (rand() < RAND_MAX * 0.50)) is the solution to your problem...
Thank you, I will try it.

Update: Here's a short clip so you can see the lag spikes

[Only registered and activated users can see links. Click Here To Register...]
10/30/2017 19:07 xSlipKn0T#13
Quote:
Originally Posted by IchBinKlaus View Post
Thank you, I will try it.

Update: Here's a short clip so you can see the lag spikes

[Only registered and activated users can see links. Click Here To Register...]
I don't think it's on the source or the client. Just look at your PC to see if it's overloaded or something
10/30/2017 19:23 IchBinKlaus#14
Quote:
Originally Posted by xSlipKn0T View Post
I don't think it's on the source or the client. Just look at your PC to see if it's overloaded or something
No, my pc works perfect.
I've got a pretty good pc, such a old game like 4story cant fck my pc :D
10/30/2017 19:31 xSlipKn0T#15
Quote:
Originally Posted by IchBinKlaus View Post
No, my pc works perfect.
I've got a pretty good pc, such a old game like 4story cant fck my pc :D
Yes, but it will not be the source, because then it would have to be so with everyone.