Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/17/17 in all areas

  1. M2 Download Center Download Here ( Internal ) Hello everyone, today I present my second release. I called "Luna" It's a design of a presentation for a hypothetical metin2 server. Inside the archive you will find the .PSD files complete with everything, ready to be modified and to be adapted to your needs. I hope you enjoy it. Sorry for errors in translation from Italian to English. Download
    2 points
  2. M2 Download Center Download Here ( Internal ) Hi, Im releasing my metin2 cms. Reason: few people made refund after paying me on paypal (i'm not using this stupid system for selling stuffs anymore) Features: Almost everything customizable in administration - no programming knowledge required Highly secured (CMS is using PDO driver instead of mysql_ function, bruteforce protection, anti flood protection) Responsive template (bootstrap) Almost every user actions on web are logged You can choose if you want to use classic php email function or SMTP server Built-in ticket system Referral system Coupons Itemshop - you can enable discount action, let users change quantity of item, add normal item / premium Easy to translate language (all strings are in 1 file) SEO friendly links (yoursite.com/team instead of yoursite.com?page=team) Automatic paypal payment script, paysafecard and amazon code payment scripts And many others... (see screenshots) Screenshots: [Hidden Content] I didn't implement installation script, so you must install it manually (tutorial in readme.txt) If you like my CMS, you can donate me on paypal - [Hidden Content] Don't remove my copyright, please. Download link: [Hidden Content] Scan: [Hidden Content] EDIT: Bugfix 1 - Rename file "inc/classes/securimage.class.php" to "Securimage.class.php" (first letter need to be uppercase)
    1 point
  3. int pc_get_empty_inventory_size(lua_State* L) { LPCHARACTER pChar = CQuestManager::instance().GetCurrentCharacterPtr(); if (lua_isnumber(L, 1) == false){ lua_pushboolean(L, false); return 1; } int size = (int)lua_tonumber(L, 1); if (pChar != NULL) { int iEmptyCell = pChar->GetEmptyInventory(size); if (-1 == iEmptyCell) { lua_pushboolean(L, false); return 1; } lua_pushboolean(L, true); } else { lua_pushboolean(L, false); } return 1; } credits: DragonSlayer
    1 point
  4. The shop automatically handles inventory space, if it doesn't you should really consider fixing it, and no, you don't need to add pc.enough_inventory(vnum) in source, it already exists.
    1 point
  5. nice! If you want to create a new password use this instead of md5 generator: [Hidden Content] Note: Edit your thread and mark it as solved to let other people know that this is successful answered and for a better overview in general.
    1 point
  6. quest give_item_with_check begin state start begin when 9001.chat."Give me the item" begin local item_vnum = 27001; say_title(string.format("%s:[ENTER]", mob_name(npc.get_race()))) if (pc.enough_inventory(item_vnum)) then pc.give_item2(item_vnum); say(string.format("You have received %s.[ENTER]", item_name(item_vnum))) else say_reward(string.format("You don't have enough space for %s.[ENTER]", item_name(item_vnum))) end -- if/else say_item_vnum(item_vnum); end -- when end -- state end -- quest
    1 point
×
×
  • 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.