-
Content Count
649 -
Joined
-
Last visited
Everything posted by Sid Debian
-
But to be honest better implement the SteamID checking and that will save a lot of time for you. And then it will not needed anymore to hide the message. Because SteamID is unique for account idk like passport id or driver license id...
-
Man that's the point. You wil always see the message because if it will not appear then script was blocked. You may try to remove the calling of super onevent by termination of eventhandler, like script called and done no any other options, but that might be an issue related to server performance. Like skipping the command... Override is like: case "/heal": { Call_Heal(); return; } break; In that case will not called super.onevent and message will be ignored but the issue is you can't validate that command was executed, ao add personal chat message "I'm still alive, alive!!!" - to be sure that case is passed.
-
So man how about that approach:
-
Right. You always shall call OnChat, BUT, but, you shall call it with the special way. In your case: Swich - statement shall has "default" case - it's matters coz if text isn't the command - we can call super.OnEvent(eventTypeId,params);, BUT if we have the command - that's the case we shall process the command and shall override the OnEvent case with the trick, we shall reassign the params and set chat_params.param3 as "" (aka empty string) and only then we can call super.OnEvent... So I suggest you to move to the end of the function the calling of super.OnEvent, when we already have correctly prepared data for submitting. And then your command will be committed silently (without the submitted text), but your admin call will be processed as it supposed to be but will not submitted to everyone eyes in range of 25 - 30 meters around you. Try to play with that approach, I think you can make it work as you wished to work!
-
Lots of fake servers in the community servers. Do something about it.
Sid Debian replied to steam-76561198177891726's topic in Suggestions
Maybe you shall stop seeing smal picture and you shall look bit wider? In that case shall be 2 issues: 1. Steam side: when server starts it reported information to the Steam Master Server. 2. When server starts it's also report data to BI master server that will parce data from server and will added new server to the BI server's list that will be shared for the Game Launcher. (Yeah that's not expected but DZLauncher is requesting data from BI servers such as Information (online, installed mods (Mod Published ID aka Workshop ID, Name) and A2S_Info (aka Steam Server Information Protocol)). So in first case BI can do nothing, coz Steam A2S Protocol is constant and if ruin A2S_Info - server list will fall down (is it useful? -for me it's not). In second case BI can filter and trying to implement some kind of encrypted protocol for reporting to the BI Server with private key (witch is bad, coz executable can be de-compiled and secrect can be stolen) or with negotiable key system but Wireshark will help to catch packages and analysis them. So in both states required more secured communication between game server and master server. And as you can understand in both states it's hard to became the winned without damage for community servers... Idk will that msg blocked coz contains many words and some explanations that I guess should not he public, but nevertheless... -
If you're using Community Online Tools - disable Fast Actions (open players menu -> Permissions -> Fast Actions -> Disable) and try again. That stuff breaking Tent placement same as plots and etc.
-
It's not sarcasm, it's obvious truth uf you can't accept it, sorry I can help with that. You know returning to your question you're pleasing me to read your thoughts on distance - that's already sarcasm. Why did i written it. You asked for help and didn't put any code to gelp with. I'm sorry man, but no one can help you with code if only can see the code. That's the funniest part... So I suggestion you: Way 1: place the code how didyou called the Admin tool and how do you processing the command. Way 2: if someone else will respond to your request - type to him in private chat and I guess in Discord he/she or someone in between will help you with you admin tool. Point is: without the code there's nothing to talking about...
-
Man your awesome unique and etc magic console admin tool is existing since 0.68 DayZ SA and was quickly ported to 1.00 when DZ became enfusion. So don't give yourself the medals that you didn't own. Edit the chat event check if text is command - do nothing (don't submit to the chat event) if not - submit as chat event. Nothing hard.
-
привет всем, помогите с хп одеждой при спавне на персонаже. где менять целостность одежды? с лутом вроде разобрался всё работает.а где и как хп вещей поправить незнаю(
Sid Debian replied to --MUXOMOR--'s topic in Scripting
[EN] First of all, use English on this forum! If you are not familiar with English - Yandex/Google translate will help you. 2nd - you can process it inside init.c (event StartingEquipSetup) where you're assigned it to the player unit. The simplest way is using Slots approach. What do I mean: get item from players slot, if item is not NULL -> change health, else -> do nothing or create new item I just don't know it's your business. The variant with the solution based on yours code will be beelow. [RU] Во-первых, используй только английский на этом форуме! Если не знаешь языка - Google/Yandex переводчики тебе в помощь. Во-вторых, ты можешь обработать это (одежду) через init.c (событие StartingEquipSetup), где ты можешь обработать инвентарь игрока. Самый простой подход - использовать систему Слотов. То есть - берёшь предмет из слота, если он не NULL (существует) -> делаешь с ним что хочешь, иначе -> ничего с ним не делаешь или создаёшь нужный по твоему мнению предмет, но я не знаю что тебе конкретно нужно будет сделать - это уже твои проблемы. пример варианта решения проблемы на базе твоего кода ниже. // Change Health of objects / даём жизнь объектам на персонаже EntityAI object = player.FindAttachmentBySlotName("Feet"); // will start from bottom so slot Feets / начнм сконца - слот ноги object.SetHealth(itemClothing.GetMaxHealth("", "")); // set max health / ставим макс состояние object.SetHealth01("", "", itemClothing.GetMaxHealth("", "")); // and we also need add health to damage zones. / уменьшим урон у дамаг зон object = player.FindAttachmentBySlotName("Legs"); // fix the pants / фиксим штаны object.SetHealth(itemClothing.GetMaxHealth("", "")); // set max health / ставим макс состояние object.SetHealth01("", "", itemClothing.GetMaxHealth("", "")); // and we also need add health to damage zones. / уменьшим урон у дамаг зон object = player.FindAttachmentBySlotName("Body"); // set max health / ставим макс состояние object.SetHealth(itemClothing.GetMaxHealth("", "")); // set max health / ставим макс состояние object.SetHealth01("", "", itemClothing.GetMaxHealth("", "")); // And so on, so on, go on... / И тд и тп. -
How to move items to inventory on the server side
Sid Debian replied to DcrClub's topic in Scripting
Man, why do you need to move item to the inventory when you can simply create it inside player's inventory? If you need to create a single item that can be stucked you quantity of EntityAI, that will make the trick. Like create item on the ground -> EntityAI itemOnGround; itemOnGround.SetQuantity(1); That's will done your trick and you can do the same in the loops if it's required to create many items of same class. Exactly the same working for Players/Cars/Containers. Like EntityAI item = player.GetaInventory().CreateInInventory("class"); item.set Quantity(1); And so on, so on, ... If you wish to get Entity as Attachment - use slots names for Accessing the EntiryAI Item and spawn on it. In default main.c theres example when create character and checking shirt or foots, or legs - it's using slot. That the point get slot -> get item from slot -> create attachment. But keep in mind that when you got EntityAI from Slot -> always check is EntityAI NULL or not. If NULL -> slot is empty, if not - go on. Same for item you shall check is SholderL slit has Weapon or is it a shovel? That's most important stuff yeah many checks long code but will cover most of possible "soft points" causing death of server in any bad cases... -
To change the EQUIPMENT word on the inventory screen
Sid Debian replied to Butter-Coconut's topic in Scripting
Mate i don't really understood what you are trying to do, but: 1. Search for string (dta/languagecore.pbo). 2. Replace the string with your prefer string IN YOUR ADDON (sorry for the caps but it very important). 3. PROFIT! Explanation: All items/slots in the game has Name value, that could be changed (overwritten) if you know that you can override string literals in config.cpp with your prefer string literal like I did that KA-74 -> AK-74 and etc. How does that works: In your PBO create languagecore (folder), and place there stringtables.csv (text file), for editing ut I suggest you to use the text editor and not any kind of Excel-like apps. At 1st string you shall preset supported languages like so: "original","english","russian", In that example I defined 2 languages: English and Russian, for all other localizations of the game will be used the English (if localization string is not existing for current language). The title "original" is the mark for string literal, you'll see it later. "original","english","russian", "STR_DRINKBEER", "Drink me!", "Выпей меня!", Here in example I defined string literal STR_DRINKBEER with 2 language localization, let's predefine ours string for item/slot Near folder languagecore create file config.cpp (exactly that name and don't change it!). Define in that file addon (search in internet how you can do it, it's not so hard, but hard for me coz I'm far away from my PC). I just left you here the examples for Slot and Object AND THAY MUST ALREADY EXISTS IN THE GAME! class CfgSlots { class Slot_ForMyBeer { displayName = "#STR_DRINKBEER"; } } class CfgVehilces { class BottleOfBeer : Extends_From_SomethingExample { displayName = "#STR_DRINKBEER"; descriptionShort "#STR_DRINKBEER"; } } That's all about. I'm sorry for suche bad decoration but it's impossible to do with mobile phone. I hope that will help you, have fun! -
CHEATER PLAYER DROPPING HAND GRANEDE
Sid Debian replied to AntiCheatplayer's topic in General Discussion
Idk on my custom server if you has presetted player (you setted up face & starting gear) you can soawn with that character. At the death screen that asked you Respawn as - I preffer last instead of random. If server has no such choice exit from server to main menu, and then login back that shall intend the server create your presetted char then create random one. -
And as addition to @Tonyeh you'll learn to get the best ability - love and at the same time hate that game at the same time. To be honest that game will not left you in simple state like you only prefer or only hate the game.
-
Hm i know it's sounds bad but try to resize the window that may resolve an issue. Idk in default on my screen tab LAN is hidden, but if I'll expand just a but the window - tab appears. Also is that issue related only to one server or working on any server? You know it could be that issue only on yours PC and no one else hasn't got the same.
-
Man let me explain. Idk about battlemetrics or something, but Steam has 2 ports: 1st is game port that all users shall set for connection and 2nd is query port - is was created for requesting Server information like A2S_Players (players list with how long playing in current session+ scor, A2S_Info (full server info) and etc. That may be the problem you can knock in steam query port (knock-knock-knock in steam query port... kno...), sorry, well that might be an issue. but I'd queried Steam about your submitted IP:Port and Steam repord me the server for now it's full (map Esseker, name The walking blah-blah-blah). That's quite odd actually, but server not responding on A2S_Players, that's bit not normal but nothing special i guess...
-
Get to the hoohle, and input: BEC Arma 3 When you find link from GitHub - go to the repo, download .zip and make installation to your server. But you wil °°°kin up, because DZ using blyateleye (sorry forub blocking original name) x64 version, when BEC using blyateleye 32bit (x86), you shall create file with same configuration but remove '_x64' postfix from file name. And it's done. BEC shall properly start. Also for the BEC use --dst (discard server running instance check aka BEC will bot check is server-process running) and will start BEC awaiting mode. 2nd point of issue is that blyateleye has 'hangon' state, when server is starting up, so if you has CMD/BAT startup - add timeout and start BEC instance after the DZ server with timeout calculated like: DayZ server starts - awaiting with timer, count untill server in console will report Init server completed... Stopping the timer - that's your timeout (like 2:05.10 mm:ss.ms -> round up and will get 2:06 That means that timeout shall be 126 seconds That state will allow you to startup BEC without any kind of issues. Ah forgot onme more thing, for proper starting BEC in blyateleye folder you shall create blayns.txt (you know frum filter and etc...), file shall be empty it must only existing. But I still can't understand why do you need the BEC? As restart system - it's already not needed anymore (you cen setup server restarting with messages.xml (in mission\db folder), scheduled messages - not working since 1.05 in that time was introduced the message.xml and there you can setup messages on your server. In internet you can find how from steamid64 (sid64) generate huid (same reasons - fltrs), the sid64 of plr you xan get from logs or if you're familiar with C# language - write small script for the server and create database with php script that will receive that data from restapi of dayz. It's not really hard, I'd wrote that script in 30 minutes (searching code and etc in game files) and it's working like a charm. To be honest I don't see the reason why do you need use BEC for DayZ it's already useless because BI made many sweet functions to replace this tool with the game engine!
-
It's alright sometimes i seft messed with that ))
-
Idk man I used that button abou 7 minutes ago and it's working. I was aboe to connect to my server but in launcher it was gray (the server)...
-
Not really. rCon stored inside battleye folder, but admin password that's another story, nevertheless why close all information such as Name and IP address I still have no idea?
-
Dayz vanilla launcher working with linux
Sid Debian replied to nemorus's topic in General Discussion
Also in Linux you can click any drop-down menu and launcher stuck until you'll not shut it down with double barr... with top/htop/kill or any other task manager that you prefer. Yes, support your point, the mods not working, there's links, but there's no validation of references because Linux filesystems are quite different then windows. I have no way even to start the game when on windows no problems at all. I don't know it the game needs so many fixes I can't imagine how awful is working DZ srv on Linux. I guess it was done escaply nothing to port the game on *NIX systems because the game non op without Wine wrapper...- 1 reply
-
- 1
-
-
Character Not recognized as dead after death
Sid Debian replied to Batman696969's topic in General Discussion
I've got the same stuff while loosing connection or got kicked. Also perhaps that might be related to the server and it's mods. Same as that could be presetted as default values. That's quite odd situation, but I don't see any specific in that case... As the variant try to rename 'DayZ' folder in you Documents to the 'DayZ Backup' and start the DayZ. Also preset your character. It it will fix your issue we can suggest that's something wrong with profile files, if it's not - create the ticket at DayZ Bug Tracker... -
It's not C/C++ ir whatever else development language. SQLite is standart of portable databases. If you need application - feel free to use SQLite DB Browser (there's for Windows & many Linux Distros, if I don't missed anything also there's for Mac OS). It's free open source Grafic User Interface (GUI) for work with SQLite dta***ses. If you familiar with Standart Query Language (SQL) - then you will have no any issues with that. If you not familiar search for guides how works with SQL database, how make queries like: SELECT, INSERT, UPDATE, DELETE, logical operators for selections, JOINS (LEFT JOIN, RIGHT JOIN, INNER JOIN) and etc. P.S. In hight register I'd written only name of operations, it's not for kidding or any other bad behaviors. It's kind of standate to write query's operators in hight register, when fields (field of table, name of database) always writing in lower register. for example here for you example query: SELECT Id, Alive UID FROM Players WHERE Id="1"; Line above will return you the fileds values from table Players (Id - #record in table; Alive - bool where 0 = dead, 1 = alive; UID - character uid generated with aes256 from steamid64 (7656119........). And other other and other from second character from data base. The SQLite DB Browser is simpler then writing manually queries and it allow you manupulate the data in that database. If you wish you can wipe character, if you wish - you can make backup of character or even delete character. Just have fun 🙂
-
Mate you're wrong with understanding of deleting of specific character. I can say about DayZ official servers, but all custom servers has two sub types of database. Database A aka player database is SQLite3 datanase file format. It has 2 tables, 1st is 'vesion' table and seconds 'data' table with data of all characters that's was on the server. The structure is quite simple: field ID - number of integer type; Alive - bollean (0 or 1), means is character alive (1) or not (0); UID - the character UID is stremid64 stored as AES 254 hash; Data - the character data. Knowing of player's steamid64 and some C# code for converting to aes256 gives you the UID, within you will able to get charater for deletion, but if admin has no idea how to use C# or anyother programming language he/she can search for logs by character name and find data marked as Player XXXX (UID=HASH) joining to the server. He/she will able to perform character wipe on the server. Second type of DB is server's database (events, buildings, vehicles and etc) that's no way for description (generally) without knowing of how it was serialized (all fields and etc) all those data stored as binarized data, cam be debinarized if you know all class fields that used for serialization (thanks to the MFC-model, where classes can be overriten and extented). So generally if admin/op has some knowlages he/she can perform all nessary actions or at least to contact with server admin for resolving the situation around the trouble.
-
Cmon you had forgotten about future request with pink plate carrier within pink bunny costume within Abibas logos on it!
-
And it's so hard to recover the frame from previous version of main menu within converting video to mp4 format if I didn't miss something... Lordy-lord...