• Announcement:
    In order to download VIP files, you need to UPGRADE your account.

[QUEST] %55 dmg

Member
May
Threads
12
39
43
18
HubMoney
82
This quest allow you to give everyone a weapon with 55% dmg when *he logs the server.

Code:
--[[
[HIDEREPLY]###########################
# Author: VegaS           #
# Date: 2017.04.20        #
# Quest: Choose the item  #
###########################
]]
quest select_item_quest begin
    state start begin
        when login with pc.get_level() == 1 begin
            send_letter("Choose the item")
        end
      
        when button or info begin
            say_title(string.format("Welcome to our server %s!", pc.get_name()))
            say("For start, we give you the opportunity")
            say("to choose a item with bonus.")
            say("I hope you choose wise!")
            say("")
          
            local SETTINGS_DICT = {
                [WARRIOR]   = {
                    ['type_weapon'] = {"Fms"},
                    ['vnum'] = {299, 3219}
                },
                [ASSASSIN]  = {
                    ['type_weapon'] = {"Pumnal", "Arc"},
                    ['vnum'] = {1179, 2199}
                },
                [SURA]      = {
                    ['type_weapon'] = {"Fms"},
                    ['vnum'] = {299}
                },
                [SHAMAN]    = {
                    ['type_weapon'] = {"Clopot", "Evantai"},
                    ['vnum'] = {5119, 7169}
                },
            }
            local jobIndex = pc.get_job()
            local dict = SETTINGS_DICT[jobIndex]['type_weapon']
 
            table.insert(dict, "Exit")
            local key = select_table(dict);
          
            if (key == table.getn(dict)) then
                send_letter("Choose the item")
                return
            end
 
            pc.give_item2_select(SETTINGS_DICT[jobIndex]['vnum'][key])
            item.set_value(0, 72, 55)
            set_state(__COMPLETE__)
        end
    end
    state __COMPLETE__ begin end
end[/HIDEREPLY]


How to install:
  • Save the quest in a document .txt named for ex. name_quest.quest
  • connect in filezilla / winscp and go in /usr/home/game/share/locale/germany/quest (depend wich files you're using).
  • drag the file ( .quest or .lua).
  • login in FreeBSD / putty and writer: cd /usr/home/game/share/locale/germany/quest apoi ./qc name_quest.quest
  • log in on server and write /reload q
 
Metin2Hub Bot
M2Hub Bot
Feb
Threads
65
1,086
1
411
83
HubMoney
769
This quest allow you to give everyone a weapon with 55% dmg when *he logs the server.

Code:
--[[
[HIDEREPLY]###########################
# Author: VegaS           #
# Date: 2017.04.20        #
# Quest: Choose the item  #
###########################
]]
quest select_item_quest begin
    state start begin
        when login with pc.get_level() == 1 begin
            send_letter("Choose the item")
        end
      
        when button or info begin
            say_title(string.format("Welcome to our server %s!", pc.get_name()))
            say("For start, we give you the opportunity")
            say("to choose a item with bonus.")
            say("I hope you choose wise!")
            say("")
          
            local SETTINGS_DICT = {
                [WARRIOR]   = {
                    ['type_weapon'] = {"Fms"},
                    ['vnum'] = {299, 3219}
                },
                [ASSASSIN]  = {
                    ['type_weapon'] = {"Pumnal", "Arc"},
                    ['vnum'] = {1179, 2199}
                },
                [SURA]      = {
                    ['type_weapon'] = {"Fms"},
                    ['vnum'] = {299}
                },
                [SHAMAN]    = {
                    ['type_weapon'] = {"Clopot", "Evantai"},
                    ['vnum'] = {5119, 7169}
                },
            }
            local jobIndex = pc.get_job()
            local dict = SETTINGS_DICT[jobIndex]['type_weapon']
 
            table.insert(dict, "Exit")
            local key = select_table(dict);
          
            if (key == table.getn(dict)) then
                send_letter("Choose the item")
                return
            end
 
            pc.give_item2_select(SETTINGS_DICT[jobIndex]['vnum'][key])
            item.set_value(0, 72, 55)
            set_state(__COMPLETE__)
        end
    end
    state __COMPLETE__ begin end
end[/HIDEREPLY]


How to install:
  • Save the quest in a document .txt named for ex. name_quest.quest
  • connect in filezilla / winscp and go in /usr/home/game/share/locale/germany/quest (depend wich files you're using).
  • drag the file ( .quest or .lua).
  • login in FreeBSD / putty and writer: cd /usr/home/game/share/locale/germany/quest apoi ./qc name_quest.quest
  • log in on server and write /reload q

Hello dear user,

Your post will be under surveillance by bots for the next few hours.

Forum description : Metin2 private server, Metin2 download, Metin2 support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.
 
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock