Jump to content

Unkn0wn

Advanced members
  • Content Count

    22
  • Joined

  • Last visited

Posts posted by Unkn0wn


  1. Hello guys :) Well. I want to make to item give effect when is in inventory. How can i do that? So i dont want to be locked to specific slot examp local pkodev = GetChaItem(role, 2, 1) - work in 2slot
    I want to make somehow to work in all inventory is that possible?


  2. Also this two error

    SQL Error State: 08001, Native Error Code: 17, Error: [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.
    SQL Error State: 01000, Native Error Code: 53, Error: [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()).

    Are still present. But Someone told me ti's bcs files using luaSQL but im not friendly with configuration.


  3. Well..

     

    SQL Error State: 08001, Native Error Code: 17, Error: [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.
    SQL Error State: 01000, Native Error Code: 53, Error: [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()).
    SQL Error State: 08001, Native Error Code: 17, Error: [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.
    SQL Error State: 01000, Native Error Code: 53, Error: [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()).


  4. 19 hours ago, mkhzaleh said:

    show the script you are using 
    otherwise you can use the exist code of stealth of ss called cloak or something like that
     

    
    0474	Cloak	1	2,10;12,10	1,-1	1,-1	9999	-1	2	1	1	-1	-1	1	1	1	0	1	1	0	0	0	0	0	SkillSp_Ys	0	0	0	Skill_Ys_Begin	Skill_Ys_End	0	0	43	0	0	0	0	0	0	0	0	0	0	0	SkillCooldown_Ys	1	1	12	0	52	-1	121	0	-1	0,0	0,0	-1	-1	-1	0	0	-1	-1	0	0	0	0	x1087.png	0	0	Become invisible to others	Conceals for 30s and consumes 5.5 SP every 5s at level 1. Reduces SP consumption by 0.5 SP and duration increases by 5s per skill level	Fix consumption of 10 sp	0

    or just check how is your 
    function Skill_Ys_End ( ATKER , DEFER , sklv ) 
    works or post it here 

    Thanks now i have this problem skill cannot be casted ... What's next?


  5. 1 hour ago, J0k3r said:

    replace  this

    with this: 

    
    123    Stealth    1    9,10,12;10,10


     

     

    it seems like you want it to work on the 15th slot, which doesn't come out of the box, you need to check for it separately. find cha_timer function inside function.lua & insert this.
     

    
    local emblemSlot = GetChaItem(role, 2, 14)
    local emblemID   = GetItemID(emblemSlot)
    
    if (emblemID == 3086) then
        AddState(role, role, EMBLEM_STATE, 1, 5)
    else
         if GetChaStateLv(role, EMBLEM_STATE) ~= 0 then
              RemoveState(role, EMBLEM_STATE) 
         end    
    end



     

    in variables.lua add this

    
    EMBLEM_STATE = 240

     

    Thank you for the frist one.

    For emblem ye i did everytinh.


    variable.lua

    STATE_GODEMBLEM            =    240

    Skileff

    240	GODEMBLEM STATE	-1	0	State_GODEMBLEM_Add	State_GODEMBLEM_Rem	3	0	1	1	1	1	1	1	1	1	1	1	1	1	0	0	0	-1	0	0	0	490	0	0	0	0	0	0	0	0


    funcions.lua

    	local pet_num = GetPetNum(role)
    	local pet_numid = GetChaItem ( role , 2 , 14 )
    	local pet_num_id = GetItemID ( pet_numid )
    	if pet_num_id == 3086 then
    		local statelv = 1
    		local statetime = 3600
    			AddState( role , role , STATE_GODEMBLEM , statelv , statetime )
    	else
    		local state_godemblem = GetChaStateLv ( role , STATE_GODEMBLEM )
    		if state_godemblem ~= 0 then
    			RemoveState ( role , STATE_GODEMBLEM )
    		end
    	end	

     

    The emblem like stats work but the glow effect dont work.


  6. My respect to everyone.

    I have problem Sharpshoter can't use stealth i did changes in skillinfo still can't please can someone check?

     

    123    Stealth    1    9,10;10,10    1,1    1,1    1,-1    -1    2    1    1    -1    -1    1    1    1    0    1    1    0    0    0    0    0    SkillSp_Ys    0    0    0    0    Skill_Ys_End    0    0    43    0    0    0    0    0    0    0    0    0    0    0    SkillCooldown_Ys    1    1    12,0,0,0,0,0,0,0,0,0    0    52    -1,0,0    121,0,0    0,0,0    -1    0,0    0,0    -1    -1    -1    0    0    -1    -1    0    0    0    812843008    s0123.tga    0    0,0    Become invisible to others    Conceals for 30s and consumes 5.5 SP every 5s at level 1. Reduces SP consumption by 0.5 SP and duration increases by 5s per ski    Fix consumption of 10 sp    0


    My second problem is glow effect i added glow to item but i cant see glow IG all is updated.

     

    240	GODEMBLEM STATE	-1	0	State_GODEMBLEM_Add	State_GODEMBLEM_Rem	3	0	1	1	1	1	1	1	1	1	1	1	1	1	0	0	0	-1	0	0	0	490	0	0	0	0	0	0	0	0
    3086	God Emblem	n1819	10130005	0	0	0	0	0	00	41	0	0	0	0	0	0	0	1	1	1	1	5000	-1	0	-1	0	0	-1	-1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0	0,0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	Must be placed at 15th Slot.																																																																																									

    Thanks.


  7. 2 hours ago, V3ct0r said:

    @Unkn0wn change each function like can_open_entry_<map name>(map) as follows and restart the GameServer:

    
    function can_open_entry_bountypk(map)
        return 1
    end

     

    So thant's al without now_time? Can i get any contact like email facebook to i can reach you? I need some things to fix i can pay for service ofcourse. Thank's in future


  8. 28 minutes ago, V3ct0r said:

    Hello @Unkn0wn!

     

    It is too diffucult to make without any special knowlegde. You need to do deep changes in Game.exe and GameServer.exe using patching method or rewrite set stall system in server and client source codes.

    Huh i have no knowlage lel... But thank you so much for your answer :) Also i have problem with maps open i want to make to each map open evry hour but something making me problem can you please check it?

    DEATH CIRCLE

    SetMapEntryTime(map, "2019/2/17/4/4", "0/5/0", "0/0/30", "0/0/45")

    CHAOS ICICLE

        SetMapEntryTime(map, "2019/2/17/3/1", "0/2/0", "0/0/30", "0/0/45")

     

    function can_open_entry_chaosicicle( map ) 
        local Now_Time = GetNowTime()
        if Now_Time == 1 or Now_Time == 6 or Now_Time == 11 or Now_Time == 16 or Now_Time == 21 then
            return 1
        else
            return 0
        end
    end 

    CHAOS ARGENT

     

    SetMapEntryTime(map, "2019/2/17/2/2", "0/2/0", "0/0/30", "0/0/45")

     

    function can_open_entry_garner2( map ) 
        local Now_Time = GetNowTime()
        if Now_Time == 2 or Now_Time == 7 or Now_Time == 12 or Now_Time == 17 or Now_Time == 22 then
            return 1
        else
            return 0
        end

    end 

    BOUNTY PK

        SetMapEntryTime(map, "2006/10/18/1/1", "0/3/0", "0/0/30", "0/0/45")


     

    function can_open_entry_bountypk( map ) 
        local Now_Time = GetNowTime()
        if Now_Time ==1 or Now_Time ==4 or Now_Time ==7 or Now_Time ==10 or Now_Time ==13 or Now_Time == 19 then  ------------bh 1 4 7 10 13 16 19 22
            return 1
        else
            return 0
        end

    end 

    Thanks in future :))
     

×
×
  • Create New...