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. M2 Download Center Download Here ( Internal ) Link download : Mega Link VT: Virus Total Why post: Resellers for me are shits
  2. 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
  3. 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]
  4. 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]]
  5. 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
  6. M2 Download Center Download Here ( Internal ) Download Here ( Last Version ) Author: Ionuț ( me ) Size: 3.67 MB Version: v2.12 Type: Open-Source Features: Modern design with elements in bootstrap (v4 alpha 3), admin panel (currently in beta), member panel (currently basic systems), update system, registration, general settings in the admin panel, offline system (if the server is offline, notifications will be displayed, also the last copy of the top site), database of news is sqlite, settings files are in json. Language: English & Romanian Preview: Download: [Hidden Content] Documentation : [Hidden Content]/documentation/ Install: Just edit config.php with your datas. CMS is not completely. It will be updated. I expect criticism / opinions / advice constructive. To report an error: [Hidden Content] Tutorial: how to add login with Google reCAPTCHA: [Hidden Content]
  7. 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
  8. 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
  9. 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
  10. M2 Download Center Download Here ( Internal ) I would like to present you our new website made 100% by darkdev.eu, it's an old version but the most stable and clean on the internet at the moment. This is a free version wich includes basic functions and some added. The premium version includes : vote reward, refferal system, website included devilium itemshop, view deposit, cached menu`s and much more. We need to asure that full script and design made by darkdev.eu , only thing that is from others is the daten.inc for the bonuses and crap like that Size: 2.530 MB Language : Romanian ( sorry, but it`s easy to translate it ) Facilities : It has alot more functions but i will let u guys find out about them. In present it is used by over 200 servers romanian and other. If you use it please keep de copyrights , and change so : Mady by darkdev.eu for SERVER NAME Also we are taking request for custom designs and scripts : Portfolio [Hidden Content]
  11. Event Calendar PHP & HTML Import events from JSON You can use custom DATE: site.com/?month=x&year=xxxx Download Alternative download links → Mega
  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. 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
  14. 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 }
  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 ( ItemShop 1.5 ) Download Here ( Market + ItemShop 1.5 ) Hello guys. A few try to describe what I developed. We have created a place where players can buy and sell items from each other. I worked on bootstrap because such a platform deserves to be accessed from a wide range of devices, not just on the desktop. Communication with the database is done using the PDO extension. The platform is available in 8 languages: [Hidden Content] Data related platform are stored in a SQLite database, no longer need for a new database. It included a store of objects (Item-Shop). It can add items with bonuses and can make payments with paypal for dragon coin. Attention! Site to function properly, you must login as a player, last_play table must be updated. Objects can be marketed after 10 minutes after disconnecting character. (Because dbcache's) Download: [Hidden Content] Download only item-shop, without market: [Hidden Content] Preview: [Hidden Content]
  17. 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.
  18. 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
  19. 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.
  20. 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
  21. 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
  22. 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]
  23. M2 Download Center Download Here ( Internal ) Hey guys today i have a nice upload for you all.Today i would like to release the Loyal Metin2 Homepage! Download Link :[Hidden Content]
  24. 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]
  25. M2 Download Center Download Here ( Internal ) Hello community. i had some free time so and i did this. is not something special but someone might want to use it. Download: Mega You put your database information on include/dbconfig. You put your client download link on index.php variable: $DownloadLink IF something not work good just report it here and i will fix it.
×
×
  • 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.