Tutoria instalare sistem ZETA + resurse

Ghiduri oficiale, cât și neoficiale, create de membrii comunității pentru îmbunătățirea serverului dvs., clientului etc.
Avatar utilizator
 
Mesaje: 38
Membru din: Sâm Ian 21, 2017 12:18 am
Localitate: Paris
Like-uri oferite: 0 time
Like-uri primite: 2 times

Tutoria instalare sistem ZETA + resurse

de BogdanChar » Mie Ian 25, 2017 1:19 am

Salutare draga comunitate :p

Eu sunt BogdanChar si vreau sa va invat sa implementati sistemul "ZETA" Imagine

Sa incepem:

1: Despachetam fisierul root.eix/.epk
Deschidem game.py
-Cautam: ” import chat ” si sub el adaugam:
Code: Select All Code
import event


Tot in game.py cautam: "testAlignment = 0" si sub el adaugam:
Code: Select All Code
BPisLodaded = 0


Cautam: "self.SetSize(wndMgr.GetScreenWidth(), wndMgr.GetScreenHeight()) " iar sub el adaugam:
Code: Select All Code
self.Activare_Menu = ui.Button()
self.Activare_Menu.SetPosition(wndMgr.GetScreenWidth()-10,wndMgr.GetScreenHeight()/2-54)
self.Activare_Menu.SetUpVisual("zeta/1_1.tga")
self.Activare_Menu.SetOverVisual("zeta/1_2.tga")
self.Activare_Menu.SetDownVisual("zeta/1_3.tga")
self.Activare_Menu.SetEvent(ui.__mem_func__(self.__menubg))
self.Activare_Menu.Show()
               
self.Dezactivare_Menu = ui.Button()
self.Dezactivare_Menu.SetPosition(wndMgr.GetScreenWidth()-60,wndMgr.GetScreenHeight()/2-54)
self.Dezactivare_Menu.SetUpVisual("zeta/2_1.tga")
self.Dezactivare_Menu.SetOverVisual("zeta/2_2.tga")
self.Dezactivare_Menu.SetDownVisual("zeta/2_3.tga")
self.Dezactivare_Menu.SetEvent(ui.__mem_func__(self.__menubg))
self.Dezactivare_Menu.Hide()
 
menu_bg = ui.AniImageBox()
menu_bg.AppendImage("zeta/fundal.tga")
self.menu_bg = menu_bg
self.menu_bg.SetPosition(wndMgr.GetScreenWidth()-50,wndMgr.GetScreenHeight()/2-91)
self.menu_bg.SetSize(50, 150) 
self.menu_bg.Hide()
               
self.Bonusuri = ui.Button()
self.Bonusuri.SetParent(self.menu_bg)
self.Bonusuri.SetPosition(9, 10)
self.Bonusuri.SetUpVisual("zeta/1.tga")
self.Bonusuri.SetOverVisual("zeta/2.tga")
self.Bonusuri.SetDownVisual("zeta/1.tga")
self.Bonusuri.SetEvent(ui.__mem_func__(self.__BonusPage))
self.Bonusuri.Show()
               
self.Switch = ui.Button()
self.Switch.SetParent(self.menu_bg)
self.Switch.SetPosition(9, 42)
self.Switch.SetUpVisual("zeta/3.tga")
self.Switch.SetOverVisual("zeta/4.tga")
self.Switch.SetDownVisual("zeta/3.tga")
self.Switch.SetEvent(ui.__mem_func__(self.__uiswitchbonus))
self.Switch.Show()
               
self.Depozit = ui.Button()
self.Depozit.SetParent(self.menu_bg)
self.Depozit.SetPosition(9, 74)
self.Depozit.SetUpVisual("zeta/5.tga")
self.Depozit.SetOverVisual("zeta/6.tga")
self.Depozit.SetDownVisual("zeta/5.tga")
self.Depozit.SetEvent(self.__activare_depozit)
self.Depozit.Show()
               
self.AntiExp = ui.Button()
self.AntiExp.SetParent(self.menu_bg)
self.AntiExp.SetPosition(9, 106)
self.AntiExp.SetUpVisual("zeta/7.tga")
self.AntiExp.SetOverVisual("zeta/8.tga")
self.AntiExp.SetDownVisual("zeta/7.tga")
self.AntiExp.SetEvent(self.__activare_antiexp)
self.AntiExp.Show()
 
