Jump to content

Need your help please.


Woords

Recommended Posts

Hello guys, I'm new here so I don't know where to create this topic, I'm sorry if it's the wrong place, but I have some really bad problems on my DayZ Server and I need your help.

So, as I told you, i'm new here, new in scripting, new in creating server, so I don't know how to solve this two problems.

The first one is:

1.I can't find, give myself one(not even to someone else), buy or..you got it, I create a video to explain myself better, hope you can help me with this. (Cars needs Tank Part to start so it's impossible)

https://www.youtube.com/watch?v=oToXZV8qhIU

Ok, now the other one is really, really bad.

If I die by knife or suicide with /kill command, I have to wait way too much, maybe Infinitely

Look:

https://www.youtube.com/watch?v=fO_qQyIfxw0

Ok..and the last one, I don't really know but I can't find zombies on the map, they don't spawn and exist at all

I think the problem come from the script zombie.luac, this is what appear in the server console:

Untitled.png

So, these are my problems guys, I really hope you will help me, I don't have scripters friends and nobody can help me, this is the only place I can look for some help so, thank you in advance.

Link to comment

Ok man, I changed the version, and I really appreciate your support, but I don't really like the new version, I prefer to stay on the 0.7, for me it's more easy and more cool.

And if you can just tell me what to do to solve these bugs, you will be the best, I changed the version and all things were different, like scoreboard, inventory, zombies.

If you can, just tell me what to do. Thank you again.

Link to comment
That is a very outdated version of DayZ , that's why i've recommended you to use the newest one which is being updated often and is without bugs. Also, in that version of DayZ most the files are complied and not-editable.

Yes man, I understand what you say, but that version 0.9.5 it's too complicated for me, with a lot of sounds I can't delete, that gear(inventory) it's kinda hard to use and ugly and I prefer the basic one, which is more simple, the scoreboard is also ugly and I prefer that one from 0.7

There was a cool server i used to play with my friends on it, until the day it was destroyed by the owner, it don't exist no more and I want to make a server to look like it, with Game-Point instead of money GP, warroom, a lot of gunshops and things, this was the server:

11425132_636874823114672_8053809243097844133_n.png

133.jpg

233.png

I wanna make a server too look like this, it's simple, easy to play, and fun.

Link to comment
Is the version of DayZ that you have a public release? If so, it would be useful if you could provide us with the function that controls player death and respawn.

Look in the server-side scripts and search for this function;

spawnPlayer

Alternatively any of the death events;

onClientPlayerWasted (Client-side)

onPlayerWasted (Server-side)

I use this version of DayZ, I found it on this forum:

https://forum.multitheftauto.com/viewtopic.php?f=108&t=87870

this is editor_client side:

--[[ 
#---------------------------------------------------------------# 
----*            DayZ MTA Script editor_client.lua          *---- 
----* This Script is owned by Marwin, you are allowed to edit it. 
----* Owner: Marwin W., Germany, Lower Saxony, Otterndorf 
----* Skype: xxmavxx96 
----*                                                       *---- 
#---------------------------------------------------------------# 
]] 
  
-- SCOREBOARD 
shownText = {} 
    shownText["name"] = "Name" 
    shownText["murders"] = "Murders" 
    shownText["zombieskilled"] = "Zombies killed:" 
    shownText["alivetime"] = "Alivetime" 
    shownText["headshots"] =  "Headshots" 
    shownText["blood"] =  "Blood" 
    shownText["temperature"] =  "Temperature" 
    shownText["humanity"] =  "Humanity" 
    shownText["banditskilled"] =  "Bandits killed:" 
    shownText["players"] =  "Players:" 
  
gameplayVariables = {} 
  
-- PING CHECK 
gameplayVariables["ping"] = 600 -- Checks if ping is over the set amount. DEFAULT: 600 
  
-- ZOMBIE DAMAGE 
gameplayVariables["playerdamage"] = math.random(200, 500) -- Damage done by players - DEFAULT: math.random(200, 500), for consistent damage, remove math.random(200,500) and insert value (EXAMPLE: 1000) 
gameplayVariables["zombiedamage"] = math.random(400, 900) -- Damage done by zombies - DEFAULT: math.random(400, 900), for consistent damage, remove math.random(400,900) and insert value (EXAMPLE: 1000) 
  
-- WEAPON DAMAGE 
damageTable = { 
    {"M4",3500}, 
    {"CZ 550",10000}, 
    {"Winchester 1866",4500}, 
    {"MP5A5",889}, 
    {"SPAZ-12 Combat Shotgun",3000}, 
    {"AK-47",3600}, 
    {"Lee Enfield",8000}, 
    {"Hunting Knife",2000}, 
    {"Hatchet",4000}, 
    {"M1911",1200}, 
    {"M9 SD",1200}, 
    {"PDW",1089}, 
    {"Sawn-Off Shotgun",3000}, 
    {"Desert Eagle",1800}, 
    {"Grenade",17998}, 
    {"Baseball Bat",1000}, 
    {"Shovel",1000}, 
    {"Golf Club",953} 
    } 
  

And this is the editor_server:

--[[ 
#-------------------------------------------------------------------#
----*            DayZ MTA Script editor_server.lua              *----
----* This Script is owned by Marwin, you are allowed to edit it.
----* Owner: Marwin W., Germany, Lower Saxony, Otterndorf
----* Skype: xxmavxx96
----*                                                           *----
#-------------------------------------------------------------------#
]]
 
--SERVER OUTPUTS
shownInfos = {}
 
    shownInfos["nomag"] = "No mags!"
    shownInfos["youconsumed"] = "You comsumed"
    shownInfos["needwatersource"] = "You must be in wather!"
    shownInfos["filledup"] = "You filled up a Wather Bottle!"
    shownInfos["noradio"] = "You need an Radio Device!"
 
--GAMEPLAY SETUP
gameplayVariables = {}
 
    setGameType("Dayz: RO/ENG Version") -- Set game type - DEFAULT: "MTA:DayZ"
    setMapName("Dayz") -- Set map name - DEFAULT: "MTA:DayZ-Apocalipse"
    gameplayVariables["zombieblood"] = 4000 -- Zombie Blood/Health - DEFAULT: 8500
    gameplayVariables["foodrestore"] = math.random(40, 100) -- Amount of hunger to be restored when eating - DEFAULT: math.random(40,100) - FOR FULL RESTORE, JUST WRITE 100
    gameplayVariables["thirstrestore"] = math.random(40, 100) -- Amount of hunger to be restored when drinking - DEFAULT: math.random(40,100) - FOR FULL RESTORE, JUST WRITE 100
    gameplayVariables["loseHunger"] = -1.5 -- Amount of losing hunger per minute - DEFAULT: -1.5
    gameplayVariables["loseThirst"] = -1.5 -- Amount of losing thirst per minute - DEFAULT: -1.5
    gameplayVariables["playerzombies"] = 20 -- Amount of spawning zombies per player - DEFAULT: 6 - THE HIGHER THIS VALUE, THE MORE LAG CAN OCCUR!
    gameplayVariables["amountzombies"] = 3 -- Amount of zombies - DEFAULT: 3 - THE HIGHER THIS VALUE, THE MORE LAG CAN OCCUR!
    gameplayVariables["temperaturewater"] = -0.01 -- Amount of temperature to be lost when in water - DEFAULT: -0.01
    gameplayVariables["temperaturesprint"] = 0.005 -- Amount of temperature to be gained when sprinting - DEFAULT: 0.005
    gameplayVariables["sprintthirst"] = -0.2 -- Amount of losing thirst when sprinting - DEFAULT: -0.2
    gameplayVariables["itemrespawntimer"] = 3600000 -- Number of milliseconds that should elapse before the items will respawn. Note: You can also just do 14400000/2 to make it the half from the current (division).
 
 
    -- SERVER BACKUP
    minuteduration = 10000 -- Amount of milisecounds to be in one minute - DEFAULT: 8000 - Set to 60000 for real life time.
    kickonrefresh = false -- Whether or not kick players at loot refresh should be enabled. - DEFAULT: true - Set to false to disable.
    backupTimer = 30*60000 -- Number of milliseconds that should elapse before backup. Minimum: 50. - 1000 milliseconds = 1 second. - DEFAULT: 30*60000 (= 30 minutes)
    startHour, startMinute = 23, 30 -- The time to corespound with in game time - DEFAULT: 23, 30 - Set to 00, 00 for night midle or 12, 00 for day midle.
 
    --<!> Edit here only if you seted connectyonType as "MySQL" else don't edit.<!>
    connectionType = "SQLite" -- The type of connection that you have ( "MySQL" / "SQLite" ) - DEFAULT: "SQLite"
    db = "" -- Your database name
    host = "" -- Your hostname / IP
    user = "" -- Username for database
    pass = "" -- Password for database
    port = 1234 -- This is an port exemple CHANGE IT
    --<!> Edit here only if you seted connectyonType as "MySQL" else don't edit.<!>
 
 
-- VEHICLE SPAWNPOINTS
-- HUNTER
gameplayVariables["hunterspawns"] =
{
{-1185.9775390625,26.4111328125,14.1484375},
{-1724.5830078125,2559.3544921875,104.09127807617},
{615.744140625,850.1572265625,-43.009014129639},
{232.5283203125,1950.3583984375,17.640625},
{-1050.5859375,1968.033203125,120.66523742676},
{2821.03515625,2809.6689453125,10.8203125},
{1949.9912109375,-2631.44140625,13.546875},
{-756.53979492188,-2137.5471191406,26.463499069214},
}
 
-- PATRIOT
gameplayVariables["patriotspawns"] =
{
{-1473.5791015625,320.2294921875,7.1875},
{-1373.998046875,460.62109375,7.1875},
{419.150390625,2186.087890625,39.499450683594},
{2821.1796875,793.4658203125,10.8984375},
}
 
-- PICKUP
gameplayVariables["pickupspawns"] =
{
{-2479.6240234375,2223.6669921875,4.84375},
{-92.9951171875,2823.0908203125,76.721649169922},
{-2448.99609375,-1335.8662109375,310.97662353516},
{-173.2470703125,-2635.5341796875,26.608192443848},
{2108.447265625,-1600.916015625,13.552597045898},
{2452.7392578125,1607.9833984375,10.8203125},
{-1800.8984375,-1950.9736328125,93.561332702637},
}
 
-- SANCHEZ
gameplayVariables["sanchezspawns"] =
{
{-812.470703125,-2629.912109375,90.105056762695},
{-1729.8525390625,-1940.3154296875,99.840209960938},
{-2130.90234375,178.4375,35.257678985596},
{-2656.7333984375,1352.4873046875,7.0596733093262},
{-1598.302734375,2694.947265625,55.07092666626},
{-809.96484375,2430.037109375,156.97012329102},
{2920.38671875,2486.0087890625,10.8203125},
{505.732421875,-291.8681640625,20.00952911377},
{-428.8828125,-694.8310546875,19.14847946167},
{1190.41015625,-2109.0341796875,64.738548278809},
{1658.9716796875,-1069.0224609375,23.906229019165},
}
 
-- BARRACKS
gameplayVariables["barracksspawns"] =
{
{86.486328125,1950.9013671875,17.846803665161},
{440.185546875,1464.173828125,6.3338670730591},
}
 
-- COACH
gameplayVariables["coachspawns"] =
{
{-1971.4619140625,97.4658203125,27.6875},
{1735.8720703125,1429.0693359375,10.797702789307},
{2797.1318359375,-1868.8359375,9.8603811264038},
{1941.900390625,1975.1904296875,7.59375},
}
 
-- FISHERBOAT
gameplayVariables["fisherboatspawns"] =
{
{2463.3984375,-2719.638671875,-0.55000001192093},
{-1577.4873046875,182.353515625,-0.53995263576508},
{-806.80859375,2233.7001953125,40.049976348877},
{-127.4453125,-779.6923828125,-0.55000001192093},
}
 
-- BIKE
gameplayVariables["bikespawns"] =
{
{194.685546875,-120.2333984375,1.5497757196426},
{173.0146484375,-95.0634765625,1.5516006946564},
{2369.9599609375,29.712890625,28.0416431427},
{710.87109375,-566.7548828125,16.3359375},
{1109.6025390625,-1667.6689453125,13.615442276001},
{2014.6689453125,-1113.4013671875,26.203125},
{2447.41015625,-1967.1845703125,13.546875},
{2633.7236328125,1835.291015625,11.0234375},
{1489.3974609375,2681.54296875,10.8203125},
{-2428.5654296875,2280.875,4.984375},
{-2501.0869140625,2224.880859375,4.9861993789673},
{-2142.8515625,-2457.84765625,30.625},
{-2456.078125,-141.115234375,26.112222671509},
{-1881.4453125,954.3837890625,35.171875},
}
 
-- MAVERICK
gameplayVariables["maverickspawns"] =
{
{-1495.888671875,-2691.40234375,57.325229644775},
{-2688.42578125,1471.634765625,7.1875},
{-1534.28125,2842.9482421875,97.463409423828},
{2221.8583984375,-1344.396484375,23.984273910522},
}
 
-- TENTS (REFERS TO SURVIVOR CAMPS!!!)
gameplayVariables["tentsspawns"] =
{
{-2845.060546875,2761.2509765625,242.69204711914},
{-1095.94921875,-1450.958984375,126.92543029785},
{2607.1357421875,-510.4755859375,80.744903564453},
{-1509.2333984375,-1986.443359375,50.071846008301},
}
 
