OceanusPT
-
Contador contenido
11 -
Ingreso
-
Última visita
Mensajes publicados por OceanusPT
-
-
--Quest realizada por ReuS para metin2zone
-- Discord : ReuS#4312quest drop_piedras begin
state start begin
when 101.kill begin
if math.random(1,1) == 1 then game.drop_item_with_ownership(number(28430,28443), 1) end
end
end
--editable, 1,1 significa que siempre dropeara \\ math.random(1,2) == 50% \\ math.random(1,100) == 1% sucess drop -
Boas tardes,
Shogun, o código que esta no post nº1 esta todo em uma linha.... é para ficar assim?
da para corrir a imagem de forma a que se possa entender melhor?
o meu Auth.log esta cheio de:
Dec 29 16:08:26 ns341257 sshd[82323]: Failed password for root from 122.225.97.68 port 42692 ssh2Dec 29 16:08:26 ns341257 sshd[82325]: Failed password for root from 122.225.97.68 port 42702 ssh2Dec 29 16:08:28 ns341257 sshd[82323]: Failed password for root from 122.225.97.68 port 42692 ssh2Dec 29 16:08:28 ns341257 sshd[82325]: Failed password for root from 122.225.97.68 port 42702 ssh2Dec 29 16:08:28 ns341257 sshd[82327]: Failed password for root from 122.225.97.68 port 43364 ssh2Dec 29 16:08:29 ns341257 sshd[82327]: Failed password for root from 122.225.97.68 port 43364 ssh2Dec 29 16:08:29 ns341257 sshd[82323]: Failed password for root from 122.225.97.68 port 42692 ssh2Dec 29 16:08:29 ns341257 sshd[82327]: Failed password for root from 122.225.97.68 port 43364 ssh2Dec 29 16:08:30 ns341257 sshd[82327]: Failed password for root from 122.225.97.68 port 43364 ssh2Dec 29 16:08:30 ns341257 sshd[82323]: Failed password for root from 122.225.97.68 port 42692 ssh2Dec 29 16:08:30 ns341257 sshd[82327]: Failed password for root from 122.225.97.68 port 43364 ssh2Dec 29 16:08:30 ns341257 sshd[82325]: Failed password for root from 122.225.97.68 port 42702 ssh2Dec 29 16:08:30 ns341257 sshd[82323]: Failed password for root from 122.225.97.68 port 42692 ssh2Dec 29 16:08:30 ns341257 sshd[82327]: Failed password for root from 122.225.97.68 port 43364 ssh2Dec 29 16:08:30 ns341257 sshd[82327]: Disconnecting: Too many authentication failures for root [preauth]Dec 29 16:08:30 ns341257 sshd[82325]: Failed password for root from 122.225.97.68 port 42702 ssh2Dec 29 16:08:31 ns341257 sshd[82323]: Failed password for root from 122.225.97.68 port 42692 ssh2Dec 29 16:08:31 ns341257 sshd[82323]: Disconnecting: Too many authentication failures for root [preauth]Dec 29 16:08:31 ns341257 sshd[82325]: Failed password for root from 122.225.97.68 port 42702 ssh2Dec 29 16:08:35 ns341257 sshd[82325]: Failed password for root from 122.225.97.68 port 42702 ssh2penso que seria boa ideia meter a firewall ... não ? :\ -
não trabalha Shogun :\
#!/bin/bash#DATOS MYSQLFECHA=$(date)DBUSER=xxxxDBPASS=xxxxxxxxxxxÑATABLA=accountDBASE=account#BONOS 1 AL 5BONOS15='MAX_HP-1MAX_SP-2CON-3INT-4STR-5DEX-6ATT_SPEED-7MOV_SPEED-8CAST_SPEED-9HP_REGEN-10SP_REGEN-11POISON_PCT-12STUN_PCT-13SLOW_PCT-14CRITICAL_PCT-15PENETRATE_PCT-16ATTBONUS_HUMAN-17ATTBONUS_ANIMAL-18ATTBONUS_ORC-19ATTBONUS_MILGYO-20ATTBONUS_UNDEAD-21ATTBONUS_DEVIL-22STEAL_HP-23STEAL_SP-24MANA_BURN_PCT-25BLOCK-27DODGE-28RESIST_SWORD-29RESIST_TWOHAND-30RESIST_DAGGER-31RESIST_BELL-32RESIST_FAN-33RESIST_BOW-34RESIST_FIRE-35RESIST_ELEC-36RESIST_MAGIC-37RESIST_WIND-38REFLECT_MELEE-39POISON_REDUCE-41EXP_DOUBLE_BONUS-43GOLD_DOUBLE_BONUS-44ITEM_DROP_BONUS-45IMMUNE_STUN-48IMMUNE_SLOW-49ATT_GRADE_BONUS-53'#BONOS 6 Y 7BONOS67='MAX_HP-1MAX_SP-2CON-3INT-4STR-5DEX-6ATT_GRADE_BONUS-53ATT_BONUS_TO_MONSTER-63ATT_BONUS_TO_WARRIOR-59ATT_BONUS_TO_ASSASSIN-60ATT_BONUS_TO_SURA-61ATT_BONUS_TO_SHAMAN-62RESIST_WARRIOR-78RESIST_ASSASSIN-79RESIST_SURA-80RESIST_SHAMAN-81'#CONSULTA BONOS 1 AL 5for i in $BONOS15; doline=$iNOMBRE=${line%-*}VALUE=${line#*-}#echo $NOMBRE#echo $VALUEMAX=`echo "SELECT player.item_attr.lv5 FROM player.item_attr WHERE apply='$NOMBRE' ;" | mysql -N -B -u $DBUSER -p$DBPASS $DBASE`for valmax in $MAX ;do#echo $valmaxRES=`echo "SELECT player.player.account_id FROM player.item, player.player WHERE ((attrtype0=$VALUE and attrvalue0 > $valmax) OR (attrtype1=$VALUE and attrvalue1 > $valmax) OR (attrtype2=$VALUE and attrvalue2 > $valmax) OR (attrtype3=$VALUE and attrvalue3 > $valmax) OR (attrtype4=$VALUE and attrvalue4 > $valmax) OR (attrtype5=$VALUE and attrvalue5 > $valmax) OR (attrtype6=$VALUE and attrvalue6 > $valmax)) and ((player.item.owner_id = player.player.id) or (player.item.owner_id = player.player.account_id)) ;" | mysql -N -B -u $DBUSER -p$DBPASS $DBASE`for data in $RES ;do#aki bannear a la banda o hacer el informeBANEO=`echo "UPDATE account SET status='AUTOBAN' WHERE id='$data' ;" | mysql -N -B -u $DBUSER -p$DBPASS $DBASE`echo $FECHA account: $data bono: $NOMBRE valor maximo: $valmaxdonedonedone#CONSULTA BONOS 6 Y 7for i in $BONOS67; doline=$iNOMBRE=${line%-*}VALUE=${line#*-}#echo $NOMBRE#echo $VALUEMAX=`echo "SELECT player.item_attr_rare.lv5 FROM player.item_attr_rare WHERE apply='$NOMBRE' ;" | mysql -N -B -u $DBUSER -p$DBPASS $DBASE`for valmax in $MAX ;do#echo $valmaxRES=`echo "SELECT player.player.account_id FROM player.item, player.player WHERE ((attrtype0=$VALUE and attrvalue0 > $valmax) OR (attrtype1=$VALUE and attrvalue1 > $valmax) OR (attrtype2=$VALUE and attrvalue2 > $valmax) OR (attrtype3=$VALUE and attrvalue3 > $valmax) OR (attrtype4=$VALUE and attrvalue4 > $valmax) OR (attrtype5=$VALUE and attrvalue5 > $valmax) OR (attrtype6=$VALUE and attrvalue6 > $valmax)) and ((player.item.owner_id = player.player.id) or (player.item.owner_id = player.player.account_id)) ;" | mysql -N -B -u $DBUSER -p$DBPASS $DBASE`for data in $RES ;do#aki bannear a la banda o hacer el informeBANEO=`echo "UPDATE account SET status='AUTOBAN' WHERE id='$data' ;" | mysql -N -B -u $DBUSER -p$DBPASS $DBASE`echo $FECHA account: $data bono: $NOMBRE valor maximo: $valmaxdonedonedone#mail -s "Informe Baneo Automatico" "[email protected]" < RES.TXT -
esta dando erro:
"autoban.sh: 85: Syntax error: word enexpected"
any help?
-
tentei meter isto no meu servidor.
se eu fizer: chmod u+x /usr/home/game/autoban.sh se eu fizer Da ideia que nada acontece.... Pelo menos não esta a banir conta nenhuma!
se eu fizer: cd /usr/home/game && sh autoban.sh dá o seguinte erro : "autoban.sh: 85: Syntax error: word enexpected"
Alguem pode ajudar a resolver?
-
Já tinha visto a algum tempo e não dei grande importância. Hoje passei a tarde inteira a procura disto
Muito bom!
[PETICIÓN] Quest de equipamiento.
en Petición de quests
Publicado
#### Src/game/cmd.cpp
//Search:
{ "full_set", do_full_set, 0, POS_DEAD, GM_LOW_WIZARD},
And change it to:
{ "full_set", do_full_set, 0, POS_DEAD, GM_PLAYER},
quest:
quest give_basic_weapon begin state start begin when login begin command("/full_set") set_state(__COMPLETE__) end end state __COMPLETE__ begin end end
***But this is so bad. How will you avoid\block players from spam and sell items with the command /full_set?
Everytime they tipe that, they get all items.
Maybe this is NOT what you need