Jump to content

Kōdo

Member
  • Posts

    4
  • Joined

  • Last visited

  • Feedback

    0%

About Kōdo

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Kōdo's Achievements

Collaborator

Collaborator (7/16)

  • One Year In
  • First Post
  • One Month Later
  • Week One Done
  • Dedicated

Recent Badges

62

Reputation

  1. Great job, thanks Mali Inspiration from ' these years ' ? (46s)
  2. The problem is that your table in MySQL account does not have all the columns also add the web_admin column (so you get access to the admin panel) path >> /include/functions/basic.php //2.12 function fix_account_columns() { global $database; global $lang; $sth = $database->runQueryAccount("DESCRIBE account"); $sth->execute(); $columns = $sth->fetchAll(PDO::FETCH_COLUMN); $fix = array( "coins" => "ALTER TABLE account ADD coins int(20) NOT NULL DEFAULT 0", "jcoins" => "ALTER TABLE account ADD jcoins int(20) NOT NULL DEFAULT 0", "deletion_token" => "ALTER TABLE account ADD deletion_token varchar(40) NOT NULL DEFAULT ''", "passlost_token" => "ALTER TABLE account ADD passlost_token varchar(40) NOT NULL DEFAULT ''", "email_token" => "ALTER TABLE account ADD email_token varchar(40) NOT NULL DEFAULT ''", "new_email" => "ALTER TABLE account ADD new_email varchar(64) NOT NULL DEFAULT ''"); foreach($fix as $column => $query) if(!in_array($column, $columns)) { $stmt = $database->runQueryAccount($fix[$column]); $stmt->execute(); print '<div class="alert alert-success alert-dismissible fade show" role="alert"><button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button><center>'.$lang['account-new-column'].$column.'</center></div>'; } }
  3. You can expand the system with a really small modification of the code by mapping NpcVnum with the path to the effect, so You can use as many modified arrows as you want and achieve an effect similar to this. [Hidden Content]
  4. Download Alternative download links → Github Hi, I would like to share with you the code that returns the location of a given Vnum-NPC on the map. I needed a function to determine the correct location for a movement, when I gave the cords from the regen the location was not the expected result I wanted. This code solves the problem, maybe there is another solution but this is mine and it works has been tested this code will show you all NPC positions on the map with the same Vnum [Hidden Content] * I hope someone will take advantage, it's nice to share with you and especially with those who also share their work for free
      • 60
      • Metin2 Dev
      • Good
      • Love
      • Love
×
×
  • 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.