Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by Matubo

  1. Matubo

    Train Bug

    The righthanded track DOES NOT exist in northern part of SA. It circles that crappy way between LS-> point 1 -> SF (see first secreen) and doesnt exist in LV and the north. So all tests done. If devs need some more info on the point. Just ask. Something should be done on that issue
  2. Matubo

    Train Bug

    Here is the second experiment, I promised. Now the train was spawn also in LS, but on the lefthand track of the rail. Also heading north (counter-clockwise move around the country). As you can see on map this track is much better to use, than the righthand one. It has only two gaps, but covers almost complete country railway. PS btw, I cant spawn a train to move "clockwise".. They all spawn only one-way: CCW. Any one can?
  3. Matubo

    Train Bug

    I made some experiments recently and got some results on it. This is a train course on picture, when spawning a train in Los Santos on righthand track heading North. The arrow on map shows the direction of train move. And the track is righthanded regarding this direction. 1: this is the point where the train goes out of rail tracks and runs in wilderness The train goes through the country on the same Z-coord. So it runs underground under the mesh, it flies in the sky. Behaves weird so to say 2: this is the point in SF where the train again stands on rail tracks and goes to LS 3: this is the point of "no activity", geographically its the point where trains stop in singleplayer, when CJ is blocked in LS. In this point the train can be spawned, but it doest go ahaed, it can only move backwards away from LS. On the tracks between these 1,2,3 points the train goes smoothly. And what happens to the righthand track after the point 1? Well in near neigbourhood there is NO virtual track on it. Trains spawn only om lefthand track. As concerns LV and neighbourhood, I didnt experiment there yet. I just draw the way of LS train on the righthand track.
  4. Me too. That is why, I post here And, being a hardcode programmer myself, I have an inside feeling that something wrong happens on a player object itself. Some triggers, or smth. I dont know the algorithms, implemented in MTA, but there obviously should be such handlers on objects. And one of them crashes after these manipulations. One of those, who handle car interactions. Thats are just my thougts. No more.
  5. This is not the point of the issue. These errors were posted by me, to maybe help developers pinpoint the root of the problem. This is just an additional info.
  6. This seems to work. Thank you. But there goes next problem. Let me describe you this malfunction: Firstly, here is the event declaration and event-function: function onVEnter( player, seat, jacked ) local is_admin_car = getElementData(source, "admin_car") outputChatBox ( "Function is called..." ) if is_admin_car == "1" and not PlayerHasPower(player) then outputChatBox ( "Filter worked..." ) cancelEvent() end end addEventHandler( "onVehicleStartEnter", root, onVEnter) Here how it goes. I join the server as a simple player, I spawn in the game and approach the car. I press "enter the vehicle" button and I receive: "Function is called... Filter worked...". How nice.... Yet everything worked. Now I open the console and see: "Failed to enter/exit vehicle - id: 1" Then I try to seat down second time, I cant. But now I receive: "Failed to enter/exit vehicle - id: 2". Third, fourth, fifth attempts give me the same: "Failed to enter/exit vehicle - id: 2". Well, thats odd but not yet somehow informational. The script worked somehow till that moment, cause the simple player cound not enter the car. The interesting part goes next: I login as Admin. I try to seat in a car, I receive only "Function is called..."... but I cant. I open console and see: "Failed to enter/exit vehicle - id: 0" I try to seat the second time, and now I DONT receive ANYTHING. Function didnt call at all. I open console and see: "Failed to enter/exit vehicle - id: 7" Every time now I recevie only: "Failed to enter/exit vehicle - id: 7" on every attempt. But thats not all. I logout Admin acc, but still function doesnt call and "Failed to enter/exit vehicle - id: 7" occures. And after that the player CANT enter ANY CAR in the world, till he reenter the server. So here are the points in brief: - when player is a simple player everything works somehow fine, except those errors in console - after login as Admin, first try calls the function but admin doesnt seat in a car - other attempts doesnt even lauch an event function or event itself, cause player cant enter any car till he rejoins, even after logout to simple player Something wrong goes with this cancelEvent()... Or something. Need help. I cant handle this myself.
  7. Well, I dont need to jump around "hasObjectPermissionTo" after you said that this is not the point. I just want to make this filtering mechanism. I dont know how, thats why I'm here. Any advise, help, explanations are welcome. Once more, the idea in brief: I create a car. I want only Admins to have permission to enter it. In my idea in event of "onVehicleStartEnter" there should be two conditions in the verifications: - is this car should be checked at all. In other words is this car has "admin car" flag "on" or "off" - is the player is a simple player or an Admin If flag is true and player is not an Admin then "cancelEven()" The first condition is already done by me. The second - is the topic of this thread.
  8. Can you show me how to access this custom data member? And I didnt clearly catch, how this member can be used to filter plyers. As I understand this flag will indicate "can anyone enter any vehicle". But as I wrote before, I wanted to filter just one precise vehicle. I need more specific filter than a global flag. If you were so kind to explain how I can arrange the handling of data members like "resource.YourResourceNameHere.canEnterVehicles", this would be great.
  9. I see your point. Thanks. But nevertheless your type of check doesnt work. I made several experiments and they show that everyone have the permission to "funtion.banIP". Like: local can = hasObjectPermissionTo( player, "function.banIP") if can then outputDebugString("He can...", 3) else outputDebugString("He cant...", 3) I tried: local can = hasObjectPermissionTo( player, "function.banIP") local can = hasObjectPermissionTo( player, "function.banIP", false) local can = hasObjectPermissionTo( player, "function.banIP", true) The result was always: [iNFO] He can... Regardless of players state. Was it a guest or a logged in player with Admin rights. The function.banIP is declared in "Moderators" ACL, where coomon players dont have access. So I guess the point is in incorrect function behaviour, or I dont understand something...
  10. I think this should sound like: function onVEnter( player, seat, jacked ) local is_admin_car = getElementData(source, "admin_car") if is_admin_car == "1" and hasObjectPermissionTo ( player, "function.banIP", false) then cancelEvent() end end addEventHandler( "onVehicleStartEnter", root, onVEnter) Well, this should be a trick. But is there any standard tools to make these checkings more standardized? And where can I find the list of those built-In data members of an element by types? Like this one: "function.banIP". As far as I understand this is a member function of an elementtype "player". And for "vehicles", "blips", "markers" etc?
  11. The task is: to allow only Admins to enter a specific Car. I've created a car in MAP file. Created a Flag that this one car is for Admins only. A redirect its value to the IF statement in EVENT function, but I cant check if the entering Player is admin. Generally speaking: function onVEnter( player, seat, jacked ) local is_admin_car = getElementData(source, "admin_car") if(is_admin_car == "1" and [RESULT OF ADMIN CHECK HERE]) then cancelEvent() end end addEventHandler( "onVehicleStartEnter", root, onVEnter)
  12. Matubo

    Admin Commands

    Yes, it would be nice to know how to use console admin commands, cause BAN from admin panel - crashes server. What are the commnds? Where to type them in? What is their syntax? And what is their prefix to become a command?
  13. This information is not complete. There are only basic infos of starting server, but not the use and maintenance by Admin. As concerns gamemodes, there are only some lists of commands, but not their usage. So to say: "read it and know it". But how server admin should use them? Its completely on his own to find out. But this IS the matter of how-tos, when devs share their knowlege with end users about their projects behaviour. This is what I meant, when wrote about working with documentation. More specific infos about usage wpould be great help for newbie users.
  14. I'm not trying, I stopped that server, by setting its tag to 0 (as you write in WIKI) I figured out some answers by myself: Q3: unzipping every file to its own subdir in web folder do the job, all works fine Q4: when unzipped to subdirs, all files are downloaded as necessary. You, guys done a great work, but you should do the same work with your public How-Tos and other documentation. I figured out that before starting any "themed" maps for stealth, assault, Capture the Vehicle etc., I must change the gamemode for this "theme". But I didnt read this anywhere. And With that issue I have a question: how can I start a server with a "themed" map? What should I load in resource block of server config? For Example: I want to the map "sth-carrier" to load on srvser startup as default? The simple makes only the black screen. After that I should login as Admin, change mode to "stealth" manually, then manually load that map with changemap. behave even more strangely, it shows the beginning of a map, where carrier is docked and thats all, none of the scripts are working.
  15. Q1: What can prevent downloading files from built-in server? Server port is equal to gameserver port, it is open frough firewalls etc. (it was open for MTASA RALLY 1.1.1 earlier), as written in wiki, but still this causes: Download error 9: Error downloading requested files. Q2: Ok, I dont use built-in webserver, set its tag to 0, I configured my Apache to maintain download folder. What files from resources folder should be copied in that new folder? I dont understand the meaning of these files yet, but find some of them being system-like, like webadmin.zip, webmap.zip, webstats.zip etc. Q3: Continuing from Q2. It is written in WIKI, that I should unzip all files from ZIPs in resources folder to the new web folder. But every resource ZIP has equally named files like "meta.xml" and some more alike. They will overwrite each other, that will lead to unpredicted results, if I follow that advise on WIKI. What did you mean exactly when wrote this advise? Q4: Continuing from Q3. Ok, I tried the new web folder, placed all ZIPs from resources folder of the server. Downloading works, but not fully. It can download several files then stop. And then nothing happens. What should I see or hear, or do when th Client is completely done everything with server and ready to play? The only thing I still acieved is a black screen with working console, but keeping in mind the RACE behaviour lately, this situation seems wrong to me.
  16. WinXP SP2 "Entering Game..." messageBox -> Loading GTASA Splash Screen -> Black Screen -> Crash... = this is with every depended EXE and shortcut toggled to Win98 compatibility. QuickConnect MsgBox-> Fatal Error(3) - this one with every depended EXE and shortcuts left default with compatibility off.
  17. This is REALLY strange dependence. But this worked. Thanks.
  18. Hours later... Still nothing. lil_Toady and AlienX code generator generates fake serials, huh?
  19. After that client says: You provided an invalid serial number. Please try again in a few minutes. If the problem persists, please contact MTA team member. The problem persists. For an hour after registration on BetaMTA I still cant start the client.
  20. Matubo


    Firstly, I want to apologize if this question was discussed somwhere on this forum, but its just came to my mind while playing RACE mod. The thing is that MTA:SA server currently doesn't synchronise daytime for players. Every newcomer to the map always has 12.00 (or the time written in tag in .map file)...Its surely does not matter for RACE mod what time player does ride it, but probably will cause fairplay disbalance in Deathmatch mod. Targetting in day time is obviously easier task than at night time. So "longplayers" will be in worse conditions than "newcomers", Because when they long play the same map, their daytime timer will be different from daytime of newcomer: ex. 03.00 night time on longplayer, and 12.00 on newcomer... So I wanted to pay your attention to this feature and to ask developers to make serverside daytime timer, as it once was in MTA:VC, where everybody had the same daytime, in spite of time they connect to server. Thank you.
  21. Matubo


    I'm sorry, but I dont see any solution there. I cant imagine how to implement PHP or other language scripts into .map file. There is no documentation on that yet. So if thats not difficult for you, can you show any example? I also prefer PHP.
  22. Matubo


    Well, I was talking about MTA:SA
  23. Matubo


    Yes, I meant that the weather change should be written in tag inside the map config. The weather chain is good, but obviously predictable, thats not fun After 3 or 4 times playing the map I'll be ready for the weather change. Smog, wind, thunder - that all can enchance the gameplay on the map when being random
  24. Matubo


    First of all, I want to excuse me if this wish already was announced. I didnt find it here though. So I'd like to have weather changed on maps. Randomly would be perfect. But if this is difficult to make it random - chain also would be nice. We already have under , if there is: 5 3 6 9 1 will it make weather changed? If not, may be this tag could be somehow enchanced?
  • Create New...