Blockland Forums > Modification Help

Server_DRPG Join-Restrictions?

Pages: (1/4) > >>

Blocker Ctgr:

I was wondering what code makes a client not able to connect to a server if they dont have a mod. Because one of my mods I have crashes people if they dont have the client side patch for it.

       Heres a pic of the restriction if you dont understand what i'm trying to say.



Greek2me:


--- Code: ---%client.delete("The message to display when the client is dropped.");
--- End code ---

When they connect, check if they have the mod, and if they don't, do the above.

Blocker Ctgr:


--- Quote from: Greek2me on September 09, 2011, 07:02:55 PM ---
--- Code: ---%client.delete("The message to display when the client is dropped.");
--- End code ---

When they connect, check if they have the mod, and if they don't, do the above.

--- End quote ---

Yes. I know the %client.delete part. But HOW do I check if they have the mod.

Chrono:

There's two different ways to do it.

DRPG's way can easily conflict with other mods. (such as RTB and DRPG)
The other way shows "<NAME> connected." "<NAME> has left the game."

Blocker Ctgr:


--- Quote from: Chrono on September 09, 2011, 07:45:24 PM ---There's two different ways to do it.

DRPG's way can easily conflict with other mods. (such as RTB and DRPG)
The other way shows "<NAME> connected." "<NAME> has left the game."

--- End quote ---

That is no use to me at all.

Pages: (1/4) > >>

Go to full version