Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tips] Connect bots to web #10

Open
ElPresidentePro opened this issue Oct 16, 2014 · 3 comments
Open

[tips] Connect bots to web #10

ElPresidentePro opened this issue Oct 16, 2014 · 3 comments

Comments

@ElPresidentePro
Copy link

No description provided.

@ElPresidentePro
Copy link
Author

I got the site functional but I'm not quite sure how the bots interact with the site.
I went through some of the bot's code and it seems some of the webside files are not provided?

For example:

string PostGetMessages()
{
Bot.log.Info("Submitting /api/messages/...");
var postUrl = "http://staging.csgoshop.com/api/messages/";
var data = new System.Collections.Specialized.NameValueCollection();
data.Add("key", Bot.CSGOShopAPIKey);
postUrl += "?sig=" + Bot.CreateSHA256(Bot.CSGOShopAPIKey, Bot.CSGOShopAPIKey);
return SteamWeb.Fetch(postUrl, "POST", data, null, false, "http://staging.csgoshop.com");
}

@WortelSoep
Copy link

This bot is full with bugs, maybe not secure anymore. So you need to change a lot.

@ElPresidentePro
Copy link
Author

@kingdom200 I'm looking for someone to work you would like to help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants