Forums Announcement
Read-Only Mode for Announcements & Changelogs
Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.
For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.
Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!
Stay safe out there,
Your DayZ Team
-
Content Count
2274 -
Joined
-
Last visited
Everything posted by IMT
-
That's actually very simple, make a if-statement before the super of OnEvent, if the message doesn't start with /, do the super, else execute your code.
-
It would help if you mention which server. A lot of community hosted servers have way more slots than 60, which is the officially supported maximum slots (for now). So if it happened on a server with more than 60 slots, blame the server owners, not the developers.
-
I know how to fill up the radiator but wanted to know if OP did it correctly. It took me a while to actually figure it out. I tried to do it outside the car first, it gives you an option but is bugged. After a while, I figured out that you need to fill it by putting it in the car first. OP might have stumbled on the same issue I had and thought he actually filled it. And it does indeed take almost 4 full oil jugs, given that my vehicle was fresh as well. But we both needed almost 4 full jugs and we both think it was fresh so that almost confirms that you need 4 jugs. However, it drove just fine with half a jug, it didn't give any problems for us.
-
How did you put the water in there? If you put only half a jug in there it doesn't smoke.
-
You have 2 options and can even combine them. There is a password option and there is a whitelist option. You can use one or the other or even both.
-
I'm sure it's a priority issue for them, but it's not always as easy to fix a bug as you think. That said, as long as this bug is present, I don't see any point in trying to get a camp going. Hopefully they have it sorted soon because I still haven't been able to mess around with the base building mechanics since it came out.
-
If it's a deliberate abuse of a bug or exploit, I would permanentely ban them. No mercy for dupers.
-
I'm not sure how it works in Enscript but in Java calling == on Strings it compares object references. In order to compare the values, one would use the equals method. So this might or might not work, depends on Enscript I guess.
-
Not sure if that's what he meant. In Javascript, you can literally pass functions as parameters to other functions. What you're doing is just passing an object as parameter since CreateInInventory returns a EntityAI. If CreateInInventory would have returntype void it would not be possible to pass it as a parameter. To answer his question, I don't think it is possible since it violates OOP. However, as you can see it does work as long as the method returns a type and it is the same type as the parameter type.
-
I'm also not sure if static is included with Enforce. I guess you can always try. You can also try searching in the already existing scripts. :)
-
I'm not sure if it's possible to appoint access modifiers to a class in Enforce. Have you tried it and tried to run it? If it gives you an error it isn't possible. What do you mean with "without using params" though? I have a feeling you're talking about static fields or methods. Example of regular class: public class Messenger { private String message; public Messenger(String message) { this.message = message; } public void sendMessage() { System.out.println(this.message); } } Messenger messenger = new Messenger("Hello"); messenger.sendMessage(); Example of a class with a static method: public class Messenger { public static void sendMessage(String message) { System.out.println(message); } } Messenger.sendMessage("Hello"); Static means that you don't need an instance of that class to access the field or method. Is that what you mean?
-
Does it exactly look like that, so identical capitalization, the ; at the end and a valid number? Which number did you use by the way?
-
Yep, players are saved in the players.bin file but the rest is stored in the data folder.
-
So if you exploit something on the internet or abuse a bug which earns you a lot of money, you're going to say to the judge "blame the game, not me"? Nice reasoning there bud. I don't like content of people who abuse bugs or exploits to gain exposure and call it "entertainment", specially if the video is called "badass". The video is definitely not about skill, at least not all about skill. Unless your character is God, you should've died in the 2v1 where 1 even had an axe and knife. You weren't even trying to be smart and hit and run. You were just standing still, giving punches but receiving twice the amount back. Yet, you were the one who survived and barely had a scratch.
-
It probably has to do with privacy issues or something, otherwise, I'm not sure.
-
Not yet but it will officially be released by the developers at some point, at least I hope.
-
I believe this is outdated by now.
-
You're obviously abusing a bug/exploit. 2 people are hammering in on you and you beat them both on your own? Not to mention one had an axe and knife. Come on man...
-
I don't find it a real big problem, only with things which have long animations and require you to finish that animation, like cooking on a stick. It takes a minute or something and you need to hold down the mouse button all the time. For that, I would like to see maybe a single click which starts the animation until it finishes. Moving away will cancel the animation. But for eating, opening cans, etc. it isn't too bad because they are relative short animations.
-
Do you have gasoline and motor oil? You maybe even need coolant. I would make sure everything is there when you want to drive your vehicle because it takes a while to get one together, it would be a shame if it would get destroyed because something was missing.
-
If someone starts running around like crazy, don't follow him, hold the gun on one spot and wait for him to run in your aim. If he is too smart to do that, outsmart him again by doing if you're going to follow him but stop right in front of him. He will think you're aiming in his direction so he changes direction right into your aim and bang. I've used the shotgun twice succesfully. I was trying to hunt deer but I missed and they fled so I was just checking them out if they would come back. Suddenly I hear some footsteps behind me and see a guy come out of a bush with a mosin and blast him away with the shotgun. Kept a possible secondary in mind so laid prone on his body and then I heard more footsteps, immediately aimed in the direction and blasted his buddy away as well. There was venison on the menu but it turned into some human steaks. It was also the first time I used the turning when prone animation in combat, which was pretty cool. So yes the shotgun does work well but I also know there are some hit registration problems.
-
Not sure if a dynamic event supposed to be despawn at restart but a server restarted twice (guess it crashed) in quick succession and the lumber pile was still there still showed 72/84.
-
Yep, just tested it, you need to cut them which will give you slices (one item) plus you get seeds.
-
They are working on a fix for it already. It's most likely going to be out today. I would almost say, it's certain that it's going to be out today because of the weekend. And now you can (or need?) to cut the pumpkin in slices and eat them.
-
I don't have any code available right now but it would be something along the lines of an if-statement, comparing the player.GetIdentity().GetId() (believe this one was the Steam ID) to an ID you specified. Then spawn that person at the specified location. Else spawn randomly.