self.Teleporter = ui.Button()
self.Teleporter.SetParent(self.menu_bg)
self.Teleporter.SetPosition(9, 138)
self.Teleporter.SetUpVisual("zeta/9.tga")
self.Teleporter.SetOverVisual("zeta/10.tga")
self.Teleporter.SetDownVisual("zeta/9.tga")
self.Teleporter.SetEvent(self.__activare_teleporter)
self.Teleporter.Show()


Cautam "chat.Close() " si sub el adaugam:
Code: Select All Code
self.menu_bg.Hide()
self.Dezactivare_Menu.Hide()
self.Activare_Menu.Hide()


Cautam " serverCommandList " si sub el adaugam:
Code: Select All Code
"depozit_index"                 :self.__depozit_questindex,
"antiexp_index"                 :self.__antiexp_questindex,
"teleporter_index"              :self.__teleporter_questindex,


Derulam in jos de tot si adaugam:
Code: Select All Code
def __menubg(self):
        if constInfo.MENU_BG == 0:
                constInfo.MENU_BG = 1
                self.menu_bg.Show()
                self.Activare_Menu.Hide()
                self.Dezactivare_Menu.Show()
        else:
                constInfo.MENU_BG = 0
                self.menu_bg.Hide()
                self.Activare_Menu.Show()
                self.Dezactivare_Menu.Hide()
def __BonusPage(self):
        import PaginaBonusuri
        global BPisLodaded
        try:
                if BPisLodaded == 0:
                        BPisLodaded = 1
                        exec 'PaginaBonusuri.BonusBoardDialog().Show()'
                else:
                        exec 'PaginaBonusuri.BonusBoardDialog().Hide()'
                        BPisLodaded = 0
        except ImportError:
                import dbg,app
                dbg.Trace('PaginaBonusuri.py Importing error')
                app.Abort
def __uiswitchbonus(self):
        import uiSwitchBonus
        self.BoniSwitcher = uiSwitchBonus.OptionDialog()
        self.BoniSwitcher.Show()
def __depozit_questindex(self, value):
        constInfo.DEPOZIT_QUESTINDEX = int(value)
def __activare_depozit(self):
        activare_depozit = constInfo.DEPOZIT_QUESTINDEX
        event.QuestButtonClick(activare_depozit)
def __antiexp_questindex(self, value1):
        constInfo.ANTIEXP_QUESTINDEX = int(value1)
def __activare_antiexp(self):
        activare_antiexp = constInfo.ANTIEXP_QUESTINDEX
        event.QuestButtonClick(activare_antiexp)
def __teleporter_questindex(self, value2):
        constInfo.TELEPORTER_QUESTINDEX = int(value2)
def __activare_teleporter(self):
        activare_teleporter = constInfo.TELEPORTER_QUESTINDEX
        event.QuestButtonClick(activare_teleporter)

Puteti inchide "game.py"

2: Deschideti "constInfo.py"
Aici cautam: " LOGIN_COUNT_LIMIT_ENABLE = 0 " si sub el adaugam:
Code: Select All Code
DEPOZIT_QUESTINDEX = 0
ANTIEXP_QUESTINDEX = 0
TELEPORTER_QUESTINDEX = 0
MENU_BG = 0

Inchidem "constInfo.py"

3: Deschidem "ui.py"
Cautam: " self.ButtonText.SetText(text) " si sub el adaugam:
Code: Select All Code
def GetText(self):
        if not self.ButtonText:
                return# ""
        return self.ButtonText.GetText()


Descarcati urmatorul folder, acesta contine: quest-urile pentru sistemele de pe bara ZETA, imaginile pentru ele, si fisierele .py ale acestora.


Spor la implementat :p Lasati un Thx daca v-am ajutat si va place :p

Tutorial facut de BogdanChar pentru4Metin.net

Ps: Daca cineva il posteaza pe alte comunitati, va rog, pastrati sursa.

Ps2: Va sfatuiesc sa nu folositi copy/paste pentru implementari.
Imagine

 
Mesaje: 7
Membru din: Mie Aug 08, 2018 1:17 am
Localitate: Hungary
Like-uri oferite: 0 time
Like-uri primite: 0 time

generic viagra canada customs

