Jump to content

Papix

Banned
  • Posts

    44
  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    0%

Everything posted by Papix

  1. Hello community, I decided to create a mini function in python for my server that adds the information if the player can drop or not on mobs and stones. [Hidden Content]
  2. Hello community, I like to use level_limit and type_limit because the percentage works from 1% to 100% after studying how I could check the player level and the level defined in level_limit. In the example, the level limit is 50, so player level below (35) and 15 level above (65) can drop. mob_drop_item.txt (example): Group Metin_do_Combate { Level_limit 50 Mob 8002 Type limit 1 101051 1 100 -- Cofre das Habilidades 2 101001 1 100 -- Pergaminho Esverdeado 3 71151 5 100 -- Feitiço Verde } @src/game/item_manager.cpp [Hidden Content] Thanks to @ msnas and @ Intel
  3. Hello community, Keeping your project development organized is half the step to success. If you don't intend to spend money or use the free version of Trello I will leave an open source solution in this topic. [Hidden Content]
  4. Hello community, I needed to remove the collision from all the monsters and decided to share with you how to do it. Anything included in mob_proto from vnum 101 to 99999 loses the collision. The collision is removed, but when you are attacking it continues to exist. Step by Step [Hidden Content]
  5. Hello community, I felt the need to create a script that would delete the object folder and give ./qc to all quests that are in the quest_list file. the script is interrupted if an error occurs. To use the script you just need create a file in the "/quest" directory like quest.sh. [Hidden Content]
  6. Hello community, Today i create one script in php to backup the database and server files remotely and locally. I also decided to receive at the end of each backup a notification in a specific room in my discord server saying that the backup was finished successfully. I also left the possibility to enable/disable certain functions such as if you only want to backup only db/sf or if you don't want to use discord notifications. Screenshots Step By Step On the game server (FreeBSD) install the zip package using the command: pkg install -y zip. Upload the script to your web server nd give it permission 777. Edit the settings with your access data on cron.php. Access the file from the browser to see if everything is right (yourdomain.com/cron.php?api_protected=Papix). Now to make the backups automatic just create the cron with the time you want (in case you don't know see this topic that I left at the end of this) Notes The script is not inserted into the game server (FreeBSD) but into the web server (I use ubuntu). For security reasons do not forget to change the api key. Do not store your backups in public directories, store them for example before the /public_html folder. Make sure that on the web server you use directories that have permissions. Discord Notification After you created your webhook replace in line 34 (cron.php) with yours. Download [hide][Hidden Content] or [Hidden Content]]
  7. Hello community, Checking the game version made by ymir never really entered my mind. I decided to put the game version confirmation in the login as it makes more sense in my eyes. With this measure you will no longer have players saying "I can't log in, I'm going straight down". Preview Step by Step [Hidden Content]
  8. Hello community, I felt the need to create this tool since I started using FoxFS. This tool automatically creates zip backups by simply selecting what you want from the menu. Features Backup Binary Backup Pack Backup Binary and Pack Screenshot Guide It is quite simple to configure the tool, you just have to change the directories, names and the 7zip directory. Script Simply save the following script with the .bat extension (Example: backup_manager.bat) [Hidden Content]
  9. Glad to hear that! Thank you!
  10. Yes, you have everything you need to know in the documentation
  11. Download About CMS PapixCMS was created using metin2cms.cf by IonutRO as the basis. The goal of this project was to make a quality website available for free to everyone who wants to open a metin2 server. Several changes have been made in order to improve performance and security. ChangeLog CMS v1 | 21-11-2022 Added timeout on connection to the database. @/include/classes/database.php (Note: If the timeout time is not entered in case the database connection fail it create an infinite loop that may underload the hosting). Metin2cms API system and all components linked to the api removed (Note: The site performance has improved by 100% when removing all api components). Fixed XSS exploits (Donate and ranking guilds/players) Fix SendEmail. Recaptcha v2 in login, register, password recovery and change email. Choose the recaptcha theme. @config.php Change in account creation, passwords must contain only numbers and letters and must be between 5 and 16 characters long. Multilingual adapted to friendly URL’s. System for easy installation of new themes. Option for users to choose the theme of the site with ON/OFF option in the admin panel. Fake statistics geral and guilds. @config.php Gallery Change Theme: Click Here Change Themetic (Christmas): Click Here Fake Statistics: Click Here Users can choose the theme (ON/OFF): Click Here Administrative Panel: Click Here Improved perfomance: Click Here Recaptcha v2 (Choose Style): Click Here Download and Documentation [Hidden Content]
  12. Hello community, The years go by but I see that 99% of the people who work with the metin servers still use our friend PuTTy. Today I come to present for those who don't know the great MobaXterm. I personally love it, I can control several servers simultaneously even execute several commands on all servers at once. Small details: You can also easily navigate directories and edit files via the GUI (goodbye WinSCP). You can also save sessions so you don't have to enter your password every login. Besides what I mentioned there are many other features that MobaXterm offers. The program has a free version that meets your needs very well, and a paid version with even more features. I use the free version and in my opinion it was the best software of its kind I have used so far. Download: [hide][Hidden Content]]
  13. Hello community, In this guide I will teach you a simple way to send automatic messages using only php, cron and discord webhook. The function is designed to announce weekly events but can easily be changed for other purposes. The function is protected by a key, so if the key is not defined the script will not be executed. Preview: Setup [Hidden Content]
  14. Hello community, I have seen many people selling "wiki equal to the official" for prices ranging from 300€ to 500€ or more, what is wrong with this? These "web developers" are selling only open source code. In a didactic way these "professionals" are selling something open source that is free. How do I know this is not speculation? For those who don't know there are several free tools to detect which engine a site is using. For example, open whatcms.org and put the link to the official wiki. And voila, we have discovered the secret of many super web developers The secret goes by the name of MediaWiki. Requirements Hardware Minimum 256MB RAM Minimum 85MB disk space Dependencies PHP 7.3.19+ or 7.4.3+ and respective dependencies MySQL 5.5.8+ or MariaDB 5.1+ If you want to see the full requirements see the documentation: [Hidden Content] You don't know how to configure a webhost? Don't worry, consult my topic about configuring a web server using CyberPanel + OpenLiteSpeed: MediaWiki Setup [Hidden Content] Questions? Comment, as soon as possible I will answer. Best Regards, Papix
  15. Hello community, As I already have some years of experience installing webservers and developing websites, I decided to share one of the methods I usually use for small and big websites. If you don't know anything about web server configuration and don't want to learn, you don't need to follow an old tutorial on google in which you may not even be able to start your website. In this topic I will explain how to install CyberPanel + OpenLiteSpeed. What is CyberPanel? CyberPanel is a control panel open source where you will manage your websites. What is OpenLiteSpeed? OpenLiteSpeed is the best, fastest and most secure alternative open source to apache and nginx. My site uses htaccess how do I convert it? You dont need convert anything, OpenLiteSpeed can load your apache rules. Note: The openlitespeed rules are loaded at startup and not in real time, you after editing your rules must restart the controller. (Don't worry, you can restart the openlitespeed easily with 3 clicks through the cyberpanel) Do you really advise the use of CyberPanel + OpenLiteSpeed? Yes, in my opinion CyberPanel with OpenLiteSpeed besides its great performance and the safest choice. In my opinion with years of experience testing web panels, CyberPanel is superior to any other panel, be it paid or open source too. I don't understand any of this, is it difficult to learn how to use? No, you don't even need to run commands on your machine other than the one installation command. All the configuration of your websites will be done through the browser using CyberPanel. Requirements Centos 7.x, Centos 8.x, Ubuntu 18.04, Ubuntu 20.04 Python 3.x 1GB or more RAM. 10GB Disk Space. Setup CyberPanel + OpenLiteSpeed [Hidden Content] Questions? Comment, as soon as possible I will answer. Best Regards, Papix
  16. Hello WinRAR lovers! I know... This window too broke my heart Do you want to remove this window from hell? Create 1 file with name rarreg.kry.txt on path C:\Program Files\WinRAR Put this inside: [Hidden Content] That's it! The window is extinguished Enjoy WinRAR lovers
  17. Hello community! This guide is for those who want to edit the default FreeBSD text editor. I will use the nano editor in the explanation but it is optional. Guide [Hidden Content]
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.