Raised This Month: $ Target: $400
 0% 

Unique game id


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 05-05-2020 , 12:13   Re: Unique game id
Reply With Quote #6

Quote:
Originally Posted by Kris Kristensen View Post
Hi again,

No, I agree - this needs to be clarified. Sorry for my rude attempt to make you write code, without explaining the gameplay.

Basically what I need is a way to identify a match, assuming that my server is running concurrent games. I understand that a unique identifier is not an option. That's fine, now, I imagine the following flow:

User logs into my server (community server). The user is requested to enter a pincode before actually allowed in on the server. If the user's pin is correct the game will go into warmup mode, until at least one other opponent (not BOT) enters the game. The new enterer will also have to enter his code, and if validated correctly, he will be let into the server, and a new warmup of 1 minute commences. After that - normal gameplay.

I know a couple of the building blocks here, but the one with the input field for pincode, is that even possible? It won't work pressing Y or ~ for chat/console for input, as the code must be entered as part of the "PutInServer" logic somehow. If the user enter the wrong code, he'll be kicked from the server

Best
Kris
its probably doable but i don't think a snippet will help you
there are different ways to achieve what you want (i'm guessing private servers)
you can use sv_password and just give it to players you want
you can use sever whitelist https://www.sourcemod.net/plugins.ph...tion=&search=1
__________________
8guawong is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:05.


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