de EdwardFem » Mie Aug 08, 2018 3:55 am

viagra and levitra together
<a href="http://viagranbdnr.com/cheap-viagra-gel.html">cheap viagra soft tabs</a>
can viagra help women to get pregnant
viagra generico drogasil

 
Mesaje: 7
Membru din: Mie Aug 08, 2018 7:33 pm
Localitate: Slovenia
Like-uri oferite: 0 time
Like-uri primite: 0 time

how to get viagra samples

de Zachdrroume » Mie Aug 08, 2018 7:36 pm

buy viagra toronto
<a href="http://hqmdwww.com/">viagra sales history</a>
sildenafil citrate 100mg uses
generic levitra from india
contraindicaciones del sildenafil 50 mg
long does 20mg cialis work
canadian online rx buy viagra online canadian pharmacy online

 
Mesaje: 7
Membru din: Joi Aug 09, 2018 11:32 pm
Localitate: Panama
Like-uri oferite: 0 time
Like-uri primite: 0 time

long will viagra pill last

de DavidAmata » Vin Aug 10, 2018 4:02 pm

discount code for viagra
<a href="http://viagrarutjdfk.com/cheap-viagra-paypal-payment.html">can you get real viagra online</a>
discount viagra cialis
price viagra walmart

 
Mesaje: 12
Membru din: Dum Aug 12, 2018 11:37 pm
Localitate: Belarus
Like-uri oferite: 0 time
Like-uri primite: 0 time

buy tesco viagra online

de Garrettniz » Lun Aug 13, 2018 5:38 am

does viagra get you high
<a href="http://viagranbdnr.com/herb-viagra-sale.html">el generico de la viagra</a>
viagra how to buy online
buy viagra in saudi

 
Mesaje: 6
Membru din: Lun Aug 13, 2018 3:07 am
Localitate: The Gambia
Like-uri oferite: 0 time
Like-uri primite: 0 time

drug prices viagra

de WilliamNen » Lun Aug 13, 2018 5:40 am

viagra 50 100 mg unterschied
<a href="http://viagrarutjdfk.com/viagra-cheap-thailand.html">vendita online viagra generico</a>
does sildenafil go generic
cheap viagra europe

 
Mesaje: 9
Membru din: Lun Aug 13, 2018 5:45 pm
Localitate: Iceland
Like-uri oferite: 0 time
Like-uri primite: 0 time

what can you buy over the counter that works like viagra

de Craigfonge » Lun Aug 13, 2018 5:48 pm

buy levitra online in australia
<a href="http://hqmdwww.com/">axiolabs 20 mg tadalafil</a>
viagra for cheap with no prescriptions
trial generic viagra
viagra pillenpharm
generic viagra and cialis
online canadian pharmacy buy viagra online reputable canadian online pharmacies

 
Mesaje: 9
Membru din: Mie Aug 15, 2018 5:41 pm
Localitate: Iceland
Like-uri oferite: 0 time
Like-uri primite: 0 time

viagra tablets for sale

de HowardBuifs » Mie Aug 15, 2018 8:00 pm

viagra online
<a href="http://viagrarutjdfk.com/cheap-100mg-viagra.html">buy viagra online</a>
viagra without a doctor prescription
generic viagra

 
Mesaje: 8
Membru din: Joi Aug 16, 2018 10:56 pm
Localitate: Yemen
Like-uri oferite: 0 time
Like-uri primite: 0 time

prescription free generic viagra

de DonaldDix » Vin Aug 17, 2018 1:34 am

buy viagra online
<a href="http://viagranbdnr.com/viagra-sale-cheapest.html">generic viagra</a>
viagra generic
buy viagra online

 
Mesaje: 8
Membru din: Sâm Aug 18, 2018 5:05 pm
Localitate: Ukraine
Like-uri oferite: 0 time
Like-uri primite: 0 time

100mg sildenafil citrate and 60 mg dapoxetine

de VictorSes » Sâm Aug 18, 2018 8:03 pm

viagra prices
<a href="http://viagranbdnr.com/viagra-online-ordering.html">generic viagra</a>
viagra pills
viagra coupons


Înapoi la Ghiduri și tutoriale

Cine este conectat

Utilizatorii ce navighează pe acest forum: Niciun utilizator înregistrat şi 28 vizitatori