weird problem


(Demolama) #1

ok here is my problem… when adding new features to my mod and then starting a server on my computer the features works fine… for example…I added the ability for both teams to choose mp40 or thompson at spawn

when added to a public server I myself do not have any problems choosing either weapon… I can still pick either mp40 or thompson to spawn with

however other clients can not

Ive tried deleting the folder thinking that my folder contained something they didnt have thus allowing me to have it… and then getting the files off the server

but the problem is still there I can pick either weapon but other clients can not

the question is what may be the causing this? the server? my code?.. anyone have a simular problem?


(bacon) #2

This is running off of your server right?


(Demolama) #3

when Im doing a private lan host it works… but on a public server clients dont get the features but I still do

even after I deleted the folder and redownloaded from the server


(bacon) #4

You didn’t answer my question: Are YOU running the server?


(Demolama) #5

oh lol
no nd80 is


(Salteh) #6

If you used Visual Studio .NET, the other clients might need the vs.net dll to run your mod.
msvcr70.dll :moo:


(Sauron|EFG) #7

.NET is teh evil, but surely you can still build apps that doesn’t require msvcrt*.dll?


(Salteh) #8

dunno…
Splash Damage had to compile using Visual Studio 6 afaik, so bobbles told me to ship msvcrt70.dll with it if I wanted other ppl to run it :slight_smile:


(Sauron|EFG) #9

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_c_run.2d.time_libraries.asp


(SiliconSlick) #10

It does seem to be a Windows related problem.

When I connect (69.93.126.116:27963) with my
Linux client and choose Allied Medic then I can
choose either the MP-40 or the Thompson.

However, when I connect with my Windows client,
I can only choose the Thompson as an Allied Medic.

I tried downloading this:

http://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&DisplayLang=en

and then copying msvcr71.dll to my rtcwmod folder (with
cgame/ui.dll), but that didn’t help.

SiliconSlick


(Salteh) #11

Depends on the type of compile he did… a ‘debug’ compile needs the msvcrt7*D.dll… but peeps should always hand out the release .dll imo :stuck_out_tongue:


(=DaRk=CrAzY-NuTTeR) #12

were do i download the MOD?

also have you placed it in a diff folder from ETmain like C:\ET\DeoMOD and running it from a .bat file?


(Sauron|EFG) #13

Depends on the type of compile he did… a ‘debug’ compile needs the msvcrt7*D.dll… but peeps should always hand out the release .dll imo

Again, that depends on your linker settings.

I connected to the server, and it does indeed look like it’s a debug build that’s dynamically linked to MSVCRT70D.DLL.
Find the setting (it’s under Project settings, C/C++, Code Generation in VC++ 6.0) and change it to not use a DLL, then rebuild in release mode.

You can check the dependencies by right-clicking a DLL and selecting “View Dependencies” (provided you have the Depends tool that comes with VC++ installed).


(Demolama) #14

thanks for the replies… and thanks slick for the help explaining the problem

yea Im using .NET but I do have VS6 on this system as well… I’ll give a try to what you guys said and see if that’ll fix it

ok I just checked:

it was infact a debug build I switched it to release build

so should I only compile on vs6 or is .NET fine as long as Im doing a release build?


(SiliconSlick) #15

Sounds like a .NET build will require people
to do stuff (install/copy the DLL to the right place).

I’d stick with VC6 if it doesn’t require such things.

SiliconSlick (who really doesn’t care either way)


(Salteh) #16

Indeed yeh appear to be able to build stuff that doesn’t require .dlls… Tried it and broke… but I guess that’s because I’m sleepy :slight_smile:

For the visual studio .net people, the Depends.exe tool is in: C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\Bin

-Salteh-

[EDIT] Only cgame broke :frowning:


(Demolama) #17

should be fixed now… I’ll have to wait for it to be put on a server to test out… thanks for all the input


(Domipheus) #18

Its linked for a reason, either use vc6 or keep it :wink: