Jump to content

PromeTheuS

Miembro
  • Contador contenido

    249
  • Ingreso

  • Última visita

  • Días ganados

    15

Mensajes publicados por PromeTheuS

  1. LOL????? porque pone la ruta de la textura "prometheus"??? que yo sepa no la he adaptado xD

     

    PD: fue unas de mis primeras armas de pruebas... ajjaajja bueno ahora lo hago mucho mejor pa que disfruten y bueno les queda bien al lícan que por cierto no lo sabia ajajajaj

     

    Ahora subo el gr2 bien :D en este comentario

     

    PD2: Si Ryen ni me habia fijado solo que la descargué para verla y ponía prometheus y dije joe que raro que no me acuerdo xd

    Esta arma está en el pack haber si lo veo todas las armas y la pongo por aqui

     

    PINCHA PARA DESCARGAR EL PACK DE ARMAS "BY PROMETHEUS"

     

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.

  2. Hola Zoneros, pues les quiero decir que me interesa este "Mundo del 3D" y pues quiero iniciarme ya tengo el 3D Max 8 pero sinceramente no se que hacer con el, en fin quiero saber si alguien podria guiarme en esto y asi con suerte traer buenos aportes a esta comunidad.

     

    Aqui tienes unos buenos tutoriales:

     

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.

     

    PD: me he equivocado enlace nuevo:D

  3. set_v1_weapon_ambar

     

    Lo adapté yo asi que meresco almenos los créditos en "adaptación para el metin" by PromeTheuS.

     

    PD: 3º imagen no tiene enlace, verifiquelo porfavor, gracias!

  4. Quizá si fuesen un poco más pequeñas serían perfectas , pero aun así gracias por el aporte ^^ +1

     

    Un saludo.

     

    PD: Me recuerdan a las armas del Mu Online :P

    Pero no son del Mu Online xD

     

    PD: Aqui las armas mas chicas :D

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.

  5. Estaba aburrido y vi estas 4 armas y me gustaron mucho y bueno las adapté enseguida.

     

     

     

     

    TDGoZ6L.png

     

    j7EHF78.png

     

    nfOjywE.png

     

    dR6VlJt.jpg

     

     

     

     

    Bueno tal vez son grandes, si quieren más chica o algo me avisan.

     

    Espero que les gusten.

     

    Contraseña del RAR:

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.

  6. Listo, muchisimas gracias por la ayuda!!

     

    PD: No me monta el pj.

    SYSERR: Jan 14 14:31:52 :: WriteRunningStateToSyserr: LUA_ERROR: quest new_mount.start click
    SYSERR: Jan 14 14:32:22 :: RunState: LUA_ERROR: locale/germany/quest/object/state/ride:3: attempt to index field `?' (a nil value) WITH ERRORCODE 1
    
    SYSERR: Jan 14 14:37:11 :: WriteRunningStateToSyserr: LUA_ERROR: quest ride.start click
    SYSERR: Jan 14 14:37:14 :: RunState: LUA_ERROR: locale/germany/quest/object/state/ride:3: attempt to index field `?' (a nil value) WITH ERRORCODE 1
    SYSERR: Jan 14 14:37:14 :: RunState: LUA_STATE: index 0 ref 3
    

    Porque puede ser?

  7. when montar.loop_timer está mal, es when montar.timer

    y tambien el !pc.is_mount está mal, no busque la solucion a tu error, simplemente abrí la quest y vi eso, y lo puse dado que está mal.

    Sigue sin salirme la "gui"

     

    Tengo este error en el sysser channel1/core1:

    SYSERR: Jan 14 13:19:09 :: RunState: LUA_ERROR: [string "gui_monturas_yc"]:13: attempt to index global `new_mount' (a nil value) WITH ERRORCODE 1
    SYSERR: Jan 14 13:19:09 :: RunState: LUA_STATE: index 0 ref 3
    SYSERR: Jan 14 13:19:09 :: WriteRunningStateToSyserr: LUA_ERROR: quest gui_monturas_yc.start click
    SYSERR: Jan 14 13:19:19 :: RunState: LUA_ERROR: [string "gui_monturas_yc"]:11: attempt to index global `new_mount' (a nil value) WITH ERRORCODE 1
    SYSERR: Jan 14 13:19:19 :: RunState: LUA_STATE: index 0 ref 3
    SYSERR: Jan 14 13:19:19 :: WriteRunningStateToSyserr: LUA_ERROR: quest gui_monturas_yc.start click
    SYSERR: Jan 14 13:19:31 :: SpawnMob: SpawnMob: no mob data for vnum 23779

    Creo que es esto en la quest:

    			new_mount.podkresl()
    
    

    nose que coño significa.

     

    Aqui está la quest completa de como la tengo:

     

     

     

    quest gui_monturas_yc begin
    	state start begin
    		function yhair_gui()
    			local self = 
    			{
    				-- [Vnum del item] = {"Bonus 1", "Bonus 2", "Bonus 3", "Imagen que se cargara en cliente"}
    				[71114] = {"HP: +100", "Fuerza vs Mounstros: 10%", "Defensa: 75", "dzik"},
    				[71116] = {"HP: +150", "Fuerza vs Mounstros: 15%", "Defensa: 100", "wilk"},
    				[71118] = {"HP: +200", "Fuerza vs Mounstros: 20%", "Defensa: 125", "tygrys"},
    				[71120] = {"HP: +350", "Fuerza vs Mounstros: 25%", "Defensa:175", "lew"},
    				[71124] = {"HP: +500", "Fuerza vs Mounstros: 30%", "Exp: 30%", "lodowy_lew"},
    				[71125] = {"HP: +650", "Fuerza vs Mounstros: 35%", "Valor de ataq. + 20%", "dzik_cienia"},
    				[71126] = {"HP: +750", "Fuerza vs Mounstros: 40%", "Golpe Critico +15%", "wilk_cienia"},
    				[71127] = {"HP: +850", "Fuerza vs Mounstros: 45%", "Golpe Critico +20%", "tygrys_cienia"},
    				[71128] = {"HP: +950", "Fuerza vs Mounstros: 50%", "Resistencia al veneno: 10%", "lew_cienia"},
    				[71172] = {"Defensa: 150","Critico 10%","Fuerza vs Mounstros 50%","pesadilla_bg"},
    				}
    			local item_vnum = pc.getqf("usaritem")
    			cmdchat("MonturaData "..string.gsub(self[item_vnum][1], ' ', '_').."|"..string.gsub(self[item_vnum][2], ' ', '_').."|"..string.gsub(self[item_vnum][3], ' ', '_').."|"..self[item_vnum][4])
    			cmdchat("MonturaShow")
    			pc.setqf("nomontar", 0)
    			pc.setqf("nomontar", 0)
    			timer("montar", 2)
    		end
    		when 71114.use begin
    			if pc.is_riding() then
    				horse.unride()
    			end
    			if horse.is_summon() then	
    				horse.unsummon()	
    			end
    			pc.setqf("usaritem", item.vnum)
    			affect.add_collect(apply.MAX_HP,100,60*1)
    			affect.add_collect(apply.ATTBONUS_MONSTER,10,60*1)
    			affect.add_collect(apply.DEF_GRADE_BONUS,75,60*1)
    			new_mount.yhair_gui()
    		end
    		when 71116.use begin
    			if pc.is_riding() then
    				horse.unride()
    			end
    			if horse.is_summon() then	
    				horse.unsummon()	
    			end
    			pc.setqf("usaritem", item.vnum)
    			affect.add_collect(apply.MAX_HP,150,60*1)
    			affect.add_collect(apply.ATTBONUS_MONSTER,15,60*1)
    			affect.add_collect(apply.DEF_GRADE_BONUS,100,60*1)
    			new_mount.yhair_gui()				 
    		end
    		when 71118.use begin
    			if pc.is_riding() then
    				horse.unride()
    			end
    			if horse.is_summon() then	
    				horse.unsummon()	
    			end
    			pc.setqf("usaritem", item.vnum)
    			affect.add_collect(apply.MAX_HP,200,60*1)
    			affect.add_collect(apply.ATTBONUS_MONSTER,20,60*1)
    			affect.add_collect(apply.DEF_GRADE_BONUS,125,60*1)
    			new_mount.yhair_gui()				 
    		end
    		when 71120.use begin
    			if pc.is_riding() then
    				horse.unride()
    			end
    			if horse.is_summon() then	
    				horse.unsummon()	
    			end
    			pc.setqf("usaritem", item.vnum)
    			affect.add_collect(apply.MAX_HP,350,60*1)
    			affect.add_collect(apply.ATTBONUS_MONSTER,25,60*1)
    			affect.add_collect(apply.DEF_GRADE_BONUS,175,60*1)
    			new_mount.yhair_gui()
    		end
    		when 71124.use begin
    			if pc.is_riding() then
    				horse.unride()
    			end
    			if horse.is_summon() then	
    				horse.unsummon()	
    			end
    			pc.setqf("usaritem", item.vnum)
    			affect.add_collect(apply.MAX_HP,500,60*1)
    			affect.add_collect(apply.ATTBONUS_MONSTER,30,60*1)
    			affect.add_collect(apply.EXP_DOUBLE_BONUS,30,60*1)
    			new_mount.yhair_gui()	
    		end
    		when 71125.use begin  
    			if pc.is_riding() then
    				horse.unride()
    			end
    			if horse.is_summon() then	
    				horse.unsummon()	
    			end
    			pc.setqf("usaritem", item.vnum)
    			affect.add_collect(apply.MAX_HP,650,60*1)
    			affect.add_collect(apply.ATTBONUS_MONSTER,35,60*1)
    			affect.add_collect(apply.ATT_GRADE_BONUS,20,60*1)
    			new_mount.yhair_gui()				 
    		end
    		when 71126.use begin
    			if pc.is_riding() then
    				horse.unride()
    			end
    			if horse.is_summon() then	
    				horse.unsummon()	
    			end
    			pc.setqf("usaritem", item.vnum)
    			affect.add_collect(apply.MAX_HP,750,60*1)
    			affect.add_collect(apply.ATTBONUS_MONSTER,40,60*1)
    			affect.add_collect(apply.CRITICAL_PCT,15,60*1)
    			new_mount.yhair_gui()				 
    		end
    		when 71127.use begin
    			if pc.is_riding() then
    				horse.unride()
    			end
    			if horse.is_summon() then	
    				horse.unsummon()	
    			end
    			pc.setqf("usaritem", item.vnum)
    			affect.add_collect(apply.MAX_HP,850,60*1)
    			affect.add_collect(apply.ATTBONUS_MONSTER,45,60*1)
    			affect.add_collect(apply.CRITICAL_PCT,20,60*1)
    			new_mount.yhair_gui()				 
    		end
    		when 71128.use begin
    			if pc.is_riding() then
    				horse.unride()
    			end
    			if horse.is_summon() then	
    				horse.unsummon()	
    			end
    			pc.setqf("usaritem", item.vnum)
    			affect.add_collect(apply.MAX_HP,950,60*1)
    			affect.add_collect(apply.ATTBONUS_MONSTER,50,60*1)
    			affect.add_collect(apply.POISON_PCT,10,60*1)
    			new_mount.yhair_gui()	
    		end
    		when 71172.use begin
    			if pc.is_riding() then
    				horse.unride()
    			end
    			if horse.is_summon() then	
    				horse.unsummon()	
    			end
    			pc.setqf("usaritem", item.vnum)
    			affect.add_collect(apply.CRITICAL_PCT,10,60*1)
    			affect.add_collect(apply.ATTBONUS_MONSTER,50,60*1)
    			affect.add_collect(apply.DEF_GRADE_BONUS,150,60*1)
    			new_mount.yhair_gui()	
    		end
    		when tiempomount.timer begin
    			if pc.is_riding() then
    				horse.unride()
    			end
    			if horse.is_summon() then	
    				horse.unsummon()	
    			end
    			if pc.is_polymorphed() then
    				if pc.get_sex() == 0 then
    					chat("No puedes montar si estas transformado.")
    				else
    					chat("No puedes montar si has cambiado de genero.")
    				end
    			else
    				if item.select_cell(97) then
    					if item.get_vnum() == 71114 then
    					elseif item.get_vnum() == 71116 then
    					elseif item.get_vnum() == 71118 then
    					elseif item.get_vnum() == 71120 then
    					elseif item.get_vnum() == 71124 then
    					elseif item.get_vnum() == 71125 then
    					elseif item.get_vnum() == 71126 then
    					elseif item.get_vnum() == 71127 then
    					elseif item.get_vnum() == 71128 then
    					elseif item.get_vnum() == 71172 then
    					end
    					new_mount.yhair_gui()
    				end
    				if item.select_cell(97) then
    					if item.get_vnum() == 71114 then
    					elseif item.get_vnum() == 71116 then
    					elseif item.get_vnum() == 71118 then
    					elseif item.get_vnum() == 71120 then
    					elseif item.get_vnum() == 71124 then
    					elseif item.get_vnum() == 71125 then
    					elseif item.get_vnum() == 71126 then
    					elseif item.get_vnum() == 71127 then
    					elseif item.get_vnum() == 71128 then
    					elseif item.get_vnum() == 71172 then
    					end
    					new_mount.yhair_gui()
    					end
    				end
    			end
    		when login begin
    			if item.select_cell(97) then
    				if item.get_vnum() >= 71114 and item.get_vnum() <= 71172 then
    					timer("tiempomount", 1)
    					new_mount.yhair_gui()
    				end
    			end
    			if item.select_cell(98) then
    				if item.get_vnum() >= 71114 and  item.get_vnum() <= 71172 then
    					timer("tiempomount", 1)
    					new_mount.yhair_gui()
    				end
    			end
    			new_mount.podkresl()
    		end
    		when montar.timer begin
    			if pc.is_mount() and pc.getqf("nomontar") == 0 then
    				cmdchat("MonturaHide")
    				pc.setqf("nomontar", 1)
    				cleartimer("montar")
    			end
    		end
    		when logout begin
    			cmdchat("MonturaHide")
    			pc.setqf("nomontar", 1)
    		end
    	end        
    end
    

     

     

  8. Gracias por el aporte se agradece! 

     

    Lo acabo de implementar todo y en el sysser del channel1/core1 me acaba de salir esto y no ha funcionado no aparece ningún gui ni nada.

    SYSERR: Jan 13 17:49:30 :: RunState: LUA_ERROR: [string "gui_monturas_yc"]:13: attempt to index global `new_mount' (a nil value) WITH ERRORCODE 1
    SYSERR: Jan 13 17:49:30 :: RunState: LUA_STATE: index 0 ref 3
    SYSERR: Jan 13 17:49:30 :: WriteRunningStateToSyserr: LUA_ERROR: quest gui_monturas_yc.start click
    SYSERR: Jan 13 17:49:36 :: RunState: LUA_ERROR: [string "gui_monturas_yc"]:11: attempt to index global `new_mount' (a nil value) WITH ERRORCODE 1
    SYSERR: Jan 13 17:49:36 :: RunState: LUA_STATE: index 0 ref 3
    SYSERR: Jan 13 17:49:36 :: WriteRunningStateToSyserr: LUA_ERROR: quest gui_monturas_yc.start click
    SYSERR: Jan 13 17:49:42 :: RunState: LUA_ERROR: [string "gui_monturas_yc"]:11: attempt to index global `new_mount' (a nil value) WITH ERRORCODE 1
    SYSERR: Jan 13 17:49:42 :: RunState: LUA_STATE: index 0 ref 3
    SYSERR: Jan 13 17:49:42 :: WriteRunningStateToSyserr: LUA_ERROR: quest gui_monturas_yc.start click
    SYSERR: Jan 13 17:49:43 :: RunState: LUA_ERROR: [string "gui_monturas_yc"]:11: attempt to index global `new_mount' (a nil value) WITH ERRORCODE 1
    SYSERR: Jan 13 17:49:43 :: RunState: LUA_STATE: index 0 ref 3
    SYSERR: Jan 13 17:49:43 :: WriteRunningStateToSyserr: LUA_ERROR: quest gui_monturas_yc.start click
    SYSERR: Jan 13 17:49:50 :: SpawnMob: SpawnMob: no mob data for vnum 23779
    SYSERR: Jan 13 17:49:53 :: locale_find: LOCALE_ERROR: "ÀÌ¹Ì Å»°ÍÀ» ÀÌ¿ëÁßÀÔ´Ï´Ù.";
    SYSERR: Jan 13 17:49:54 :: locale_find: LOCALE_ERROR: "ÀÌ¹Ì Å»°ÍÀ» ÀÌ¿ëÁßÀÔ´Ï´Ù.";
    SYSERR: Jan 13 17:50:00 :: RunState: LUA_ERROR: [string "gui_monturas_yc"]:11: attempt to index global `new_mount' (a nil value) WITH ERRORCODE 1
    SYSERR: Jan 13 17:50:00 :: RunState: LUA_STATE: index 0 ref 3
    SYSERR: Jan 13 17:50:00 :: WriteRunningStateToSyserr: LUA_ERROR: quest gui_monturas_yc.start click
    
    

    Haber si alguien podría ayudar :D

  9. Entonces Sema?

     

    No entendí lo siento, sería una cosa asi??

     

    cmdchat("Mds coins")

    quest mds begin
        state start begin
            when login begin
                loop_timer("carga_mds", 10)
            end
         
            when carga_mds.timer begin
                local coins = mysql_query("SELECT coins from account.account WHERE id="..pc.get_account_id().." LIMIT 1;")[1][1]
                cmdchat("Mds coins")
            end
        end
    end
    
    

    Pero en el sysser me sale esto:

    
    1221 16:39:44442 :: Unknown Server Command Mds coins | Mds
    1221 16:40:54409 :: Traceback (most recent call last):
    
    1221 16:40:54409 ::   File "game.py", line 2407, in BINARY_ServerCommand_Run
    
    1221 16:40:54411 ::   File "stringCommander.py", line 63, in Run
    
    1221 16:40:54412 ::   File "stringCommander.py", line 31, in __call__
    
    1221 16:40:54413 ::   File "stringCommander.py", line 20, in __call__
    
    1221 16:40:54414 ::   File "game.py", line 3095, in __Mds
    
    1221 16:40:54415 :: ValueError
    1221 16:40:54415 :: : 
    1221 16:40:54415 :: invalid literal for int() with base 10: 'coins'
    1221 16:40:54415 :: 
    
    1221 16:40:54415 :: Unknown Server Command Mds coins | Mds
    

    PD: Dex esa quest la tengo yo como coins ingame "comerciable" 

  10. Gracias Dex pero sigue igual, por lo tanto sería la quest o que puse mal en el cliente algo a continuación voy a poner lo que he puesto:

     

    uiinventory.py

     

    Debajo de :

     

                self.wndMoneySlot = self.GetChild("Money_Slot")

    Puse esto

    			self.wndMds = self.GetChild("Mds")
    			self.wndMdsSlot = self.GetChild("Mds_Slot")
    

    Luego debajo de esto:

    	def Destroy(self):
    

     

     

     

    McTU4Kt.png

     

     

     

    Luego buscando esto:

    	def RefreshStatus(self):
    

    Puse esto asi:

     

     

     

     

    9G6FrjT.png

     

     

     

    Y esto acaba en uiinventory.py

     

    Abrí el inventorywindow.py y alfinal puse esto debajo del money, tal cual como está en la guía cambiandole las coordenadas de la imagen.

     

     

    				{
    					"name":"Mds_Slot",
    					"type":"button",
    				
                        "x":1,
                        "y":34,
    				
    					"horizontal_align":"center",
    					"vertical_align":"bottom",
    				
    					"default_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
    					"over_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
    					"down_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
    				
    					"children" :
    					(
    						{
    							"name":"Mds_Icon",
    							"type":"image",
    				
    							"x":-21,
    							"y":2,
    				
    							"image":"d:/ymir work/ui/game/windows/money_icon.sub",
    						},
    				
    						{
    							"name" : "Mds",
    							"type" : "text",
    				
    							"x" : 5,
    							"y" : 3,
    				
    							"horizontal_align" : "right",
    							"text_horizontal_align" : "right",
    				
    							"text" : "123456789 Md's",
    						},
    					),
    				},
    
    

     

     

     

    En el game.py

     

    Debajo de esto:

    def __ServerCommand_Build(self):
        serverCommandList={
    

    Puse esto:

    			#Carga Mds Start
    			"Mds"			: self.__Mds,
    			#Carga Mds End
    

    Y a lo último del game:

     
    	def __Mds(self, coins):
    		import constInfo
    		constInfo.Mds = int(coins)		
    
    

    Y en costinfo.py puse esto:

     

    Mds = 0

     

    Algún error???

     

    Lo siento por hacer todo esto es que llevo semanas con este error...

  11. Sema

    quest mds begin
        state start begin
            when login begin
                loop_timer("carga_mds", 10)
            end
         
            when carga_mds.timer begin
                local coins = mysql_query("SELECT coins from account.account WHERE id="..pc.get_account_id().." LIMIT 1;")[1][1]
                cmdchat("mds"..coins)
            end
        end
    end
    
    

    Lo tengo asi tal cual estaba en la guía.

     

    PD: y lo de 1010 son las coins que supuestamente se deberian ver en el inventario.

  12. Para 40k la función de mysql_query es esta????

     

     

     

    -- MySQL
    function split(str, delim, maxNb)
        if str == nil then return str end
        if string.find(str, delim) == nil then return { str } end
        if maxNb == nil or maxNb < 1 then maxNb = 0 end
        local result = {}
        local pat = "(.-)" .. delim .. "()"
        local nb = 0
        local lastPos
        for part, pos in string.gfind(str, pat) do
            nb = nb + 1
            result[nb] = part
            lastPos = pos
            if nb == maxNb then break end
        end
        if nb ~= maxNb then result[nb + 1] = string.sub(str, lastPos) end
        return result
    end
    
    mysql_query = function(query)
    	local version = 55
        if not pre then
            local rt = io.open('CONFIG','r'):read('*all')
            pre,_= string.gsub(rt,'.+PLAYER_SQL:%s(%S+)%s(%S+)%s(%S+)%s(%S+).+','-h%1 -u%2 -p%3 -D%4')
        end
        math.randomseed(os.time())
        local fi,t,out = 'mysql_data_'..math.random(10^9)+math.random(2^4,2^10),{},{}
    	if version == 51 then
    		os.execute('mysql '..pre..' --e='..string.format('%q',query)..' > '..fi)
    	elseif version == 55 then
    		os.execute('mysql '..pre..' -e'..string.format('%q',query)..' > '..fi)
    	else
    		return 0
    	end
        for av in io.open(fi,'r'):lines() do table.insert(t,split(av,'\t')) end; os.remove(fi);
        for i = 2, table.getn(t) do table.foreach(t[i],function(a,b)
            out[i-1]               = out[i-1] or {}
            out[i-1][a]            = tonumber(b) or b or 'NULL'
            out[t[1][a]]           = out[t[1][a]] or {}
            out[t[1][a]][i-1]      = tonumber(b) or b or 'NULL'
        end) end
        out.__lines = t[1]
        return out
    end
    --- Mysql END
    
    

     

     

     

    Es que he instalado el sistema de MD en el inventario de Sema y nunca se me ve las MD que tengo y me sale este error

     

     

     

    1221 01:09:38139 :: Unknown Server Command mds1010 | mds1010
    1221 01:09:48045 :: Unknown Server Command mds1010 | mds1010
    1221 01:09:58036 :: Unknown Server Command mds1010 | mds1010
    1221 01:10:08043 :: Unknown Server Command mds1010 | mds1010
    1221 01:10:18084 :: Unknown Server Command mds1010 | mds1010
    1221 01:10:28008 :: Unknown Server Command mds1010 | mds1010
    1221 01:10:38016 :: Unknown Server Command mds1010 | mds1010
    1221 01:10:48006 :: Unknown Server Command mds1010 | mds1010
    

     

     

     

    Y lo siento por aprobechar este post, es para no hacer otro post y como este post se refiere a la función mysql_query

     

    Disculpen.

×
×
  • Crear nuevo...