Metin2 Hungarian Forum

Metin2 => Privát szerverek => Szerver készítés => A témát indította: Nexus™ Dátum 2017-07-13, 07:09:24

Cím: [RELEASE]Notepad++
Írta: Nexus™ Dátum 2017-07-13, 07:09:24
Sziasztok. Találtam egy kis okosságot az interneten bolyongva és gondoltam megosztom veletek is. Lehet hogy páran ismeritek vagy használjátok is, de azért megosztom hogyha mégse akkor most megismeritek.

Az egész módosításnak az a lényege, hogy ha Notepad++ -al megnyitunk például egy questet akkor azt 'lua' formában jeleníti meg. Így sokkal átláthatóbb.

Lásd a képen:

(https://board.ddmt2.net/proxy.php?request=http%3A%2F%2Fi.epvpimg.com%2F5VgEeab.png&hash=9167ce4c1af10a4bd3f28e932aa7ecc5cdf75e2b)

Berakása:

Nyisd meg az %appdata%\Notepad++\langs.xml-t és írd felül ezt a részt:

<Language name="lua" Így is rákereshetsz: <Language commentLine="--" ext="lua" name="lua">

Ezzel:

<Language name="lua" ext="lua quest run start information when script arg" commentLine="--" commentStart="--[[" commentEnd="]]">
<Keywords name="instre1">
and break do else elseif end false for function goto if in local nil not or repeat return then true until while

when state quest with begin
</Keywords>
<Keywords name="instre2">
call dostring foreach foreachi getn globals newtype sort tinsert tremove loadlib rawegal
_TRACEBACK _ALERT _ERRORMESSAGE _INPUT _PROMPT _OUTPUT _STDERR _STDIN _STDOUT

_ENV _G _VERSION assert collectgarbage dofile error gcinfo getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawlen rawset require select setfenv setmetatable tonumber tostring type unpack xpcall string table math bit32 coroutine io os debug package __index __newindex __call __add __sub __mul __div __mod __pow __unm __concat __len __eq __lt __le __gc __mode

arg
</Keywords>
<Keywords name="type1">
mod strbyte strchar strfind strlen strlower strrep strsub strupper
string.gfind
table.foreach table.foreachi table.getn table.setn
math.mod

byte char dump find format gmatch gsub len lower match rep reverse sub upper abs acos asin atan atan2 ceil cos cosh deg exp floor fmod frexp ldexp log log10 max min modf pow rad random randomseed sin sinh sqrt tan tanh arshift band bnot bor btest bxor extract lrotate lshift replace rrotate rshift shift
string.byte string.char string.dump string.find string.format string.gmatch string.gsub string.len string.lower string.match string.rep string.reverse string.sub string.upper
table.concat table.insert table.maxn table.pack table.remove table.sort table.unpack
math.abs math.acos math.asin math.atan math.atan2 math.ceil math.cos math.cosh math.deg math.exp math.floor math.fmod math.frexp math.huge math.ldexp math.log math.log10 math.max math.min math.modf math.pi math.pow math.rad math.random math.randomseed math.sin math.sinh math.sqrt math.tan math.tanh
bit32.arshift bit32.band bit32.bnot bit32.bor bit32.btest bit32.bxor bit32.extract bit32.lrotate bit32.lshift bit32.replace bit32.rrotate bit32.rshift

__fish_real_refine_rod
__get_empire_priv
__get_empire_priv_string
__get_guild_priv
__get_guild_priv_string
__get_guildid_byname
__give_char_priv
__give_empire_priv
__give_guild_priv
__refine_pick
add_bgm_info
add_goto_info
add_ox_quiz
addimage
addmapsignal
big_notice
big_notice_all
big_notice_in_map
block_chat
bool_to_str
c_item_name
c_mob_name
char_log
chat
clear_letter
clear_server_timer
clearmapsignal
cleartimer
cmdchat
color
color256
command
complete_quest
complete_quest_state
confirm
count_item_range
delay
drop_gamble_with_flag
enable_over9refine
find_npc_by_vnum
find_pc_by_aid
find_pc_by_name
find_pc_by_pid
find_pc_cond
get_channel_id
get_global_time
get_locale
get_locale_base_path
get_quest_state
get_random_vnum_from_table
get_server_timer_arg
get_special_item_group
get_time
get_time_remaining
get_today_count
getnpcid
giveup_quest
giveup_quest_menu
inc_today_count
input
input_number
is_destination_village
is_speed_server
is_test_server
item_index
item_log
item_name
kill_all_in_map
locale_index
loop_timer
make_quest_button
make_quest_button_ex
makequestbutton
mob_name
mob_vnum
multi_notice
newproxy
newstate
next_time_is_now
next_time_set
notice
notice_all
notice_in_map
notice_multiline
npc_get_job
npc_get_skill_teacher_race
npc_index
npc_is_same_empire
npc_is_same_job
number
pc_find_skill_teacher_vid
pc_find_square_guard_vid
pc_get_account_id
pc_get_exp_bonus
pc_get_village_map_index
pc_has_even_id
pc_index
pc_is_novice
purge_area
raw_script
regen_in_map
remove_item_range
resetcolor
resetdelay
restart_quest
return_charname_by_id
say
say_alen
say_important
say_important_title
say_in_map
say_item
say_item_vnum
say_item_vnum_inline
say_pc_name
say_reward
say_show_item
say_size
say_title
select_item
select_table
send_letter
send_letter_ex
server_loop_timer
server_timer
set_bgm_volume_enable
set_quest_state
set_skin
set_state
setbgimage
setcolor
setdelay
setleftimage
setmapcenterposition
setskin
setstate
settopimage
spawn_mob
store_charname_by_id
sys_err
sys_log
syschat
table_get_random_item
table_is_in
test_chat
time_hour_to_sec
time_min_to_sec
time_to_str
timer
trim
under_han
wait
warp_all_in_area_to_area
warp_all_to_village
warp_to_village

DragonLair affect arena ba building coroutine d dance_event ds forked game guild highscore horse item marriage member mgmt mining mob npc oh oxevent party pc pet q speedserver target village_map
DragonLair.startRaid
affect.add
affect.add_collect
affect.add_collect_point
affect.add_hair
affect.get_apply_on
affect.remove
affect.remove_all_collect
affect.remove_bad
affect.remove_collect
affect.remove_good
affect.remove_hair
arena.add_map
arena.add_observer
arena.get_duel_list
arena.is_in_arena
arena.start_duel
ba.start
building.get_land_id
building.get_land_info
building.has_land
building.reconstruct
building.set_land_owner
coroutine.create
coroutine.resume
coroutine.status
coroutine.wrap
coroutine.yield
d.all_near_to
d.check_eliminated
d.clear_regen
d.count_monster
d.delete_item_in_item_group_from_all
d.exit
d.exit_all
d.exit_all_by_item_group
d.exit_all_to_start_position
d.find
d.get_kill_mob_count
d.get_kill_stone_count
d.get_map_index
d.get_unique_vid
d.getf
d.getf_from_map_index
d.is_unique_dead
d.is_use_potion
d.join
d.jump_all
d.kill_all
d.kill_area
d.kill_unique
d.new_jump
d.new_jump_all
d.new_jump_all_guild
d.new_jump_guild
d.new_jump_party
d.notice
d.purge
d.purge_area
d.purge_unique
d.regen_file
d.revived
d.say_diff_by_item_group
d.select
d.set_dest
d.set_exit_all_at_eliminate
d.set_item_group
d.set_regen_file
d.set_unique
d.set_warp_at_eliminate
d.set_warp_location
d.setf
d.setqf
d.setqf2
d.spawn
d.spawn_goto_mob
d.spawn_group
d.spawn_mob
d.spawn_mob_ac_dir
d.spawn_mob_dir
d.spawn_move_group
d.spawn_move_unique
d.spawn_name_mob
d.spawn_stone_door
d.spawn_unique
d.spawn_wooden_door
d.unique_get_hp_perc
d.unique_set_def_grade
d.unique_set_hp
d.unique_set_maxhp
d.warp_all
dance_event.gohome
ds.give_qualification
ds.is_qualified
ds.open_refine_window
forked.get_pass_start_pos
forked.get_sungzi_start_pos
forked.getdeadcount
forked.getpassmapindexbyempire
forked.getpasspathbyempire
forked.getsungzimapindex
forked.initforked
forked.initkillcount
forked.is_registered_user
forked.isforkedmapindex
forked.issungzimapindex
forked.purge_all_monsters
forked.register_user
forked.setdeadcount
forked.warp_all_in_map
game.drop_item
game.drop_item_with_ownership
game.get_event_flag
game.get_safebox_level
game.open_mall
game.open_safebox
game.open_web_mall
game.request_make_guild
game.set_event_flag
game.set_safebox_level
guild.around_ranking_string
guild.change_master
guild.change_master_with_limit
guild.get_any_war
guild.get_ladder_point
guild.get_member_count
guild.get_name
guild.get_rank
guild.get_reserve_war_table
guild.get_warp_war_list
guild.high_ranking_string
guild.is_bet
guild.is_war
guild.level
guild.name
guild.war_bet
guild.war_enter
highscore.register
highscore.show
horse.advance
horse.feed
horse.get_grade
horse.get_health
horse.get_health_pct
horse.get_level
horse.get_name
horse.get_stamina
horse.get_stamina_pct
horse.is_dead
horse.is_mine
horse.is_riding
horse.is_summon
horse.revive
horse.ride
horse.set_level
horse.set_name
horse.summon
horse.unride
horse.unsummon
item.can_over9refine
item.change_to_over9
item.copy_and_give_before_remove
item.get_cell
item.get_count
item.get_id
item.get_level
item.get_level_limit
item.get_name
item.get_over9_material_vnum
item.get_refine_vnum
item.get_size
item.get_socket
item.get_sub_type
item.get_type
item.get_value
item.get_vnum
item.has_flag
item.next_refine_vnum
item.over9refine
item.remove
item.select
item.select_cell
item.set_socket
item.set_value
item.start_realtime_expire
marriage.end_wedding
marriage.engage_to
marriage.find_married_vid
marriage.get_married_time
marriage.get_wedding_list
marriage.in_my_wedding
marriage.join_wedding
marriage.remove
marriage.set_to_marriage
marriage.warp_to_my_marriage_map
marriage.wedding_client_command
marriage.wedding_dark
marriage.wedding_is_playing_music
marriage.wedding_music
marriage.wedding_snow
member.chat
member.clear_ready
member.set_ready
mgmt.monarch_change_lord
mgmt.monarch_state
mob.spawn
mob.spawn_group
npc.dec_remain_hairdye_count
npc.dec_remain_skill_book_count
npc.get_empire
npc.get_guild
npc.get_leader_vid
npc.get_race
npc.get_remain_hairdye_count
npc.get_remain_skill_book_count
npc.get_vid
npc.get_vid_attack_mul
npc.get_vid_damage_mul
npc.getrace
npc.is_near
npc.is_near_vid
npc.is_pc
npc.is_quest
npc.kill
npc.lock
npc.open_shop
npc.purge
npc.set_vid_attack_mul
npc.set_vid_damage_mul
npc.unlock
oh.info
oh.isguildmaster
oh.ismonarch
oh.monarch_mob
oh.monarchbless
oh.monarchdefenseup
oh.monarchpowerup
oh.notice
oh.spawnguard
oh.spawnmob
oh.takemonarchmoney
oh.transfer
oh.transfer2
oh.warp
oxevent.close
oxevent.end_event
oxevent.end_event_force
oxevent.get_attender
oxevent.get_status
oxevent.give_item
oxevent.open
oxevent.quiz
party.chat
party.clear_ready
party.get_leader_pid
party.get_max_level
party.get_member_pids
party.get_near_count
party.getf
party.give_buff
party.is_in_dungeon
party.is_leader
party.is_map_member_flag_lt
party.is_party
party.run_cinematic
party.setf
party.setqf
party.show_cinematic
party.syschat
pc.aggregate_monster
pc.can_warp
pc.change_alignment
pc.change_empire
pc.change_gold
pc.change_money
pc.change_name
pc.change_sex
pc.change_sp
pc.changealignment
pc.changegold
pc.changemoney
pc.charge_cash
pc.clear_one_skill
pc.clear_skill
pc.clear_sub_skill
pc.count_item
pc.countitem
pc.dec_skill_point
pc.delqf
pc.destroy_guild
pc.diamond_refine
pc.enough_inventory
pc.forget_my_attacker
pc.get_account
pc.get_account_id
pc.get_alignment
pc.get_armor
pc.get_change_empire_count
pc.get_channel_id
pc.get_dx
pc.get_empire
pc.get_empty_inventory_count
pc.get_equip_refine_level
pc.get_exp
pc.get_exp_level
pc.get_gm_level
pc.get_gold
pc.get_guild
pc.get_horse_level
pc.get_hp
pc.get_ht
pc.get_informer_item
pc.get_informer_type
pc.get_iq
pc.get_job
pc.get_killee_drop_pct
pc.get_leadership
pc.get_level
pc.get_local_x
pc.get_local_y
pc.get_logoff_interval
pc.get_map_index
pc.get_max_hp
pc.get_max_sp
pc.get_money
pc.get_name
pc.get_next_exp
pc.get_part
pc.get_player_id
pc.get_playtime
pc.get_premium_remain_sec
pc.get_race
pc.get_real_alignment
pc.get_sex
pc.get_sig_items
pc.get_skill_group
pc.get_skill_level
pc.get_skill_point
pc.get_socket_items
pc.get_sp
pc.get_special_ride_vnum
pc.get_st
pc.get_start_location
pc.get_vid
pc.get_war_map
pc.get_weapon
pc.get_wear
pc.get_x
pc.get_y
pc.getarmor
pc.getcurrentmapindex
pc.getempire
pc.getf
pc.getgold
pc.getguild
pc.gethp
pc.getleadership
pc.getmaxhp
pc.getmaxsp
pc.getmoney
pc.getname
pc.getplaytime
pc.getqf
pc.getsp
pc.getweapon
pc.getx
pc.gety
pc.give_award
pc.give_award_socket
pc.give_exp
pc.give_exp2
pc.give_exp_perc
pc.give_gold
pc.give_item
pc.give_item2
pc.give_item2_select
pc.give_item_from_special_item_group
pc.give_lotto
pc.give_poly_marble
pc.give_polymorph_book
pc.has_guild
pc.has_master_skill
pc.hasguild
pc.have_map_scroll
pc.have_pos_scroll
pc.in_dungeon
pc.is_clear_skill_group
pc.is_dead
pc.is_engaged
pc.is_engaged_or_married
pc.is_gm
pc.is_guild_master
pc.is_horse_alive
pc.is_married
pc.is_mount
pc.is_near_vid
pc.is_polymorphed
pc.is_riding
pc.is_skill_book_no_delay
pc.isguildmaster
pc.learn_grand_master_skill
pc.mining
pc.mount
pc.mount_bonus
pc.ore_refine
pc.pc_attract_ranger
pc.polymorph
pc.refine_equip
pc.remove_from_guild
pc.remove_item
pc.remove_polymorph
pc.remove_skill_book_no_delay
pc.removeitem
pc.reset_point
pc.reset_status
pc.revive_horse
pc.save_exit_location
pc.select
pc.send_block_mode
pc.set_change_empire_count
pc.set_dx
pc.set_ht
pc.set_iq
pc.set_level
pc.set_part
pc.set_skill_group
pc.set_skill_level
pc.set_skill_point
pc.set_st
pc.set_warp_location
pc.set_warp_location_local
pc.setf
pc.setqf
pc.teleport
pc.unmount
pc.upgrade_polymorph_book
pc.warp
pc.warp_exit
pc.warp_local
pc.warp_to_guild_war_observer_position
pet.count_summoned
pet.is_summon
pet.spawn_effect
pet.summon
pet.unsummon
q.begin_other_pc_block
q.done
q.end_other_pc_block
q.getcurrentquestindex
q.no_send
q.set_clock
q.set_clock_name
q.set_clock_value
q.set_counter
q.set_counter_name
q.set_counter_value
q.set_icon
q.set_state
q.set_title
q.set_title2
q.setstate
q.start
q.yield
speedserver.get_current_exp_priv
speedserver.get_holiday
speedserver.get_wday
speedserver.init_holiday
speedserver.init_wday
speedserver.set_holiday
speedserver.set_wday
target.clear
target.delete
target.id
target.npc
target.pc
target.pos
target.vid
</Keywords>
<Keywords name="type2">
openfile closefile readfrom writeto appendto tmpfile

close flush lines read seek setvbuf write clock date difftime execute exit getenv remove rename setlocale time tmpname
coroutine.create coroutine.resume coroutine.running coroutine.status coroutine.wrap coroutine.yield
io.close io.flush io.input io.lines io.open io.output io.popen io.read io.tmpfile io.type io.write io.stderr io.stdin io.stdout
os.clock os.date os.difftime os.execute os.exit os.getenv os.remove os.rename os.setlocale os.time os.tmpname
debug.debug debug.getfenv debug.gethook debug.getinfo debug.getlocal debug.getmetatable debug.getregistry debug.getupvalue debug.getuservalue debug.setfenv debug.sethook debug.setlocal debug.setmetatable debug.setupvalue debug.setuservalue debug.traceback debug.upvalueid debug.upvaluejoin
package.cpath package.loaded package.loaders package.loadlib package.path package.preload package.seeall

click kill timer levelup login logout button info chat in out use server_timer enter leave letter take target party_kill unmount pick sig_use item_informer
</Keywords>
</Language>


Utána nincs más dolgod mint elmenteni és ha mindent jól csináltál azt az eredményt kapod amit én.

Forrás: https://github.com/martysama0134/
EhPortal 1.39 © 2025, WebDev