Contributor TMP4 12681 Posted June 1, 2021 Contributor Share Posted June 1, 2021 M2 Download Center This is the hidden content, please Sign In or Sign Up ( 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: Spoiler ItemShop: Spoiler Download: This is the hidden content, please Sign In or Sign Up Regards, TMP4 298 2 11 4 5 5 2 10 5 1 151 4 40 303 Link to comment Share on other sites More sharing options...
sshyzhe 140 Posted June 2, 2021 Share Posted June 2, 2021 thank you sir 1 2 2 Link to comment Share on other sites More sharing options...
Forum Moderator Gurgarath 3076 Posted June 2, 2021 Forum Moderator Share Posted June 2, 2021 Wonderful, this is a gem of a website! 1 Gurgarath coming soon Link to comment Share on other sites More sharing options...
Ezequiel G. 471 Posted August 5, 2021 Share Posted August 5, 2021 On 6/1/2021 at 6:18 PM, TMP4 said: M2 Download Center This is the hidden content, please Sign In or Sign Up ( 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: Reveal hidden contents ItemShop: Reveal hidden contents Download: This is the hidden content, please Sign In or Sign Up Regards, TMP4 Thanks for the contribution, the registration does not work 4 1 1 2 Link to comment Share on other sites More sharing options...
Contributor TMP4 12681 Posted August 5, 2021 Author Contributor Share Posted August 5, 2021 It works for me, I suggest you to check the columns in query and your table. Or give more info. 1 Link to comment Share on other sites More sharing options...
Active+ Member Nazox 408 Posted August 5, 2021 Active+ Member Share Posted August 5, 2021 You are a good thx ♥ 1 Nicks: Nazox™ Krone™ Nagato™ Yahiko™ Yakiro™ Proyecto: Trabajando en el. Compañeros & firma: DreamHQ - 2009-2015 [Nostalgia] Link to comment Share on other sites More sharing options...
Ezequiel G. 471 Posted August 5, 2021 Share Posted August 5, 2021 47 minutes ago, TMP4 said: It works for me, I suggest you to check the columns in query and your table. Or give more info. It shows me successful registration, but when checking the database the account is not created in my database I don't have the real_name column, would I have to delete it from the page record? 1 Link to comment Share on other sites More sharing options...
Contributor TMP4 12681 Posted August 6, 2021 Author Contributor Share Posted August 6, 2021 Delete from the reg php or add it to your player.player table. 1 Link to comment Share on other sites More sharing options...
Ezequiel G. 471 Posted August 6, 2021 Share Posted August 6, 2021 1 hour ago, TMP4 said: Delete from the reg php or add it to your player.player table. Solved, thank you ! 1 1 Link to comment Share on other sites More sharing options...
test423klein12ss3 1 Posted August 28, 2021 Share Posted August 28, 2021 where can I specify for the login that I use sha1 for passwords? for the registration I already managed it. Link to comment Share on other sites More sharing options...
Contributor TMP4 12681 Posted August 28, 2021 Author Contributor Share Posted August 28, 2021 4 minutes ago, test423klein12ss3 said: where can I specify for the login that I use sha1 for passwords? for the registration I already managed it. main/login.php $check = "SELECT * from $account where login = '" . $user . "' and password = PASSWORD('$pw')"; 1 Link to comment Share on other sites More sharing options...
SmyleMDFK 163 Posted August 28, 2021 Share Posted August 28, 2021 Hmm i have a this website with a new code .. its make with cms code .. here it's the link This is the hidden content, please Sign In or Sign Up this have This is the hidden content, please Sign In or Sign Up encoded. 82 1 2 3 1 1 3 1 23 3 43 https://amnesia2.com/ Link to comment Share on other sites More sharing options...
Contributor TMP4 12681 Posted August 28, 2021 Author Contributor Share Posted August 28, 2021 37 minutes ago, SmyleMDFK said: Hmm i have a this website with a new code .. its make with cms code .. here it's the link This is the hidden content, please Sign In or Sign Up this have This is the hidden content, please Sign In or Sign Up encoded. I checked it but that is a completly different design, did you upload the correct one to mega? 6 1 4 6 Link to comment Share on other sites More sharing options...
SmyleMDFK 163 Posted August 28, 2021 Share Posted August 28, 2021 (edited) 32 minutes ago, TMP4 said: I checked it but that is a completly different design, did you upload the correct one to mega? Yes it's the original ymir template.. the img file are the first and next are images for ranks ant another categories. Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal 3 https://amnesia2.com/ Link to comment Share on other sites More sharing options...
Contributor TMP4 12681 Posted August 28, 2021 Author Contributor Share Posted August 28, 2021 (edited) 6 minutes ago, SmyleMDFK said: Yes it's the original ymir template.. the img file are the first and next are images for ranks ant another categories. Yeah sorry there are "img" and "images" folder and I looked the "images" what have some other design but the "img" folder have the classic one. Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal 3 1 1 1 Link to comment Share on other sites More sharing options...
ags_cs4 0 Posted September 21, 2021 Share Posted September 21, 2021 damn didnt see this home page in ages 1 Link to comment Share on other sites More sharing options...
Fyco 3 Posted January 27, 2022 Share Posted January 27, 2022 On 6/1/2021 at 6:18 PM, TMP4 said: M2 Download Center This is the hidden content, please Sign In or Sign Up ( 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: Reveal hidden contents ItemShop: Reveal hidden contents Download: This is the hidden content, please Sign In or Sign Up Regards, TMP4 Warning: mysqli_connect(): (HY000/2002): Connection timed out in /storage/ssd5/537/18359537/public_html/user/config.php on line 6 Failed to connect to MySQL: Connection timed out Even after I put my IP in SQL_HOST it still says the same. Any help? 1 1 1 Link to comment Share on other sites More sharing options...
Contributor TMP4 12681 Posted January 27, 2022 Author Contributor Share Posted January 27, 2022 On 1/27/2022 at 9:40 PM, Fyco said: Warning: mysqli_connect(): (HY000/2002): Connection timed out in /storage/ssd5/537/18359537/public_html/user/config.php on line 6 Failed to connect to MySQL: Connection timed out Even after I put my IP in SQL_HOST it still says the same. Any help? You gave your private (local) ip address instead of a public one. Of course it can't reach it, that only works on your local network, and you using a hosting what clearly outside of your local network. Also you may have to set port forwarding for the mysql server (3306) in your router. 1 1 Link to comment Share on other sites More sharing options...
LordZiege 306 Posted January 28, 2022 Share Posted January 28, 2022 9 hours ago, TMP4 said: You gave your private (local) ip address instead of a public one. Of course it can't reach it, that only works on your local network, and you using a hosting what clearly outside of your local network. Also you may have to set port forwarding for the mysql server (3306) in your router. But i wouldn't recommend that at all. forwarding port 3306 outside of the local network is a bad idea. (not only limited to 3306, its almost a bad idea.) if you want to test this homepage, you could use xampp on your local machine. @Fyco Link to comment Share on other sites More sharing options...
benenciaga 0 Posted January 22, 2023 Share Posted January 22, 2023 (edited) hey My fav metin2 page design ever , tank you for uploading! An update to the password reset is expected in the future? Edited January 22, 2023 by benenciaga solved, bullshit question :D Link to comment Share on other sites More sharing options...
imskiddie 0 Posted January 27, 2023 Share Posted January 27, 2023 wow thank you very much!! Link to comment Share on other sites More sharing options...
psmsbaa666 0 Posted February 27, 2023 Share Posted February 27, 2023 (edited) Do I need to add something from the metin2 server side to be able to aquire item bought via itemshop PHP site? Coins are correctly removed from the account balance and the last mysql query from the mysql database is successful because it appears in the MySQL table player.item_award. When I'm in the Metin2 Client and I open the Itemshop Storage from the Inventory panel it's completly empty. BTW amazing work! It's so great that people did so much for this game. Edited February 27, 2023 by psmsbaa666 MD does not apply here. Link to comment Share on other sites More sharing options...
psmsbaa666 0 Posted February 27, 2023 Share Posted February 27, 2023 Quote Do I need to add something from the metin2 server side to be able to aquire item bought via itemshop PHP site? Coins are correctly removed from the account balance and the last mysql query from the mysql database is successful because it appears in the MySQL table player.item_award. When I'm in the Metin2 Client and I open the Itemshop Storage from the Inventory panel it's completly empty. BTW amazing work! It's so great that people did so much for this game. Nevermind, I've tried it on first item that failed to appear in the Itemshop Warehouse ,on other items it does work. So, I'm new to the Metin2 Dev and I'm using@ TMP4 Metin2 40250 Reference Server files ...and I am wondering (because in that itemshop.sql file items have descriptions like 4000 HP, +15% mobs, e.t.c.) and defaulty the Metin2 40250 Reference Server files that I'm using have just the item description (and not always, sometimes just a name and time left) so they don't have any bonuses, how can I then, include/modify/add those in the serverfiles? Is there some documentation that I should read? Can someone help me with this? Link to comment Share on other sites More sharing options...
Contributor TMP4 12681 Posted February 27, 2023 Author Contributor Share Posted February 27, 2023 (edited) 40 minutes ago, psmsbaa666 said: Nevermind, I've tried it on first item that failed to appear in the Itemshop Warehouse ,on other items it does work. So, I'm new to the Metin2 Dev and I'm using@ TMP4 Metin2 40250 Reference Server files ...and I am wondering (because in that itemshop.sql file items have descriptions like 4000 HP, +15% mobs, e.t.c.) and defaulty the Metin2 40250 Reference Server files that I'm using have just the item description (and not always, sometimes just a name and time left) so they don't have any bonuses, how can I then, include/modify/add those in the serverfiles? Is there some documentation that I should read? Can someone help me with this? That's just description text to show. For example pet gives you +X HP. It's not match with official bonus values, it's just a leftover sql from some old proejct and it is just an example, you're required to fill the itemshop with your own items. Item_award does not support setting bonus for equipment by default. But you can implement that: This is the hidden content, please Sign In or Sign Up If the item does not appear in your itemshop storage then check if the vnum exists in the server, also there is a given_time column in item_award, check if that time is lower then your server's current time (date command in FreeBSD.) Edited February 27, 2023 by TMP4 19 5 1 2 Link to comment Share on other sites More sharing options...
psmsbaa666 0 Posted February 27, 2023 Share Posted February 27, 2023 Quote That's just description text to show. For example pet gives you +X HP. It's not match with official bonus values, it's just a leftover sql from some old proejct and it is just an example, you're required to fill the itemshop with your own items. Item_award does not support setting bonus for equipment by default. But you can implement that: https://github.com/Vegas007/Metin2-Extended-Item-Award If the item does not appear in your itemshop storage then check if the vnum exists in the server, also there is a given_time column in item_award, check if that time is lower then your server's current time (date command in FreeBSD.) Do I get it right that in the item_proto.txt is implemented something like you mentioned in a link? (Metin2-Extended-Item-Award). I search a little bit in the source of the 40250 serverfiles but I didn't find where the item descriptions could be, by any change do you know where to look? As you said, items that the vnum is not recognized (with for example: /item 71176) do not appear in the itemshop warehouse at all. But there are some items that appear for like a second and then disappear (I can't transfer it to inventory) as well as there are some mounts that time is 0 - where do I set that? because I don't think the Metin2-Extended-Item-Award (I want to start with simpler things first) is needed for time (there are some mount with random time like 1h 26min). given_time and taken_time seem to be correct in the item_award table. I have so much to learn in the Metin2 Dev topic Link to comment Share on other sites More sharing options...
Recommended Posts