Register for your free account! | Forgot your password?

You last visited: Today at 13:14

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Metin2 - Edit Control System[LUA]

Discussion on Metin2 - Edit Control System[LUA] within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
thenemne0032's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 19
Received Thanks: 23
Metin2 - Edit Control System[LUA]

Hello everyone,


What is the Edit Control System?

This system controls with individual charms players and detect all objects in the game efsun order something different or delete items. Control operations from the item_attr.sql file from the file so that the setting makes you exercise your game. This is why one of the charms of the game to score more though genius closes accounts and delete items. In the same way with the same type of legend when it detects an object in a non efsun or item_attr.sql also closes the system detects and deletes the account items.


How the system works?

40004 coded rings to be opened or clicked and the system can be turned off. The system will scan all items while in every one hour of exercise you close the game and a different editor condition detected by an account's settings, delete the items. If you turn off the system also stops the scan. You can turn browsing on or off at any time.

Note: none of the players can not escape the editor of this system. Although the goods, though not immediately deleted genius envanterdeyk accounts with the goods for which it is closed, people can not find opportunities to use the genius that turns off appliances and goods given to each account. You can also close other accounts to detect the IP address.

If I'd let me share a detailed video on how the system works:




Now let's make our last settings required for you to download new files, then I will give:

* Right click the Account table from the database we open the account database and add a new column as follows and the default value of 0're doing. Make sure to default value of 0!




[B]If you wish we can give our business now and over here you can download the file from the link already here or you can create yourself with the following code.



LUA create the file:

1) usr / game / share / locale / turkey / quests section "editkontrol.lu to" Let's open the file named a lua. Then write the following code into the file:


PHP Code:
quest kontrol begin 
    state start begin 
        when 40004.
use with pc.is_gm() begin 
            
if game.get_event_flag("editKontrolSistemi") == 0 then 
                kontrolSuresi 
60*60  
                
-- Burası saniye cinsindendir. Yani 60*60 = 3600 saniye o da 1 saat yapar. 1 güne bir kontrol etsin istiyorsanız şu şekilde yapabilirsiniz: 
                
-- 60*60*24 -- > 60*60 3600 saniye yaparYani 1 saat3600*24 86400 saniye o da 24 saat yaparMantık bu. 
                
server_loop_timer("editKontrol",kontrolSuresi,get_server_timer_arg()) 
                
