Jump to content

dewu

Members
  • Posts

    171
  • Joined

  • Last visited

Everything posted by dewu

  1. Update 0.1.42 Poprawki: • Poprawiony kod respawnu dla: British Assault Pack, Patrol Pack, Vest Pouch Pack Serwer: • Aktualizacja plików serwera z 1.3.5 do 1.4 • Zmiana hostingu z FPSMax.pl na Pukawka.pl Gamemod: • Dodany przewodnik survivora pod "F9" • Dodana nowa animacja poruszania się zombie • Dodany nowy panel logowania • Dodana przedmiot: Aspirin • Dodane plecaki zamiast slotów w Gameshopie • Dodane: Aspirin, Wire Fence, Toolbox, GPS, Wood Pile, Box of Matches do GameShopu • Dodany wpływ pogody na temperaturę ciała • Usunięty spawn Mountain Backpacka (do kupienia wyłącznie w sklepie) • Usunięty spawn Military Backpacka (resp wyłącznie w Helicrash) • Dodany system baz • Dodany system VIP • Dodane ikony broni dla: Crowbar, Shovel Forum: • Dodany dział "Dyskusje" • Dodany dział "Multimedia" • Dodany dział "Luźne rozmowy" Admin: • Dodana komenda respawnu itemów Co planujemy w przyszłym? Gamemod: • Zrzut lotniczny skrzynek z zapasami • Nowe pojazdy • Przylepianie do pojazdu • Nowe modele pojazdów • Green Zone (bezpieczna strefa) • Kamizelka kuloodporna • Odgłosy zombie Forum: • Modyfikacja umożliwiająca dodawanie przyjaciół w swoim profilu • System reputacji • Odblokowana opcja Free $ w Webshopie Admin: • Czat głosowy dla adminów
  2. Update 0.1.23 Poprawki: • Poprawiony kod czatu głosowego, zwiększony zasięg • Poprawiony kod respawnu itemów w bazie, satelicie, lotnisku Serwer: • Wprowadzone dodatkowe zabezpieczenia • Aktualizacja plików serwera z 1.3 do 1.3.5 Gamemod: • Dodany tekstowy czat globalny • Dodany nowy celownik snajperski • Dodane skrzynki eventowe spawnowane przez adminów • Dodane cztery nowe plecaki: Hunting Backpack, Taloon Backpack, Military Backpack i Mountain Backpack • Dodany spawn Military Backpacka w Helicrash'ach • Zwiększona ilość krwi u zombie z 3000 do 4000 • Usunięte spawny psów • Dodana możliwość spuszczania się po linie z helikoptera Forum: • Dodany dział "Przywitaj się" • Dodany dział "Dyskusje" • Usunięty wątek "Liczymy do 1000" • Usunięty wątek "Zgarnij punkty za reklamę" • Przebudowany panel dotacji, dodana ranga Super Donator • Upiększony panel statystyk w dolnej części forum Admin: • Dodany panel dodawania itemów • Dodany immunitet pingu • Dodany panel wyszukiwania pojazdów na mapie • Dodany in-Game'owy edytor skryptów Inne: • Dodany 10 slotowy serwer TeamSpeak 3 Co planujemy w przyszłym? Gamemod: • System baz • Przewodnik Survivora (zbiór niezbędnych informacji) • Możliwość przygarnięcia psa po wykupieniu opcji w Gameshopie • Zrzut lotniczny skrzynek z zapasami • Przylepianie do pojazdu • Nowe pojazdy • Nowe modele pojazdów • Green Zone (bezpieczna strefa) • Kamizelka kuloodporna • Nowa animacja poruszania się zombie • Nowy panel logowania • Plecaki zamiast slotów w Gameshopie Forum: • Odblokowana opcja Free $ w Webshopie • Modyfikacja pozwalająca dodawanie przyjaciół w swoim profilu • System reputacji Admin: • Czat głosowy dla adminów Inne: • Płatna reklama serwera
  3. Hi guys. I got the question: Is this possible to add user to ACL group by use MTA SDK? Or maybe is other way to do that?
  4. https://forum.multitheftauto.com/viewtopic.php?f=108&t=48860 I found this but don't know how to use it. I added it on server, started, click CTRL+B and when i choose Pick selection is nothing happens. Please help.
  5. Yeah, i know. But this will take a lot of time, to get new position and set every object perfectly. I asking about simpler and faster way. I thinked is way to select all objects and copy then paste in new place, or something..
  6. ... So, how can I simple moved all elements in other place?
  7. So, if I change this coordinations: myGate1 = createObject ( 980,664.90002441406,-1309.0999755859,15.199999809265, 0, 0, 0 ) then all elements will moved?
  8. Okay, i got it. But i have a question: How to move/clone all elements of the base and place other somewhere in editor?
  9. dewu

    DayZ strange error

    Now: WARNING: [DayZ-MTA]/DayZ/survivorSystem.lua:476: Bad argument @ 'setElementID' [Expected element at argument 1, got nil] ;/ 476 setElementID(player, "elementWeaponBack[source]")
  10. Hi guys. I have strange error when server is starting: [2014-09-17 20:56:24] WARNING: Ignoring duplicate client script file in resource 'editor_gui': 'client/orderedPairs.lua' [2014-09-17 20:56:24] WARNING: Ignoring duplicate client script file in resource 'editor_gui': 'client/vehicleupgrades.lua' I use latest and upgraded 1.4 MTA version.
  11. You understand i see.. I mean now everyone can change his nickname color by use ex. #FFFFFF code before nickname. I want to disable this function, and also set #00FF00 color for all.
  12. Hi guys. Is this possible to permanently set same nickname color for all players? Now everyone can change color by use HTML colors tag ;/ That's my script: -- Global chat function globalMessage(thePlayer, cmd, ...) local message = table.concat ( { ... }, " " ); local name = getPlayerName(thePlayer); local account = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox("#FF0000[ADMIN]#00FF00"..name..": #FFFFFF"..message,root, 255, 255, 255, true) else outputChatBox("#FFA34F[GLOBAL]#00FF00"..name..": #FFFFFF"..message,root, 255, 255, 255, true) end end addCommandHandler("global", globalMessage); addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), function() for index,player in pairs(getElementsByType("player")) do bindKey(player,"x", "down", "chatbox", "global"); end end) addEventHandler("onPlayerJoin", getRootElement(), function() bindKey(source, "x", "down", "chatbox", "global"); end ) addEventHandler("onResourceStart", resourceRoot, function() setGameType ("DayZ") end )
  13. I've not test it yet, but I know when Solidsnake14 write something it'll works Thanks.
  14. It's not working. I'm still kicking by server.
  15. Okay, i found it: Client: function playerPingCheck() if getPlayerPing(getLocalPlayer()) > gameplayVariables.ping then pingFails = pingFails + 1 if pingFails == 5 then triggerServerEvent("kickPlayerOnHighPing", getLocalPlayer()) return end startRollMessage2("Ping", "Your ping is over " .. gameplayVariables.ping .. "! (" .. pingFails .. "/5)", 255, 22, 0) if isTimer(pingTimer) then return end pingTimer = setTimer(function() pingFails = 0 end, 30000, 1) end end setTimer(playerPingCheck, 4000, 0) Server: function kickPlayerOnHighPing() outputChatBox(getPlayerName(source) .. " was kicked due to high ping!", getRootElement(), 27, 89, 224, true) kickPlayer(source, "Your Ping was straight too high.") end addEvent("kickPlayerOnHighPing", true) addEventHandler("kickPlayerOnHighPing", getRootElement(), kickPlayerOnHighPing) How to set admin immunity?
  16. Yeah, I know. But how to do that? Where i can find code with ping-kicker function?
  17. It's works, thanks! And the second problem still idk how to do that ;/ I'am admin on server and i am kicking by ;d
  18. Hi guys. I got two problems. 1. I want to add [ADMIN] tag when he text on global. I try to do that, but it's not working: -- Global chat function globalMessage(thePlayer, cmd, ...) local message = table.concat ( { ... }, " " ); local name = getPlayerName(thePlayer); for _,v in ipairs(getElementsByType("player")) do outputChatBox("#FF0000[GLOBAL]#00FF00"..name..": #FFFFFF"..message,v, 255, 255, 255, true) end if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox("#FF0000[ADMIN]#00FF00"..name..": #FFFFFF"..message,v, 255, 255, 255, true) end end addCommandHandler("global", globalMessage); addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), function() for index,player in pairs(getElementsByType("player")) do bindKey(player,"x", "down", "chatbox", "global"); end end ) addEventHandler("onPlayerJoin", getRootElement(), function() bindKey(source, "x", "down", "chatbox", "global"); end ) 2. How to set admin ping immunity?
  19. So, how I can to secure database to any other access? Other question, is this possible to move mysqli to mysql website database? If yes, how to do that and configure it? Sorry for my english
  20. Hi guys. I have MTA DayZ server and I got attacked (i think) by someone from other server. Attacked, means someone inject to database some lines who add on the server 99999 weapons, ammo in vehicles, in everywhere in loot. I use mysqli database (internal.db) How I can secure? ;/
  21. Hi guys. I got strange problem with my DayZ server script. Log: [2014-09-06 12:11:11] WARNING: [DayZ-MTA]/DayZ/survivorSystem.lua:462: Bad argument @ 'setElementID' [2014-09-06 12:11:11] WARNING: [DayZ-MTA]/DayZ/survivorSystem.lua:464: Bad argument @ 'destroyElement' Lines: 462 setElementID(player, "elementWeaponBack[source]") 464 destroyElement(elementWeaponBack[source]) Function: function weaponSwitchBack(previousWeaponID, currentWeaponID) local weapon1 = getElementData(source, "currentweapon_1") if not weapon1 then return end local ammoData1, weapID1 = getWeaponAmmoType(weapon1) local x, y, z = getElementPosition(source) local rx, ry, rz = getElementRotation(source) if previousWeaponID == weapID1 then if elementWeaponBack[source] then setElementID(player, "elementWeaponBack[source]") detachElementFromBone(elementWeaponBack[source]) destroyElement(elementWeaponBack[source]) elementWeaponBack[source] = false end elementWeaponBack[source] = createObject(getWeaponObjectID(weapID1), x, y, z) setObjectScale(elementWeaponBack[source], 0.875) if elementBackpack[source] then attachElementToBone(elementWeaponBack[source], source, 3, 0.19, -0.31, -0.1, 0, 270, -90) else attachElementToBone(elementWeaponBack[source], source, 3, 0.19, -0.11, -0.1, 0, 270, 10) end elseif currentWeaponID == weapID1 then setElementID(player, "elementWeaponBack[source]") detachElementFromBone(elementWeaponBack[source]) destroyElement(elementWeaponBack[source]) elementWeaponBack[source] = false end end addEventHandler("onPlayerWeaponSwitch", getRootElement(), weaponSwitchBack) also weapon attach works fine, but i got a lot of that errors when someone switch weapon.
×
×
  • Create New...