Jump to content

Gungneer

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by Gungneer

  1. I have the idea of making a MTA server hosting service, but I'm not really sure how much I should charge per player slot, dediated IP, etc... Anyone wanna tell me what they think is a fair price to be charged for MTA hosting?
  2. From what I've heard, game time progresses based on how much you're lagging and shit, so say that means if I was lagging and he wasn't, he would progress faster. But what I was thinking was with the above mentioned method, it would force a client to automatically update every so often so lag will make little to no difference.
  3. Right Orange, cheers for that, that pretty much sums up what I wanted to know. And about the server location thing, only a total twat would do such a thing, I generally run things on the same machine or over my network at the most. I have also come up with another question regarding this topic: Lets say I wanted to create 2 servers (lets just say an RP and a race server hypothetically) and I wanted users to share the same account, money and cars across both, would I be right in assuming that a MySQL server would be better in that situation?
  4. Yep, because that wasn't what I did in the first place, was it? I'm sorry, but I can understand you having to put up with a fair amount of illiterate spiccy retards, however, I'm sure you should be able to tell I'm not one of them and would have tried things a few different ways BEFORE coming her.
  5. Gungneer

    Spawn problem

    Ah right. Well what I think is if this is happening to only you or existing players, it might be happening is you possibly used another resource before or something, and it improperly set the spawn location, in which case, you need to edit the account data on the accounts to clear the spawn location and such. If not, then I'm not sure, sorry. Also, have you got any sort of admin panel to warp you anywhere, where you can then know you're on land then log out, then log in and see if you respawn? If you have tried that, again, I'm sorry, but I don't know.
  6. Right, then I can safely say that this headache has got the better of my for now, 'cause I can't think of how to help you for shit, sorry. Hopefully someone else can come along and help.
  7. Gungneer

    Spawn problem

    And you can't copy any of the code from your code editor into here and use the tag?
  8. Although, y'know... If you want teh window there all the time, you just have to take out line 18 from your original code. Line is was: guiSetVisible(StatusW, false) You were setting it to not show by default, what I just tried to help you do was find a way to toggle it instead, but if you want it to show all the time, don't both with the toggle shit and just remove that line.
  9. Oh, my bad, I copied some shit from the Wiki and just edited it, I never edited it properly. Line to: bindKey("F1","down",toggleWindowVis) Use that instead, sorry.
  10. Gungneer

    Spawn problem

    Show me your spawn code?
  11. function toggleWindowVis(key,keyState) if guiGetVisible(StatusW) then guiSetVisible ( StatusW, false) else guiSetVisible ( StatusW, true) end end bindKey ( "F1", "down", funcInput ) Something like that.
  12. Gungneer

    Spawn problem

    When you spawn a player, set the Z to what you're going to set it as + 1.
  13. Make a command handler or bind a key to toggle the visible state of the window?
  14. Well as I said, I'm not sure how you can turn a map file on/off on command unless you write a function for it, if you have a .map file, I suggest making a resource with called "hotelmap" and in that just have "hotel.map" and the meta.xml to include it, and then you can turn it on and off by doing "/ hotelmap". Easiest method I could think of.
  15. Hmm... I'm not 100% that'll do EXACTLY what I need, but I'll deffinatly look into that 'cause it seems promising, thanks. Also, while I'm on this topic, does MTA support HTML formatting?
  16. How so? If you have MSN, feel free to add me on [email protected] for help setting it up.
  17. As far as I've been led to believe, MTA 1.05 doesn't have syncronized in game time for all users, it's based on when the server was started and the users client, etc..? I have also been led to believe this is going to chance in MTA 1.1, however, I was wondering if it would be possible using a timer? For example, in the server file, have a timer set to say every 10 seconds or so which triggers a client event setting the clients clock to the time of the server? Thanks for any help.
  18. I'm with Solidsnake here, if you want the link to the XAMPP program, it's http://www.apachefriends.org/en/xampp-windows.html If you need any help getting to grips with it, feel free to throw a PM my way, I've been using that program for the better part of 7 years now. The following is an edit: You could have also mentioned PHP since that's a pretty useful part of it since he could essentially run a full server (MTA + forum/website) from a house computer. (If that's what he's actually doing.)
  19. I was wondering if it was possible to make a sort of "web site" in game based on stuff from an ACTUAL website? Example: I create a tabbed window, every time a user clicks on a tab, it pulls content through the client side to the game. If it's not possible, what other ways of doing this is there?
  20. If you're talking about a single map file, I don't know. If you're talking about a resource, "/start " and "/stop ". I don't know how to make it so you turn off a single map at a time, but you could just stick it in a resource of its own and stop/start that on demand?
  21. Did you do that as well? (Edit: By "that", I mean the bolded bit, if you can tell it apart) https://wiki.multitheftauto.com/wiki/Mysql And like SolidSnake said, make sure you have a MySQL server running.
  22. It's not a question of ease here, if I wanted, I'm sure I could write a wrapper resource like I essentially do for PHP and make MySQL as easy, if not easier (at least for me) to use, I'm more worried about benchmark times and such. Like, using MySQL, how slow (if at all) does it slow things down?
  23. As far as I'm aware, the game time in MTA isn't synced across players in MTA 1.05, however, this is planned to be fixed for MTA 1.1, but regardless of this fact, stopping and starting a resource in game based on time? I would personally advise against this. I'm not sure what you're trying to create, but I would suggest looking into the "getTime()" function and for example if you wanna make a Fast-food place open between certain hours, you make the marker then when they hit that marker, you check the time, and then if the player has tried to go into it when the time is say midnight, and the store is only open 6am-10pm, then you pop up a message saying they cna't enter yet and stop processing the function for the marker by "return"ing the function. If I've misunderstood you and just typed a load of random bullshit then please, feel free to ignore and tell me that I was wrong.
  24. Well actually Solidsnake, I've only ever played on 3 servers, SAES for a short time before stopping and moving on to SANL, I have also played the CoD2 mod server, apart from those, I've not played any others so I have no idea what else is in other servers. The type of script I'm looking for would just be something that has a basic GUI for a table where you can place bets and stuff easily enough, even if it's just normal single number bets and not split bets. I'm not looking for anything too fancy, just a base to work from/around to help speed up the development time of everything I am doing.
  25. Before I go any furhter with my scripting, I was wondering if I could get people opinions/personal experience on the difference between using MySQL and SQLite. I personally have experience with both of these out side of MTA so I would be fine using either one, however, since I know that MySQL requires a moduel, I've heard some people say that because of the time that it takes to load a moduel and stuff that it evens out in terms of preformance against SQLite, and in some cases can even be slower, I was wondering if this was actually true or not? Does anyone have any rough benchmark times of preformance in terms of actual querying and MTA processing time? Thanks.
×
×
  • Create New...