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.
Pages: 1
Hey guise, I was just messing around with PlayerIOClient and managed to make it capable of being used in C++.
Why is this good?
Because it will allow you (if using Visual C++ or similar) to make bots that other people can't decompile into usable code. This means way more protection for your bots and whatnot.
The download for the DLL is here:
http://st0rage.org/~atillabyte/public_p … yerIOPort/
Example (Visual C++):
#include "stdafx.h" using namespace System; using namespace PlayerIOClient; void OnMessage(System::Object^ sender, PlayerIOClient::Message^ m) { Console::WriteLine(m->ToString()); } int main(array<System::String ^> ^args) { Client^ client = PlayerIO::QuickConnect->SimpleConnect("everybody-edits-su9rn58o40itdbnw69plyw", "guest", "guest"); Connection^ con = client->Multiplayer->CreateJoinRoom("roomid", "Everybodyedits176", true, nullptr, nullptr); PlayerIOClient::MessageReceivedEventHandler^ callback = gcnew PlayerIOClient::MessageReceivedEventHandler(OnMessage); con->AddOnMessage(callback); con->Send("init"); Console::Read(); }
Credits to Gustav9797 for the OnMessage handler.
Last edited by ?tilla (Aug 4 2013 10:53:00 am)
*u stinky*
Offline
Nice, but too late. I began to make my new bot in C#. >.<
Last edited by ostkaka (Aug 4 2013 4:36:48 am)
Amazing! Now we can just use our c++ bots and laugh at the little noobs that use c#
Offline
Amazing! Now we can just use our c++ bots and laugh at the little noobs that use c#
haha yea just a bit bad, I'm much better in C# then C++
@Atilla: Good work, man!
@MySelf: OMG!!! 600th post!!!
Last edited by Krock (Aug 4 2013 4:54:42 am)
Thats visual C++.
Everybody edits, but some edit more than others
Offline
Thats visual C++.
It is, but it shouldn't be any different... or would it?
Last edited by ?tilla (Aug 4 2013 5:09:20 am)
*u stinky*
Offline
Zumza123 wrote:Thats visual C++.
It is, but it shouldn't be any different... or would it?
Not too much, too convert all code to visual c++.
I will like you can made it in normal c++ that will be good.
_________________________________
gustav9797 wrote:
Amazing! Now we can just use our c++ bots and laugh at the little noobs that use c#
Many programms are made now in c# and not by noobs.
Microsoft have some programms made in c#.
Last edited by The Doctor (Aug 4 2013 5:17:10 am)
Everybody edits, but some edit more than others
Offline
Next up: PlayerIO written in LOLCODE <-- That'd be epic
Offline
Yes yes yes!
I'm exploding over here. C++ PlayerIO!
Amazing! Now we can just use our c++ bots and laugh at the little noobs that use c#
C# is not for noobs lol, C++ may be a bit more powerful, but they both have their strengths. Most of the "noobs" don't even understand C# fully anyways.
Player Since 2011. I used to make bots and stuff.
Offline
Try do do it in Java that will be really helpful.
Everybody edits, but some edit more than others
Offline
Just finished a simple reply-to-message bot with this, it indeed took time because c++/CLI totally sucks. But the first ee c++ bot has been made..
Offline
Just finished a simple reply-to-message bot with this, it indeed took time because c++/CLI totally sucks. But the first ee c++ bot has been made..
Darn it you beat me to it...
On the side note:
Does this mean that bots can be programmed for Windows RunTime aka Windows 8 and Windows RT? Maybe I'll be the first to make an app like that...
Just finished a simple reply-to-message bot with this, it indeed took time because c++/CLI totally sucks. But the first ee c++ bot has been made..
I think I would say Twipply, GCommer and I beat you to it
Offline
I would prefer real C++... :/
Pages: 1
[ Started around 1738603129.285 - Generated in 0.171 seconds, 12 queries executed - Memory usage: 1.58 MiB (Peak: 1.75 MiB) ]