-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Epoch 1.0.7.1 Bugs #2187
Comments
The default Battleye files also seem to kick players for placing the Server_Rack object. |
Also it seems #2162 didn't fix building over water in my testing. It seems like the distance calculation when placing an object over the water is still funky.
|
Hi @ZzBombardierzZ, this is definitely a weird one. When I click through to your image, it looks like you are standing in the sea (maybe from a teleport?) but not swimming. The modular_build script prevents building while swimming anyway. One thing you could try is using the editor, place a few large metal floors at that location, allowing for about +1.8m at high tide, then add that to your custom map file. Fly out there, then start building, and eventually remove the original floors from the map file? All the testing for building on/over water was done the way a regular player would have to do it, so first building a pier out over the water and going from there. Also bear in mind that certain objects that are flagged as not allowed below ground mean they are not allowed below the water, including the plot pole. But it will tell you when the time comes. |
@Victor-the-Cleaner I didn’t swim or teleport out there. I spawned a bridge out there and flew out there. The other way (the classic way) people build in the middle of the ocean is by having two boats next to each other and getting out of one to be placed on top of the other. I tested it a couple times after a player told me their base decayed after a restart, so I checked the logs and it never published their base to the database, so I simply made the bridge out there so you guys could see an example. If you did the editor example you gave, you would have the same results as soon as you place the plot pole, as it wouldn’t save to the database. the issue is simply the distance calculation. In verifySender, the position for the base part is using getPosATL while the position for the player is either using getPos or getPosASL. So when the distance calculation is done, the player is basically at the bottom of the ocean 120ish below the sea level |
@ZzBombardierzZ The problem is not that simple. I am able to build a base in the ocean which stays without any problems. Im not able to reproduce your problem. Also please checke the code. We are getting the ATL position or the ASL position if it is on water not only the position. The new problem could be that we save the ASL to ATL @Victor-the-Cleaner ? But just switching to ATL makes also problems in verifySender. Ive tested that before. Basically all functions which use verifySender have to use the same calculation of the positions. Im also not sure if the calculation is different from map to map. |
This line is where the error message originates: |
The other problem is that we only get in this specific example the ATL position from the object but not from all the other server_verifySender calls. Some of them can use ASL too. |
It may be the sea depth that's causing it. If that location is 50m or so, it might have gone over a threshold. |
Yeah I noticed that as well. When I changed the verifySender player fnc_getPos to use ATL it lets you place the object fine but then removing using ASL and you can dupe parts. My current solution is to up the distance check to 150 if you are over the ocean. |
It's odd that it even uses that global variable here.
|
EVR hit player in SafeZones. |
Safezones don't give godmode so I think this would be more of an issue for admin tools or whichever safezone script you are using. |
I think it will be easier to add a DZE_SafeZonePosArray check inside EVR files. Or we have Set/GetVariable for check EVR? |
For the time being, whether AirwavesMan decides to add a fix later or BigEgg builds it into his Epoch Antihack/Admin Tools, here is the easiest solution for you or anyone who may want it. In your custom compiles.sqf file, add this in the if (!isDedicated) then .... section: This is will skip the entire script, including the ASPI warnings you see on the screen. If you wish to still have the warnings and flashes but not the damage, you can do this instead: |
@ZzBombardierzZ well script work but not correctly. If use second code players inside SZ after EVR always on have "state 7" or nothing happen. I try use other DZE_SafeZonePosArray check inside Client_EVR.sqf. After test answer. |
@TheFirstNoob Like I said, I didn't test it much. I'm not sure if I fully understand what the issue is that you're saying but if I understand correctly, something like this may be better:
You could also do this, but just adds more mission space where I don't see it necessary. |
Not CombatTime. Think combatNoTimeout need change APSIState variable. Players cant exit cause Cannot Exit in EVR (But EVR is finish). |
Currently reported bugs:
We will prepare a hotfix file soon for the missionfiles.
The text was updated successfully, but these errors were encountered: