Jump to content

steadyfi

Members
  • Posts

    144
  • Joined

  • Last visited

Everything posted by steadyfi

  1. Doesn't work as intended. I want to override the original table with the new values, but keeping the 0s
  2. Ok, but how can I make it work with another table and number ? I use it for a Weapon Magazine system. I get the length of the initial table, then make as many values as that one has. Example: Mags: 30, 30, 30, 15, 0 # of values in Mags: 5 Number = getPedTotalAmmo (EX: 100) Output: 30, 30, 30, 10, 0 How can I do this ? I want the player to keep the empty mags.
  3. Hello How can I split a number into more numbers and store them in a table? Example: Number = 130 Split = 30,30,30,30,10 And then into a table: {30,30,30,30,10} OR Number = 54 Split = 30,24 And then into a table: {30,24} The biggest number will always be 30, if reached then go form another. Does anyone know ? Thanks
  4. Well it's a turfing script so; 1) When someone enters a turf, it's triggered to that simple function 2) No it's not named theFunction(), I reduced variable length for your understanding. I'm experienced enough to change the variable back to it's normal one and I'd understand anything if you provided a code using theFunction(). 3) No, as I said on (1), when someone enters a turf. To be more specific, when someone enters a turf that isn't owned by any. And that's not the issue because I've a full system to state the non-owned turfs. Give me more Server-Side code so I know how it get's created.
  5. That is for adding additional items and New Loot Categories. For adding lootspawns, you just need to modify editor_server.lua what is uncompiled. Trust me, i've worked a lot with DayZ.
  6. #SOLVED I can use JSON functions: toJSON - fromJSON & setElementData
  7. I don't know how I could use it with elementData ... it only allows one value ! And I can't do it with SQL implementation as it is a very fast changing system, i already mentioned it is a inventory system and making it with SQL would be a total mess ! Any other idea ?
  8. Hello everybody, I am working on a project and I came across a problem: How can I store data of data ? It sounds like a tricky question, but it should be possible. What I want to use it for is a Weapon Magazine. I want to store how many bullets it has left. I need a Easy, Fast, Reliable and Flexible way to do this. This due to the fact that I need it Server-Side and Client-Side, to be able to implement it into Loot Spawing System and Inventory System. Also, if it is a table, try to simplify it please so I can understand it. Please let me know if you have any idea, and show me a representation of how the layout will work and look like. Have a great day !
  9. 1. Your timer only runs one time. 2. Do you have the function theFunction() ? 3. Is the event triggered randomly ? Like, you need to do something to trigger it ?
  10. Open the file editor_server.lua and add the spawn to the specific category. The format is the following: {x, y, z} Where: x,y,z = Coordonates Note: Nope, this file is non-compiled, i'm not helping someone with decompiled scripts...
  11. Functions Needed: createWater: WIKI LINK setElementInterior: WIKI LINK Explanation: Use createWater to create a body of water. Define it under a variable, then use setElementInterior to set it's interior ! Example: local water = createWater(x1, y1, height, x2, y2, height, x3, y3, height, x4, y4, height) Where: Z coordonate needs to be always the same, otherwise weird things will happed (i think). Just change HEIGHT with a number Where: x1, y1 = South West Coordonates Where: x2, y2 = South East Coordonates Where: x3, y3 = North West Coordonates Where: x4, y4 = North East Coordonates setElementInterior(water, INTERIOR_ID) Where: INTERIOR_ID is the ID of the interior you want it to be ! Don't forget to also set the dimension if it is in another than 0
  12. MAJOR SECURITY UPDATE ! -Added: Logs -Added: Emailing when password is changed -Added: Debugscript when password is changed -Added: Anti-Spam Systems -Modified: Client-Side is much safer now, everything important is Server-Side Hello. Since ccw reported to me that there was a exploit in the script, i decided to update it and make it more secure. Here I'm gonna tell you what has been changed and how it works. Anti-Spam System: Since there was a exploit in the events where you could've found the account's vCode, I added Anti-Spam Systems. These are the limitations: You can only send 1 request mail per session. You have only 3 tries to recover per session. Logs: There are 2 kinds of logs: Request Logs; and Recover Logs. Request Logs: Here, all the vCode requests events are logged. What information is logged here ? Action ID, Player Name, Player IP, Player Serial, Time, Date. Action, Account Recover Logs: Here, all the password changes events are logged What information is logged here ? Action ID, Player Name, Player IP, Player Serial, Time, Date. Action, Account, New Password Logs are stored in a separate folder for each action (request, recover) and .log files are names after the date EX: 29.3.2015.log Action IDs: I think you already know what they are, they are IDs used to identify Actions in the logs because they can get quite big. Every time a action is triggered, a Action ID is being created. For example, when you request the vCode, a Action ID is being generated and send via Email to the person and the same Action ID is also logged in the specific log file. They are meant to be used for identifying hackers. For instance: Let's say you play on a popular server, someone found your account name and they somehow find a way to brute force the vCode (i don't think is possible after this update). In the Password Change mail you will get the following details: Action ID; Player Name; Player IP; Time; Date If it wasn't you, you can contact a Owner and send him the Action ID and the Player IP. Much easier for him to find the suspect, and way much easier to ban him because in the logs he has the hackers Name, IP and Serial. Way easier This should wrap up this update, don't forget to report me any bugs, glitches, or exploits. Have a great day ! Edit: Video comming soon
  13. Security problems ! I'm currently working on fixing everything ! Thanks to ccw for reporting it to me.
  14. Nice job. Useful resource, keep it up and good luck.
  15. Thanks man. Always cheering me up, good friend
  16. vAuth - Simple, yet powerful resource for automatic account recovery in case of password loss, using email. https://github.com/steadyfi/mta-vauth Features: •Email Based •Lightweight and fast execution •Uncompiled for extensibility •Anti-Spam System •Logging System Screenshots: Download (GitHub) Setup: More details in README.md on my GitHub repository! Commands: /vauth - Shows Auth Panel /vauth-ucp - Shows User Control Panel Details: Restrictions: Auth Panel: NONE Detail Change Panel: YOU NEED TO BE LOGGED IN (not guest) •The email is being stored as accountData under "steadyfi.vauth.email" and can be easily changed from meta.xml. •The vCode is being stored as accountData under "steadyfi.vauth.vcode" and can be easily changed from meta.xml. Note: The vCode is a random value around 1000 and 99999999 ! After recovery it turns 0. •I'm already hosting the default WebServer for mailing! You can use my, or you can make your own (see README.md). ^^^ CURRENTLY OFFLINE Feedback: Want to give me some feedback ? Don't be shy, post a reply. Issues: Found a bug/an issue? Report it on the issue section from the GitHub repository! NO MORE HEADACHES, ENJOY p.s: star my repo plz thx
  17. Thanks ! I don't see why it would be called "Cheat Panel"... I also agree that it doesn't include Admin Functions (Kick,Ban,Shout,etc) but that's not my job ! We all have Admin Panel by lil_Toady, use that for kick and other stuff. Also, this is meant for Server Admins to have a easier job
  18. Hello I've finally finished a script i have been working on a lot of time, hope you'll like it... DayZ Admin Panel - Easy to use, Flexible, Powerful Features: •Ability to give items and spawn vehicles •Lag-Free & Powerful •Limitless extendability Screenshots: Commands: /dap - Opens the GUI Download Feedback: Want to give me some feedback ? Don't be shy, post a reply. Bugs: Found a bug ? Report it with this template: Bug: Description: Version: Date & Time: ENJOY
  19. Hello I've finally finished a script i have been working on a lot of time, hope you'll like it... OpenTeams is a complex team management system, it features unique functions and abilities. Features: •SQL Storage •Admin Panel •Lag-Free & Powerful •Limitless extendability Screenshots: Commands: /teams - Shows a GUI with the current teams /ateams - Shows Admin Panel /giveteam [target] - Makes the target Leader and you Member Purchase: This resource costs 5 euro. If it seems too simple, sorry, just make one by yourself. Payment Gateway: Paysafecard - Easy, Accessible, Everyone can buy Contact: PM me on the forums, we will talk on Skype/Email Info: All the updates are free, i also give support with the script for the ones who bought it Feedback: Want to give me some feedback ? Don't be shy, post a reply. Bugs: Found a bug ? Report it with this template: Bug: Description: Version: Date & Time: I DON'T DO FRAUDS
  20. Nice to hear that you got it working ! Good job, good luck.
  21. wrong ELF class: ELFCLASS32 means it is a 32bit architecture compiled file that will only run on 32bit systems ! You need to search for a 64bit module otherwise it won't work. There is not information about Linux 64bit on the module download page. Edit: Try to run MTA Server 32bit ! It should work then. https://wiki.multitheftauto.com/wiki/In ... _GNU_Linux
  22. Thank you all for the replies ! I got it now
  23. Hello I wonder how can I check for a string if it exists in a SQL Table ? Can someone show me an example with executeSQLQuery ? Thanks
×
×
  • Create New...