laurens Posted May 17, 2008 Share Posted May 17, 2008 Hello MTA community. For a few months now, I'm waiting for support. I have fully playable gamemode waiting on my computer to get released. There's only one thing that stops me from releasing it for those months. A spawnbug. I am 100% sure it's a bug since I stripped down the code to the bare minimum it needs to let the bug occur. On mIRC I got promised a few times that they would help me. But I had to ask another time because they were busy. Now, after months, I'm still not helped. This bug has stopped me from creating any more gamemodes for MTA. So this is my very last and desperate attempt: does any of the MTA developers want to help me and at least watch what happens when you spawn? I will post a few pictures of the gamemode of mine soon. So hopefully, a few of you might get excited about it. Link to comment
laurens Posted May 17, 2008 Author Share Posted May 17, 2008 Hello MTA community. For a few months now, I'm waiting for support. I have fully playable gamemode waiting on my computer to get released. There's only one thing that stops me from releasing it for those months. A spawnbug. I am 100% sure it's a bug since I stripped down the code to the bare minimum it needs to let the bug occur. On mIRC I got promised a few times that they would help me. But I had to ask another time because they were busy. Now, after months, I'm still not helped. This bug has stopped me from creating any more gamemodes for MTA. So this is my very last and desperate attempt: does any of the MTA developers want to help me and at least watch what happens when you spawn? I will post a few pictures of the gamemode of mine soon. So hopefully, a few of you might get excited about it. Link to comment
Mr.Hankey Posted May 17, 2008 Share Posted May 17, 2008 well if you would explain what exactly the bug is maybe some people could help you but a "spawnbug" can have thousands of reasons... Link to comment
Mr.Hankey Posted May 17, 2008 Share Posted May 17, 2008 well if you would explain what exactly the bug is maybe some people could help you but a "spawnbug" can have thousands of reasons... Link to comment
laurens Posted May 17, 2008 Author Share Posted May 17, 2008 well if you would explain what exactly the bug is maybe some people could help you but a "spawnbug" can have thousands of reasons... I refer to this topic for more detail. Link to comment
laurens Posted May 17, 2008 Author Share Posted May 17, 2008 well if you would explain what exactly the bug is maybe some people could help you but a "spawnbug" can have thousands of reasons... I refer to this topic for more detail. Link to comment
Mr.Hankey Posted May 17, 2008 Share Posted May 17, 2008 ah ok i just had an idea because you said that it only appears when somebody dies and than respawns. I would suggest using this: function player_Wasted () setTimer( spawn, 500, 1, source ) end addEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) instead of this: function player_Wasted () local x = randInt ( startX - 15, startX + 15 ) local y = randInt ( startY - 15, startY - 5 ) setTimer( spawnPlayer, 500, 1, source, 1485.5, 1168.5, 17 ) end addEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) because the coordinates you used in setTimer( spawnPlayer, 500, 1, source, 1485.5, 1168.5, 17 ) are different from the starting coordinates and the local x and local y values above this line are never used. Link to comment
Mr.Hankey Posted May 17, 2008 Share Posted May 17, 2008 ah ok i just had an idea because you said that it only appears when somebody dies and than respawns. I would suggest using this: function player_Wasted () setTimer( spawn, 500, 1, source )endaddEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) instead of this: function player_Wasted () local x = randInt ( startX - 15, startX + 15 ) local y = randInt ( startY - 15, startY - 5 ) setTimer( spawnPlayer, 500, 1, source, 1485.5, 1168.5, 17 )endaddEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) because the coordinates you used in setTimer( spawnPlayer, 500, 1, source, 1485.5, 1168.5, 17 ) are different from the starting coordinates and the local x and local y values above this line are never used. Link to comment
laurens Posted May 17, 2008 Author Share Posted May 17, 2008 ah ok i just had an idea because you said that it only appears when somebody dies and than respawns.I would suggest using this: function player_Wasted () setTimer( spawn, 500, 1, source ) end addEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) instead of this: function player_Wasted () local x = randInt ( startX - 15, startX + 15 ) local y = randInt ( startY - 15, startY - 5 ) setTimer( spawnPlayer, 500, 1, source, 1485.5, 1168.5, 17 ) end addEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) because the coordinates you used in setTimer( spawnPlayer, 500, 1, source, 1485.5, 1168.5, 17 ) are different from the starting coordinates and the local x and local y values above this line are never used. Tried it and it doesn't work either There seems nothing wrong with the coding, so that's why I think it's a bug inside the MTA core. Link to comment
laurens Posted May 17, 2008 Author Share Posted May 17, 2008 ah ok i just had an idea because you said that it only appears when somebody dies and than respawns.I would suggest using this: function player_Wasted () setTimer( spawn, 500, 1, source )endaddEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) instead of this: function player_Wasted () local x = randInt ( startX - 15, startX + 15 ) local y = randInt ( startY - 15, startY - 5 ) setTimer( spawnPlayer, 500, 1, source, 1485.5, 1168.5, 17 )endaddEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) because the coordinates you used in setTimer( spawnPlayer, 500, 1, source, 1485.5, 1168.5, 17 ) are different from the starting coordinates and the local x and local y values above this line are never used. Tried it and it doesn't work either There seems nothing wrong with the coding, so that's why I think it's a bug inside the MTA core. Link to comment
Borov Posted May 17, 2008 Share Posted May 17, 2008 ok I fixed it just the client side code http://pastebin.com/m79a2cfd6 you can't setElementDimension as soon as player spawns, it'll freeze player. Link to comment
Borov Posted May 17, 2008 Share Posted May 17, 2008 ok I fixed it just the client side code http://pastebin.com/m79a2cfd6 you can't setElementDimension as soon as player spawns, it'll freeze player. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now