Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2016-10-29 18:11:12, last edited by OpenPlayerIO (2016-10-31 01:09:19)

OpenPlayerIO
Member
Joined: 2016-10-29
Posts: 5

[Library] OpenPIO.PlayerIOClient | Open-Source PlayerIOClient

OPIO_Post.png

OpenPIO.PlayerIOClient

An open-source alternative to PlayerIOClient.
9tk7vrpboxu2lleu | Repository

FAQ:
  • Is it possible to use this as a drop-in replacement for PlayerIOClient?
    Almost certainly. There's support for the vast majority of PlayerIOClient functionality.

  • What are the benefits of using OpenPIO.PlayerIOClient rather than PlayerIOClient
    The largest advantage towards open-source is the flexibility it provides.
    For example, OpenPIO.PlayerIOClient provides valid JSON representations of DatabaseObjects, as opposed to the pseudo-JSON you'll find in PlayerIOClient.

  • What are the performance costs/benefits when using OpenPIO.PlayerIOClient?
    Currently, there are no benchmarks available - we'll get on that soon!

  • What license does OpenPIO.PlayerIOClient reside under?
    GNU Lesser General Public License 3.0 or higher.

  • Which .NET framework does OpenPIO.PlayerIOClient require?
    .NET Framework 4 or above.

Offline

#2 2016-10-29 18:16:13, last edited by OpenPlayerIO (2016-10-29 18:52:23)

OpenPlayerIO
Member
Joined: 2016-10-29
Posts: 5

Re: [Library] OpenPIO.PlayerIOClient | Open-Source PlayerIOClient

Contributors:
  • XxAtillaxX

  • EEJesse

Acknowledgements:

Offline

#3 2016-10-29 18:16:51, last edited by Koya (2016-10-29 18:42:17)

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Library] OpenPIO.PlayerIOClient | Open-Source PlayerIOClient

P cool, got a few classes there.

Hidden text

Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#4 2016-10-31 01:11:52

OpenPlayerIO
Member
Joined: 2016-10-29
Posts: 5

Re: [Library] OpenPIO.PlayerIOClient | Open-Source PlayerIOClient

The repository URL has been changed, as previous automated build configurations needed to be purged.

Offline

#5 2017-06-21 02:50:02, last edited by XxAtillaxX (2017-06-21 02:51:02)

XxAtillaxX
Member
Joined: 2015-11-28
Posts: 4,202

Re: [Library] OpenPIO.PlayerIOClient | Open-Source PlayerIOClient

I've updated this project for the first time in forever. I forgot to implement a few things since becoming preoccupied with separate projects, so now Callback<T> as well as BigDB LoadRange have been implemented.

EDIT: I forgot to add, AppVeyor now supports VS2017 so the artifacts (release binaries) are available there, if you click the build picture on Github.


signature.png
*u stinky*

Offline

Wooted by:

#6 2018-01-08 04:39:24

XxAtillaxX
Member
Joined: 2015-11-28
Posts: 4,202

Re: [Library] OpenPIO.PlayerIOClient | Open-Source PlayerIOClient

I've updated the project to support SimpleGetCaptcha and Authenticate, as well as adding an optional feature which allows using a SOCKS4A & SOCKS5 proxy in multiplayer connections.

As demonstrated, you can use this code to connect with a proxy to a game which, upon successful connection, sends you a message containing your (proxy) IP address visible to the server.

            var client = PlayerIO.Connect("ipcallback-sqxrultqrkanxrkasmloa", "public", "kitty", "");

            client.Multiplayer.Proxy = new MultiplayerProxy(new IPEndPoint(IPAddress.Parse(ipAddress), port));
            client.Multiplayer.CreateJoinRoom("MahRoomId", "MahSecretRoom", true, null, null, new Callback<Connection>(connection => {
                connection.OnMessage += (s, e) => {
                    Console.WriteLine(e);
                };
            }));

signature.png
*u stinky*

Offline

#7 2018-01-08 04:40:46

John
Member
Joined: 2019-01-11
Posts: 2,009

Re: [Library] OpenPIO.PlayerIOClient | Open-Source PlayerIOClient

I would woot but I think I've had enough woots for today!


PW?scale=2

Offline

Wooted by:

PTU

#8 2018-02-11 11:41:43

XxAtillaxX
Member
Joined: 2015-11-28
Posts: 4,202

Re: [Library] OpenPIO.PlayerIOClient | Open-Source PlayerIOClient

I made a really dumb oversight and hadn't noticed, but it's fixed now.
SprMO1d.png

May the Lord place mercy upon my soul, for I have sinned and touched the code without re-running unit tests - ultimately leading to me accidentally removing a case during refactoring.
I'll take 8 lashings as that's how many stars the project currently has, somehow.


signature.png
*u stinky*

Offline

#9 2018-02-11 13:45:31

Processor
Member
Joined: 2015-02-15
Posts: 2,246

Re: [Library] OpenPIO.PlayerIOClient | Open-Source PlayerIOClient

XxAtillaxX wrote:

I have sinned and touched the code without re-running unit tests

What unit tests?


I have never thought of programming for reputation and honor. What I have in my heart must come out. That is the reason why I code.

Offline

Wooted by: (2)

#10 2018-02-12 04:57:45, last edited by XxAtillaxX (2018-02-12 04:58:36)

XxAtillaxX
Member
Joined: 2015-11-28
Posts: 4,202

Re: [Library] OpenPIO.PlayerIOClient | Open-Source PlayerIOClient

Processor wrote:
XxAtillaxX wrote:

I have sinned and touched the code without re-running unit tests

What unit tests?

I didn't publish them because I hard-coded my credentials in several but maybe I should publish that one in particular, or maybe using a game specifically made for unit tests.


signature.png
*u stinky*

Offline

#11 2018-02-12 13:45:11

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 1,025

Re: [Library] OpenPIO.PlayerIOClient | Open-Source PlayerIOClient

XxAtillaxX wrote:
Processor wrote:
XxAtillaxX wrote:

I have sinned and touched the code without re-running unit tests

What unit tests?

I didn't publish them because I hard-coded my credentials in several but maybe I should publish that one in particular, or maybe using a game specifically made for unit tests.

Or keep a config file with your credentials which you keep in the gitignore.

Offline

#12 2018-09-20 19:59:35

XxAtillaxX
Member
Joined: 2015-11-28
Posts: 4,202

Re: [Library] OpenPIO.PlayerIOClient | Open-Source PlayerIOClient

I've updated the repository with more support for the new authentication API.

If you are able to login with a simple user account, you can change the email address and/or password for the account. You can find the appropriate methods in QuickConnect.

In addition, I've added support for an API proxy, which specifically relies upon HTTP proxies, to be clear. The Multiplayer proxy relies on SOCKS4/SOCKS5.

If you want to use a SOCKS5 proxy as a HTTP proxy, you will need to configure that yourself. If you're using Windows, I would recommend Privoxy. For instance, if your SOCKS5 proxy is at localhost on port 8222, you would set the Privoxy configuration option as follows:

forward-socks5  /               127.0.0.1:8222 .

From there, you'd set the PlayerIO API proxy as http://(listen-address) which defaults to localhost:8118.


signature.png
*u stinky*

Offline

Wooted by: (2)
XxAtillaxX1537469975725392

Board footer

Powered by FluxBB

[ Started around 1732421576.6329 - Generated in 0.062 seconds, 12 queries executed - Memory usage: 1.57 MiB (Peak: 1.75 MiB) ]