Jump to content

stefutz101

Members
  • Posts

    245
  • Joined

  • Last visited

Everything posted by stefutz101

  1. I don't think so... . I called the guys from host and they told me my server can eat how much memory it need ( talking about HDD memory). Ram used: 0.4% CPU used: 11.9%.
  2. Alright, thanks a lot. If it will crash again i will come with a reply. Thanks again!
  3. Alright done that. Server now started. What now ? Question: i will have to let that setting like that ? i mean that won't affect the rest of the files ?
  4. Nothing happen. I'm not sure if i used the commands right.
  5. Hi. I downloaded and updated my server with the given version. ####### SERVICE RESTART AT 2017-06-08 11:40 BY CLIENT ####### bash: ./mta-server: Permission denied Now what i have to do? One more thing: i didn't have a x86 folder. That means my server is a 32 bit server or the guys from host fked up and installed a 32 bit server by default? I'm confused because they said server runs on 64 bits. BTW: I already used the following command: chmod +x ./mta-server Same problem. Thanks in advance for helping.
  6. I enter here /serviceXXXX/mods/deathmatch/dumps dumps folder is empty.
  7. Hello. I have a MTA DayZ server and after a while server shut down automatically and then restart. [2017-06-07 02:00:04] JOIN: MessyWharf6 joined the game (IP: 79.169.163.151) [2017-06-07 02:01:37] QUIT: MessyWharf6 left the game [Quit] [2017-06-07 02:03:37] [Backup]: Players saved [0] [2017-06-07 02:18:37] [Backup]: Players saved [0] [2017-06-07 02:33:37] [Backup]: Players saved [0] [2017-06-07 02:48:37] [Backup]: Players saved [0] ================================================================== = Multi Theft Auto: San Andreas v1.5 ================================================================== = Server name : [RedFear]Top-DayZ International/Romanian = Server IP address: 212.83.165.15 = Server port : 22003 = = Log file : ..service1075/mods/deathmatch/logs/server.log = Maximum players : 50 = HTTP port : 22010 = Voice Chat : Disabled = Bandwidth saving : Medium ================================================================== [2017-06-07 03:00:11] Resources: 120 loaded, 0 failed [2017-06-07 03:00:11] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso <[email protected]>" [2017-06-07 03:00:11] MODULE: Loaded "Curl module" (1.01) by "Alexander de Jong (AKA mrdejong)" [2017-06-07 03:00:11] MODULE: Loaded "IRC Echo" (2.10) by "VRocker" [2017-06-07 03:00:11] MODULE: Loaded "Sockets Module" (1.30) by "Gamesnert, MCvarial & x86" [2017-06-07 03:00:11] MODULE: Loaded "SHA Module" (1.02) by "mabako" [2017-06-07 03:00:11] Starting resources... [2017-06-07 03:00:11] Server minclientversion is now 1.5.4-9.11324.0 [2017-06-07 03:00:16] WARNING: File 'weapons/349.txd' in resource 'Skins' is invalid. [2017-06-07 03:00:19] WARNING: gang_system <min_mta_version> section in the meta.xml is incorrect or missing (expected at least client 1.3.4-0.00000 because of 'gang_client.lua') [2017-06-07 03:00:19] WARNING: gang_system requires upgrade as <min_mta_version> section in the meta.xml is incorrect or missing (expected at least client 1.3.4-0.00000 because of 'gang_client.lua') [2017-06-07 03:00:19] Use the 'upgrade' command to perform a basic upgrade of resources. [2017-06-07 03:00:19] INFO: Gang System: Successfully connected to database [2017-06-07 03:00:19] Querying MTA master server... success! (Auto detected IP:212.83.165.15) [2017-06-07 03:00:19] Server started and is ready to accept connections! [2017-06-07 03:00:19] To stop the server, type 'shutdown' or press Ctrl-C [2017-06-07 03:00:19] Type 'help' for a list of commands. ================================================================== = Multi Theft Auto: San Andreas v1.5 ================================================================== = Server name : [RedFear]Top-DayZ International/Romanian = Server IP address: 212.83.165.15 = Server port : 22003 = = Log file : ..service1075/mods/deathmatch/logs/server.log = Maximum players : 50 = HTTP port : 22010 = Voice Chat : Disabled = Bandwidth saving : Medium ================================================================== Server is hosted on linux. Thanks in advance!
  8. I just found the problem , that image was missing .
  9. Found problem: local headline = {} rightclickWindow = guiCreateStaticImage(0,0,0.05,0.0215,"images/scrollmenu_1.png",true) headline["rightclickmenu"] = guiCreateLabel(0,0,1,1,"",true,rightclickWindow) guiLabelSetHorizontalAlign (headline["rightclickmenu"],"center") guiLabelSetVerticalAlign (headline["rightclickmenu"],"center") guiSetFont (headline["rightclickmenu"], "default-bold-small" ) guiSetVisible(rightclickWindow,false) function showRightClickInventoryMenu (itemName,itemInfo) if itemInfo then local screenx, screeny, worldx, worldy, worldz = getCursorPosition() guiSetVisible(rightclickWindow,true) guiSetText(headline["rightclickmenu"],itemInfo) local whith = guiLabelGetTextExtent (headline["rightclickmenu"]) guiSetPosition(rightclickWindow,screenx,screeny,true) local x,y = guiGetSize(rightclickWindow,false) guiSetSize(rightclickWindow,whith,y,false) guiBringToFront(rightclickWindow) setElementData(rightclickWindow,"iteminfo",{itemName,itemInfo}) end end function hideRightClickInventoryMenu () guiSetVisible(rightclickWindow,false) end function onPlayerClickOnRightClickMenu (button,state) if button == "left" then local itemName,itemInfo = getElementData(rightclickWindow,"iteminfo")[1],getElementData(rightclickWindow,"iteminfo")[2] hideRightClickInventoryMenu () playerUseItem(itemName,itemInfo) end end addEventHandler("onClientGUIClick",headline["rightclickmenu"],onPlayerClickOnRightClickMenu,false) Warning: local itemName,itemInfo = getElementData(rightclickWindow,"iteminfo")[1],getElementData(rightclickWindow,"iteminfo")[2] expected element at arg1 , got nil Error : local itemName,itemInfo = getElementData(rightclickWindow,"iteminfo")[1],getElementData(rightclickWindow,"iteminfo")[2] attempt to index a boolean value. Warning : guiSetVisible(rightclickWindow,false) execpted gui-element at argument 1 , got nil. PS: This is a part of script . (And i search in script if that element is destroyed , but it isn't)
  10. They have the same problem with grids. EDIT : i looked for that functions ... nothing.
  11. https://postimg.org/image/7d2fau149/ In first photo you can see a player what can't use gui resources , in secound photo you can see a player what can use them.
  12. Ok. Think about this : you have a gui window with a grid list and i button(exemple). When a new player enter on my server if he want to select an item from grid list, he simply can't . It's like i have an image with a gui and it's drawed on screen using dxDrawImage. Or : if you have a window with a button on it , if you move curson over that button it will flash , ok new players from my server can't do that .
  13. Gui elements apprear like images . You simply can't use them.
  14. You can't see nothing in a photo , because there isn't a difference. The problem is that : new players can't use them. I mean they cannot click on button , girds , images ... etc . If they will click on buttons for example nothing . Download this image : https://postimg.org/image/3jugop2wf/ open it and try to use any button from that photo . This is the problem . Or just try to connect on my server from signature . I think you will understand .
  15. function showPickGender() gwindow = guiCreateWindow(524, 132, 409, 279, "Select your gender", false) guiWindowSetSizable(gwindow, false) guiSetAlpha(gwindow, 0.78) guiSetVisible(gwindow, false) --------------------------------- man = guiCreateStaticImage(49, 49, 99, 192, "man.png", false, gwindow) woman = guiCreateStaticImage(262, 49, 102, 192, "woman.png", false, gwindow) text = guiCreateLabel(131, 32, 147, 17, "Please select your gender.", false, gwindow) mantext = guiCreateLabel(84, 251, 30, 18, "MAN", false, gwindow) womantext = guiCreateLabel(290, 251, 46, 18, "WOMAN", false, gwindow) ------------------------------ addEventHandler("onClientGUIClick", woman, function() triggerServerEvent("femaleChosen", localPlayer, localPlayer) showCursor(false) guiSetVisible(gwindow, false) end, false) addEventHandler("onClientGUIClick", man, function() triggerServerEvent("maleChosen", localPlayer, localPlayer) showCursor(false) guiSetVisible(gwindow, false) end, false) end addEventHandler("onClientResourceStart", resourceRoot, showPickGender) For example.
  16. Hi i have a DayZ Server , and new players what come on my server for first time , they cannot use any gui elements . Gui elements appear corectlly, no warnings or errors in debugscript. If they will connet on other dayz server ( i guess any server , i'm not sure if it's necesarry to be a Dayz server too ) and they will reconnect back , every thing is alright . They see that gui windows like some photos , they cannot click on nothing. Any help ? ( i have more resources based on gui elements no one works until they visit other server). I don't know where this problem came from .
  17. stefutz101

    Can't use gui

    Hi i have a DayZ Server , and new players what come on my server for first time , they cannot use any gui elements . Gui elements appear corectlly, no warnings or errors in debugscript. If they will connet on other dayz server ( i guess any server , i'm not sure if it's necesarry to be a Dayz server too ) and they will reconnect back , every thing is alright . They see that gui windows like some photos , they cannot click on nothing. Any help ? ( i have more resources based on gui elements no one works until they visit other server). I don't know where this problem came from .
  18. https://community.multitheftauto.com/?p ... ls&id=1514 This is the resource. i will try and i will post the result .
  19. Hi i'm tring to get gang color from castillo gang resource. function text123() local gang = exports["gang_system"]:getPlayerGang(getLocalPlayer()) if gang ~= "None" then local color = exports["gang_system"]:getGangData(gang,'color') if ( type ( color ) == "table" ) then outputChatBox("test",color[1],color[2],color[3]) end end end addCommandHandler("one",text123) function="getGangData" type="server" /> -- Arguments: gangName, dataName (leader, bank, motd, color, tag, members, createdOn, logs (table), ranks(table)). Returns: The data. --> function="getPlayerGang" type="shared" /> -- Arguments: thePlayer. Returns: The gang name, 'None' otherwise. --> Functions are exported in meta.xml(from gang_system).What is the problem ? Thanks in advance !
×
×
  • Create New...