Cheers for helping guys, i sorted out the issues with linking all of
those libraries as static libs, and now its working great :D
Cheers
Christopher Harris wrote:
With a DLL for my work mod we have to put it in the root steam folder
where
steam.exe is at.
Chris
----- Original Message -----
From: "Matt Stafford" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, December 04, 2007 11:55 PM
Subject: Re: [hlcoders] Issues with LuaBind + Source
--
[ Picked text/plain from multipart/alternative ]
From memory I had issues loading DLLs from the same directory as my
server/client.dll files, I had to put them in Source SDK Base/bin to
work
(or something like that)
On Dec 5, 2007 2:28 PM, Tom Leighton <[EMAIL PROTECTED]>
wrote:
Lua is simply a binary from luabinaries.luaforge.org
Both DLLs are there, last modified time changes with building it, i am
just about to go and build Lua on my own and try the two together
Spam wrote:If you built the LUA library as a DLL (which I assume you
are
doing
> since you reference the build creating a .lib and .dll), then that
DLL
> needs to get copied into the same folder where your server.dll is
> getting copied after a build. The server.dll has a dependency on
that
> DLL and will not load without it. You can copy the LUA DLL
anywhere on
> your path and it will also work, but probably best to copy it into
your
> mod bin directory where the server.dll lives. If you ever
> update/rebuild the LUA library, you have to make sure the updated DLL
> gets copied over.
>
> Either that or rebuild the LUA library as a static (should only
create
> a
> .lib, not .lib and .dll). That way it gets linked into your
server.dll
> and you don't have to worry about copying the LUA dll.
>
> Tom Leighton wrote:
>> After some 1337 debugging skills, i have noticed that it's not even
>> loading my server.dll... No errors otherwise, but its loading the
>> sourcetest one...
>>
>> server.dll C:\Program
>> Files\Valve\Steam\SteamApps\royalmarine0\source sdk
>> base\sourcetest\bin\server.dll N/A N/A No symbols loaded.
>> 90 20/07/2006 00:10 22000000-22769000 [1380]
hl2.exe:
>> Native
>>
>> Anyone have any ideas? No errors in the event log, cant seem to find
>> anything in VS. I'm stumped.
>>
>> Tony "omega" Sergi wrote:
>>> --
>>> [ Picked text/plain from multipart/alternative ]
>>> Maybe it's the other way around then.
>>> maybe your client is loading, but not your server.
>>> run filemon and launch and find out which dll is loading.
>>>
>>>
>>> On Dec 4, 2007 8:45 PM, Tom Leighton <[EMAIL PROTECTED]>
>>> wrote:
>>>
>>>
>>>> Hmm, the client has no reference to Lua at all (It doesnt link
with
it
>>>> or luabind).
>>>>
>>>> I'm getting fed up now, and now STEAM freezes upon login. Today is
>>>> NOT a
>>>> good day.
>>>>
>>>> I don't think it ever gets to the stage of loading the other
>>>> DLL's --
>>>> since i can rename them and it will not complain about them
missing.
>>>> Any
>>>> other ideas? Cos im all out.
>>>>
>>>>
>>>> Matt Stafford wrote
>>>>
>>>>> --
>>>>> [ Picked text/plain from multipart/alternative ]
>>>>> I got that error a while ago because my client DLL wasn't loading
>>>>>
>>>> properly
>>>>
>>>>> because there was a binary it was trying to load that was in the
>>>>> wrong
>>>>> location, if that helps at all.
>>>>>
>>>>> On Dec 5, 2007 12:26 PM, Tom Leighton
<[EMAIL PROTECTED]>
>>>>>
>>>> wrote:
>>>>
>>>>>
>>>>>> I speak too soon...
>>>>>>
>>>>>>
>>>>>> Spawn Server dm_lockdown
>>>>>> Begin loading faces (loads materials)
>>>>>> End loading faces (loads materials)
>>>>>> execing skill_manifest.cfg
>>>>>> execing skill.cfg
>>>>>> Section [Scenes]: 1096 resources total 17.54 KB, 0.84 % of limit
>>>>>> (2.10MB)
>>>>>> 32 player server started
>>>>>> Adding master server 69.28.151.162:27011
>>>>>> Adding master server 72.165.61.190:27011
>>>>>> Client "unnamed" connected (127.0.0.1:27005).
>>>>>> Connected to 127.0.0.1:27015
>>>>>> MasterRequestRestart
>>>>>> Your server needs to be restarted in order to receive the latest
>>>>>>
>>>> update.
>>>>
>>>>>> MasterRequestRestart
>>>>>> Your server needs to be restarted in order to receive the latest
>>>>>>
>>>> update.
>>>>
>>>>>> Half-Life 2
>>>>>> Map: dm_lockdown
>>>>>> Players: 1 / 32
>>>>>> Build 3264
>>>>>> Server Number 1
>>>>>> No pure server whitelist. sv_pure = 0
>>>>>> CAsyncWavDataCache: 2 .wavs total 0 bytes, 0.00 % of capacity
>>>>>> Initializing renderer...
>>>>>> Missing RecvProp for DT_BasePlayer - DT_Local/m_iFOV
>>>>>> Host_EndGame: CL_ParseClassInfo_EndClasses: CreateDecoders
failed.
>>>>>>
>>>>>> Dropped unnamed from server (Disconnect by user.)
>>>>>>
>>>>>>
>>>>>> Missing RecvProp for DT_BasePlayer - DT_Local/m_iFOV.
>>>>>>
>>>>>> What the hell is going on? I have no idea, i have no idea why
>>>>>> LuaBind
>>>>>>
>>>> is
>>>>
>>>>>> screwing with my mod in any way shape or form...
>>>>>>
>>>>>> _______________________________________________
>>>>>> To unsubscribe, edit your list preferences, or view the list
>>>>>> archives,
>>>>>> please visit:
>>>>>> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>>> Matt Stafford (Wraiyth)
>>>>> http://www.wraiyth.com
>>>>> --
>>>>>
>>>>> _______________________________________________
>>>>> To unsubscribe, edit your list preferences, or view the list
>>>>> archives,
>>>>>
>>>> please visit:
>>>>
>>>>> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>>>>>
>>>>>
>>>>>
>>>>>
>>>> _______________________________________________
>>>> To unsubscribe, edit your list preferences, or view the list
archives,
>>>> please visit:
>>>> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> -omega
>>> --
>>>
>>> _______________________________________________
>>> To unsubscribe, edit your list preferences, or view the list
>>> archives, please visit:
>>> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list
archives,
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>>
>>
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list
archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
--
Matt Stafford (Wraiyth)
http://www.wraiyth.com
--
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders