darklordabc / Legends-of-Dota-Redux

A Custom Game for Dota 2
http://steamcommunity.com/sharedfiles/filedetails/?id=786348190
52 stars 35 forks source link

Create Info Panel, with changelog, credits and ability to leave and receive comments. #87

Closed darklordabc closed 8 years ago

darklordabc commented 8 years ago

This is prerequisite for #79.

image

I'd like to add a leave-comment option int the GUI somewhere, where users can leave simple text messages and press submit to send them to a web location (ideally to a free web location or even this github).

Example of a custom game sending data to external web source: https://github.com/cowsforyou/barracks_master/blob/b3993e7996a2610d4312cfd3e353777c4c2192b1/content/barracks_master/panorama/scripts/ladder/ladder.js#L1-L23 https://github.com/cowsforyou/barracks_master/blob/7c695672c27123e9df84d31510c5fc3569308ac8/game/barracks_master/scripts/vscripts/statcollection/staging.lua#L2-L43

Myrl commented 8 years ago

I can do this.

darklordabc commented 8 years ago

@Yahnich is about to upload his progress on the panel, so that may help get you started.

Myrl commented 8 years ago

Where would it be submitted? If it's through github then it'd require a github account.

darklordabc commented 8 years ago

I havent figured that out yet. I may have to check out the options available.

darklordabc commented 8 years ago

Maybe herokuapp? This dota 2 mod uses it for its high-scores:http://barracksmaster.herokuapp.com/ladder

Btw, Barracksmaster is the same code example I listed above. I'm assuming we can use herokuapp very cheaply to maintain a database of a) user comments b)abilities that get picked and c)list of steamid's connected to the abilities. Prehaps later we can store more information, but for now we only need ability statistics.

Having player+ability statistics may be useful for a variation of balance mode, where abilities that a player rarely uses are cheaper, encouraging players to try new abilities.

Myrl commented 8 years ago

I'd really prefer DigitalOcean for these kinds of things.

darklordabc commented 8 years ago

I'd rather a free solution if possible so if the project dies, there might still be a chance of the saving system still working, but I guess we can do with a paid method. Is this cheapest option on DigitialOcean functional for our meager needs? image

Myrl commented 8 years ago

I read on herokuapp again. It seems to work for our needs.

darklordabc commented 8 years ago

Okay great. If you want to go ahead and research how comments can be uploaded and stored on there then we can implement it.

darklordabc commented 8 years ago

156 This has been merged. Now we brace for the bugs :stuck_out_tongue: