Yardım Oyuncu adına özel quest

Konu sahibi bu konuda soru soruyor. Sorusu ile ilgili bilgisi olanların yanıtlamasını bekliyor.

maxbro

[GM]MaxBro
MT Üye
Mesaj
514
Çözümler
19
Beğeni
352
Puan
819
Ticaret Puanı
0
Selamün aleyküm cümleten. Bir quest yapmak istiyorum aslında çok basit bir quest. Belirli id'ye(isme) sahip oyuncu öldüğünde üstten yazı geçmesini istiyorum. Daha önce hiç quest yapmadım fikir ve önerilerinizi bekliyorum. İlerleyen zamanlarda öğrenme amaçlı daha çok quest yapmak istiyorum. Şimdiden herkese teşekkürler.
 
Şöyle bir komut yazdım fakat çalıştıramadım. Sorun nerededir acaba bakabilir misiniz
Lua (Quest):
quest quest_savas begin
    state start begin
        when dead begin
        if pc.get_name() == "ImmortaL" then
           
            notice_all("bilgilendirme deneme1234!")
            end
        end
       
    end
end
 
when dead begin yazmışsınız ancak hatırladığım kadarıyla dead adında bir şey tanımlı değil oyuna. Bu yüzden çalışmayacaktır. :(
 
quest klasörünün içindeki quest_functions dosyasından aldım komutu. orada diğer questlerde kullanılan bütün komutlar mevcut. konsoldan quest dosyasını okuttuktan sonra .start dosyasına gelen komutlar şu şekilde

quest_savas.start:
if pc . is_dead ( ) == "ImmortaL" then
notice_all ( "bilgilendirme deneme1234!" )
end
quest_functions dosyasındaki komutlar da şu şekilde

quest_functions:
lottery_clear_tickets
lottery_get_winners
pc.change_bead
pc.get_bead
Easter2020DungeonLIB.CreateDungeon
Easter2020DungeonLIB.Settings
Easter2020DungeonLIB.checkEnter
Easter2020DungeonLIB.setOutCoords
Easter2020DungeonLIB.clearDungeon
Easter2020DungeonLIB.clearTimers
pc.learn_sage_master_skill
party.set_party_flag
pc.remove_turn_back_dungeon
d.toplamob
dungeon_get_duration
pc.open_gem_shop
pc.open_aura
d.zodiac_notice
d.zodiac_notice_clear
say_reward_center
say_center
say_title_center
pc.aura_panel_yukselt
pc.aura_panel_gelistir
pc.aura_panel_bonus_emis
d.big_notice
game.open_cheque
game.open_cheque_market
d.cmdchat
pc.ishack
big_notice_all
d.close_mast_hp_all
d.del_unique
d.give_item
d.is_unique_dead_2
d.regen_only_file
d.set_mast_hp
d.start_mast_hp_all
d.unique_get_hp_perc_int
d.warp_all_mapindex
npc.get_vid_hp
npc.get_vid_max_hp
party.get_member_count
defance_wawe.Clear
d.purge_vid
d.set_victim_mast
d.get_mast
split
dungeonLib.update
dungeonLib.update_ranking
dungeonLib.get_rank
dungeonLib.update_rank
pc.get_last_damage
game.open_mailbox
__fish_real_refine_rod
__get_empire_priv_string
__get_guild_priv_string
__get_guildid_byname
__give_char_priv
__give_empire_priv
__give_guild_priv
__refine_pick
DragonLair.OpenRanking
snow_dungeon.get_settings
game.open_gaya
game.open_gaya_market
pc.send_effect
pc.open_changelook
pc.kule_kontrol
genel_veri
tablo_kontrol
pc.offline_shop_engel
change_empire.move_pc
pc.change_sex_degisemen
pc.set_title
pc.get_title
mysql_query10
item.set_socket2
group_match.ayarlar_giris
group_match.ayarlar_itemler
group_match.ayarlar_itemler_count
group_match.is_send_shout
group_match.is_new_need_items
group_match.dungeon_name
group_match.giris_levelleri
group_match.ayarlar_kayitlar
achievement_manager.on_participatepvpevent
achievement_manager.on_winpvpevent
pvp_manager_callback
item2.set_attr
pc.get_move_speed
pc.change_race
pc.theprnce_alisveris_kontrol
theprnce_pazar_log
theprnce_pazar_log_gui
theprnce_ticaret_gecmis
guild.master_online
guild.get_member_count
split
pc.block_exp
pc.unblock_exp
pc.is_busy
mysql_direct_query
oxevent.gorunmezol
item.get_attr_type
item.get_attr_value
item.set_attribute
pc.change_cheque
pc.get_cheque
pc.ejder_kontrol
seek
npc.get_vid
find
sub
close
flush
io.open
lines
write
pc2.give_or_drop_item_and_select
string.find
os.remove
item.set_attribute
item.get_attribute_type
item.get_attribute_value
read
io.write
io.output
io.flush
io.close
game.mysql_query
game.mysql_query2
pc.theprnce_hapis_go
global_getvarchar
global_setvarchar
pc.arena_baslat
pc.arena_hemen_dog
pc.arena_killer_mode
pc.arena_online
temple_ochao.initialize
pc.get_okay_global_rank
pc.get_okay_rund_rank
mysql_query
notice_big
pc.warp_as_observer
game.drop_item_and_select
addimage
addmapsignal
item.get_evolution
item.set_evolution
pc.get_weapon_id
seek
npc.get_vid
find
sub
pc2.give_or_drop_item_and_select
string.find
os.remove
item.set_attribute
item.get_attribute_type
item.get_attribute_value
read
io.write
io.output
io.flush
io.close
affect.add
affect.add_collect
affect.add_collect_point
affect.add_hair
affect.get_apply_on
affect.get_apply_value
affect.remove
affect.remove_all_collect
affect.remove_bad
affect.remove_collect
affect.remove_good
affect.remove_hair
arena.add_observer
arena.get_duel_list
arena.is_in_arena
arena.start_duel
bool_to_str
building.get_land_id
building.get_land_info
building.has_land
building.reconstruct
building.set_land_owner
BuildSkillList
char_log
chat
clear_letter
clear_server_timer
clearmapsignal
cleartimer
cmdchat
color
command
complete_quest
complete_quest_state
confirm
count_item_range
d.check_eliminated
d.clear_regen
d.count_monster
d.delete_item_from_all
bourse_is.give_bonus_cash
d.delete_item_in_item_group_from_all
d.exit
d.exit_all
d.exit_all_by_item
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.jump_all_local
d.kill_all
d.kill_all_mob
d.kill_unique
d.new_jump
d.new_jump_all
d.new_jump_party
d.notice
d.purge
d.purge_area
d.purge_unique
d.regen_file
d.revived
d.say_diff_by_item
d.say_diff_by_item_group
d.select
d.set_dest
d.set_exit_all_at_eliminate
d.set_group_flag
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
delay
drop_gamble_with_flag
ds.give_qualification
ds.is_qualified
ds.open_refine_window
find_evidence_npcChat
find_npc_by_vnum
find_pc_by_name
find_pc_cond
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_guild_name
game.get_safebox_level
game.get_warp_guild_war_list
game.open_mall
game.open_safebox
game.open_web_mall
game.request_make_guild
game.set_event_flag
game.set_safebox_level
get_channel_id
get_global_time
get_locale
get_map_name_by_number
get_quest_state
get_random_vnum_from_table
get_server_timer_arg
get_start_mapindex
get_start_pos_X
get_start_pos_Y
get_time
get_time_remaining
get_today_count
goldbar.quest
guild.around_ranking_string
guild.change_master
guild.change_master_with_limit
guild.get_any_war
guild.get_ladder_point
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_hp
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
inc_today_count
initSkel
input
input_number
ipairs
is_allow_map
is_destination_village
is_test_server
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_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.remove
item.select
item.select_cell
item.select_bk_cell
item.set_socket
item.set_value
item.start_realtime_expire
item_name
kill_all_in_map
loop_timer
makequestbutton
marriage.divorce_time_check
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.marry_to
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
math.ceil
math.floor
math.max
math.min
math.mod
math.random
member.chat
member.clear_ready
member.set_ready
mob.spawn
mob.spawn_group
mob_name
mob_vnum
moreinfo_npcChat
next_time_is_now
next_time_set
notice
notice_all
notice_in_map
notice_multiline
npc.dec_remain_hairdye_count
npc.dec_remain_skill_book_count
npc.get_empire
npc.get_guild
npc.get_race
npc.get_remain_hairdye_count
npc.get_remain_skill_book_count
npc.get_vid
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
npc_get_job
npc_is_same_empire
npc_is_same_job
number
oh.candidacy
oh.candidacy_list
oh.candidacy_name
oh.candidacycount
oh.election
oh.isguildmaster
oh.takemonarchmoney
os.date
os.time
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_near_count
party.getf
party.give_buff
party.is_in_dungeon
party.is_leader
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_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.delqf
pc.destroy_guild
pc.diamond_refine
pc.enough_inventory
pc.forget_my_attacker
pc.get_account_id
pc.get_alignment
pc.get_armor
pc.get_change_empire_count
pc.get_channel_id
pc.get_empire
pc.get_equip_refine_level
pc.get_exp
pc.get_gm_level
pc.get_gold
pc.get_guild
pc.get_horse_level
pc.get_hp
pc.get_job
pc.get_killee_drop_pct
pc.get_leadership
pc.get_level
pc.get_local_x
pc.get_local_y
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_sp
pc.get_special_ride_vnum
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_exp
pc.give_exp_perc
pc.give_exp2
pc.give_gold
pc.give_item
pc.give_item_from_special_item_group
pc.give_item2
pc.give_item2_select
pc.give_lotto
pc.give_poly_marble
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_gm
pc.is_guild_master
pc.is_horse_alive
pc.is_married
pc.is_mount
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.select
pc.send_block_mode
pc.set_change_empire_count
pc.set_part
pc.set_skill_group
pc.set_warp_location
pc.set_warp_location_local
pc.setf
pc.setqf
pc.teleport
pc.unmount
pc.warp
pc.warp_exit
pc.warp_local
pc.warp_to_guild_war_observer_position
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_account_id
pc_has_even_id
pc_is_novice
pet.count_summoned
pet.is_summon
pet.spawn_effect
pet.summon
pet.unsummon
purge_area
q.done
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_quest_state
q.set_state
q.set_title
q.set_title2
q.setstate
q.start
q.yield
randomSkel
raw_script
regen_in_map
remove_item_range
resetdelay
restart_quest
return_charname_by_id
say
say_orange
say_auriu
say_important
say_important_title
say_in_map
say_item
say_item_vnum
say_item_vnum_inline
say_npc_name
say_pc_name
say_reward
say_show_item
say_size
say_title
select
select_item
select_table
send_letter
send_letter_ex
server_loop_timer
server_timer
set_quest_state
set_state
setbgimage
setcolor
setdelay
setleftimage
setmapcenterposition
setskin
setstate
show_horse_menu
skill_group_dialog
store_charname_by_id
string.find
string.format
string.gsub
string.len
string.lower
sys_log
syschat
table.foreach
table.foreachi
table.getn
table.insert
table_get_random_item
target.clear
target.delete
target.id
target.npc
target.pc
target.pos
target.vid
test_chat
time_hour_to_sec
time_min_to_sec
time_to_str
timer
tonumber
tostring
trim
type
under_han
updateSkel
wait
warp_all_except_my_empire_in_map
warp_all_in_area_to_area
warp_all_in_map
warp_all_my_empire_in_map
warp_all_to_village
warp_all_to_village_except_my_empire
warp_to_village
party.is_map_member_flag_lt
party.get_member_pids
q.begin_other_pc_block
q.end_other_pc_block
get_special_item_group
color256
cube_open
LoadStage
purge
LoadGates
NoticeTime
GetPillarID
LoadStage()
purge()
LoadGates()
NoticeTime()
GetPillarID()
FUNCTION LoadStage()
FUNCTION purge()
FUNCTION LoadGates()
FUNCTION NoticeTime()
FUNCTION GetPillarID()
blazingpurgatory.purge()
blazingpurgatory.LoadStage()
blazingpurgatory.LoadGates()
devilcatacomb_zone.is_dc2_doors_clear
devilcatacomb_zone.setting
devilcatacomb_zone.spawn_doors
get_locale_base_path
say_gold
say_white
say_blue
say_red
say_green
say_black
say_yellow
say_blue2
rasa
getRegat
ath_func
pc.get_empty_inventory_count
ap_md
say_gm_title
say_gm
getLevelByCord
isInCatacomb
get3FloorStonePositions
getTimeLeft
plusare_putere
citire_puncte_putere
timp_putere
citire_baraputere
bara_putere
resetare_putere
pc.is_near_vid
pc.set_skill_level
PetSystem.IsPetLevel
pc.change_name
setvarchar
getvarchar
BugReport.Report
bayrak_liste
cinsiyet
karakter
Aciklama
BeceriAdlari
IslemBasarili
Lycan
YetenekDenetim
YetenekTam
yg.Aciklama
yg.IslemBasarili
yg.Lycan
yg.YetenekDenetim
yg.YetenekTam
yg.beceriAdlari
newpet.getevo
newpet.getlevel
newpet.increaseevo
newpet.increaseskill
newpet.restorepet
newpet.EggRequest
newpet.count_summoned
newpet.is_summon
newpet.summon
newpet.unsummon
vMbr0xoyZgyp.config
table.remove
LIB_duration
say_npc
string.sub
os.execute
mysql_direct_query2
pc.disconnect_with_delay
npc.get_level
chat_sari
pc.is_exchange
MeleyLair.GetRequirments
MeleyLair.GetPartecipantsLimit
MeleyLair.GetSubMapIndex
MeleyLair.Register
MeleyLair.IsRegistered
MeleyLair.Enter
MeleyLair.IsMeleyMap
MeleyLair.Check
MeleyLair.Leave
MeleyLair.CanGetReward
MeleyLair.Reward
MeleyLair.OpenRanking
supports.count_summoned
supports.is_summon
supports.spawn_effect
supports.summon
supports.unsummon
pc.is_offline_shop
say_mavi
say_mavi2
say_kirmizi
say_yesil
say_altin
say_siyah
say_beyaz
say_sari
zodiac_temple.starttemple
zodiac_temple.startlogin
zodiac_temple.new_floor
zodiac_temple.setflag
zodiac_temple.getflag
pc.set_animasfer
pc.get_animasfer
pc.start_animasfer
pc.go_home
pc.efsunver
pc.give_and_equip_item
pc.itemver
pc.set_level
newpet.resetskill


en basitinden pc.get_name gibi komutlar barındırıyor. mantık olarak bu kodları questlerimizde kullanabilmemiz gerekiyor
 
Geri
Üst