Jump to content

Markeloff

Members
  • Posts

    230
  • Joined

  • Last visited

Everything posted by Markeloff

  1. "Multie Theft Auto = Stop play with your self ;)" quoted.
  2. Can you post the link to it, please?
  3. getPlayerCount Or just #getElementsByType("player")
  4. I need a script-able way to fix this bug. I'm sure it's not related to client. I wanna know why MTA team doesn't want to talk about this.
  5. Hello, I've been experiencing a bug in my server, players see others shooting them with fist while others see them shooting with weapons, even with a cool fps and a cool ping. Does anybody know how to fix this fist bug? Thank you, Markeloff
  6. Is there anyway to make this export client sided without using variables or element data? function isPlayerJailed(p) return getAccountData(getPlayerAccount(p),"Jailed") end
  7. Hello, I'm running my server on Debian 7, the problem is the server crashes everyday at night. MTA:SA Server v1.4.1-r7305-release crash report. 2015-07-02 00:57 Caught 33 addresses ... Backtrace: #0 - ./core.so(_Z12DumpCallbackRKN15google_breakpad18MinidumpDescriptorEPvb+0xf8) [0xb73fb618] #1 - ./core.so(_ZN15google_breakpad16ExceptionHandler12GenerateDumpEPNS0_12CrashContextE+0x400) [0xb7421000] #2 - ./core.so(_ZN15google_breakpad16ExceptionHandler12HandleSignalEiP7siginfoPv+0x13b) [0xb742143b] #3 - ./core.so(_ZN15google_breakpad16ExceptionHandler13SignalHandlerEiP7siginfoPv+0xa9) [0xb7421729] #4 - [0xb7746600] #5 - /root/mtaserver/mods/deathmatch/deathmatch.so(+0x45ff50) [0xb6dbff50] #6 - /root/mtaserver/mods/deathmatch/deathmatch.so(+0x461a7e) [0xb6dc1a7e] #7 - /root/mtaserver/mods/deathmatch/deathmatch.so(+0x462b1c) [0xb6dc2b1c] #8 - /root/mtaserver/mods/deathmatch/deathmatch.so(+0x4583d0) [0xb6db83d0] #9 - /root/mtaserver/mods/deathmatch/deathmatch.so(+0x453251) [0xb6db3251] #10 - /root/mtaserver/mods/deathmatch/deathmatch.so(+0x457963) [0xb6db7963] #11 - /root/mtaserver/mods/deathmatch/deathmatch.so(+0x4579c5) [0xb6db79c5] #12 - /root/mtaserver/mods/deathmatch/deathmatch.so(lua_pcall+0x68) [0xb6db3078] #13 - /root/mtaserver/mods/deathmatch/deathmatch.so(_ZN8CLuaMain5PCallEP9lua_Stateiii+0x74) [0xb6cec6d4] #14 - /root/mtaserver/mods/deathmatch/deathmatch.so(_ZNK13CLuaArguments4CallEP8CLuaMainRK15CLuaFunctionRefPS_+0xc3) [0xb6c6e383] #15 - /root/mtaserver/mods/deathmatch/deathmatch.so(_ZN9CMapEvent4CallERK13CLuaArguments+0x39) [0xb6b7a039] #16 - /root/mtaserver/mods/deathmatch/deathmatch.so(_ZN16CMapEventManager4CallEPKcRK13CLuaArgumentsP8CElementS6_P7CPlayer+0x324) [0xb6b7b494] #17 - /root/mtaserver/mods/deathmatch/deathmatch.so(_ZN8CElement15CallParentEventEPKcRK13CLuaArgumentsPS_P7CPlayer+0x54) [0xb6b1f9d4] #18 - /root/mtaserver/mods/deathmatch/deathmatch.so(_ZN8CElement9CallEventEPKcRK13CLuaArgumentsP7CPlayer+0x77) [0xb6b20537] #19 - /root/mtaserver/mods/deathmatch/deathmatch.so(_ZN5CGame15Packet_LuaEventER15CLuaEventPacket+0xba) [0xb6b3120a] #20 - /root/mtaserver/mods/deathmatch/deathmatch.so(_ZN5CGame13ProcessPacketER7CPacket+0x18c) [0xb6b3fa5c] #21 - /root/mtaserver/mods/deathmatch/deathmatch.so(_ZN5CGame19StaticProcessPacketEhRK17NetServerPlayerIDP21NetBitStreamInterfaceP13SNetExtraInfo+0x77) [0xb6b3fc97] #22 - /root/mtaserver/mods/deathmatch/deathmatch.so(_ZN16CNetServerBuffer15ProcessIncomingEv+0x180) [0xb6d7ef80] #23 - /root/mtaserver/mods/deathmatch/deathmatch.so(_ZN16CNetServerBuffer7DoPulseEv+0x49) [0xb6d805d9] #24 - /root/mtaserver/mods/deathmatch/deathmatch.so(_ZN5CGame7DoPulseEv+0x1ba) [0xb6b3c99a] #25 - /root/mtaserver/mods/deathmatch/deathmatch.so(_ZN7CServer7DoPulseEv+0x78) [0xb6a314d8] #26 - ./core.so(_ZN15CModManagerImpl7DoPulseEv+0x18) [0xb73fc218] #27 - ./core.so(_ZN11CServerImpl8MainLoopEv+0xb3) [0xb73fd9b3] #28 - ./core.so(_ZN11CServerImpl3RunEiPPc+0xab5) [0xb73febf5] #29 - ./core.so(Run+0x73) [0xb7418f63] #30 - ./mta-server() [0x8048e05] #31 - /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe6) [0xb7476e16] #32 - ./mta-server() [0x80488b1] --------------------------------------------------------------------------------
  8. Use shaders and apply them on players.
  9. https://wiki.multitheftauto.com/wiki/SmoothMoveCamera
  10. local weapSlot = getSlotFromWeapon(i) I guess there isn't a weapon with ID 47, 19, 20, 21.
  11. Markeloff

    Vehicles

    You're welcome, anytime
  12. Markeloff

    Vehicles

    I hope this help you : You can use a string to save instead of a toJSON tables. function startTables() executeSQLQuery("CREATE TABLE IF NOT EXISTS vehicles (accName TEXT, id NUM, price NUM, health NUM, r NUM, g NUM, b NUM, x NUM, y NUM, z NUM, locked TEXT, vehUpgrades STRING)") addEventHandler("onResourceStart", resourceRoot, startTables) -- updating upgrade : local upgrades = getVehicleUpgrades(veh) local save = table.concat(upgrades, ";") executeSQLQuery("UPDATE vehicles SET vehUpgrades=? WHERE accName=? AND id=?", save, accName, carID) -- adding upgrades : querySQL = executeSQLQuery("SELECT * FROM vehicles WHERE accName=? AND id=?", accName, carID) local save = querySQL[1]["vehUpgrades"] local upgrades = split(save, string.byte(";")) for index, v in pairs(upgrades) do addVehicleUpgrade(veh, v) end
  13. chkoun jarab ovh fikom ya jma3a? berasmy fama payment bel telephoun ?
  14. I didn't understand.. Gridlist looks like Item Amount M4 150 Pistol 190 M4 180 Sniper 50 Pistol 150 Sniper 250 For example, I write just 'M' in the edit box and the gridlist should output only Items and its amounts starting with M (M4 for example)
  15. Hello, I wonder how to sort a gridlist using an edit box? I have a gridlist with two columns, item and amount. I want to show for example item X only in the gridlist when I write X in the edit box it must clear the grid and add back rows with X text as item.
  16. Seems to be so hard to find a solution.
  17. So, I just re-installed my VPS, installed the MTA server and started it. I want to ask why the admin resource uses all this memory. Comparing it to the memory used in this image provided from the wiki You can see it uses ~5000 kb in the first image while in the second image, it uses only ~500kb. What does that mean?
  18. So, basically you called it the first server for Algerians and Tunisians because it's your first server. There're plenty of Arabs' servers not with 6 slots, your server has nothing special as you said, you're just wasting your time.
  19. Simple and useful, good job.
  20. Does it really need a topic?
×
×
  • Create New...