Jump to content

Stoney

Members
  • Posts

    26
  • Joined

  • Last visited

Everything posted by Stoney

  1. Yeah. What about objects made with createObject calls on the server side? How do those objects get sent to the player, are they loaded on join or are they lazily loaded when needed? If they are loaded on join I guess we'll just implement client side cache for our maps.
  2. Ah, that explains it. Seems the same could be said about client side scripts. I would have preferred a choice perhaps. But I'm sure we can script our way around it, thanks for the information.
  3. Aren't .map files just like client side resources? There must be a way to cache maps in the same way.
  4. I have a question about the inner workings of the file downloads. Each time a player joins our server they get a download of roughly 300kb. This number appears to change a bit also. I want to know what this download is. I was under the impression that client side scripts and maps are the only things that need to be downloaded from the server and that they where cached on the client side. Why is it then that there still is a 300kb download each time you join? Our server is hosted on debian although I don't think this is exclusively a linux issue. Any help or information is appreciated as this is eating our bandwidth.
  5. Thanks a lot for both of those links!
  6. Does anyone still have this old race map? Or at least know who made it originally so I can give credit if I decide to make a re-make (I remember it by heart). It was a buffalo race through the forests to the west of LS. If anyone can point me in the direction of more old race maps (apart from this forum and the community pages) that would be hugely appreciated also. Thanks Stoney
  7. I had this issue on one of my machines. Basically none of the gui buttons worked in game. This includes admin, freeroam and our own scripts. I uninstalled MTA and made a clean install, that fixed it.
  8. Thanks a lot man, shouldn't have missed that post
  9. Hey guys, I'm having problems with the new 1.0.2 binary for linux. We are currently running the 1.0.1 binary without problems. I have tried running 1.0.2 but I get a download error. First thing that happens is that one file gets downloaded (this happens each time you join, this isn't new) secondly it tries to download the resources. This fails almost instantly, disconnecting the client and giving the error "Failed to download files, couldn't connect to server". I have no errors in the log file. I have double checked all file permissions and they are identical to my 1.0.1 server folder. Does anyone know what this might be about? If not I guess I'll try building it from source, see if that helps...
  10. Stoney

    WINE compatibility

    Hello, I don't mean to hijack the thread, but I've have tried quite a lot of things to get MTA client running in Wine. Installation of MTA went fine under wine (after I installed the Visual Studio 2008 redistributable, thanks guys on IRC). I have also tried running the version I installed on Windows, this gives me the same result. I have followed the guide on the wiki. Here are the results : Running the MTA_SA_unix.exe output a bunch of missing dll errors. I proceeded to download and install all the missing dlls. Now it brings up a dialog that is called "Load" it shows the path to the unix.dll file. It only has one option, an OK button. Pressing it results in nothing. The application doesn't exit, it just sits there. I have also tried running the normal exe file that results in the following errors: fixme:advapi:SetEntriesInAclA 1 0x32ed0c (nil) 0x32ed08 fixme:advapi:SetSecurityInfo stub fixme:advapi:SetEntriesInAclA 1 0x197e6cc (nil) 0x197e6c8 fixme:advapi:SetSecurityInfo stub Maybe someone can make some sense of this
  11. Thanks for a thorough rundown of the chatbox command.To be honest I wasn't aware of how well the settings window worked for custom bindKey's. Thanks for your help.
  12. Although I'm happy it was released I would have been happier if you had waited just a bit longer. As already mentioned the resources still need a lot of work, the debugscript window is constantly spammed and ACL still doesnt work in the admin panel. We are also getting several connection errors. Mainly "version verification" but we even had one that I haven't seen before, "fatal error 6". I checked the manual and the description of that error is "invalid custom data length on entity-add packet". No idea what that means and why it should be solved by trying again three times. Sorry for complaining but you asked for it
  13. That was a great idea eAi. I tried it but unfortunately nothing happens when you trigger "chatbox" in that way. I tried executeCommandHandler on server and client side but neither had any effect.
  14. Wow, thanks a lot iChris. This actually ended up solving it. Firstly, in my defense, the wiki clearly says to not use the .dll on 1.0. It tried it with the .dll and it gave another error instead. Said it was missing msvcp71.dll. I happened to have the 2.3 server folder open right then and I saw the file there. Copied it over to my 1.0 server root folder and it all works now!
  15. Yeah, obviously. We are running on a Windows 2003 server so I am using the dll files. We had Windows 2003 before too, but this is a clean installation so we might be missing something similar to VS 2008 redistributable?
  16. bindKey("p", "down", "chatbox", "staffChat") As you see the handler function is something called "chatbox", some internal function that I can't find documentation on. It takes a variable, in this case "staffChat" which is a command handler. "chatbox" is triggered when you press the "p" button and it brings up the chatbox input field. When you hit return the "staffChat" handler is called with the chat input as variables word for word. So I use ... in the "staffChat" handler to grab the text. To make a command handler to do this I need to be able to do: addCommandHandler("staff", "chatbox", "staffChat") But as we all know addCommandHandler doesn't take variables for the command handler, they are taken from whatever you put after the /staff command. This is my problem. Hope it makes sense, I'm kind of bad at explaining it
  17. Very exciting with the final release around the corner, great work guys! I have just updated to the latest nightly build but I am having one problem. We use the mta_mysql module by Ryden. Whatever I do I get an error on MTA startup that says "MODULE: Unable to find modules/mta_mysql!". We had it running fine on a previous build, although that was on another host so maybe I am missing something on the new host. I am using the 1.0 syntax for the mtaserver.conf file, I have both mta_mysql.dll and libmysql.dll in the correct places. I have updated to the 0.4.1 version but that didn't help. I have also installed the Visual Studio 2008 redistributable package as I read something about VS 2008 and mta_mysql. Is anyone else having this problem or does someone know what the problem might be? Several of our scripts rely on mta_mysql so I need to get this working. Any help is greatly appreciated.
  18. Thanks a lot Sebas, works great! Would be better with a command handler, but this is fine for now... Robhol, the whole idea is to not override any keys, I would rather have a command so each player can /bind it as they like.
  19. So we have been using teams to allow staff to talk to each other using teamchat. Problem is that on 1.0 we will be using teams as they are actually meant to be used and as such staff won't all be in the same team. We already have a system for only talking to certain groups of people (members, staff etc). Only problem is that it uses a /command. It isn't very practical to have to type /staff message each time you want to say something to the staff. Basically what I want to know is how do I bind my own chatbox input to a key. Preferably I want a command like /staff that just brings up a chatbox input and when return is hit the message is redirected using the system we already have for this. That way people can /bind the command however they like. I've scoured the wiki and forums with no success so I am grateful for any help you can provide.
  20. Absolutely right Talidan. Thanks for the clarification. I got around it by changing back to script from gamemode and handling the map loading manually. Works great now.
  21. If MTA can load the maps then they are in the resources folder of your server. Default location is "C:\Program Files\MTA San Andreas\server\mods\deathmatch\resources".
  22. It also sets players money to 0 and sets the time to 12:00 despite not having any time set in the map. It's starting to look like my only way around this would be to make a custom map loader. Any ideas?
  23. Hey guys. So I have run into a strange issue with my game mode. When I restart the game mode it changes my skin to 0 (CJ) and I am guessing it would change everyone's skin to that if anyone else was connected. It's a map issue because I get it when I restart the map from the admin window or in code using call(getResourceFromName("mapmanager"), "changeGamemodeMap", map). Is there something automatic that happens when a map is loaded that defaults all clients to CJ skin? Is there some way of avoiding/disabling this? Some background on the game mode. It is an embedded game mode (so shoot me) that is written to run at the same time as freeroam. I realize this isn't how game modes are designed to work but lets forget that. It works great, runs in another dimension and I add/remove players from a specific team when they join/leave the mode. Just to clarify, this bug occurs on the players that are not in my game mode. A final question, can I disable the black screen that occurs when a new map is loaded? Right now I have a fadeCamera(getRootElement(), true, 1.0) in my onGamemodeMapStart to get around that but it's far from optimum. Thanks for any help you can give. Stoney
  24. No success on Windows 7 beta. It says that conversion was completed successfully but all it actually does is edit the meta.xml file. It doesn't create the clc file. Maybe I'm missing something...
  25. Ok, so I think I fixed it! The problem seems to be that I was turning off the three options for the menu rendering. If leave all three options on as they are when you install MTA it works every time! So if anyone has had similar problems give it a try!! Simply leave those options alone after your next reinstall
×
×
  • Create New...