Raised This Month: $ Target: $400
 0% 

Connecting CS GO server to a website


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Lukaszbacsi
New Member
Join Date: Oct 2016
Old 10-05-2016 , 16:08   Connecting CS GO server to a website
Reply With Quote #1

Hi everyone ! I need help with this ,

So, Plugin should receive 2 variable, like:

match_type: “number”; number stands for how much player will be on each team.

for example: match_type “1”; means: 1v1
or match_type “5”; means 5v5

If match_type is higher then 1, then match_team1_id and match_team2_id should be set. 🙂

match_id “150”; means that it is the match with the ID 150 in the remote database.

When player joins to the server it should call the remote API like:

/api/match/150/is_player
It should post the steam id:

“steamid” => “XXXXXXXX:XX:X”;

Based on the response: true / false

Player can join or cannot join the server.

When all players joined (based on the match_type), it should start the game automatically.

On every round end it should report the result back to the API.

/api/match/150/roundEnd

player1_id = 1
player2_id = 0

If match_type is higher than 1 it should report team scores: team1_id and team2_id

When the match finishes, it should report back the results to this API, with the end results.

/api/match/150/finished

player1_id / team1_id = 9
player2_id / team2_id = 0
Lukaszbacsi is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-05-2016 , 16:58   Re: Connecting CS GO server to a website
Reply With Quote #2

Why is it so hard for you people to make a difference between AMXModX and Sourcemod section?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 10-05-2016 , 19:07   Re: Connecting CS GO server to a website
Reply With Quote #3

OP spammed this in the 1v1 thread.

Im out.
__________________
Neuro Toxin is offline
Vergil333
Member
Join Date: Apr 2016
Old 10-06-2016 , 04:17   Re: Connecting CS GO server to a website
Reply With Quote #4

Quote:
Originally Posted by OciXCrom View Post
Why is it so hard for you people to make a difference between AMXModX and Sourcemod section?
What's the difference? I've tought AMXModX is outdated and Sourcemod is modern


Are you saying that Lukaszbacsi request is easier to do in AMXModX?
Vergil333 is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 10-06-2016 , 05:57   Re: Connecting CS GO server to a website
Reply With Quote #5

Quote:
Originally Posted by Vergil333 View Post
What's the difference? I've tought AMXModX is outdated and Sourcemod is modern


Are you saying that Lukaszbacsi request is easier to do in AMXModX?
SourceMod is of course more modern, but it also is for the Source Engine and not for GoldSRC.
__________________
retired
shavit is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-06-2016 , 07:06   Re: Connecting CS GO server to a website
Reply With Quote #6

Quote:
Originally Posted by Vergil333 View Post
What's the difference? I've tought AMXModX is outdated and Sourcemod is modern


Are you saying that Lukaszbacsi request is easier to do in AMXModX?

Attached Thumbnails
Click image for larger version

Name:	amxmodvssourcemod.png
Views:	264
Size:	51.1 KB
ID:	157767  
__________________
Do not Private Message @me
Bacardi is offline
Vergil333
Member
Join Date: Apr 2016
Old 10-06-2016 , 08:37   Re: Connecting CS GO server to a website
Reply With Quote #7

AMX ModX is for old half-life engine and SourceMod for Source engine?
Vergil333 is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 10-06-2016 , 09:01   Re: Connecting CS GO server to a website
Reply With Quote #8

Quote:
Originally Posted by Vergil333 View Post
AMX ModX is for old half-life engine and SourceMod for Source engine?
yeah
__________________
retired
shavit is offline
Lukaszbacsi
New Member
Join Date: Oct 2016
Old 10-06-2016 , 15:07   Re: Connecting CS GO server to a website
Reply With Quote #9

My friends! Can anyone help me please! It is one of the biggest projects in csgo ! Instead of fighting about halflife 1,2 engines and amx sourcemod ... Someone can help with this ?
Lukaszbacsi is offline
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 10-06-2016 , 15:19   Re: Connecting CS GO server to a website
Reply With Quote #10

Isn't this a request for plugin (I see no code here...)?


If that is the case:
OMG! OMG! Somebody call the section police !!!

P.S.: No sarcasm...
__________________
Plugins: TeamGames
Includes: Menu stocks, ColorVariables, DownloadTableConfig

> No help through PM, make a topic.

Last edited by KissLick; 10-06-2016 at 15:20.
KissLick is offline
Reply



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 13:40.


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