• Content Count

  • Joined

  • Last visited

Community Reputation

64 Popular

About Bonsai

  • Rank


  • Gang

Recent Profile Visitors

3,339 profile views
  1. You only need to create the renderTarget once, e.g. on resource start. Not exactly sure whats wrong, but after you fixed that, you could simply call drawTopTime() in your render function before drawing the renderTarget on screen.
  2. Sorry, I cannot edit anymore. I installed the latest nightly build and that seems to have fixed the crashes. But obviously normal players won't have that version.
  3. Hey, our server is still on 1.5.4. The min required version is set to 1.4. When trying to join the server, it asks you to update to the latest version anyway for some reason. Afterwards, it randomly crashes pretty fast once you joined the server. Version = 1.5.6-release-16535.0.000 Time = Fri Feb 22 19:03:30 2019 Module = C:\Program Files (x86)\MTA San Andreas 1.5\mta\netc.dll Code = 0xC0000005 Offset = 0x001B9227 EAX=11AF1924 EBX=FFFFFFFF ECX=DE16F9FB EDX=00000000 ESI=00002745 EDI=00000000 EBP=2187FD44 ESP=2187FC38 EIP=68299227 FLG=00010206 CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B Nothing on the server has changed recently, therefore there must be a problem with the update as it seems. Bonsai EDIT: Updated the server to the latest version, did not help.
  4. Some really nice new functions. But why does GetElementsWithinRange use a box and not a circle or sphere? Wouldn't that be much further away from the center when an element is near the corners?
  5. Basically the same features as there are now just that the map editor doesn't have to run on a server for all players, but can be loaded and unloaded and used by certain players only. Basically like a gamemode such as race etc. on a Multigamemode server. Maybe this is possible already with the current map editor, but I guess that requires some changes as I assume it was designed to run on the whole server, same as the default gamemodes.
  6. Hi, I would have reported this on the bug page, but I lost my password and restoring somehow doesn't work at the moment. The problem is, when using the queueName argument of the callRemote function, it just times out. Without using a queueName, it works fine. Bonsai
  7. That's indeed a little confusing, but it's because of the "sendTo" argument being optional (notice the [ ] brackets). You don't need to provide it, then root will be used.
  8. I'm a little ashamed of that first version I released. I never planned to release it, I just started working on it some day for fun and didn't spend much time on planning it or writing good code, therefore it was kinda dirty. But then it got bigger and I felt like it would be a waste of time if I didn't release it, so it's good to hear that despite of the problems of the that version, it was useful to some people.
  9. This is not how this forum works. Explain whats wrong, what you have tried to fix, show debug log. Why would anyone go through that code and fix it for you if you?
  10. Check the options parameters: share which can be set to 0 or 1. (Default value for SQLite is "share=1", for MySQL is "share=0"). When set to 1, the connection is shared and will be used by other calls to dbConnect with the same host string. This is usually a good thing for SQLite connections, but not so good for MySQL unless care is taken. Maybe this helps.
  11. I might have found a reason for this. There is another resource using fetchRemote, it seems to work smooth when that resource is not running. I wonder if that new "queueName" argument can help to fix this. I will try that. Thanks! Bonsai
  12. Hi, I have a problem with the callremote function. When I use the URL of my API that I made in the browser, I get an instant result. When I call this URL in MTA using callremote, it takes ages until I get a response, or it will just time out. Does anyone know what could be causing this? The URL works perfectly fine in a browser, but in MTA it just takes soooo long. I'm not using the MTA php sdk. Bonsai
  13. Hey, Thank you! I will try this out! The main reason why I decided to use the default MTA Gui in my Multigamemode is because of the editboxes. If this works good then I can change it so it will probably look much better!