“Langeweile… Nix zu tun…” – Das wäre meine Antwort auf “Warum hast du es gemacht?”
Aber moment, was hab ich überhaupt gemacht?

steamgroup_joinspam
Das, meine Herren (und Damen?), ist ein Tool das sämtlichen öffentliche Steam-Community ‘Groups’ beitritt. Bisher hab ich 25 Seiten an Groups geparsed und bin Mitglied in 1248 Gruppen. (Die schräge Zahl lässt sich durch die ersten Gehversuche erklären Wink )

Interessant daran fand ich persönlich das ganze mit Threads zu machen, da einzelne GET’s einfach zu langsam sind bei der Seite. Hoffe ich werde nicht noch wegen versuchtem DoS gebannt. Grin

        private string GetWork()
        {
            if (m_lock)
                return "";
            else
            {
                m_lock = true;
                string ret_wrk = "";
                if(m_work.Count > 0)
                {
                    ret_wrk = (string)m_work[0];
                    m_work.RemoveAt(0);
                }
                m_lock = false;
                return ret_wrk;
            }
        }

        public void AddWork(string workpackage)
        {
            m_lock = true;
            m_work.Add(workpackage);
            m_lock = false;
        }

Und gerade im Chat: (geht um GarrysMod LUA coding)

22:28 – creec: tho i made something that makes my cpu load 100%
22:28 – creec: atleast it looks good

Awesome!

Edit:

SteamgroupSpam_v0.8.7z go nuts ;3

No related posts.

podcast
Tagged with:
notice
 
handbook

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

api
advertise