Guest Posted May 29, 2003 Share Posted May 29, 2003 I follow the steps to play mta, but the client SAy "Run-time error 126", plz helpme!!!!! Link to comment
MTA Team Blokker_1999 Posted May 29, 2003 MTA Team Share Posted May 29, 2003 well we can't help u a lot with numbers. the part after it which says wath the error is could be more helpfull Link to comment
freeze Posted May 29, 2003 Share Posted May 29, 2003 (edited) i have the same bloody error i installed MTA i configured ASE and choose a not full server it starts the mta console in the right window it says: welcome to mta version 0.3a connecting to server waiting for request and BAM! an error box appears: GTA3MTA: Runtime error '126' im on win98SE PS:and yes you can find what correspond to that error if youre a developper. its a microsoft code error so it has some description and meaning. just add error trapping code to your app. i think (im a developper too) that this error happens when the socket tries to send data for the first time. Edited May 29, 2003 by Guest Link to comment
MTA Team Blokker_1999 Posted May 29, 2003 MTA Team Share Posted May 29, 2003 one the box that says run time error there should be more information. if you can, make a screenshot of the error box or from you entire desktop cause this isn't helping me Link to comment
freeze Posted May 29, 2003 Share Posted May 29, 2003 this error box doesnt have a descrpition. it just says run-time error '126'. see my previous post to see when it happens. i think this error is related to the winsock control. it occurs when the socket tries to send data for the first time. Link to comment
Guest Posted May 29, 2003 Share Posted May 29, 2003 I've got the same error Using win98se too Link to comment
freeze Posted May 29, 2003 Share Posted May 29, 2003 after some research, i found that this bug is related to winsock control and WIN98, which i already was suspecting. it happens when it tries to send data with an UDP connection THE FIRST TIME. the data is actually sent but the ocx somewhat fucks up. after that, the future sends work without error. to fix this i suggest using a second Winsock control, and set up a dummy TCP connection locally first, then switch to UDP. Link to comment
ArtiGamer Posted May 29, 2003 Share Posted May 29, 2003 i have the same error hope it wil be fit or that there wil be a update. _____________________ The Don Link to comment
MTA Team Blokker_1999 Posted May 29, 2003 MTA Team Share Posted May 29, 2003 try to indtall the VB6 run time files from http://download.microsoft.com/download/ ... n60sp3.EXE Link to comment
ArtiGamer Posted May 29, 2003 Share Posted May 29, 2003 nope still the same error ____________________________ The Don Link to comment
freeze Posted May 29, 2003 Share Posted May 29, 2003 (edited) 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 Edited May 29, 2003 by Guest Link to comment
[TGF]Morpheus Posted May 29, 2003 Share Posted May 29, 2003 same problem with me ill make a screeni of the box .... wait Link to comment
Recommended Posts