Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Pytanie] Jak zwiększyć MAX.LVL


Rekomendowane odpowiedzi

Opublikowano

Siemka, powiecie mi gdzie zwiększyć max lvl od któego można zakłądać gildie?

//Nieregulaminowa sygnatura.

Miyoshi

Opublikowano

w queście guild_manage.quest

 

Jeżeli go nie masz to proszę:

 

 

quest guild_manage begin
state start begin
when guild_man1.chat."GM: Ogranicz." or
guild_man2.chat."GM: Ogranicz." or
guild_man3.chat."GM: Ogranicz."
with pc.is_gm() begin
say("Wpisz nazwę osoby, którą chcesz ograniczyć!")
local u_name = input()
local u_vid=find_pc_by_name(u_name)
if u_vid==0 then
say_title("Gracza takiego jak:")
say_reward(u_name)
say_title("nie ma!")
return
end
local old_vid = pc.select(u_vid)
u_withdrawTime=pc.getqf("new_withdraw_time")
u_disbandTime=pc.getqf("new_disband_time")
pc.select(old_vid)
withdrawDelay=game.get_event_flag("guild_withdraw_delay")
disbandDelay=game.get_event_flag("guild_disband_delay")
say_title("˝T»{ĄiĄH¦AĄ[¤JŞş¤é´Á")
if u_withdrawTime>0 then
say("˛ćÂ÷ ®É¶ˇ: "..time_to_str(u_withdrawTime))
say("(µĄ«Ý ®É¶ˇ: "..withdrawDelay.." ¤é)")
say("")
end
if u_disbandTime>0 then
say("¸Ń´˛ ®É¶ˇ: "..time_to_str(u_disbandTime))
say("(µĄ«Ý ®É¶ˇ: "..disbandDelay.." ¤é)")
say("")
end
local retryTime1 = u_withdrawTime + withdrawDelay*86400
local retryTime2 = u_disbandTime + disbandDelay*86400
local retryTime = 0
if retryTime1 > retryTime2 then
retryTime = retryTime1
else
retryTime = retryTime2
end
local curTime = get_time()
if curTime < retryTime then
say("­«·sł]©w ®É¶ˇ: "..time_to_str(retryTime))
say("(łŃ¤U : "..((retryTime-curTime)/3600).."®É¶ˇ)")
say("")
if is_test_server() then
local s=select("­«·sł]©w", "Ăöł¬")
if s==1 then
local old_vid = pc.select(u_vid)
local curTime=get_time()
pc.setqf("new_withdraw_time", curTime-withdrawDelay*86400)
pc.setqf("new_disband_time", curTime-disbandDelay*86400)
pc.select(old_vid)
end
end
else
say("˛{¦bĄiĄHĄ[¤J");
say("")
end
end
when guild_man1.chat."GM: Sprawdź." or
guild_man2.chat."GM: Sprawdź." or
guild_man3.chat."GM: Sprawdź."
with pc.is_gm() begin
setskin(NOWINDOW)
chat("Ma gildię: "..bool_to_str(pc.has_guild()))
chat("Jest mistrzem: "..bool_to_str(pc.isguildmaster()))
chat("Królestwo: "..pc.empire)
chat("Królestwo NPC: "..npc.empire)
end
when guild_man1.chat.locale.guild.withdraw or
guild_man2.chat.locale.guild.withdraw or
guild_man3.chat.locale.guild.withdraw
with pc.hasguild() and not pc.isguildmaster() and (pc.is_gm() or npc.empire == pc.empire) begin
say(locale.guild.withdraw_confirm)
local s = select(locale.guild.yes, locale.guild.no)
if s==1 then
say(locale.guild.withdraw_msg)
pc.remove_from_guild()
pc.setqf("new_withdraw_time",get_global_time())
end
end
when guild_man1.chat.locale.guild.disband or
guild_man2.chat.locale.guild.disband or
guild_man3.chat.locale.guild.disband
with pc.hasguild() and pc.isguildmaster() and (pc.is_gm() or npc.empire == pc.empire) begin
say(locale.guild.disband_confirm)
local s = select(locale.guild.yes, locale.guild.no)
if s==1 then
say(locale.guild.disband_msg)
pc.destroy_guild()
pc.setqf("new_disband_time",get_global_time())
pc.setqf("new_withdraw_time",get_global_time())
end
end
when guild_man1.chat."Stwórz gildię." or
guild_man2.chat."Stwórz gildię." or
guild_man3.chat."Stwórz gildię."
with (pc.is_gm() or npc.empire == pc.empire) begin
local level_limit;
local guild_create_item
if get_locale() == "eng" then
level_limit = 40
guild_create_item = false
else
level_limit = 30
guild_create_item = false
end
if pc.hasguild() then
say("Nie możesz stworzyć gildii, posiadasz już swoją!")
return
end
if game.get_event_flag("guild_withdraw_delay")*86400 > get_global_time() - pc.getqf("new_withdraw_time") then
say(string.format("Musisz odczekać %d dzień zanim założysz gildię!", game.get_event_flag("guild_withdraw_delay")))
return
end
if game.get_event_flag("guild_disband_delay")*86400 > get_global_time() - pc.getqf("new_disband_time") then
say(string.format("§A¤w¸g¸Ń´˛¤˝·¤F! %d ¤ŃĄH¤ş, µLŞk«ŘĄß¨äĄLŞş¤˝·.", game.get_event_flag("guild_disband_delay")))
return
end
say(locale.guild.create_confirm)
local s = select(locale.guild.yes, locale.guild.no)
if s == 2 then
return
end
if pc.level >= level_limit then
if pc.gold >= 200000 then
if not guild_create_item or pc.countitem(guild_create_item)>0 then
game.request_make_guild()
else
say(locale.guild.no_guild_create_item)
end
else
say(locale.guild.create_not_enough_money)
end
else
say(locale.guild.not_enough_leadership)
end
end
end
end

 

 

 

Tutaj masz level_limit = 40 i tutaj właśnie zmieniasz.

tumblrmg54dr4jlx1qfspoc.jpg


Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...