AGS Multiplayer.

Started by Construed, Mon 03/01/2011 21:24:42

Previous topic - Next topic

Construed

Hi, my name is jared.
I've been a fan of sierra games my entire life.
From SQ1 to QFG5, Pretty much started out on a tandy 1000.
So I'm sure you understand my nastalgia associated with this and agi engines.
I've been messing with the sarien.net source and have come to realize the documentation and implementation of it is far too incomplete.
Not to mention I dont even know wether or not AGS files are convertable to java, such as AGI are.
I've slightly fiddled with the tcp plugin for ags and also found it to be lacking in many ways.
My main question is.
Does anyone know another implementation of multiplayer I could possibly use or have links/refrences to the coding and scripting contained in the tcp and or other plugin or another possible framework for multiplayer with AGS.

I would like players to talk to eachother and share objects, trade, and fight eachother in designated areas or wilderness areas.

I'm partially skilled in most programming languages, html,xml,php,java,flash,ajax,C++,Python, ect ect..
I also do 2d and 3d graphic design and am familiarizing myself with the ags scripting system.

Thank you for taking the time to read my post.
Jared-
I felt sorry for myself because I had no shoes.
Then I met the man with no feet.

monkey0506

#1
Hooray! Another one of these posts! :=

The short answer is: "No."

The long answer is: "Why would you want to? It's an adventure game."

The other answer is: "No one has ever released anything serious using the TCP/IP plugin which is outdated, and due to lack of serious response, no one has bothered to update it or provide a new version thereof."

Snideness and snickery aside, since the engine plugin API has been ported to C#, it would probably be a lot simpler to convince someone to write a new version of the plugin..or it might be simpler to do so yourself.

Construed

#2
Lol, i was just reading your post in another multiplayer forum.
The reason why is beacuse i want to share the same wonderful and special moments i grew up with playing these games with the next generation and without multiplayer they wont be intrested.

Also the engine and graphics are special to me.
I'll take 1980's pixel art over a buffed up dx3d ugly textured 3d object any day.
I felt sorry for myself because I had no shoes.
Then I met the man with no feet.

monkey0506

Let me be the first to say that I also can't stand "ugly textured 3d oibject". :P

Construed

"The other answer is: "No one has ever released anything serious using the TCP/IP plugin which is outdated, and due to lack of serious response, no one has bothered to update it or provide a new version thereof."

Snideness and snickery aside, since the engine plugin API has been ported to C#, it would probably be a lot simpler to convince someone to write a new version of the plugin..or it might be simpler to do so yourself."

Hmm, indeed.
I would need adequate knowledge of the tcp script or c# and how to implement it therin.

I'm willing to make a long project out of this.
There really is no other engine that suits me.
I felt sorry for myself because I had no shoes.
Then I met the man with no feet.

monkey0506

The .NET Framework provides several classes to simplify TCP connections which is why C# would probably be easier than C++. If you already know C++ then C# is not difficult to learn..so long as you don't mind having your pride hurt by knowing that you're using such a foolishly named language. :=

Construed

So if i coded  c# client/server application or found one that is open source, how hard would it be to implement it into AGS via plugin or other method?
I felt sorry for myself because I had no shoes.
Then I met the man with no feet.

monkey0506

The actual function calls for opening the connection and sending and receiving data would take place from the AGS script, so really you would need to implement your own system for AGS to utilize, establish that within the plugin API, then link the appropriate C# function calls/logic/etc. to those functions..

It actually shouldn't be too difficult I would think. If I had VS on this computer I might just do it myself.

Construed

Yea, you seem like a very wise person.
This will take me quite some time, because I'm an amateur.
However my insane infatuation with this engine will keep me going.

If you have any links/refrences on the matter they would be greatly appreciated.


Thank you for the timely responces and adequate information.
I felt sorry for myself because I had no shoes.
Then I met the man with no feet.

monkey0506

Just Google "C# socket" or "C# tcpclient". Look for the MSDN website. Also, you'll want to download the Engine Plugin API for C# from this site. I could provide links..but I'm gonna go! :D

Construed

Ok my friend,
Your wisdom is worth more than gold and rubies.
Without you i would have never obtained information on this subject.
So i thank you greatly for your patronage my good sir!
I felt sorry for myself because I had no shoes.
Then I met the man with no feet.

Wyz

Well actually, for the chat ceremony of the AGS awards I was working on a IRC client for AGS. It uses a custom build tcp/ip plugin. I was planning to rework it a bit afterwards and release it, but you can try out the current version if you wish. Of course I can't offer support or documentation (apart from the auto-complete hints) for it yet.

The DLL is included in this archive:
http://shutupload.com/info/a01c37809f2a
Life is like an adventure without the pixel hunts.

Construed

It look's very nice, I'm going to dabble with it now.

Thank you!
I felt sorry for myself because I had no shoes.
Then I met the man with no feet.

Construed

#13
I cant get your executable to run because of the high resolution on it and dont really know how to incorperate it because i dont actually know exactley what data its transfering nor can i find any settings for IP and when i include the plugin in my own game i dont know how to call any functions from it.
Thanks

PS.
I'm pretty new to the AGS engine.
I've been working with winagi and agistudio for a long time.
But had to step up a notch because of lack of functionality.
I felt sorry for myself because I had no shoes.
Then I met the man with no feet.

DoorKnobHandle

I also plan on writing a multiplayer plugin for AGS that can be used for setting up a peer-to-peer connection between two computers running the same AGS game and send data across. I would do it via C++ as that's what I know. Haven't done very much network programming at all before though, so it's nothing anybody should hold their breath while waiting for.

Construed

You know how to use this plugin?
I felt sorry for myself because I had no shoes.
Then I met the man with no feet.


Construed

Yea, i stumbled across that before,
Perhaps i should study it further.
It looks pretty promising.
I felt sorry for myself because I had no shoes.
Then I met the man with no feet.

Construed

#18
"HOST:
The game requires one host. The host doesn't need to type other's people IPs but instead needs to create a Network at Hamachi, and tell people to join it."

What type of server is he talking about?
Do you know if apache or another "free" server would suffice?

//edit nvm, i'll just use it for testing purposes then figure it out,
Thanks for the info.
I felt sorry for myself because I had no shoes.
Then I met the man with no feet.

Jim Reed

Log onto AGS IRC and wait for Dualnames, he's there a lot. He'll prolly be glad to help explain it. Or you could PM him.

SMF spam blocked by CleanTalk