Author Topic: Dedicated Server: Some emitter effects not showing up in the list  (Read 1498 times)

I just bought Blockland recently.  I know you'll all want to clap, jump for joy, hoot, holler, etc. that some random Internet stranger has just bought Blockland but I must ask you maintain some modicum of seriousness, because I have a conundrum--and it is serious business:

I have a minor, but fairly irritating, problem.

When I run a dedicated (lan) server, certain packed-in emitter effects don't show up in the list, among these being the laser, fire A, fire B, and fog A-C.  Everything else is fine and works satisfactorily.

Curiously, this does not occur when I run a non-dedicated lan server.  I don't know why.  Maybe it's something obvious, but I'm new, recall, so I wouldn't really know.

I searched a bit and nothing like this came up, so I presume it's not a question/problem that's been answered solved.  (The implicit question here:  "Why is it behaving like this and how do I make it stop?")

I'm running it under Wine (which works excellently) on Debian Sid GNU/Linux and I've made some minor changes to the preferences (which I produce--sans passwords, etc.--if that's necessary and cogent to the problem).

Basically, I want to be able to run a dedicated server on that machine and have the emitter effects also.  But if there's something about running a dedicated server that prevents me from doing that, I'll do without.  I want to run a mostly-persistent server on that machine and, since its graphics hardware is, uh, not very capable, dedicated helps on the utilization side.  If there is a solution, though, I would very much like to know it.  Thank you for any attention and help.


A tangentially related aside:  I figured from the FAQ that this is probably alright, but it is my intention to run a (dedicated) server--on a separate machine, in the same house--while also using another copy, on another machine, as a client.  Like I said, I figured this was okay, but if it isn't, I'll stop immediately, of course.

Wow, there are a good few more views than mine, but no replies.  Either I'm asking a really stupid question, or nobody really knows.

Anyway, now that I have a little time, finally, I've been looking into the matter a little further.

From the diff I posted (dedicated on the left, regular server on the right--copy and paste it into a text editor without word wrapping on if it doesn't look right):
Code: [Select]
Executing add-ons/jvs/serverprefs.code.                                                                 Executing add-ons/jvs/serverprefs.code.
Executing Add-Ons/Particle_Player.cs.                                                                   Executing Add-Ons/Particle_Player.cs.
Executing Add-Ons/Emote_Confusion.cs.                                                                   Executing Add-Ons/Emote_Confusion.cs.
Executing Add-Ons/Vehicle_Horse.cs.                                                                     Executing Add-Ons/Vehicle_Horse.cs.
Executing Add-Ons/Emote_Love.cs.                                                                        Executing Add-Ons/Emote_Love.cs.
                                                                                                   >    Executing Add-Ons/Client/Script_MTMode.cs.
                                                                                                   >    Executing Add-Ons/Client/Mod_JVS_Client.cs.
                                                                                                   >    Executing add-ons/ADD_ON_LIST.cs.
                                                                                                   >    JVS Mod :: Doors :: Client Init
                                                                                                   >    Executing add-ons/jvs/doors/client.code.
                                                                                                   >    JVS Mod :: Portals :: Client Init
                                                                                                   >    Executing add-ons/jvs/portals/client.code.
                                                                                                   >    Executing Add-Ons/Vehicle_MagicCarpet.cs.
                                                                                                   >    Executing Add-Ons/Player_LeapJet.cs.
                                                                                                   >    Executing Add-Ons/Tool_MultiTool.cs.
                                                                                                   >    Executing Add-Ons/Particle_Basic.cs.
                                                                                                   >    Executing Add-Ons/Weapon_Gun.cs.
Executing Base/config/server/musicList.cs.                                                              Executing Base/config/server/musicList.cs.
*** LOADING MISSION: base/data/missions/bedroom.mis                                                     *** LOADING MISSION: base/data/missions/bedroom.mis

Note that, after loading "add-ons/jvs/portals/client.code", the it doesn't load the magic carpet, gun, etc. either, in addition to "Particle_Basic.cs"--which I had presumed (which I had presumed) Fire A, Fire B, Fog A, etc. are in.

Well, I figured checking the accessibility of magic carpets, guns, etc. would be a good idea.  So I did.  They're not accessible, of course.

While it occurs to me that these things could include client code, I figure that they probably don't and it's some error I introduced myself in my installing mods or something.  So I figure I'll just try that and report back.

If I find a solution, of course, I'll be sure to post it (on the off-chance anybody else has the same problem.)

Tried running a dedicated server on a different machine and it cut down the effects to handful (5-7) and NO vehicles.  Very odd.


Would you stop saying that, SuPeR Twat?

Ontopic;

Maybe something's overwriting the FX? I don't know for sure, but just trying to help.

Badspot

  • Administrator
Try it with no 3rd party add-ons.  Most add-ons are very bad about separating client stuff from server stuff so they tend to break dedicated servers. 

Thanks for the responses!

re install?
I might, but there's really absolutely no reason for this not to work.  It works fine outside of being a dedicated server.

Would you stop saying that, SuPeR Twat?

Ontopic;

Maybe something's overwriting the FX? I don't know for sure, but just trying to help.
No, there's still definitely there.  It's only dedicated server which seems to have the problem.  Thank you, though.

Try it with no 3rd party add-ons.  Most add-ons are very bad about separating client stuff from server stuff so they tend to break dedicated servers. 
I did that, but they still didn't show up.  The gun and "Particle_Basic" also don't show up when they're the only thing I select (I've attached a partial log of this).   Selecting was:  going in full mode, setting it, starting LAN server, stopping it, then starting dedicated LAN--editing ADD_ON_LIST.cs doesn't seem to do much of anything and there doesn't seem to be anything in base/config to configure this.  Speaking of:  what file should I tinker with if I want to configure which add-ons get/don't get loaded and don't/can't use the graphical client?

Will try a few more configurations.

Well, nothing I did seemed to make an difference in getting the add-ons that wouldn't load loading.  I did discover that simply exec-ing them ("exec("Add-On/foo.cs");") succeeded and didn't cause any problems with the server.  It's kind of an ugly solution.  If nothing else, though, I'd like to find a way to make this automatic, as I intend to write (and have actually already started writing) an init script that'll automatically start/stop a blockland dedicated server when the machine goes up or down.