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.

Advertisement

Hello, visitor! These forums are run off of the revenue generated from these ads. If you'd like to support us, please whitelist us or consider donating:

#1 2016-10-29 18:11:12

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.

Last edited by OpenPlayerIO (2016-10-31 01:09:19)

Offline

#2 2016-10-29 18:16:13

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

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

Contributors:
  • XxAtillaxX

  • EEJesse

Acknowledgements:

Last edited by OpenPlayerIO (2016-10-29 18:52:23)

Offline

#3 2016-10-29 18:16:51

Koya
Fabulous User
From: That game
Joined: 2015-02-18
Posts: 6,198

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

P cool, got a few classes there.

Hidden text

Last edited by Koya (2016-10-29 18:42:17)


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

XxAtillaxX
Member
From: Canada
Joined: 2015-11-28
Posts: 3,818

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.

Last edited by XxAtillaxX (2017-06-21 02:51:02)


i love every edit
qFZguAb.png

Offline

Wooted by:

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

XxAtillaxX
Member
From: Canada
Joined: 2015-11-28
Posts: 3,818

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);
                };
            }));

i love every edit
qFZguAb.png

Offline

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

John
Guest

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

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

Wooted by: (2)

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

XxAtillaxX
Member
From: Canada
Joined: 2015-11-28
Posts: 3,818

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.


i love every edit
qFZguAb.png

Offline

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

Processor
Member
Joined: 2015-02-15
Posts: 1,715

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

XxAtillaxX wrote:

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

What unit tests?


N5kb4FZ.gifembed.png?style=banner3

Offline

Wooted by: (2)

#10 2018-02-12 04:57:45

XxAtillaxX
Member
From: Canada
Joined: 2015-11-28
Posts: 3,818

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.

Last edited by XxAtillaxX (2018-02-12 04:58:36)


i love every edit
qFZguAb.png

Offline

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

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 978

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.


Current project: Thinking of/finding/requesting projects...
?type=registered&name=den3107     ?type=itemsbought&name=den3107
user.php?id=den3107&hideoffline=true    user.php?id=den3107bot&hideoffline=true

Offline

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

XxAtillaxX
Member
From: Canada
Joined: 2015-11-28
Posts: 3,818

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.


i love every edit
qFZguAb.png

Offline

Wooted by: (2)
XxAtillaxX1537469975725392

Board footer

Powered by FluxBB

[ Started around 1544910042.4239 - Generated in 0.040 seconds, 11 queries executed - Memory usage: 1.41 MiB (Peak: 1.59 MiB) ]