Céh alapítás probléma

Indította ddani700, 2019-02-25, 22:06:24

Sziasztok!

Nem tudom hogy miért de nem enged céhet csinálni pedig régen lehetett és nem módosítottam a questen.
Ez van a szerverben:
guild_manage.quest
quest guild_manage begin
state start begin
when 11000.chat."Céh elhagyása" or 11002.chat."Céh elhagyása" or 11004.chat."Céh elhagyása" with pc.hasguild() and not pc.isguildmaster() and (pc.is_gm() or npc.empire == pc.empire) begin
say_title("Őr:")
say("")
say("Cserben hagynád bajtársaidat?!")
say("Ha valóban szeretnéd, hogy kihúzzalak a céhből")
say("számolnod kell a következményekkel..")
say("Egy bizonyos ideig nem fogsz tudni új céhbe lépni")
say("vagy saját céhet alapítani!")
say("")
say_reward("Akarod, hogy eltávolítsalak a céhből?")
local s = select("Igen", "Nem")
if s==1 then
local guild = pc.get_guild()
say(string.format("Ki lettél léptetve a %d céhből!", guild))
pc.remove_from_guild()
pc.setqf("new_withdraw_time",get_global_time())
elseif s==2 then
say_title("Őr:")
say("Bölcs döntés.")
end
end

when 11000.chat."Céh feloszlatása" or 11002.chat."Céh feloszlatása" or 11004.chat."Céh feloszlatása" with pc.hasguild() and pc.isguildmaster() and (pc.is_gm() or npc.empire == pc.empire) begin
say_title("Őr:")
say("Micsoda?![DELAY value;150]        [/DELAY]")
say("Valóban oszlatni kívánod céhed?")
say("Jól gondolt át mit kívánsz..")
say("Remélem tudod mit csinálsz.")
say("")
say_reward("Akarod, hogy feloszlassam a céhed?")
local s = select("Igen", "Nem")
if s==1 then
local guild = pc.get_guild()
say_title("Őr:")
say_reward(string.format("Felszlattad a %d nevű céhedet!", guild))
pc.destroy_guild()
pc.setqf("new_disband_time",get_global_time())
pc.setqf("new_withdraw_time",get_global_time())
elseif s==2 then
say_title("Őr:")
say("Hál' Isten!")
say("Tudtam, hogy meggondolod magad!")
end
end

when 11000.chat."Céh alapítás" or 11002.chat."Céh alapítás" or 11004.chat."Céh alapítás" with (pc.is_gm() or npc.empire == pc.empire) and not pc.hasguild() begin
local level_limit;
local guild_create_item

if get_locale() == "euckr" then
level_limit = 40
guild_create_item = false
else
level_limit = 40
guild_create_item = false
end

if pc.hasguild() then
return
end

if game.get_event_flag("guild_withdraw_delay")*86400 > get_global_time() - pc.getqf("new_withdraw_time") then
say(string.format("Te még %d Napig nem alapíthatsz saját céhet,[ENTER]hiszen nem telt le a szükséges várakozási idő.", 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("Te még %d Napig nem alapíthatsz saját céhet,[ENTER]hiszen nem telt le a szükséges várakozási idő.", game.get_event_flag("guild_withdraw_delay")))
return
end

say_title("Őr")
say("Létre szeretnél hozni egy céhet?")
say("A céh alapításnak vannak szabályai.")
say("Mégpediglen minimum 40 Szinten kell, hogy legyél,")
say("és szükséges még 20.000 Yang a megalapításához!")
say("")
say_reward("Akarod, hogy létrehozzam neked a céhet?")
local s = select("Igen", "Nem")
if s == 2 then
return
end

if pc.level >= level_limit then
if pc.gold >= 20000 then
if not guild_create_item or pc.countitem(guild_create_item)>0 then
game.request_make_guild()
else
say("Nincs nálad a szükséges tárgy!")
end
else
say("Nincs elég Yangod a céh létrehozásához!")
end
else
say("A te Szinted túl alacsony még ehhez!")
end
end
end
end

Ez minek van benne mégegyszer?  :o

if pc.hasguild() then
return
end

Ha kiszedem akkor sem működik. :/
Mert mikor beírnám a céh nevét majd ok és nem történik semmi.


Nem ír semmit viszont ezzel van tele a game99 sysser:
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 632, 19) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 634, 52) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 635, 74) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 636, 22) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 691, 674) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 702, 80) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 703, 383) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 704, 2392) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 705, 1927) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 706, 1273) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 707, 516) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 2102, 2) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 2103, 200) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 2104, 327) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 2106, 648) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 2107, 455) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 2108, 1298) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 1, 8009, 158) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 2, 27102, -2500) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 2, 70038, -1000) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 8, 2130, 1) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 8, 11250, 1) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 8, 27002, 36) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 8, 28234, 1) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 8, 50070, 1) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 8, 50513, 1) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 8, 80200, 8) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 8, 80201, 8) errno: 1136)
SYSERR: Oct  4 05:58:47 :: ChildLoop: AsyncSQL: query failed: Column count doesn't match value count at row 1 (query: INSERT DELAYED INTO money_log VALUES (NOW(), 8, 80300, 4) errno: 1136)


