Jump to content

Search the Community

Showing results for tags 'php'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Metin2 Dev
    • Announcements
  • Community
    • Member Representations
    • Off Topic
  • Miscellaneous
    • Metin2
    • Showcase
    • File Requests
    • Community Support - Questions & Answers
    • Paid Support / Searching / Recruiting
  • Metin2 Development
  • Metin2 Development
    • Basic Tutorials / Beginners
    • Guides & HowTo
    • Binaries
    • Programming & Development
    • Web Development & Scripts / Systems
    • Tools & Programs
    • Maps
    • Quests
    • 3D Models
    • 2D Graphics
    • Operating Systems
    • Miscellaneous
  • Private Servers
    • Private Servers
  • Uncategorized
    • Drafts
    • Trash
    • Archive
    • Temporary
    • Metin2 Download

Product Groups

  • Small Advertisement
  • Large Advertisement
  • Advertising

Categories

  • Third Party - Providers Directory

Categories

  • Overview
  • Pages
    • Overview
    • File Formats
    • Network
    • Extensions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Pillory


Marketplace


Game Server


Country


Nationality


Github


Gitlab


Discord


Skype


Website

  1. Hello comunity, This is a API script for Metin2 - PHP version TCP to P2P Connection. Thanks @ Gurgarath for explain how metin2 works Download Alternative download links → Mega
  2. Hello comunity, This is a tutorial to add custom delete code character for Metin2CMS by @ IonutRO. Location: pages/register.php Under: <tr> <td><?php print $lang['email-address']; ?>:</td> <td><input class="form-control" name="email" id="email" pattern=".{7,64}" maxlength="64" placeholder="*****@*****.tld" required="" type="email"> <p class="text-danger" id="checkemail"></p> </td> </tr> Add: <tr> <td>Delete code:</td> <td><input class="form-control" name="delete_char" id="delete_char" pattern=".{7,7}" maxlength="7" required="" type="number"> </td> </tr> Location: include/functions/register.php Replace: if(isset($_POST['captcha']) && isset($_POST['username']) && isset($_POST['password']) && isset($_POST['rpassword']) && isset($_POST['email']) && isset($_SESSION['captcha']['code'])) With: if(isset($_POST['captcha']) && isset($_POST['username']) && isset($_POST['password']) && isset($_POST['rpassword']) && isset($_POST['email']) && isset($_SESSION['captcha']['code'] && isset($_POST['delete_char'])) Location: include/functions/register.php Replace: if($database->register($_POST['username'],$_POST['password'],$_POST['email'],$ref)) With: if($database->register($_POST['username'], $_POST['password'], $_POST['email'], $ref, $_POST['delete_char'])) Location: include/classes/user.php Replace: public function register($username,$password,$email,$ref) With: public function register($username, $password, $email, $ref, $delcode) Location: include/classes/user.php Replace: $stmt->bindparam(":social_id", $social_id); With: $stmt->bindparam(":social_id", $delcode); Location: include/classes/user.php Remove: $social_id = rand(1000000, 9999999); // updated in v2.12 Thanks
  3. Hello comunity, That's a small script for statistics Features: Show online players, created accounts, created characters, offline shops, created guilds, Small chart with players on kingdoms. Statistics and chart auto update without refresh page. Full responsive That's a small script developed in 10 minutes, if you like it i can develop it more to include more features Thaaaanks Download Alternative download links → Mega
  4. Hello, community! Script searches through the database to identify items that have exceeded the bonus limit. Once identified, it compiles a convenient list for your consideration. Now, you have the power to review and manage your players inventory with ease! This script offers you the possibility to delete items that are modded or over bonus limit. Bonus and limits stored in JSON format, encompassing all bonuses. Now, with just a simple modification, you can adjust the limits according to your needs. Please give me a review Download Alternative download links → Mega
  5. Event Calendar PHP & HTML Import events from JSON You can use custom DATE: site.com/?month=x&year=xxxx Download Alternative download links → Mega
  6. Basic homepage to register and download client. Functions: Register Top 10 players Download Statistics Homepage developed by me in 2 hours [Hidden Content] [Hidden Content]
  7. Hey I am working as Web-Dev for a little pserver. I had to implement the metin2pserver.info API and their vote-script. This was horrible ! So I decide to create an open source p-server list. There will be no push or buyable votes ! And an easy-to-understand API. Have a look at : [Hidden Content] If you want to test it for your own server and have some issues, please contact me. Repo: [Hidden Content] Next: Translations Please let me know what you think about this project ? Is it useful or just unnecessary.
  8. Download Alternative download links → Metin2 Download Recently I took out a legacy project what did not had txt protos. I looked for txt to sql converters, you can find a few, but none of them were perfect and they were closed source so I wasen't able to fix them. I wrote one for myself in PHP, so it is open source. Today I decided to share it, so I made a form for it too. There's not much to say, using the converter is pretty straightforward, check the screenshot below. It requires PHP 7.4 or greater.
  9. 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]]
  10. Hi, Today, here are two improvements for the Hide Link and Code plugin by onlyME for your Invision Community. Indeed, this plugin doesn't have a system for blacklisting external links or even for unblocking content using chosen reactions. Works in case the member needs to react to unlock the hidden content (Reply to the topic to unlock the link remains unchanged...), these changes have been tested and approved on your favorite forum... Allow all external links except selected ones... Allow only selected reactions to unlock hidden content... With love, ASIKOO
  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. Hi Devs, Finally i decide to share my exclusive project website design +code that i closed & stopped in 2018, the 7zip include all the scripts + design in PNG files if you need the PSD files you can ask me by private message Live Preview: [Hidden Content] Download Link : Mega or Metin2 Download Password: i WILL UPDATE SOON THE WEBSITE WITH NEW CODE .... Preview design Important Note: I posted this website on my own decision it was created with my idea
  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. Download Metin2 Download or Github I created this script which is concerned with managing accounts via xampp Updates will be released in the future Screenshot
  15. Hello Guys, today I bring you a simple CMS for your metin2 server. User features: Register Login Player and Guild ranking Downloads Change email Change password Warehouse password Character password Unbugg character Recover account password Admin features: Add post Edit post Delete post Ban user permanent Ban user for days Unbann user Add coins to players Remove coins from players Some others things: Enable/Disable Lycan in Ranking (disabled by default) Enable and set max accounts per email (disabled by default) Enable/disable register Block user login on site if banned option to change website language easily Send emails with SMTP(PHPMailer) and more... Its made with slim framework v2 and raintpl, supports PHP 7.0.0+ All changes can be made in 'vendor/init.php'. Required PHP Modules: session json pdo pdo_mysql filter sockets - optional If you use apache its necessary to activate mod_rewrite for friendly url or you get a 404 error. (for others web servers you can check slim framework documentation to fix possible errors) For localhost tests: I've found in levmud website a link for localhost tests, it contains some modifications to not call google recaptcha and some small changes in index.php Direct link: [Hidden Content] (outdated) Production link: [Hidden Content] (v1.2.1) Demo: [Hidden Content] Backup: Metin2 Download Demo user: admin | password: !Admin1! You can change server responses to english in init.php (SERVER_LANG, 'en') but all HTML files are in portuguese. Its free to use, share and modify. I'm not the owner. Hope its useful for someone Update - new version! ## [1.2.1] - 2022-03-01 ### Changed - Account creation and Login moved to individual pages. - Improved 'TopClass' ranking. ### Added - New option 'ENABLE_CAPTCHA' in /vendor/init.php. (set to false for localhost tests) ### Fixed - Fixed error when trying to login with BLOCK_LOGIN_SITE_USER_BAN enabled. - Fixed the possibility to access "deleted" posts.
  16. M2 Download Center Download Here ( Internal ) Hello, XenForo is a forum content manager written in the PHP programming language using Zend Framework. It is developed by former senior vBulletin developers Kier Darby and Mike Sullivan. It's a so called nulled, crack version, you don't need the license to use it. Sincerly; ASIKOO
  17. M2 Download Center Download Here ( Internal ) Hello, WoltLab Burning Board is a forum produced by the German company WoltLab GmbH. It is written in PHP and uses a MySQL database, it is comparable to other forums such as Invision Power Board, phpBB, vBulletin and MyBulletinBoard. It's a so called nulled, crack version, you don't need a license to use it. Sincerly, ASIKOO
  18. M2 Download Center Download Here ( Internal ) [Replica] Old Metin2 Website & ItemShop This is a working replica of the old Metin2 website and ItemShop. The project originally made in 2013 for a possible server but we never opened it. For now I just refactored it to be compatible with PHP7/8, tidied the code a little but honestly, expect real old shit procedural style code! While you can use "as is", I highly recommend to check it for old vulnerabilities before you take it live because of it's deprecated nature. The language is hungarian, you can use web.archive.org to speed up your translation. Website: ItemShop: Download: [Hidden Content] Regards, TMP4
  19. Hello Devs! I had some problems with the paypal. Payments were being completed but the cash/md was not being delivered. Until I found the solution. Problem: The solution is very simple, you need to think first that every payment has a status. So here we see all the payment statusof the paypal. [Hidden Content] – PayPal is reviewing the,d like to cancel it. And check "On hold and Temporary hold" This security status is for the paypal whether your transaction actually occurred and the product was delivered. This can occur primarily if your account is NEW. For our case, the service is digital and delivery needs to be made. Payment is only released after a few days or manually. Solution: check your script paument "Paypal" = Completed Change to Enjoy ps: usage Translator xD
  20. M2 Download Center Download Here ( Internal ) Hello to all community members, Today (03/25/2021) I am pleased to announce the release of version 2 of episode 1 of the Zulu project: Episode 1 V2 - Metin2 PayPal Payment Gateway [M.P.P.G] This tool is still extremely easy to use and allows you to receive automatic donations through PayPal. Entering the user name and selecting the amount of "Coins" with their respective price would be more than enough. Admin Panel It also has an administrative panel with which you can manage the prices and coins to be delivered and review the logs of current donations with some useful statistics. Sumary This application has been rebuilt using PHP and the framework for it, Laravel. When entering an account it will verify that it exists within the server, if it does not exist then it will display a message alerting of this. For security reasons there is a limit of 40 attempts per minute. In the administrative panel there is also an account verification and an attempt limit, and in order to access the administrative account, it must have Lv 9 in the "web_admin" field in the account database, account table. The information of each purchase (log) and the prices as well as the coins to be awarded are stored in a local database in SQLite 3. The Laravel application has been modified to be used on any hosting server, shared or not, without any additional configuration. An .htaccess file has been added and modified to the root folder to prevent access to sensitive content/files. A documentation explaining the correct installation of the application has been created. As I said in the first version, I hope it will be useful to someone. It is a completely free project created to help server creators and encourage good feedback in the communities, we can all contribute a grain of sand and help each other more now in difficult times. If something is wrong, please let me know by any means of communication and it will be fixed as soon as possible. Special thanks to: .Seikatsu Swiss (Gloria-II) Kitzia SirJoker Kazui Morderek Akatsuki For their support in making this project a reality. I Love you guys! Link to Repository | Repository - Metin2 PayPal Payment Gateway [M.P.P.G] Link to Documentation | Fregion - Project Zulu | Documentation Download Link | Fregion - Project Zulu | Download Page Contact: Discord: Fregion#3615 E-Mail: [email protected]
  21. There instructions have been tested on FreeBSD 12.1! First of all we want to install update the package repository: pkg update If you have never used pkg probably you will be asked to install it. Now run this command to install php7.4 and nginx pkg install php74 nginx We can install the most common php extensions running this command: pkg install php74-extensions php74-mysqli php74-mbstring php74-curl php74-gd The following extensions will be installed: php74-ctype: 7.4.14 php74-curl: 7.4.14 php74-dom: 7.4.14 php74-extensions: 1.0 php74-filter: 7.4.14 php74-gd: 7.4.14 php74-iconv: 7.4.14 php74-json: 7.4.14 php74-mbstring: 7.4.14 php74-mysqli: 7.4.14 php74-opcache: 7.4.14 php74-pdo: 7.4.14 php74-pdo_sqlite: 7.4.14 php74-phar: 7.4.14 php74-posix: 7.4.14 php74-session: 7.4.14 php74-simplexml: 7.4.14 php74-sqlite3: 7.4.14 php74-tokenizer: 7.4.14 php74-xml: 7.4.14 php74-xmlreader: 7.4.14 php74-xmlwriter: 7.4.14 Enable nginx and php service to automatically start sysrc nginx_enable=yes sysrc php_fpm_enable=YES We can start nginx and php for the first time by running service nginx start service php-fpm start You can open now your web browser and type the server ip in the address bar. You should see a page like this We are going to configure nginx now. Open the file nginx.conf located in /usr/local/etc/nginx and modify the section "server": server { listen 80; server_name _; root /var/www; index index.php index.html index.htm; location / { try_files $uri $uri/ =404; } location ~ \.php$ { try_files $uri =404; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $request_filename; include fastcgi_params; } location ~ /\.ht { deny all; } } Change mydomainname.com with your domain (or server ip). We can test now if php is working correctly. The files of your webiste will be hosted in the folder /var/www (you can change it in the configuration above). Create a new file inside that folder and call it index.php with this content: <?php phpinfo(); Now open again the browser and type the ip address/domain name and you should see something like this: The server is working properly and you can upload now your script You might need to install more php extentions according to the requirements of your script
  22. This is a little tutorial on how to connect the game to the item shop of your website. By clicking on the coin in the game client the web browser will be opened and connected to your website. I'll explain how to automatically login the player to the item shop First of all open cmd_general.cpp and look for do_in_game_mall and replace the whole function with this ACMD(do_in_game_mall) { char buf[512+1]; char sas[33]; MD5_CTX ctx; const char secretKey[] = "my secret key"; // <<--- EDIT THIS!!! const char websiteUrl[] = "[Hidden Content]"; // <<--- EDIT THIS!!! snprintf(buf, sizeof(buf), "%u%s", ch->GetAID(), secretKey); MD5Init(&ctx); MD5Update(&ctx, (const unsigned char *) buf, strlen(buf)); #ifdef __FreeBSD__ MD5End(&ctx, sas); #else static const char hex[] = "0123456789abcdef"; unsigned char digest[16]; MD5Final(digest, &ctx); int i; for (i = 0; i < 16; ++i) { sas[i+i] = hex[digest[i] >> 4]; sas[i+i+1] = hex[digest[i] & 0x0f]; } sas[i+i] = '\0'; #endif snprintf(buf, sizeof(buf), "mall %s?aid=%u&secret=%s", websiteUrl, ch->GetAID(), sas); ch->ChatPacket(CHAT_TYPE_COMMAND, buf); } Edit secretKey and websiteUrl with your information. The key can be a random string. What happens is the following: aid = account id secret = md5( account id + your secret key ) So your website you can check if the secret is corrent and then login the player. You can do something like this: <?php $secretKey = $_GET['secret']; $accountId = $_GET['aid']; $generatedSecret = md5($accountId . $secretKey); if ($generatedSecret == $secretKey) { // ok, proceed with login } else { // invalid secret }
  23. M2 Download Center Download Here ( Internal ) Hi , A years ago when i was working on one server my idk if he made this code atleast i post here the website it contain: PSD and Code and website is working well 100% Preview of design Download
  24. Download Metin2 Download System for drawing items for points The look is exemplary, if you want prettier and more functional, write to me. [Hidden Content] For the system to work, you need to connect to your base (class, function, etc.). They are marked as TODO Setting: $c->price = 100; // Number of points needed for the draw $c->items([ // List of items to be won. [ID, Promil] (percentage * 10) [100100, 500], [100200, 500], [100000, 500], [100300, 200], [100400, 200], [100500, 100], [30270, 100], [50255, 100], [50256, 100], [50257, 100], [50258, 100], [50259, 100], ]); Instruction Do you need a quest, system or www? Write to me, I can create everything. (Full STACK, Web (PHP, JS, SQL, HTML, CSS), Server (C ++, Python, Lua)) Discord Alerin#5559
  25. M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) System to turn on/off/restart the server together with online status and time This is the free version, I also have a premium with colors, the ability to control each channel separately and browse syserr/syslog. Do you need a quest, system or www? Write to me, I can create everything. (Full STACK, Web (PHP, JS, SQL, HTML, CSS), Server (C ++, Python, Lua)) Discord Alerin#5559
×
×
  • 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.