GithubHelp home page GithubHelp logo

orabot's Introduction

OpenRA

A Libre/Free Real Time Strategy game engine supporting early Westwood classics.

Please read the FAQ in our Wiki and report problems at https://github.com/OpenRA/OpenRA/issues.

Join the Forum for discussion.

Play

Distributed mods include a reimagining of

  • Command & Conquer: Red Alert
  • Command & Conquer: Tiberian Dawn
  • Dune 2000

EA has not endorsed and does not support this product.

Check our Playing the Game Guide to win multiplayer matches.

Contribute

Mapping

  • We offer a Mapping Tutorial as you can change gameplay drastically with custom rules.
  • For scripted mission have a look at the Lua API.
  • If you want to share your maps with the community, upload them at the OpenRA Resource Center.

Modding

Support

  • Sponsor a mirror server if you have some bandwidth to spare.
  • You can immediately set up a Dedicated Game Server.

License

Copyright (c) OpenRA Developers and Contributors This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For more information, see COPYING.

orabot's People

Contributors

abcdefg30 avatar mailaender avatar penev92 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

orabot's Issues

Desync Diff

When the bot sees desync logs it should not regurgitate them like the exception.log but diff then and display the diff instead.

[Reminder] Remove unnecessary additional slash in folder code

According to the webserver logs, the code directing to the location of the images sports an additional slash (see log below)
This is totally low priority, everything works as intended, but nevertheless, here is the reminder ;)

13:09:41 45.35.196.58:14140 Requested GET /Icons//github-issue-open.png
13:09:41 45.35.196.58:14140 Fully downloaded - 900 @ 5.1 KB/s - /Icons//github-issue-open.png
13:15:49 45.35.205.46:23712 Requested GET /Icons//github-issue-open.png
13:15:49 45.35.205.46:23712 Fully downloaded - 900 @ 3.0 KB/s - /Icons//github-issue-open.png
13:30:06 172.106.11.86:58280 Requested GET /Icons//github-pr-merged.png
13:30:06 172.106.11.86:58280 Fully downloaded - 730 @ 47.5 KB/s - /Icons//github-pr-merged.png
13:45:14 45.35.198.202:64700 Requested GET /Icons//github-issue-open.png
13:45:15 45.35.198.202:64700 Fully downloaded - 900 @ 1.2 KB/s - /Icons//github-issue-open.png
14:19:03 45.35.196.58:28030 Requested GET /Icons//github-issue-open.png
14:19:03 45.35.196.58:28030 Fully downloaded - 900 @ 54.9 KB/s - /Icons//github-issue-open.png
14:21:23 45.35.205.34:24700 Requested GET /Icons//github-issue-open.png
14:21:23 45.35.205.34:24700 Fully downloaded - 900 @ 2.7 KB/s - /Icons//github-issue-open.png

Player Count command

The IRC bot had it.

]players
[21:32] Waiting (playing) --> RA: 33 (189); TD: 3 (28); D2k: 0 (8); Other: 1 (1)

Although this can certainly be improved upon.

Add a set of commands to set a temporary channel topic

It was requested that a set of commands be added like ]startTopic <topic> and ]endTopic on which the bot prints out the relevant message, pin it and also updates the channel topic with <main_topic> | <temp_topic> |.

Lua stack traces don't trigger

Fatal Lua Error: [string "-- Make copies of global functions to preve..."]:30: Uncaught CLR exception at Lua->CLR boundary: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at OpenRA.Mods.Common.Scripting.TriggerGlobal.OnObjectiveCompleted(Player player, LuaFunction func) in OpenRA/OpenRA.Mods.Common/Scripting/Global/TriggerGlobal.cs:line 183
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at OpenRA.Scripting.ScriptMemberWrapper.Invoke(LuaVararg args) in OpenRA/OpenRA.Game/Scripting/ScriptMemberWrapper.cs:line 76
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Eluant.LuaRuntime.MethodWrapper.Invoke(Object[] parms)
   at Eluant.LuaRuntime.MakeManagedCall(IntPtr state, MethodWrapper wrapper)
   at Eluant.LuaRuntime.Call(IList`1 args)
   at Eluant.LuaRuntime.Call(LuaFunction fn, IList`1 args)
   at Eluant.LuaFunction.Call(IList`1 args)
   at Eluant.LuaFunction.Call(LuaValue[] args)
   at OpenRA.Scripting.ScriptContext.WorldLoaded() in OpenRA/OpenRA.Game/Scripting/ScriptContext.cs:line 297

It would be great if the bot would detect the inner exception:

---> System.NullReferenceException: Object reference not set to an instance of an object.
at OpenRA.Mods.Common.Scripting.TriggerGlobal.OnObjectiveCompleted(Player player, LuaFunction func) in OpenRA/OpenRA.Mods.Common/Scripting/Global/TriggerGlobal.cs:line 183

and highlight it.

Active games command

The IRC bot had it.

]games
OpenRA Game - 6 - RA @release-0202
EU Official 1 - 3 - TD @release-0202
cyberia layer 02 - 3 - RA @release-0202
|AK47|DEDI|SSD|20Gbps|5| - 3 - RA @release-0202
WorkumGames - 2 - RA @release-0202
NOT a noob server - 2 - RA @release-0202
halgame - 2 - SP @release-0210
EU Official 6 - 2 - RA @release-0202
_MrMadDoc's_Game - 1 - RA @playtest-0303
TSW - 1 - RA @release-0202
Peacemaker - 1 - RA @release-0202
pallimallinen - 1 - RA @release-0202
EU Official 8 - 1 - RA @release-0202
EU Official 4 - 1 - RA @release-0202
EU Official 2 - 1 - RA @release-0202
DOCKER SERVER - 1 - RA @release-0202
|AK47|DEDI|SSD|20Gbps|11 - 1 - RA @release-0202

Although this can probably be improved upon.

Hide OP name and delete OP post when replay is posted

Orb
You know what would be really nice is if there was a way to then access these replays without knowing who uploaded them

jaZz_KCS
Orabot DLs the replay, parses it without mentioning who uploaded it and deletes the original post?

jaZz_KCS
Instead it could say smth like "A new replay has been posted" or whatnot

Add a Youtube/Twitch feed

Apparently Youtube exposes an atom feed for upload notifications: https://developers.google.com/youtube/v3/guides/push_notifications

C# supports reading such feeds. (Random StackOverflow link: https://stackoverflow.com/questions/10399400/best-way-to-read-rss-feed-in-net-using-c-sharp)

Twitch setup seems to be a bit more convoluted at first glance:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.