[PLUGIN] Network v0.3a update***

Forum Home Forum Home > Construct Classic > Construct Classic Discussion > Work-in-progress addons
 Post Reply Post Reply Page  <1 89101112 15>
Author
8,320 Rep
Post Options Post Options   Quote Jayjay Quote  Post ReplyReply Direct Link To This Post Posted: 20 Mar 2012 at 10:42pm
Originally posted by Anlage Anlage wrote:

Hey, I've picked up the source code for the Network project.
It won't build 'cause of no 'atlstr.h' ...This seems to be avail. in non-express 2010. Any known work-arounds? (Aside from buying VS.)

Thanks! &Sorry to be brief. Gotta get to work...!


Not sure if this will help you out, but it looks like someone made a free replacement to the ATL files: http://tech.groups.yahoo.com/group/wtl/message/12850

Edit: Nevermind, looks like what you really want is available from this Windows Driver Kit http://msdn.microsoft.com/en-us/windows/hardware/gg487428

At least, that's what I read here http://stackoverflow.com/questions/71659/how-to-add-wtl-and-atl-to-visual-studio-c-express-2008

Edited by Jayjay - 20 Mar 2012 at 10:44pm
Back to Top
229 Rep
Post Options Post Options   Quote Anlage Quote  Post ReplyReply Direct Link To This Post Posted: 21 Mar 2012 at 10:46pm
Humm, the WDK did kinda-sorta work. There are still some small issues that I couldn't be bothered to fix just yet. I have lots of other stuff going on right now too...
...But I did wanna write back and thank-you for your post. This looks to be a solution.
Back to Top
336 Rep
Post Options Post Options   Quote playerelite Quote  Post ReplyReply Direct Link To This Post Posted: 30 Sep 2012 at 7:11pm
I've a problem, when i try the example game, packets are send every tick o_o so the chat is bugged.

And do that with my game too :(
Someone know how to fix that ?
Back to Top
8,320 Rep
Post Options Post Options   Quote Jayjay Quote  Post ReplyReply Direct Link To This Post Posted: 01 Oct 2012 at 2:51am
@playerelite, that's probably the lag-packet-drop-resend cycle I've run into as well. Basically once the latency is enough that packets start dropping I think the program resends them (this extra traffic causes more to drop until all packets are constantly being resent).

Are you testing within a LAN network? or over the Internet to other parts of the country/countries?

Edited by Jayjay - 01 Oct 2012 at 2:54am
Back to Top
336 Rep
Post Options Post Options   Quote playerelite Quote  Post ReplyReply Direct Link To This Post Posted: 01 Oct 2012 at 5:57pm
Originally posted by Jayjay Jayjay wrote:

@playerelite, that's probably the lag-packet-drop-resend cycle I've run into as well. Basically once the latency is enough that packets start dropping I think the program resends them (this extra traffic causes more to drop until all packets are constantly being resent).

Are you testing within a LAN network? or over the Internet to other parts of the country/countries?

Hello Jayjay, i'm testing in lan on the same computer :)
That's strange :/

Edited by playerelite - 01 Oct 2012 at 6:40pm
Back to Top
8,320 Rep
Post Options Post Options   Quote Jayjay Quote  Post ReplyReply Direct Link To This Post Posted: 02 Oct 2012 at 2:23am
Hmm, that should work.. try PixelPeopleOnline source code and see if you have the same problem (it's in the Your Creations forum here: Pixel People Online)

Edited by Jayjay - 02 Oct 2012 at 2:23am
Back to Top
2,221 Rep
Post Options Post Options   Quote zyblade Quote  Post ReplyReply Direct Link To This Post Posted: 02 Oct 2012 at 2:35am
Make exe files from your project, start every exe (server, game executables) with winxp compatibility mode + as administrator.

Fixed for me the issue. I'm currently waiting for @scidave 's reply for a fix for that

edit: I have win7, winxp users(I think) don't need to do this.

Edited by zyblade - 02 Oct 2012 at 2:53am
Back to Top
8,320 Rep
Post Options Post Options   Quote Jayjay Quote  Post ReplyReply Direct Link To This Post Posted: 02 Oct 2012 at 12:07pm
Originally posted by zyblade zyblade wrote:

Make exe files from your project, start every exe (server, game executables) with winxp compatibility mode + as administrator.

Fixed for me the issue. I'm currently waiting for @scidave 's reply for a fix for that

edit: I have win7, winxp users(I think) don't need to do this.


Interesting, on my Win7 and WinXP pc's I never had issue on the same computer.

However, if that fixes the issue in general then I'm extremely happy
Back to Top
2,221 Rep
Post Options Post Options   Quote zyblade Quote  Post ReplyReply Direct Link To This Post Posted: 02 Oct 2012 at 2:22pm
For me, the example shooter when I tried it the first time, it worked great. Me and my friend both had winxp(I'm pretty sure, but not to 100%).

Later, when I made my own example(now on win7) it didn't work anymore(it was the same .exe, I didn't recompiled it). So I tried the perfect working example from scidave and look deeper in the cap to determine the error I made. But it also didn't work anymore. Me and my friend needed to run on compatibility mode. That worked to both, the old .exe and a newer recompiled .exe from scidaves example shooter.

Also, me and Wolod ran the game and he has winxp. He just started the game.exe and connected to my pc via hamachi or real ip, not sure. It worked. I'm almost sure, setting only the server to compatibilimode didn't work. At least, my game.exe needed it too.

I really hope, this plugin runs stable anyday, so I can use it for any of my projects. I would even donate if someone makes a stable network plugin with a few features to determine the players via ID etc.^^

Edited by zyblade - 02 Oct 2012 at 2:26pm
Back to Top
336 Rep
Post Options Post Options   Quote playerelite Quote  Post ReplyReply Direct Link To This Post Posted: 03 Oct 2012 at 11:12am
Originally posted by zyblade zyblade wrote:

For me, the example shooter when I tried it the first time, it worked great. Me and my friend both had winxp(I'm pretty sure, but not to 100%).

Later, when I made my own example(now on win7) it didn't work anymore(it was the same .exe, I didn't recompiled it). So I tried the perfect working example from scidave and look deeper in the cap to determine the error I made. But it also didn't work anymore. Me and my friend needed to run on compatibility mode. That worked to both, the old .exe and a newer recompiled .exe from scidaves example shooter.

Also, me and Wolod ran the game and he has winxp. He just started the game.exe and connected to my pc via hamachi or real ip, not sure. It worked. I'm almost sure, setting only the server to compatibilimode didn't work. At least, my game.exe needed it too.

I really hope, this plugin runs stable anyday, so I can use it for any of my projects. I would even donate if someone makes a stable network plugin with a few features to determine the players via ID etc.^^

Work ! Thanks ;)
But i've a question, if the guys who play the game don't start it with XP compatibility, does they will flood my server by sending a lot of packets ? If yes, how to kick clients who send too much packets ?

EDIT : And i have a bug, when the username or password contains the letter "n", username or password isn't send correctly (for example : if i choose the username "unknow", my username will be "u", and if i choose the username "n" my username will be "")

Edited by playerelite - 03 Oct 2012 at 12:14pm
Back to Top
 Post Reply Post Reply Page  <1 89101112 15>

Forum Jump Forum Permissions View Drop Down