Jump to content
Forgot your email address? ×
×
×
  • Create New...

Syreldar's quest functions


Recommended Posts

M2 Download Center

Hidden Content

    Give reaction to this post to see the hidden content.
( Internal )

Download Here ( Latest )

 

24/08/2017:

  1. Polished up other functions.
  2. Added party_get_member_count,
  3. Added party_get_member_pids,
  4. Added clear_dungeon,
  5. Added table_get_keyword_index,
  6. Added table_is_any_subarray_containing_keyword,
  7. Added table_get_subarray_keyword_index

26/08/2017:

  1. Added table_shuffle.

12/12/2017:

  1. Added open_shop (Opens a shop without needing to use 2 lines of code);

30/04/2018:

  1. Reworked table_shuffle, since it was not working properly.
  2. Added InDungeon() [bool].
  3. Added ToDungeonIndex(map_index) [int].

01/06/2018:

  1. Added factorial (factorial(5) returns 120);

14/11/2019:

  1. (Did you miss me?) Updated the whole list, better code and even more functions!
  • Metin2 Dev 9
  • Love 16
  • Love 3
  • Good 6
  • Scream 1

👑 Premium International Lua Developer 👑

 My service topic: https://bit.ly/2UPly54

 

Ignorant people have the obligation to compensate their ignorance by paying whoever helps them.

Syreldar

Link to comment
  • 2 months later...
  • 3 months later...
  • 5 months later...
  • 3 weeks later...
  • Premium

I suggest not to help this guy, he would probably write a shit code using your functions and ofc after that he would probably post it on a romanian forum with "copy rights". Let him write the function himself. P.S: Because i'm a good guy i suggest you to write a function that returns a boolean if the npc is pc and then you may use the function as check on the kill statement :)

  • Love 1

As long as I'll be a threat for you , i will always be your target :3

Link to comment
  • Premium
On ‎6‎/‎16‎/‎2018 at 8:02 PM, AndyOpris said:

player_killed_by_me 
when you kill a player.

 

 ( when kill begin
if npc.is_pc() 

don't work )

when kill with npc.is_pc() begin
	syschat'1 player killed'
end

 

Link to comment
  • 2 weeks later...
On 6/16/2018 at 9:02 PM, AndyOpris said:

player_killed_by_me 
when you kill a player.

 

 ( when kill begin
if npc.is_pc() 

don't work )

?

  • Love 1

👑 Premium International Lua Developer 👑

 My service topic: https://bit.ly/2UPly54

 

Ignorant people have the obligation to compensate their ignorance by paying whoever helps them.

Syreldar

Link to comment
  • 1 year later...
  • 2 months later...
  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


  • Read our Rules
  • Activity

    1. 0

      Visual Studio 2010 Ultimate

    2. 1

      Reduce server memory usage

    3. 31

      Metin2 Project - How to create à Metin2 private server on virtual machine

    4. 1

      Use BeltInventory slots without Belt

    5. 47

      Paid service - Vegas Projects

    6. 44

      Changelogs

    7. 79

      3D Shop - Mark Service

  • Recently Browsing

    • No registered users viewing this page.

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.