-- HELI CRASH SIDES
gameplayVariables["helicrashsides"] =
{
{-1360.0478515625,-1070.7314453125,160.4069519043},
{-421.4619140625,-1284.4345703125,33.740924835205},
{-2357.654296875,-1634.3623046875,483.703125},
{979.0849609375,160.59375,28.935249328613},
{-2057.2294921875,2781.73828125,163.12780761719},
{826.90234375,2803.6259765625,74.863929748535},
{2577.7060546875,-650.541015625,136.37449645996},
}
 
 
-- SPAWNPOINTS (ITEMS)
pickupPositions = {
["industrial"] = {
 
{2776.3916015625,-2445.9912109375,13.63644695282},
{2776.302734375,-2465.4873046875,13.636467933655},
{2794.921875,-2483.4482421875,13.641567230225},
{2776.123046875,-2504.1513671875,13.633953094482},
{2743.7646484375,-2452.8408203125,13.86225605011},
{2799.1015625,-2393.4853515625,13.95600605011},
{-2457.4091796875,777.58203125,35.171875},
{2776.4013671875,-2408.6435546875,13.648777008057},
{2786.978515625,-2428.1826171875,13.633860588074},
{2505.9169921875,-2454.0302734375,17.882808685303},
{2513.732421875,-2417.6318359375,17.882808685303},
{2430.7978515625,-2467.2958984375,13.632326126099},
{2503.6875,-2640.958984375,13.86225605011},
{2156.107421875,-2667.9794921875,17.882808685303},
{2522.244140625,-2207.9345703125,17.357162475586},
{2582.486328125,-2207.126953125,17.357162475586},
{2707.0185546875,-2188.779296875,13.546875},
{2588.0048828125,-2192.29296875,13.546875},
{2198.08984375,-2412.8046875,13.546875},
{-2717.859375,197.87109375,4.3418498039246},
{-2729.1767578125,72.939453125,4.3359375},
{-2742.349609375,129.5283203125,4.5390625},
{2210.150390625,-2205.2861328125,15.171091079712},
{2160.1572265625,-2232.23828125,13.305326461792},
{2167.23046875,-2264.46875,13.309000968933},
{2222.744140625,-2273.068359375,14.764669418335},
{2272.5087890625,-2264.4091796875,14.764669418335},
{-2528.4912109375,-20.396484375,16.421875},
{2094.72265625,-2155.9580078125,13.6328125},
{-2492.84375,155.6650390625,8.4730567932129},
{-2489.359375,94.734375,25.6171875},
{1984.5498046875,-2155.3212890625,13.546875},
{2163.51953125,-1988.986328125,14.133599281311},
{2228.294921875,-2060.638671875,13.546875},
{2201.482421875,-1969.498046875,13.78413105011},
{2225.234375,-2040.5390625,17.271224975586},
{-2562.443359375,323.0859375,10.5625},
{2371.6875,-2114.6640625,27.1796875},
{-2498.576171875,315.3271484375,29.1328125},
{2512.251953125,-2073.181640625,26.5546875},
{1856.962890625,-2336.6005859375,13.546875},
{1840.83203125,-2638.27734375,13.546875},
{2133.15234375,-2410.599609375,13.546875},
{1683.9970703125,-2006.8037109375,14.129119873047},
{-2312.7890625,-81.3466796875,35.3203125},
{-2151.6669921875,-147.22265625,36.467098236084},
{-2138.875,-247.572265625,36.515625},
{-2181.48828125,-205.2939453125,36.515625},
{-2109.4970703125,1.3935546875,35.3203125},
{-2026.8974609375,67.322265625,28.691593170166},
{-2102.4658203125,-16.56640625,35.3203125},
{2014.154296875,-2142.572265625,13.546875},
{-2135.8994140625,260.365234375,35.416137695312},
{-2060.3955078125,254.4658203125,37.178237915039},
{-2038.4873046875,171.05078125,28.8359375},
{2517.330078125,-1975.669921875,15.806817054749},
{2490.5400390625,-1975.6357421875,15.806816101074},
{2440.1650390625,-1970.5771484375,13.546875},
{-2054.3291015625,309.2421875,41.864288330078},
{-1942.6982421875,271.9892578125,41.047080993652},
{-1905.5556640625,220.7880859375,35.15625},
{2440.7470703125,-1899.701171875,13.553356170654},
{-1811.0859375,-228.443359375,18.375},
{-1890.5712890625,-205.8447265625,14.304314613342},
{-1812.966796875,-136.107421875,6.1635961532593},
{-1864.2919921875,-145.5126953125,11.8984375},
{-1723.8125,-115.4794921875,3.5489187240601},
{-1577.10546875,25.8125,17.328125},
{-1699.376953125,76.025390625,3.5546875},
Link to comment
Neither of those are any helpful. Are the other scripts compiled?

I don't know man, it's too complicated for me, if you want to help me more please let me know so i'll send you a PM with my skype, or you cand PM me your skype so i'll add you and you can enter in my pc with teamviewer to see what's wrong with it.

Thank you for involved

Link to comment
Sorry, I don't use Skype. I downloaded the resource and took a look, the scripts are indeed compiled.

You'll have to contact the original author for further assistance. :)

So...can you tell me what do I have to do to create a DayZ server, simple as it's possible, I have all the resources I need for radar, GP and things, I just need a version without bugs and simple, oh, a tent save system will be great, because they dissapear when I restart the server

Link to comment
Sorry, I don't use Skype. I downloaded the resource and took a look, the scripts are indeed compiled.

You'll have to contact the original author for further assistance. :)

So...can you tell me what do I have to do to create a DayZ server, simple as it's possible, I have all the resources I need for radar, GP and things, I just need a version without bugs and simple, oh, a tent save system will be great, because they dissapear when I restart the server

There's too much to tell. If you want to make it on your own, you'll want to start with the basic tutorials on the MTA Wiki. Be prepared to invest some time though, it's not something you learn in a matter of hours.

You'd probably be best off to contact the original author and ask him for advice, since the scripts are compiled I can't check them to see what's wrong.

Link to comment
Sorry, I don't use Skype. I downloaded the resource and took a look, the scripts are indeed compiled.

You'll have to contact the original author for further assistance. :)

So...can you tell me what do I have to do to create a DayZ server, simple as it's possible, I have all the resources I need for radar, GP and things, I just need a version without bugs and simple, oh, a tent save system will be great, because they dissapear when I restart the server

There's too much to tell. If you want to make it on your own, you'll want to start with the basic tutorials on the MTA Wiki. Be prepared to invest some time though, it's not something you learn in a matter of hours.

You'd probably be best off to contact the original author and ask him for advice, since the scripts are compiled I can't check them to see what's wrong.

Oh, i tried a couple of times to learn how to script...but I think this job is not for me, a lot of codes things and stuff, too hard and I don't have enough time for that, i just need a simple version who runs without problems and no bugs and i'll put another simple resources that I found easy on google, anyway, thank you sir for trying to help me. I think i'm gonna retireing from this job, even if I don't want, but..without any help, I can't really do something.

Bye..and thank you all again.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...