AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Extensions (https://forums.alliedmods.net/forumdisplay.php?f=134)
-   -   [EXTENSION] Left 4 Downtown (0.4.6) - L4D2 is here and supported (https://forums.alliedmods.net/showthread.php?t=91132)

corpsebandit 04-29-2009 18:05

Re: [EXTENSION] Left 4 Downtown (0.1.0)
 
Quote:

Originally Posted by CrimsonGT (Post 815932)
Make sure the extensions running (and make sure you installed it...) by typing sm exts list.

Sorry to bother but I've installed the extension to the proper location and ReadyUp still doesn't work for my server. I'm new at all of this--but when I type sm exts list left4downtown doesn't show up on the list at all. Did I miss a step in the installation process? (And yes I have restarted server. Several times.)

Downtown1 04-30-2009 10:49

Re: [EXTENSION] Left 4 Downtown (0.1.0)
 
Quote:

Originally Posted by corpsebandit (Post 817343)
Sorry to bother but I've installed the extension to the proper location and ReadyUp still doesn't work for my server. I'm new at all of this--but when I type sm exts list left4downtown doesn't show up on the list at all. Did I miss a step in the installation process? (And yes I have restarted server. Several times.)

Then you didn't install it in the right spot. The extension DLL/.SO should be in /left4dead/addons/sourcemod/extensions

corpsebandit 04-30-2009 15:06

Re: [EXTENSION] Left 4 Downtown (0.1.0)
 
Quote:

Originally Posted by Downtown1 (Post 817754)
Then you didn't install it in the right spot. The extension DLL/.SO should be in /left4dead/addons/sourcemod/extensions

Sorry Downtown but that's exactly where the file is sitting--looking right at it: /l4d/left4dead/addons/sourcemod/extensions/left4downtown.ext.dll. Same for the .so file. The text file left4downtown is in l4d/left4dead/addons/sourcemod/gamedata/.

Any other ideas why it's not showing up on the sm exts list?

DJ Tsunami 04-30-2009 15:55

Re: [EXTENSION] Left 4 Downtown (0.1.0)
 
What does sm plugins list say about ReadyUp? Extensions only get loaded when plugins that use them are running.

Downtown1 05-01-2009 01:51

Re: [EXTENSION] Left 4 Downtown (0.1.0)
 
Quote:

Originally Posted by corpsebandit (Post 817929)
Sorry Downtown but that's exactly where the file is sitting--looking right at it: /l4d/left4dead/addons/sourcemod/extensions/left4downtown.ext.dll. Same for the .so file. The text file left4downtown is in l4d/left4dead/addons/sourcemod/gamedata/.

Any other ideas why it's not showing up on the sm exts list?

As DJ Tsunami has said, my extension currently only loads dynamically so a plugin needs to request it first.

If the plugin is loaded (or I guess fails to load?) but the extension is not there, then the extension is not in the right spot. If the plugin is not loaded (and doing "sm plugins load l4dready" fails to open the file) then the plugin is not installed in the right place.

DDR Khat 05-01-2009 06:32

Re: [EXTENSION] Left 4 Downtown (0.1.0)
 
Seeing as you're got a extension going for Left4Dead. Can you investigate the SetGameType() function. See if it can change gamemode all the time (Even if locked by a lobby connection) ? and if so, could you perhaps provide some commands that we could use in SourceMod, I.E?

l4d_gmode() // 0 = Co-op, 1 = Versus, 2 = Survival

Thanks in advance.

Downtown1 05-01-2009 16:30

Re: [EXTENSION] Left 4 Downtown (0.1.0)
 
Where is the function SetGameType? I do not see in server_i486.so

DDR Khat 05-01-2009 18:22

Re: [EXTENSION] Left 4 Downtown (0.1.0)
 
Quote:

Originally Posted by Downtown1 (Post 818803)
Where is the function SetGameType? I do not see in server_i486.so

CrimsonGT apparently found it in the linux server_i486.so I gave him?
Quote:

Originally Posted by Fyren@IRC
Fyren: Ess000522:~/symsteam/l4ddev/left4dead/bin$ nm -C server_i486.so | grep GameType
Fyren: 00000000005838ec W CGameRules::GetGameType()
Fyren: 00000000005838e8 W CGameRules::GetGameTypeName()

I apologize, seems I typed the wrong name.

Downtown1 05-01-2009 22:41

Re: [EXTENSION] Left 4 Downtown (0.1.0)
 
Why would you want to call those? It's probably the same thing as getting the value of the CVAR mp_gamemode.

DDR Khat 05-02-2009 15:27

Re: [EXTENSION] Left 4 Downtown (0.1.0)
 
Quote:

Originally Posted by Downtown1 (Post 819034)
Why would you want to call those? It's probably the same thing as getting the value of the CVAR mp_gamemode.

It could however get around the lobby lock. So might it perhaps be an idea to take a check so we can resolve this issue?


All times are GMT -4. The time now is 04:56.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.