Jump to content

SHC//Sniper

Members
  • Posts

    69
  • Joined

  • Last visited

Everything posted by SHC//Sniper

  1. I might be able to help you (I am running a 64bit Debian Squeeze root with MTA 1.1) You must install some libraries, I will make a tutorial for that when MTA 1.1 is fully released. Please give us some more info about your system. Do you use the 32bit emulator? Greets
  2. What the heck is that? request close#
  3. Uhm, the script file with the GUI must be clientsided!
  4. SHC//Sniper

    Help!~!

    You must add this line to your ACL into the group "Admin": <object name="resource.race_starter_pack" />
  5. This script will display the kills a player has made in his session. They are not saved forever. --/////////////////////////////-- ----------By SHC//Sniper--------- --\\\\\\\\\\\\\\\\\\\\\\\\\\\\\-- addEventHandler("onResourceStart", getResourceRootElement(), function () --at first we create the additional column when the scripts is being started --NOTE: the resource of the scoreboard must be "dxscoreboard" otherwise it won't work exports.dxscoreboard.scoreboardAddColumn("kills", getRootElement(), 70, "kills") --now we check if the player already has some data saved for i,v in ipairs(getElementsByType("player")) do --loop through all players local data = getElementData(v, "kills") --get the data "kills" if (data) then --if there is no data setElementData(v, "kills", 0) --we reset the "kills" to 0 end end end) --the easy function to add +1 kill function addScoreKill(player) if (player) and (getElementType(player) == "player") then --check if the argument is valid local data = tonumber(getElementData(player, "kills")) --get the current amount of kills setElementData(player, "kills", data + 1) --finally add the kill end end --set players kills to 0 after joining addEventHandler("onPlayerJoin", getRootElement(), function() setElementData(source, "kills", 0) --set "kills" to 0 end) addEventHandler("onPlayerWasted", getRootElement(), function (ammo, killer, weapon, body, stealth) if (killer) then --if there is a killer addScoreKill(killer) --if someone kills somebody add a kill end end)
  6. SHC//Sniper

    Help!~!

    Use the /debugscript 3 and look for error messages. And what's the problem with the panel? Come on, English isn't hard. Nobody can help you if you don't tell us what's wrong.
  7. Hey, next time please try to use full stops and capital letters, this will higher your chances of getting a good answere. If you don't care about your topic, others won't do that as well. It would be useful for us if you provide more info about what you need. The management of the dxScoreboard is described in the Wiki very well. You will need the function bool scoreboardAddColumn ( string name, [ element forElement = getRootElement(), int width = 70, string friendlyName = name, int priority = slot after "name" column ] ) to add a column. Also remember that this function must be exported if used from another resource. You can set the scoreboard data with setElementData: setElementData ( thePlayer, "wanted level", 3 ) --3 is inserted in the player's wanted level column The column for the "wanted level" would be (using it as exported function): exports.dxscoreboard.scoreboardAddColumn("wanted level", getRootElement(), 70, "wanted") Now use your lua skills and use that for kills, deaths etc. Nobody is going to give you a full script here. Greets Sniper
  8. Sry for posting at this old topic but he should get the solution. Well, you can't update an INTeger column with a string value like 'asf', it must be a number. The query will look like that. Do not use ' ' if you want to update an INT column. UPDATE table SET itemValue = 64 [...]
  9. Mhmmmm could be a MTA bug. Report it to: http://bugs.mtasa.com You can do it a much easier way. Use attachElements (wiki says it does not support sounds but on my server it works.)
  10. First of all be sure you are using the resources with the highest revision number. ->Resources Unpack these files and replace them with the files located in \server\deathmatch\resources\ Restart your server and check it. To fix your problem delete the "editor_test" and "editor_dump" folder located in \server\deathmatch\resources\
  11. Uhm, is your VPS hosted on an external host or is it in your own home(network)? Give us some info about your VPS. Be sure you always have the latest nightly built on your VPS. Could you give us the IP/Servername?
  12. Be sure you are using the resources with the highest revision number. ->Resources Unpack these files and replace them with the files located in \server\deathmatch\resources\ Restart your server and check it. If it still doesn't work delete the "editor_test" and "editor_dump" folder located in \server\deathmatch\resources\
  13. It would be useful for us also what type of hosting do you have. (VPS, Dedicated server, Gameserver) Serverffs.com is known to lag extremely even without any SQL/MySQL based scripts.
  14. The serverlist hosted by game-monitor is not being update every single second. It takes some time to add a new server and also to delete one since there are more than 1000 servers in MTA. It's a slow system but a lot faster than the list of older MTA versions. In your screenshot you can see the playerlist showing just "...loading...". This mostly means that the server is offline. If you wait several seconds MTA detects the offline servers and sets their color from white to grey.
  15. SHC//Sniper

    What's this?

    More information please: -Distribution (Debian, ubuntu, etc.) WITH version number -Architecture 32bit or 64bit -MTA Server Version -do you use a 32bit emulator if you have 64bit? The problem is that your Linux system is missing some libraries. If you may give me the information I could give you the solution.
  16. SHC//Sniper

    Permissions

    @Tank07 use the /debugscript 3 and post us what it says while you use your /register or start the script next time.
  17. I've got my MTA 1.1 server working on a 64bit Debian Squeeze system. It was a bit hard to find the right 32bit libraries for the 32bit emulator but I've set it up. If MTA-devs won't work on 64bit problems I will make a tutorial when MTA 1.1 is fully released.
  18. How to get the MySQL module working on Debian 6.0 64bit EDIT: Download available again Introduction and Thanks to MaddDogg: Before trying to run MTA 1.0.X on a 64bit Debian system ensure that you have read and done this: Thanks to MaddDogg for the great tutorial. It is possible to run MTA 1.0.5 with the 32bit emulator on a 64bit Debian Squeeze system by my own experience. Since several users had problems running the MTA MySQL module by ryden I decided to make this small tutorial as extension to the one made by MaddDogg. Requirements: You need a 64bit Debian Squeeze (6.0) system with a 32bit emulator and basic knowledge of linux systems. If you've read MaddDogg's tutorial you will know what I mean. It is required to have the MySQL module by ryden in the "modules" folder and added to the mtaserver.conf. You also need a SFTP protocol supporting FTP program to upload those files (FileZilla). The Problem: People that have a linux system with 64bit Debian Squeeze and the 32bit emulator aren't able to run the MySQL module by ryden. This is the the error message written into the server logs when the server starts. MODULE: Unable to find modules/mtamysql.so (libmysqlclient.so.15: cannot open shared object file: No such file or directory)! This means that the MySQL module is looking for a library (libmysqlclient.so.15) that does not exist in our system. As I started to search for that file in my system I found a pretty similar file called "libmysqlclient.so.16" in /usr/lib. That means ryden's module is looking for an old library that does not exist anymore in Debian Squeeze. To solve this problem we need the 32bit library from a Debian Lenny (5.0) system. Fortunately I still had a 32bit Debian Lenny (5.0) VPS running so I could find that file easily. Uploading the Files: First of all I am sorry that I didn't find a way to download the file via SSH to your server. Instead we will use the SFTP protocoll. First of all ensure that you have a user with full access to the system files on your system (default user is: root). Now open your FTP program (in this case FileZilla) and type in: Server: <Your server IP> User: root (if you didn't disable the root login) Password: <Your password> Port: 22 Now you are logged in into your root server via SFTP protocoll and you are able to move/edit/upload/download/delete files. After that browse the the directory /usr/lib32 on your server that contains all 32bit libraries. After that you have to download the following file to your PC: http://www.2shared.com/file/mklzX0am/li ... entso.html This is the old 32bit library that is needed in order to run the MySQL module by ryden. Now simply upload the downloaded file by using your FTP program to the /usr/lib32 folder (FileZilla: Right click then "Upload"). Running the server After you've done everything just start your server in known manner and the MySQL module should work properly. Other: If you find any mistakes in this tutorial or you still have problems then please let me know. Greetings SHC//Sniper
  19. It's a very annoying error that I used to have. Debian Squeeze (6.0) has some new libraries. The "libmysqlclient.so.15"" is deprecated. Now it's "libmysqlclient.so.16". What you need to do is to use the old 32bit "libmysqlclient.so.15" (2.28MB) for your emulator. Here is a download link (uploaded by me ): http://www.2shared.com/file/mklzX0am/li ... entso.html Now you need to put this file into your /usr/lib32 folder. After that restart your server and check the log/console. It should work now Greetz Sniper
  20. Sorry for double post: Solution is to put the libmysqlclient.so.15 into the /usr/lib32/ folder!
  21. Create those directories and it will work! @MaddDogg How to use the emulator with the MySQL module? I get the error: I've put that file (from my 32bit root) into the folder /emul/ia32-linux/usr/lib/ but it does not work. Any solution?
  22. Hahahaha, well I'm not the one like you Bauss who spends hours just to hack passwords of SHC members. It's really pointless of you FFS guys that you care about a problem that we had 6 months ago. One time you say that you banned all SHC members cause they did not behave nicely and sometimes you say it's because SHC did not want to delete maps from FFS 6 months ago. In fact you're the one who should say this to yourself. Sion has launched a new big discussion and Tiesto has answered to that.
  23. @ -ffs-Holzhocker aka Sion /facepalm and get back to real life! FFS is just a clan like all other clans. You're behavior isn't just immature, it's unprofessional and unreasonable. You are making your whole FFS clan bad and you're not even the leader! People like Sion are the best example for people that think they are something important or someone special to others. But he isn't! He is just an average PC freak like many here are. If you want attention -ffs-Holzhocker aka Sion go to your friends and have fun. MTA is nothing for you! @SHC resources: Epic fail... these files are 8 months old and 150MB?! Do you really spend so many time just to make us laugh about your actions? I didn't give a shit as leader about that "fight" with FFS. But Sion lives in his own MTA world. @FFS: You are just a clan like I said before. With this actions you just destroy the whole MTA community a little more. The maps uploaded by Tiesto are an answere to the FFS clan to wake up and care about Holzhockers own way of making the fight even worse.
  24. Hello folks and MTA, recently we just had a DD revenge clanwar against the p0rn| clan but we had to quit this since of their very bad behavior and abusing. We do NOT recomment you to make clanwars with them since mostly p0rn|Forsaken muted random people and insulted them. As proof here are certain screenshots made by me. Greetings Sniper
  25. Well, first of all as SHC leader I would like to tell you guys something about Timic. Well maybe he's scripting for pretty much time but he really isn't clean. At first he was playing with SHC scripts in his local server (what he wasn't allowed to do) and 2nd when he joined ~XG~ suddenly I found parts that where just copied from my script. Even the error messages and colors were still the same. And it's still not sure if Hama published my scripts or if Timic did it. Someone sent it to AsiA (a small kiddy) who uploaded my scripts after uploading them. And now he tries to fu.ck with ~XG~ and SHC// also. We all now that FG is starting like EPP. Stealing everything from everywhere... and as you might know these clans are hated everywhere and died after maximum 3 months. If you want a new clan to be successful you need your own great idea and people. What FG is doing is just /facepalm and even Cadu12 is using parts of my scripts illegally. I can just say that a clan does only survive if there is just 1 person that has FTP access. Otherwise it's 100% sure that it will be public in some months. Do not trust anyone in the internet. And this is why SHC is still alive.
×
×
  • Create New...