PLUGIN: TCP/IP plugin v0.0.3

Started by a-v-o, Sun 23/02/2003 17:09:37

Previous topic - Next topic

a-v-o

#20
Dan2552:
As a start it would be great to have a multiplayer adventure. Then in the next step we can learn from the experiences and decide which game data should be saved and how.

Guybrush:
2 or more players could compete in the same adventure like only one can in the treasure. The players can activate traps to stop the others for a while.

Or it can be a cooperative game in which the players would have to work together.

It can be unspecific: one can solve the puzzles alone, but it could be easier with others. So the players can decide wether they want to work together or not.

AGS Newbie

#21
AVO, what is the license agreement for your plugin ? If used in a commercial game, are you requesting more than just recognition ? Thanks.

a-v-o

#22
I don't request anything. But if you really want to give me something, then feel free to do so.  :)

Joseph DiPerla

#23
To whoever said "what kinda game can be made multiplayer..." I think you could make a lot of good adventures multiplayer.

Let me give you an example or a few:

Spy vs Spy.--- Perfect game that can be made multiplayer over a network/lan

How about the platform games that are being released like that tanks clone or James Bond. Those type of games can easily be made Multiplayer.

I can see making a game like "Murder on the Missisipi" Multiplayer with a few tweaks. One person could play the part of the detectives trying to find who the murderer is. Another player could set traps and try and stop them (In other words this player is the murderer).

Someone could make an app like that website that allows chatting in a sierra environment. You could do the same. It doesn't necessarily have to be a game. It could be just an app.

an mmorpg is another thing you could use this plugin for. Although the mmorpg wouldn't be as big as others, but this is a possibility.

Maybe make a game like maniac Mansion where a group of work together online and try and find pieces and put puzzles together.

Maybe you could make a capture the flag type game. EG: You have multiple players. Each one has to mix and match items. Whoever finds the main item wins the game.

There are several things you could make with this game. Me, I would make something, but I am not that skilled or patient enough to do so.

JD

Edit by strazer:

Please keep any further unrelated non-technical discussions about multiplayer adventure games to this thread: http://www.adventuregamestudio.co.uk/yabb/index.php?topic=12421
Joseph DiPerla--- http://www.adventurestockpile.com
Play my Star Wars MMORPG: http://sw-bfs.com
See my Fiverr page for translation and other services: https://www.fiverr.com/josephdiperla
Google Plus Adventure Community: https://plus.google.com/communities/116504865864458899575

magintz

#24
Umm this isn't working, any of you techies able to fix what's wrong, it's not recognising any of the sprites, and when I try to run it, it mentions something about a string not being able to be declared or something.  I really want to have a go to try to get this to work.

Error line 41 of global script:
type mismatch cannot convert 'const string to string'


41: ServerIndex = TcpAddServer (28166, VersionInfo);
When I was a little kid we had a sand box. It was a quicksand box. I was an only child... eventually.

strazer

This particular problem is probably with the provided demo game than with the plugin itself.

http://www.adventuregamestudio.co.uk/manual/UpgradingTo271.htm :

Quote from: AGS ManualBackwards compatibility

In order to maintain backwards compatibility, a new "const" keyword has been added. This applies only to old-style strings, and allows them to interoperate with the new ones. A new-style String can be passed to a function that expects a "const string" (which means that it will not be allowed to change the string's contents), but cannot be passed to a function that expects a "string" (since it could overwrite the string data and mess things up).

So, you may find that any custom functions you have that take a string parameter stop working. If this is the case, change the parameter from "string" to "const string" and that should fix it.

Apologies for the inconvenience, but this is the only way to allow new Strings to interoperate safely with old-style strings.

So this error message should go away once you update the demo's code.

SSH

Except that function is a plugin one and so can't be updated...
12

strazer

#27
Ah, would your "hack" work then?:

Quote from: SSH on Sun 11/12/2005 08:56:54
Code: ags

string x;
StrCopy(x, "WHAT I WNT TO SAY");
old_function(x);


SSH

#28
Oh yeah, I forgot about that :D

However, in my experience the plugin is a bit broken anyway. One thing one could do for multi-player games is  make the game multi-player via different key controls on one keyboard, then start a VNC server and let someone else log in to the computer. Then you can press keys for player 1 and the other person can press the keys for player 2!

See www.realvnc.com for details of VNC
12

Yuri Patrick

Alrighty. I have a quick question... It states in the post that the TCP/IP plugin can be used for stuff such as a small mmo, ummm... I have had some experience with the SmartFoxServer on a pre-made system. So, was wondering, do you think the TCP/IP plugin could be made to interface with SmartFox or do you think I would be better off just writing a SmartFox Plugin?

Dualnames

Depends on what you want to do really. If you want intense stuff I suggest you go ahead and write the SmartFox plugin. I've barely heard of SmartFox, so I may be wrong, but the TCP/IP isn't ideal for animation heavy games.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Yuri Patrick

Forgive me if this is in the wrong place, I am not positive where to post this....

It's been a while since I tinkered even in VC#, but how would one go about getting the AGS game itself to pop up a dialog via C# under a condition? I'm trying to see if I can get it to simply connect to SFS and upon that condition display a box with an error or display a "connected" dialog. But can't seem to find anything that does such a feat in the AGS dlls. :(

It appears at first glance that I need a script inside AGS that pops up the dialogs and then call the script from within C# based upon the outcome there...?

Yuri Patrick

I now remember why I dislike MS .NET anything. The errors make no sense. I just want to change a few things around in the demo C# plugin and now it doesn't compile again giving me cryptic errors. I miss my ADA.

Construed

I implemented your TCP/IP system into my game. http://www.adventuregamestudio.co.uk/yabb/index.php?topic=42604.0

However i am unable to find any documentation whatsoever about how to expand upon this plugin or even how it talks to the ags script.
I felt sorry for myself because I had no shoes.
Then I met the man with no feet.

Dualnames

Quote from: GrimReapYou on Tue 18/01/2011 07:54:43
I implemented your TCP/IP system into my game. http://www.adventuregamestudio.co.uk/yabb/index.php?topic=42604.0

However i am unable to find any documentation whatsoever about how to expand upon this plugin or even how it talks to the ags script.

The TCP/IP plugin is actually quite old and runs quite slow, so after managing to test various stuff with it, with that small executable, it has proven quite pointless and obsolete to bother writing a tutorial/documentation, as there's no need since no one should want to use this, except for chatting purposes. Now, if someone however / you manages to create a server and make the game work from there, upon proof, I'll be more than glad to document it.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Construed

#35
I just finished hosting it on a Winsocks VB server, however it is somewhat laggy.I'm looking for other alternatives. I'm looking around for some good open source servers and templates.

//edit
I'm working on writing a server from scratch.
I felt sorry for myself because I had no shoes.
Then I met the man with no feet.

SMF spam blocked by CleanTalk