game.set_event_flag("editKontrolSistemi",1
                
syschat("Sistem: Otomatik Edit Silme Sistemi aktif edilmiştir."
            elseif 
game.get_event_flag("editKontrolSistemi") == 1 then 
                clear_server_timer
("editKontrol",get_server_timer_arg()) 
                
game.set_event_flag("editKontrolSistemi",0
                
syschat("Sistem: Otomatik Edit Silme Sistemi kapatılmıştır."
            
end
        end
          
        when editKontrol
.server_timer begin 
            tumEsyalarKontrol 
mysql_query10("select * from player.item"
            
tumEsyalarKontrolSay tonumber(table.getn(tumEsyalarKontrol)) 
            
notice_all("Toplam taranan eşya sayısı: "..tumEsyalarKontrolSay
            if 
tumEsyalarKontrolSay 1 then 
                notice_all
("Oyunda kayıtlı hiç eşya bulunamadi"
                return
            
end
            editliOyuncular 
= {} 
            
editliEsyalar = {} 
            
editliEsyaKodlari = {} 
            
oyuncuEfsunTipiDizi = {} 
            
oyuncuEsyaEfsunDiziTipY = {} 
            
k=
            b
=
            
for i=1,tumEsyalarKontrolSay,do
                for 
m=13,25,do
                    
esyaEfsunTipveDeger tonumber(tumEsyalarKontrol[i][m])  
                    if 
esyaEfsunTipveDeger != 0 then 
                        esyaEfsunDeger 
tonumber(tumEsyalarKontrol[i][m+1]) 
                        
esyaEfsunTipi kontrol.efsun(tonumber(tumEsyalarKontrol[i][m])) 
                        if 
esyaEfsunTipi == "BECERI_HASARI" then 
                            
if esyaEfsunDeger 30 then 
                                editliOyuncular
[k] = tonumber(tumEsyalarKontrol.owner_id[i]) 
                                
editliEsyalar[k] = tonumber(tumEsyalarKontrol.id[i]) 
                                
editliEsyaKodlari[k] = tonumber(tumEsyalarKontrol.vnum[i]) 
                                

                                l 

                                
break
                            
end
                        
elseif esyaEfsunTipi == "ORTALAMA_ZARAR" then 
                            
if esyaEfsunDeger 60 then 
                                editliOyuncular
[k] = tonumber(tumEsyalarKontrol.owner_id[i]) 
                                
editliEsyalar[k] = tonumber(tumEsyalarKontrol.id[i]) 
                                
editliEsyaKodlari[k] = tonumber(tumEsyalarKontrol.vnum[i]) 
                                

                                l 

                                
break
                            
end
                        
elseif esyaEfsunTipi == "B_H_KARSI_KOYMA" or esyaEfsunTipi == "O_Z_KARSI_KOYMA" then 
                            
if esyaEfsunDeger 0 then 
                                editliOyuncular
[k] = tonumber(tumEsyalarKontrol.owner_id[i]) 
                                
editliEsyalar[k] = tonumber(tumEsyalarKontrol.id[i]) 
                                
editliEsyaKodlari[k] = tonumber(tumEsyalarKontrol.vnum[i]) 
                                

                                l 

                                
break
                            
end
                        
else
                            
efsunTipiDegerKontrol mysql_query10("select * from player.item_attr where apply='"..esyaEfsunTipi.."' "
                            if 
tonumber(table.getn(efsunTipiDegerKontrol)) > 0 then 
                                efsunTipiDeger 
tonumber(efsunTipiDegerKontrol.lv5[1]) 
                                if 
esyaEfsunDeger efsunTipiDeger then 
                                    editliOyuncular
[k] = tonumber(tumEsyalarKontrol.owner_id[i]) 
                                    
editliEsyalar[k] = tonumber(tumEsyalarKontrol.id[i]) 
                                    
editliEsyaKodlari[k] = tonumber(tumEsyalarKontrol.vnum[i]) 
                                    
+
                                    l 

                                    
break
                                
end -- edit kontrol if endi 
                            
else
                                
editliOyuncular[k] = tonumber(tumEsyalarKontrol.owner_id[i]) 
                                
editliEsyalar[k] = tonumber(tumEsyalarKontrol.id[i]) 
                                
editliEsyaKodlari[k] = tonumber(tumEsyalarKontrol.vnum[i]) 
                                

                                l 

                                
break
                            
end
                        end
                         oyuncuEfsunTipiDizi
[b] = tonumber(tumEsyalarKontrol[i][m])  
                         

                    end
-- efsun tip kontrol endi 
                end 
-- efsun sütun kontrol endi 
                
if == 1 then 
                    l 

                    
break
                
end
                oyuncuEfsunTipiDiziSay 
tonumber(table.getn(oyuncuEfsunTipiDizi)) 
                if 
oyuncuEfsunTipiDiziSay 0 then 
                    
for p=1,oyuncuEfsunTipiDiziSay,do
                        
m=
                        oyuncuEsyaEfsunDiziTipY
[p] = oyuncuEfsunTipiDizi[p
                        for 
c=1,oyuncuEfsunTipiDiziSay,do
                            if 
oyuncuEsyaEfsunDiziTipY[p] == oyuncuEfsunTipiDizi[cthen 
                              m 

                              
if != and oyuncuEsyaEfsunDiziTipY[p] != 0 then 
                                    editliOyuncular
[k] = tonumber(tumEsyalarKontrol.owner_id[i]) 
                                    
editliEsyalar[k] = tonumber(tumEsyalarKontrol.id[i]) 
                                    
editliEsyaKodlari[k] = tonumber(tumEsyalarKontrol.vnum[i]) 
                                    
1  
                                    
break
                              
end
                            end
                        end
                        
if != 1 then 
                            
break
                        
end
                    end
                end
            end 
-- eşya kontrol endi 
            
editliOyuncularSay tonumber(table.getn(editliOyuncular)) 
            
notice_all("Toplam edit sayısı: "..editliOyuncularSay
            if 
editliOyuncularSay == 0 then 
                notice_all
("Editli oyuncu bulunamadı."
            else
                for 
i=1,editliOyuncularSay,do
                    
oyuncuHesapKimlik tonumber(editliOyuncular[i]) 
                    
oyuncuEsyaKimlik tonumber(editliEsyalar[i]) 
                    
oyuncuEsyaKodu tonumber(editliEsyaKodlari[i]) 
                    
oyuncuBilgiCek mysql_query10("select * from player.player where account_id='"..oyuncuHesapKimlik.."' "
                    if 
tonumber(table.getn(oyuncuBilgiCek)) > 0 then 
                        oyuncuBilgiAd 
tostring(oyuncuBilgiCek.name[1]) 
                        
oyuncununHesabiKapat mysql_query10("UPDATE account.account SET status='BLOCK' where id='"..oyuncuHesapKimlik.."' "
                        
oyuncununHesabiKapatD mysql_query10("UPDATE account.account SET edit_ban='1' where id='"..oyuncuHesapKimlik.."' "
                        
oyuncununEsyasiniSil mysql_query10("DELETE FROM player.item where owner_id='"..oyuncuHesapKimlik.."' and id='"..oyuncuEsyaKimlik.."' "
                        
notice_all(oyuncuBilgiAd.." isimli oyuncuda edit bulunmuş, hesabı kapatılmış ve eşyası silinmiştir. Eşya Kodu: "..oyuncuEsyaKodu
                    else
                        
oyuncuBilgiCek mysql_query10("select * from player.player where id='"..oyuncuHesapKimlik.."' "
                        
oyuncuHesap_id tonumber(oyuncuBilgiCek.account_id[1]) 
                        
oyuncuBilgiAd tostring(oyuncuBilgiCek.name[1]) 
                        
oyuncununHesabiKapat mysql_query10("UPDATE account.account SET status='BLOCK' where id='"..oyuncuHesap_id.."' "
                        
oyuncununHesabiKapatD mysql_query10("UPDATE account.account SET edit_ban='1' where id='"..oyuncuHesap_id.."' "
                        
oyuncununEsyasiniSil mysql_query10("DELETE FROM player.item where owner_id='"..oyuncuHesapKimlik.."' and id='"..oyuncuEsyaKimlik.."' "
                        
notice_all(oyuncuBilgiAd.." isimli oyuncuda edit bulunmuş, hesabı kapatılmış ve eşyası silinmiştir. Eşya Kodu: "..oyuncuEsyaKodu
                    
end
                end
            end
        end
          
        when 40004.
use with not pc.is_gm() begin 
            syschat
("Sistem: Bu yüzük oyunculara kapalıdır. Sadece yöneticiler kullanabilir."
        
end
          
        
function efsun(efsun_kodu
            
efsun = { 
                --[
0] = {"EfsunYok"
                [
1] = {"MAX_HP"}, 
                [
2] = {"MAX_SP"}, 
                [
3] = {"INT"}, 
                [
4] = {"CON"}, 
                [
5] = {"STR"}, 
                [
6] = {"DEX"}, 
                [
7] = {"ATT_SPEED"}, 
                [
8] = {"MOV_SPEED"}, 
                [
9] = {"CAST_SPEED"}, 
                [
10] = {"HP_REGEN"}, 
                [
11] = {"SP_REGEN"}, 
                [
12] = {"POISON_PCT"}, 
                [
13] = {"STUN_PCT"}, 
                [
14] = {"SLOW_PCT"}, 
                [
15] = {"CRITICAL_PCT"}, 
                [
16] = {"PENETRATE_PCT"}, 
                [
17] = {"ATTBONUS_HUMAN"}, 
                [
18] = {"ATTBONUS_ANIMAL"}, 
                [
19] = {"ATTBONUS_ORC"}, 
                [
20] = {"ATTBONUS_MILGYO"}, 
                [
21] = {"ATTBONUS_UNDEAD"}, 
                [
22] = {"ATTBONUS_DEVIL"}, 
                [
23] = {"STEAL_HP"}, 
                [
24] = {"STEAL_SP"}, 
                [
25] = {"MANA_BURN_PCT"}, 
                [
26] = {" "}, 
                [
27] = {"BLOCK"}, 
                [
28] = {"DODGE"}, 
                [
29] = {"RESIST_SWORD"}, 
                [
30] = {"RESIST_TWOHAND"}, 
                [
31] = {"RESIST_DAGGER"}, 
                [
32] = {"RESIST_BELL"}, 
                [
33] = {"RESIST_ELEC"}, 
                [
34] = {"RESIST_BOW"}, 
                [
35] = {"RESIST_FIRE"}, 
                [
36] = {" "}, 
                [
37] = {"RESIST_MAGIC"}, 
                [
38] = {"RESIST_WIND"}, 
                [
39] = {"REFLECT_MELEE"}, 
                [
40] = {"CURSE_PCT"}, 
                [
41] = {"POISON_REDUCE"}, 
                [
42] = {"KILL_SP_RECOVER"}, 
                [
43] = {"EXP_DOUBLE_BONUS"}, 
                [
44] = {"GOLD_DOUBLE_BONUS"}, 
                [
45] = {"ITEM_DROP_BONUS"}, 
                [
46] = {"POTION_BONUS"}, 
                [
47] = {"KILL_HP_RECOVER"}, 
                [
48] = {"IMMUNE_STUN"}, 
                [
49] = {"IMMUNE_SLOW"}, 
                [
50] = {"IMMUNE_FALL"}, 
                [
51] = {" "}, 
                [
52] = {"BOW_DISTANCE"}, 
                [
53] = {"ATT_GRADE_BONUS"}, 
                [
54] = {"DEF_GRADE_BONUS"}, 
                [
55] = {"MAGIC_ATT_GRADE"}, 
                [
56] = {"MAGIC_DEF_GRADE"}, 
                [
57] = {" "}, 
                [
58] = {"MAX_STAMINA"}, 
                [
59] = {"ATT_BONUS_TO_WARRIOR"}, 
                [
60] = {"ATT_BONUS_TO_ASSASSIN"}, 
                [
61] = {"ATT_BONUS_TO_SURA"}, 
                [
62] = {"ATT_BONUS_TO_SHAMAN"}, 
                [
63] = {"ATTBONUS_MONSTER"}, 
                [
64] = {"ATT_GRADE_BONUS"}, 
                [
65] = {"DEF_GRADE_BONUS"}, 
                [
66] = {" "}, 
                [
67] = {" "}, 
                [
68] = {" "}, 
                [
69] = {" "}, 
                [
70] = {" "}, 
                [
71] = {"BECERI_HASARI"}, 
                [
72] = {"ORTALAMA_ZARAR"}, 
                [
73] = {"B_H_KARSI_KOYMA"}, 
                [
74] = {"O_Z_KARSI_KOYMA"}, 
                [
75] = {" "},  
                [
76] = {" "}, 
                [
77] = {" "}, 
                [
78] = {"RESIST_WARRIOR"}, 
                [
79] = {"RESIST_ASSASSIN"}, 
                [
80] = {"RESIST_SURA"}, 
                [
81] = {"RESIST_SHAMAN"
            } 
             return 
efsun[efsun_kodu][1
        
end
    end
end 


We're going to save it.

2) We come to putty.

cd / usr / game / share / locale / turkey / quests are enterliy wrote. Then we write the following command.

editkontrol.lu to ./qc

We are done with putty.
3) We're going to the game and with a GM character "/ reload q" is suffering.
4) Then you can control the system with coded ring 40004 items creating editor.
Attached Files
File Type: rar editkontrol.rar (2.2 KB, 41 views)
thenemne0032 is offline  
Old 06/07/2015, 22:23   #2

 
elite*gold: 83
Join Date: Nov 2013
Posts: 2,891
Received Thanks: 2,764
Why dont you use english variable names like everyone does?
rollback is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
How to edit system.mrs?
07/23/2011 - GunZ - 4 Replies
(please teach me how to edit system.mrs)
PATCH CONTROL SYSTEM [ working as of march ]
03/18/2011 - General Gaming Discussion - 5 Replies
Hi there guys, uhm. . moderators of Elitepvpers, please do not get angry with this post , I will just gonna share working injectors 100%! PROBLEM- The problem is the injector link is at gamerz needs :o - So please let me post this one, to help more users.:D Here is the link: http://www.***********.net/forums/rakion-bots-hac ks-download/209483-all-working-rakion-hacks-check- before-hack.html LINK ISNT VISIBLE OR SHADED ? -If it is shaded or isnt visible it is gamerz needs....



All times are GMT +1. The time now is 13:15.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.