RE: [hlcoders] Logic Ent's Client side

2005-12-22 Thread Greg Chadwick
if ( pPlayer = NULL ) That's your problem you're not comparing to NULL you're assigning to NULL hence when you dereference the pointer things go wrong. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam amckern Mckern Sent: 22 December 2005 03:07 To:

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Fabian Schreyer
perhaps you should look what ldd server_i486.so tells you? On 12/22/05, Stephen Micheals [EMAIL PROTECTED] wrote: i have been trying to find out what exactly is wrong the server binary seem to compile perfectly without errors or any warnings but it seems to build a invalid binary. im using

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Stephen Micheals
i get this: srcds # ldd hostiletest/bin/server_i486.so linux-gate.so.1 = (0xe000) libm.so.6 = /lib/libm.so.6 (0xb72d3000) libdl.so.2 = /lib/libdl.so.2 (0xb72ce000) /opt/srcds/bin/tier0_i486.so (0xb72a) /opt/srcds/bin/vstdlib_i486.so (0xb728b000)

RE: [hlcoders] Logic Ent's Client side

2005-12-22 Thread Adam \amckern\ Mckern
Ahh, simplie fix - and we have been spending a good part of 2 weeks on working out if it was the class call! Thanks Greg! --- Greg Chadwick [EMAIL PROTECTED] wrote: if ( pPlayer = NULL ) That's your problem you're not comparing to NULL you're assigning to NULL hence when you dereference

RE: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Scott Loyd
Also, after reading your earlier post, it looks like you are symbolically linking it okay, but this is your problem: LDFLAGS=-lm -ldl /opt/srcds/bin/tier0_i486.so /opt/srcds/bin/vstdlib_i486.so Change it to LDFLAGS=-lm -ldl tier0_i486.so vstdlib_i486.so -Original Message- From: [EMAIL

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Fabian Schreyer
When I compiled the linux server for my mod, I tried a lot of things (had the same problem like you), but finally I found out it's quite easy. You have to set the GAME_DIR in your makefile to ./ And when you do ldd, first cd to your srcds directory (where you find all of these run scripts) and

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Stephen Micheals
actually i just made those changes you suggested a few moments before i noticed your reply and then deleted the server_i486.so to have it relink the binary and the binary is still not working in the server but i did get this from ldd: srcds # ldd hostiletest/bin/server_i486.so

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Jeff Fearn
On 12/22/05, Stephen Micheals [EMAIL PROTECTED] wrote: tier0_i486.so = not found vstdlib_i486.so = not found You have not exported your library path, it can't find the HL libraries. export LD_LIBRARY_PATH=/path/to/hlds:$LD_LIBRARY_PATH Jeff

RE: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Scott Loyd
hlds_run script will set the path to those libs on start. # setup the libraries, local dir first! export LD_LIBRARY_PATH=.:bin:$LD_LIBRARY_PATH -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Fearn Sent: Thursday, December 22, 2005 2:56 AM To:

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Stephen Micheals
And when you do ldd, first cd to your srcds directory (where you find all of these run scripts) and then try it this way: ldd yourmod/bin/server_i486.so i have been doing that actually. When I compiled the linux server for my mod, I tried a lot of things (had the same problem like you), but

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Stephen Micheals
so i have to set this before compiling the serverbinary or i have to set it before runing the server? this is all a bit confusing to me, please forgive my stupidity everyone. On 12/22/05, Jeff Fearn [EMAIL PROTECTED] wrote: You have not exported your library path, it can't find the HL

RE: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Scott Loyd
You don't have to set it at all. The hlds_run script will set it so the hlds server knows where to find those libraries. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Micheals Sent: Thursday, December 22, 2005 3:10 AM To:

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Stephen Micheals
compile is done the thing compiles fine but still the thing refused to get loaded by the server. this is driving me insane. heres some items from the console: srcds # ldd hostiletest/bin/server_i486.so linux-gate.so.1 = (0xe000) libm.so.6 = /lib/libm.so.6 (0xb72d3000)

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Jeff Fearn
On 12/22/05, Stephen Micheals [EMAIL PROTECTED] wrote: compile is done the thing compiles fine but still the thing refused to get loaded by the server. this is driving me insane. Realise that you had at least two problems and you have overcome one. :) heres some items from the console:

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Fabian Schreyer
Perhaps you could find the error by doing a strace ./srcds_run -game hostiletest -insecure +maxplayers 12 +map hi_test On 12/22/05, Stephen Micheals [EMAIL PROTECTED] wrote: compile is done the thing compiles fine but still the thing refused to get loaded by the server. this is driving me

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Stephen Micheals
is that really needed is that not redundant since these: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.1/libstdc++.a /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.1/libgcc_eh.a are already linked in? also just tryed adding it anyways it did not work. On 12/22/05, Jeff Fearn [EMAIL PROTECTED] wrote: Realise

Re: [hlcoders] 64 Bit, and Valves Relase timetable

2005-12-22 Thread Teddy
An update has been released for HL2 Lost Coast with 64 bit support: http://www.steampowered.com/index.php?area=newsid=496 My question is, when the SDK code update is eventually released, how will mods be able to make 64-bit versions? Will it require a different code base for 32 64 bit versions?

Re: [hlcoders] 64 Bit, and Valves Relase timetable

2005-12-22 Thread Benjamin Davison
-- [ Picked text/plain from multipart/alternative ] Hopefully Teddy. (Just made a post about this just after you did ;)) On 12/23/05, Teddy [EMAIL PROTECTED] wrote: An update has been released for HL2 Lost Coast with 64 bit support: http://www.steampowered.com/index.php?area=newsid=496 My

[hlcoders] Source 64bit, any word on SDK code update?

2005-12-22 Thread Benjamin Davison
-- [ Picked text/plain from multipart/alternative ] In an earlier topic somebody asked about VS2005 and Alfred responded* that VS2005 was part of Valves 64 bit port efforts. OK so now that the 64bit version has made an appearance will the SDK code update be close behind? *He might of meant

RE: [hlcoders] Source 64bit, any word on SDK code update?

2005-12-22 Thread Ben Everett
VS8 does work in a 64-bit environment. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Davison Sent: Thursday, December 22, 2005 7:35 PM To: hlcoders@list.valvesoftware.com Subject: [hlcoders] Source 64bit, any word on SDK code update? -- [

Re: [hlcoders] Source 64bit, any word on SDK code update?

2005-12-22 Thread Benjamin Davison
-- [ Picked text/plain from multipart/alternative ] I meant, does it have a specific 64 bit binary? On 12/23/05, Ben Everett [EMAIL PROTECTED] wrote: VS8 does work in a 64-bit environment. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin

Re: [hlcoders] Source 64bit, any word on SDK code update?

2005-12-22 Thread Adam \amckern\ Mckern
Working with my copy of 2005 pro, it only comes in 32bit (at the moment) - to build a 64 bit, its just a matter of useing secure mem space functions, and fixing about 10 assingment's - i was going to relase my 64bit sp conversion in feb, but if valve have one, then i might hold off untill i hear