Cujo

Run Time Error 126 every time I try to connect.

Recommended Posts

Whats this error guys? No description when it happens, just says Run Time Error 126. Can't get it to join a server at all. Whats up?

Share this post


Link to post

i get this erro too, im using win98. Like you said, i tried installing the vbrun files, but the error continues.

Share this post


Link to post

Could it be a problem with windows 98?

Share this post


Link to post

i installed all the vb files from 3 to 6 all over again still with no effect. I hope its not a prob with 98. Thats the only opperating system i run.

Share this post


Link to post

bloker, installing vb runtimes doesnt fix the pb.

as i mentioned this error is related to winsock control ,udp, and win98.

you have to implement error trapping in the console application so it actually IGNORES that specific error, since data is actually sent.

for example, if youre using vb, do this:

'Ignore error 126 which sometimes occurs

On Error GoTo ErrorHandler

socket1.SendData "blablabla" 'if socket1 is your winsock control name

Exit Sub

ErrorHandler:

'all error except 126 will raise a msg. if its error 126 ignore it.

If Err.Number <> 126 Then

MsgBox Err.Description, vbCritical, Err.Number

End If

Resume Next

Share this post


Link to post
Guest

I think it's Windows98se. My friend with 2000 and my friends with XPHE can connect to my server fine, but I can't get on to it, even with the VB files.

Share this post


Link to post

I have the same exact problem (Win98), but I have no idea what Freeze said, haha.

Share this post


Link to post

Well don't bother with the VBRUN 6 download it doesn't fix the problem :evil:

Sorry. let me clarify that. It may fix other runtime errors but not the 126 error on Win98SE machines

Share this post


Link to post

I'm pretty damn desparate. I wanted to play this game tonight, and I've had a copy of WinXP for months, but it's not compatible with my computer. I sure as hell don't want to wait until v0.4 for this fix, so I hope they can get something ready soon.

Share this post


Link to post

Was this new GUI ever beta'd on a Win98SE machine? Two of the people I play online with can get into servers and play and they are running Win2K and XP, no errors and no problems with lag. I can't even get the damn thing to start without this damn runtime 126 error. ARGH!!!!!!!!!!! Damn this is frustrating! I waited patiently for what seemed like eons for this release and it won't even work with 98. [Rant Off] phew. I needed that.

hehehehehe. Damn thats a lot of damns for one post

Share this post


Link to post

I believe freeze is correct, its definitly a 98 networking error. I hope the team can just add in some lines to ignore the error and post a 98 fixed exe. I cant wait to play this one!!!!!!

Share this post


Link to post
:shock: im very disappointed that i/we people who could not play this game because of the run time 126 error, :cry: i downloaded the trailer and the mod it self, and i can't wait till u get a fix, p.s. u got 24 hours left, fix or die! :twisted:

Share this post


Link to post
Guest

All i know that it's an error caused by winsock when you use udp connections.

Just use

ErrorHandler:

If Err.Number = 126 Then

Resume Next

End If

or something like it to solfe the problem.

The connection will work after the errorhandler

Share this post


Link to post

tell us how the hell we can do that step by step, how the hell do u go on errorhandler?

Share this post


Link to post
tell us how the hell we can do that step by step, how the hell do u go on errorhandler?

hehehe. AAA that is something that will have to be done within the MTA.exe by the MTA team. Guess we'll just have to wait and see if they fix itr not

Share this post


Link to post
Guest
tell us how the hell we can do that step by step, how the hell do u go on errorhandler?

I think he's telling the developers what to do to their code. :D

Edited by Guest

Share this post


Link to post

He means in visual basic. There is no way for us to fix the error. We have to wait for the programmers of mta to add the error handler for this problem into their code, then rerelease it.

Share this post


Link to post

Okay my friend on win98 was getting error earlier, then he comes online later and my other friend was saying he was playing. Unfortunately he's being a big little whore and won't tell me how to fix it.

Share this post


Link to post
Okay my friend on win98 was getting error earlier, then he comes online later and my other friend was saying he was playing. Unfortunately he's being a big little whore and won't tell me how to fix it.

Well thats easy to fix Cheez. Simply beat him with a baseball bat till he tells you. I prefer the ones with barbed wire wrapped around them but thats up to you. :lol:

Share this post


Link to post

Tell him the fate of the win98 gta3 MTA gaming community depends on him.

Share this post


Link to post

Kill him.

Wait.

Get your information first.

Then kill him.

Share this post


Link to post

  • Recently Browsing   0 members

    No registered users viewing this page.