Hey! I install this sytem Bitte melden Sie sich an, um diesen Link zu sehen. but after 5 minutes the client close and windows says: "The Metin2 Client accidently closed." The problem is in this system.
Beiträge von monarchis2
-
-
Can someone fix this for me? I want to make a quest and the player doesn't getting banned. Here's the mysql_query command: mysql_query("UPDATE account.account SET status ='BLOCK' WHERE id =(SELECT account_id FROM player.player WHERE name ='"..pc.get_name().."');")
I test this too and didn't work : mysql_query(string.format("UPDATE account.account SET status = 'BLOCK' WHERE id = %d;", pc.get_account_id()))
What's wrong?
-
Hi Community. I have problem with my texture. I recently changed LZO and Xtea key, from Packer and Starter. Everything works perfect, but the only problem is the texture is like the old one. I pack it with Eter Manager. Here's a photo:
Bitte melden Sie sich an, um dieses Bild zu sehen.
-
The only problem is, if the player wont answer in 20 seconds nothing happens. I'll fix it and i'll post it here.
-
Hey community. I try to make a quest to check if a player is a bot. I want to make the system that if the player doesn't answer after some seconds the game will automatic close.
Here's the quest
Code- ----------------------------------
- -- ANTI_BOT_CAPTCHA
- -- anti_bot_CAPTCHA
- ----------------------------------
- quest anti_bot_captcha begin
- state start begin
- when login begin
- timer("timer1", 10)
- end
- when timer1.timer begin
- timer("timer2", 10)
- pc.setqf("check_for_answer",get_time()+15)
- local captch = math.random(1001,9999)
- say_title("Anti Bot System ")
- say("Enter the numbers: ")
- say("")
- say_reward(captch)
- local ingre_cap = input()
- ingre_cap=tonumber(ingre_cap)
- if get_time() > pc.getqf("check_for_answer") then ---If the player doesn't answer in 30 seconds the game will close.
- cmdchat("anti_bot_exit_now")
- return
- end
- if ingre_cap == captch then
- return
- else
- cmdchat("anti_bot_exit_now") --- If the player answer wrong captcha the game will close.
- end
- end
- when timer2.timer begin
- timer("timer1", 10)
- pc.setqf("check_for_answer",get_time()+15)
- local captch = math.random(1001,9999)
- say_title("Anti Bot System ")
- say("Enter the numbers: ")
- say("")
- say_reward(captch)
- local ingre_cap = input()
- ingre_cap=tonumber(ingre_cap)
- if get_time() > pc.getqf("check_for_answer") then ---If the player doesn't answer in 30 seconds the game will close.
- cmdchat("anti_bot_exit_now")
- return
- end
- if ingre_cap == captch then
- return
- else
- cmdchat("anti_bot_exit_now") --- If the player answer wrong captcha the game will close.
- end
- end
- end
- end
-
Is there anyway to make a quest auto close after some time? For example
say"Some text."
(If the player doesn't click anything or he's afk the quest auto closes)
I try to write it but i can't find any way. -
ssh_config or sshd_config???
Is there anyway to prevent random/bots tries to log in in ssh2?
-
In ssh_config we must have Port 22 like this? "# Port 22"
-
Hey community! What is the best "ipfw.rules" without any problems? My Channel ports are these:
CH1_PORT = 13000
CH2_PORT = 13010
CH3_PORT = 13020
CH4_PORT = 13030
AUTH_PORT = 11000I add this Bitte melden Sie sich an, um diesen Link zu sehen.
But i getting kicked after char selection.
-
From 1 page to 3
-
Hey community! I install Ishop from Azulox, but i have problem with Pet's time. I try socket0, socket1, socket2 but nothing. Here's my function code. Can someone tell me what i do wrong?
Bitte melden Sie sich an, um diesen Link zu sehen.Edit: I found the problem is only with Dragon Marks. Here:
Code- if($array['item_type'] == ISHOP_DRAGON_COINS)
- {
- if($_SESSION['ISHOP_SESSION_DM'] >= $cena)
- {
- $query10 = mysql_query("SELECT type,subtype FROM ".GAME_MYSQL_PLAYER.".item_proto WHERE vnum='".$array['item_vnum']."'") or die(mysql_error());
- if($fetchI = mysql_fetch_assoc($query10))
- {
- $znamky = $array['item_marks'];
- $upp = mysql_query("UPDATE ".GAME_MYSQL_ACCOUNT.".account SET ".ISHOP_COLUMN_COINS."=".ISHOP_COLUMN_COINS."-$cena, ".ISHOP_COLUMN_MARKS."=".ISHOP_COLUMN_MARKS."+$cena WHERE id='".$_SESSION['ISHOP_SESSION_ID']."' LIMIT 1") or die(mysql_error());
- $inss = mysql_query("INSERT INTO ".ISHOP_MYSQL_DB.".buy_list_".ISHOP_TABLE_POSTFIX."(buy_dex,buy_type,buy_vnum,buy_date,buy_user_id,buy_count) VALUES('".date("Y-m-d",time())."','".$typ."','".$array['item_vnum']."','".date("d.m.Y")."', '".$_SESSION['ISHOP_SESSION_ID']."','".$pocet."')") or die(mysql_error());
- if(!empty($array['item_socket']))
- {
- $item_time = date('Y-m-d H:i:s', strtotime($array['item_time']));
- $item_time = strtotime($item_time);
- if($array['item_stackable'] == "ANO")
- {
- if($fetchI['type'] == "2" AND $fetchI['subtype'] == "0" OR $fetchI['type']=="1" and $fetchI['subtype']=="1" or $fetchI['type']=="1" and $fetchI['subtype']=="0" or $fetchI['type']=="1" and $fetchI['subtype']=="2" or $fetchI['type']=="1" and $fetchI['subtype']=="3" or $fetchI['type']=="1" and $fetchI['subtype']=="4" or $fetchI['type']=="1" and $fetchI['subtype']=="5")
- {
- $ins = mysql_query("INSERT INTO ".GAME_MYSQL_PLAYER.".item(socket0,socket1,socket2,pos,owner_id,vnum,count,window) VALUES('1','1','1','".$possiblePos[0]."','".$_SESSION['ISHOP_SESSION_ID']."', '".$array['item_vnum']."', '".$pocet."', 'MALL')") or die(mysql_error());
- }
- else
- {
- $ins = mysql_query("INSERT INTO ".GAME_MYSQL_PLAYER.".item(".$array['item_socket'].",pos,owner_id,vnum,count,window) VALUES('".$item_time."','".$possiblePos[0]."','".$_SESSION['ISHOP_SESSION_ID']."', '".$array['item_vnum']."', '".$pocet."', 'MALL')") or die(mysql_error());
- }
- }
- else
- {
- for($i=1;$i<=$pocet;$i++)
- {
- if($fetchI['type'] == "2" AND $fetchI['subtype'] == "0" OR $fetchI['type']=="1" and $fetchI['subtype']=="1" or $fetchI['type']=="1" and $fetchI['subtype']=="0" or $fetchI['type']=="1" and $fetchI['subtype']=="2" or $fetchI['type']=="1" and $fetchI['subtype']=="3" or $fetchI['type']=="1" and $fetchI['subtype']=="4" or $fetchI['type']=="1" and $fetchI['subtype']=="5")
- {
- $ins = mysql_query("INSERT INTO ".GAME_MYSQL_PLAYER.".item(socket0,socket1,socket2,pos,owner_id,vnum,count,window) VALUES('1','1','1','".$possiblePos[$i-1]."','".$_SESSION['ISHOP_SESSION_ID']."', '".$array['item_vnum']."', '1', 'MALL')") or die(mysql_error());
- }
- else
- {
- $ins = mysql_query("INSERT INTO ".GAME_MYSQL_PLAYER.".item(".$array['item_socket'].",pos,owner_id,vnum,count,window) VALUES('".$item_time."','".$possiblePos[$i-1]."','".$_SESSION['ISHOP_SESSION_ID']."', '".$array['item_vnum']."', '1', 'MALL')") or die(mysql_error());
- }
- }
- }
- }
- else
- {
- if($array['item_stackable'] == "ANO")
- {
- if($fetchI['type'] == "2" AND $fetchI['subtype'] == "0" OR $fetchI['type']=="1" and $fetchI['subtype']=="1" or $fetchI['type']=="1" and $fetchI['subtype']=="0" or $fetchI['type']=="1" and $fetchI['subtype']=="2" or $fetchI['type']=="1" and $fetchI['subtype']=="3" or $fetchI['type']=="1" and $fetchI['subtype']=="4" or $fetchI['type']=="1" and $fetchI['subtype']=="5")
- {
- $ins = mysql_query("INSERT INTO ".GAME_MYSQL_PLAYER.".item(socket0,socket1,socket2,pos,owner_id,vnum,count,window) VALUES('1','1','1','".$possiblePos[0]."','".$_SESSION['ISHOP_SESSION_ID']."', '".$array['item_vnum']."', '1', 'MALL')") or die(mysql_error());
- }
- else
- {
- $ins = mysql_query("INSERT INTO ".GAME_MYSQL_PLAYER.".item(pos,owner_id,vnum,count,window) VALUES('".$possiblePos[0]."','".$_SESSION['ISHOP_SESSION_ID']."', '".$array['item_vnum']."', '".$pocet."', 'MALL')") or die(mysql_error());
- }
- }
- else
- {
- for($i=1;$i<=$pocet;$i++)
- {
- if($fetchI['type'] == "2" AND $fetchI['subtype'] == "0" OR $fetchI['type']=="1" and $fetchI['subtype']=="1" or $fetchI['type']=="1" and $fetchI['subtype']=="0" or $fetchI['type']=="1" and $fetchI['subtype']=="2" or $fetchI['type']=="1" and $fetchI['subtype']=="3" or $fetchI['type']=="1" and $fetchI['subtype']=="4" or $fetchI['type']=="1" and $fetchI['subtype']=="5")
- {
- $ins = mysql_query("INSERT INTO ".GAME_MYSQL_PLAYER.".item(socket0,socket1,socket2,pos,owner_id,vnum,count,window) VALUES('1','1','1','".$possiblePos[$i-1]."','".$_SESSION['ISHOP_SESSION_ID']."', '".$array['item_vnum']."', '1', 'MALL')") or die(mysql_error());
- }
- else
- {
- $ins = mysql_query("INSERT INTO ".GAME_MYSQL_PLAYER.".item(pos,owner_id,vnum,count,window) VALUES('".$possiblePos[$i-1]."','".$_SESSION['ISHOP_SESSION_ID']."', '".$array['item_vnum']."', '1', 'MALL')") or die(mysql_error());
- }
- }
- }
- }
- }
- ?>
-
Is anyone know how to increasy item shop lager pages? I can't find anything xD
-
Hey community! I have this error in multiple lines. I cant found a fix. Is anyone know how to fix it?
PointChange: MALL_BONUS exceeded over 100!! point type: 116 name
-
Hey! I have a problem with texture. The room of Beran Setaou Boss is like this:
Bitte melden Sie sich an, um dieses Bild zu sehen.And i want to make look like this:
Bitte melden Sie sich an, um dieses Bild zu sehen.
-
Hey i recently change my dragon_soul_table.txt and i got this error:
SYSERR: Nov 13 13:15:58.210419 :: ReadAdditionalApplys: In Group AdditionalApplys, Ήι·ζΌ® group's apply_type ATTBONUS_WOLFMAN is invalid.
SYSERR: Nov 13 13:15:58.211907 :: Boot: cannot load DragonSoulTable: locale/germany/dragon_soul_table.txti have ATTBONUS_WOLFMAN in my source.
-
Didn't work
-
Hi community! I recently add hp of mobs in %. But i want to disable on players to show % of hp. Only in decimal. When i install hp in decimal when i click my own char i see this. The system i install is this: Bitte melden Sie sich an, um diesen Link zu sehen. and this:
Bitte melden Sie sich an, um diesen Link zu sehen.
Bitte melden Sie sich an, um dieses Bild zu sehen.Thanks for any help.
-
How can i activate: ##{"index":item.EQUIPMENT_RING1, "x":2, "y":106, "width":32, "height":32}, ? Thank you
-
Hello community! I recently install Ken's Offline shop. But i want to reduce from 80 slots to 40. I already did the source part by i have a problem with client(python) part. I want to have 40 slots in Offline shop and offline shop editor. Something like this:
Bitte melden Sie sich an, um dieses Bild zu sehen. -
Thank you!