a Channel 1 sysser:
SYSERR: Oct  4 02:55:35 :: ChildLoop: AsyncSQL: query failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: INSERT INTO quest_reward_log VALUES('antiexp',57707,105,2,0,0,NOW()) errno: 2002)
SYSERR: Oct  4 02:55:35 :: ChildLoop: AsyncSQL: retrying
SYSERR: Oct  4 02:55:36 :: ChildLoop: AsyncSQL: query failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: INSERT INTO quest_reward_log VALUES('antiexp',57707,105,2,0,0,NOW()) errno: 2002)
SYSERR: Oct  4 02:55:36 :: ChildLoop: AsyncSQL: retrying
SYSERR: Oct  4 02:55:36 :: ChildLoop: AsyncSQL: query failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: INSERT INTO quest_reward_log VALUES('antiexp',57707,105,2,0,0,NOW()) errno: 2002)
SYSERR: Oct  4 02:55:36 :: ChildLoop: AsyncSQL: retrying
SYSERR: Oct  4 02:55:37 :: ChildLoop: AsyncSQL: query failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: INSERT INTO quest_reward_log VALUES('antiexp',57707,105,2,0,0,NOW()) errno: 2002)
SYSERR: Oct  4 02:55:37 :: ChildLoop: AsyncSQL: retrying
SYSERR: Oct  4 02:55:37 :: ChildLoop: AsyncSQL: query failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: INSERT INTO quest_reward_log VALUES('antiexp',57707,105,2,0,0,NOW()) errno: 2002)
SYSERR: Oct  4 02:55:37 :: ChildLoop: AsyncSQL: retrying
SYSERR: Oct  4 02:55:37 :: ChildLoop: AsyncSQL: query failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: INSERT INTO quest_reward_log VALUES('antiexp',57707,105,2,0,0,NOW()) errno: 2002)
SYSERR: Oct  4 02:55:37 :: ChildLoop: AsyncSQL: retrying
SYSERR: Oct  4 02:55:38 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
SYSERR: Oct  4 02:55:38 :: ChildLoop: AsyncSQL: query failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: INSERT INTO quest_reward_log VALUES('antiexp',57707,105,2,0,0,NOW()) errno: 2002)
SYSERR: Oct  4 02:55:38 :: ChildLoop: AsyncSQL: retrying
SYSERR: Oct  4 02:55:38 :: ChildLoop: AsyncSQL: query failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: INSERT INTO quest_reward_log VALUES('antiexp',57707,105,2,0,0,NOW()) errno: 2002)
SYSERR: Oct  4 02:55:38 :: ChildLoop: AsyncSQL: retrying
SYSERR: Oct  4 02:55:38 :: ChildLoop: AsyncSQL: query failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: INSERT INTO quest_reward_log VALUES('antiexp',57707,105,2,0,0,NOW()) errno: 2002)
SYSERR: Oct  4 02:55:38 :: ChildLoop: AsyncSQL: retrying
SYSERR: Oct  4 02:55:38 :: ChildLoop: AsyncSQL: query failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: INSERT INTO quest_reward_log VALUES('antiexp',57707,105,2,0,0,NOW()) errno: 2002)
SYSERR: Oct  4 02:55:38 :: ChildLoop: AsyncSQL: retrying
SYSERR: Oct  4 02:55:38 :: ChildLoop: AsyncSQL: query failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (query: INSERT INTO quest_reward_log VALUES('antiexp',57707,105,2,0,0,NOW()) errno: 2002)
SYSERR: Oct  4 02:55:38 :: ChildLoop: AsyncSQL: retrying
SYSERR: Oct  4 03:02:26 :: Process: SEQUENCE 2880d500 mismatch 0xaf != 0x0 header 254
SYSERR: Oct  4 03:02:26 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]

SYSERR: Oct  4 05:10:56 :: Process: SEQUENCE 45f61b00 mismatch 0xaf != 0x0 header 254
SYSERR: Oct  4 05:10:56 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]

SYSERR: Oct  4 05:12:32 :: Process: SEQUENCE 45f46800 mismatch 0xaf != 0x0 header 254
SYSERR: Oct  4 05:12:32 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]

SYSERR: Oct  4 05:12:49 :: Process: SEQUENCE 45f43800 mismatch 0xaf != 0x0 header 254
SYSERR: Oct  4 05:12:49 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]

SYSERR: Oct  4 05:17:58 :: Process: SEQUENCE 45f40e00 mismatch 0xaf != 0x0 header 254
SYSERR: Oct  4 05:17:58 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]

SYSERR: Oct  4 05:18:51 :: Process: SEQUENCE 45ec0e00 mismatch 0xaf != 0x0 header 254
SYSERR: Oct  4 05:18:51 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]

SYSERR: Oct  4 05:46:50 :: Process: SEQUENCE 463e1800 mismatch 0xaf != 0x0 header 254
SYSERR: Oct  4 05:46:50 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]

SYSERR: Oct  4 05:56:50 :: Process: SEQUENCE 3837c800 mismatch 0xaf != 0x0 header 254
SYSERR: Oct  4 05:56:50 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]

SYSERR: Oct  4 05:56:54 :: Process: SEQUENCE 38379e00 mismatch 0xaf != 0x0 header 254
SYSERR: Oct  4 05:56:54 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]

SYSERR: Oct  4 06:31:56 :: Process: SEQUENCE 45f5ee00 mismatch 0xaf != 0x0 header 254
SYSERR: Oct  4 06:31:56 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
[254 : 0xaf]