![]() |
Mirage WinSock - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Help Wanted (https://mirage-engine.uk/forums/forumdisplay.php?fid=50) +---- Thread: Mirage WinSock (/showthread.php?tid=1666) Pages:
1
2
|
Mirage WinSock - Xlithan - 08-04-2008 I'm not good at network programming, so I was wondering if anybody could (or has) rip out the network code into a new project. I'm asking because I like the way the MSE network system works, parsing the packets etc. I just need everything from the source into a new project file that will allow me to immediately connect from client to server and send packets. From there I can work on adding new things like accounts and stuff. The reason for this is because I want to work on a MUD engine from scratch (With a little help with the connection stuff). Thanks. Re: Mirage WinSock - William - 08-04-2008 http://www.planet-source-code.com/ Re: Mirage WinSock - Matt - 08-04-2008 He wants to use the ms networking. Re: Mirage WinSock - William - 08-04-2008 It's the same winsock for everything basicly so he can download a winsock project from there. Re: Mirage WinSock - Xlithan - 08-04-2008 No it's not. Most of the WinSock projects are just for sending text to and from client to server. The MS network system is obviously a working system for multiplayer connections. The reason I want the MS system is because it already has the ability to assign each connection to the socket array. If I wanted a crappy winsock project i'd goto PS Code, but I'm asking for the Mirage Source one, nothing else. Re: Mirage WinSock - William - 08-04-2008 It's easy as hell to setup for multiplayer. Don't try and teach me about winsock, I suggest you go learning on your own instead. If you don't know winsock, you should not attempt a project with it. MS is no better than any other multi assigned sockets. Re: Mirage WinSock - Spodi - 08-04-2008 MS probably use one of the worst and most basic kind of networking you'll see in VB6. Theres really not much going on outside of just very simple blocking sends and event-based receives since it really doesn't need much more. As far as using multiple sockets, thats hardly a step up in difficulty as long as you know how to use an array. Re: Mirage WinSock - Robin - 08-04-2008 Mirage is a text based winsock with the server socket using an array. Simplicity. Re: Mirage WinSock - Joost - 08-04-2008 Lol at off-topicness. Re: Mirage WinSock - Xlithan - 08-04-2008 lol William. I can work with it I just don't know how to initially code it. Why do people on this forum slate people for not knowing something? It's rediculous. Nevermind I'll ask somewhere else. Re: Mirage WinSock - William - 09-04-2008 I did it because of your stupid respons, you acted like you knew everything. And bashed me for posting a url to a place that has the source your looking for. MS winsock is nothing Special, everybody uses this method. Quote:No it's not. Most of the WinSock projects are just for sending text to and from client to server. The MS network system is obviously a working system for multiplayer connections. Re: Mirage WinSock - Xlithan - 10-04-2008 Yes but you're not reading what I'm putting. It's not JUST the WinSock control and WinSock code I want, it's the things like the SendData subs, the MAX constants, the HandleData stuff and packet parsing that's used in the engine. I basically want Mirage Source, without the graphics, without the game functions. I want the account login stuff from the client and server, so I can start from there. If I acted like I knew everything I wouldn't admit to not knowing much about WinSock. Re: Mirage WinSock - Xlithan - 10-04-2008 Ok, here is a RAR file containing what I've tried to do so far. All I've been trying to do at the moment is get account creation working so I have the core network stuff from MSE to be able to make a new account. But it's not working at the moment and I know I'm probably missing some stuff. But by downloading and opening the 2 projects, you'll understand what I mean when I say I want the MSE WinSock system. It's not just the basic stuff I need to be able to use it successfully, there's a lot more too it than that. I don't mean to sound insulting, William, it's just that the things I want for this code-base, I can't find anywhere else. Here's my code so far, I would imagine one of you guys could easily figure out what I'm trying to do here and maybe point me in the right direction. http://www.nevetsweb.com/stuff/Network.rar Re: Mirage WinSock - Joost - 10-04-2008 I'll look at it in...8 hours from now. Re: Mirage WinSock - Xlithan - 10-04-2008 That's ok with me. I got work today. Re: Mirage WinSock - William - 10-04-2008 What is it that doesn't work? I can see that you have nothing to save a created account in the server. Re: Mirage WinSock - Xlithan - 10-04-2008 The login details are sent to the packet. In the handledata mod you'll see where it tries to save the account. In the account save sub it just saves a basic ini file (For now). However, the client doesn't seem to connect to the server. If anybody could get a basic ini file saved, with data sent from the client i'll appreciate that very much. Re: Mirage WinSock - seraphelic - 10-04-2008 Are you gonna try building your own game engine off this? I'm kinda interested. Re: Mirage WinSock - Xlithan - 11-04-2008 It will be a text-based game engine, based on Mirage Source. I want to use the MSE engine to build it. It's just something "different" to come from Mirage Source, and I can still call it a Mirage-based game as long as I try and use as much of the code as I can. So if anybody can help me get this thing working, I can start working on it. Re: Mirage WinSock - Matt - 11-04-2008 Why not just rip the graphical stuff out of MS and go from there? Re: Mirage WinSock - Xlithan - 15-04-2008 It's not that simple. Most of the functions in Mirage Source are connected to the graphics engine. All I need is the WinSock, packet handling systems and the account login system. From there I can re-add everything else. It doesn't matter too much now though since I've started on a server that will work with Telnet (Atleast until I start writing the client). I'd like to make a Mirage-Based mud eventually, but without somebodys help I probably won't be able to achieve my goal. Thanks anyway :mrgreen: Re: Mirage WinSock - Anarchy - 17-04-2008 hmmm, i could use this can you please post it up when you are done?? Re: Mirage WinSock - Tony - 17-04-2008 Sound's fun ![]() Make a new topic on this! Or can someone clean this out? ;D Re: Mirage WinSock - Joost - 17-04-2008 I've been working on it, but it really was a mess. Half the functions he called to did not exist (SendData, IsPlaying), stuff like that. Time consuming. Re: Mirage WinSock - Xlithan - 18-04-2008 Well, atleast it opened up the idea. |