Jump to content

Saeed

Advanced members
  • Content Count

    15
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by Saeed


  1. 1 hour ago, gunnapong said:

    It's working very well, I'd like to ask more.  If I use a VIP card to make money*2 times  how should i write @V3ct0r

    If the condition is just having the VIP card in the player bag then it would look like this.

    -- Player killed monster event
    GetExp_PKM__Original = GetExp_PKM
    GetExp_PKM = function(monster, role)
        
        -- Call original function GetExp_PKM()
        GetExp_PKM__Original(monster, role)
        
        -- Get killed monster level
        local level = Lv(monster)
        
        -- Gold amount
        local money = 0
        
        
        -- Check the monster level
        if (level < 21) then
            money = 1000 -- 1,000 g
        elseif (level < 41) then
            money = 2000 -- 2,000 g
        end
        
        -- Add gold
        if (money > 0) then
            -- Has VIP Card
            local VIP_Card_ID = 0001
            local Has_VIP_Card = CheckBagItem(role,VIP_Card_ID)
            local VIP_Card_text = ""
            if Has_VIP_Card > 0 then
                VIP_Card_text = " VIP Card bonus applied!"
                money = money * 2
            end
            -- Give gold
            role = TurnToCha(role)
            local tmp = GetChaAttr(role, ATTR_GD)
            SetChaAttr(role, ATTR_GD, tmp + money)
            
            -- Show a message
            SystemNotice(
                role, 
                string.format(
                    "You killed (%s) and got (%d) gold!"..VIP_Card_text, 
                    GetChaDefaultName(monster), 
                    money
                )
            )
        
        end
        
    end


  2. On 7/22/2022 at 9:07 AM, gainster81 said:

    Hey @V3ct0r! The code i am currently using is the following:

     

    
    local x, y = GetSkillPos ( ATKER )
    local map_name = GetChaMapName ( ATKER )
    local x = math.floor (x/100)
    local y = math.floor (y/100)
    GoTo(ATKER, x,y, map_name)

    It also works with GetChaPos but in that case you get teleported into the enemy player instead of the clicked area. A new issue that i am having is that the skill must pass through an enemy in order to work. This means that if i select an area and no enemies are inside the zone, the teleport wont work, as if there was a condition preventing from the ending function to happen if it doesn't hit something.

    In the gif example below it works only because there is a shrub inside the area:

    1a3565a7f2322626626cec0cbeb6c9dc.gif

    Only edited client binaries for now, but i have the src as well. By realocating i mean preventing the camera to "zoom out" like in the gif i just showed that the camera goes up again and it rotates back to its standard position. Is there any way of doing that and also deleting the "level 79" text that appears?

    Maybe try to change the skill type in skillinfo to a neutral skill so it would call the skill function despite having no enemies in the selected area 

    • Thanks 1

  3. require someone who can make a large scale custom map.

    the request will be simple with enough details to start with.

     

    payment will be thru paypal starting from 100$ and above depending on how good the end results will be, i will be pretty generous.

     

    add me on discord : Saeed#4352


  4. On 5/13/2019 at 10:21 PM, FapFap said:

    You won't be able to complie client with the missing files since they MISSING - "Deleted" - "Not Shared"...

    I did with what's posted in here, what's missing is some knowledge on your side.

     

    14 hours ago, V3ct0r said:

    Source codes were posted "as is", as they were received from the seller. I personally successfully compiled them some years ago. Both client and server. All that you are missing is basic knowledge of C/C++ and Visual Studio.

    I confirm.

    • Like 1

  5. Hello everyone, im looking for someone to join me up to make a good medium server which will be mmolike top server which will include dungeons and bigass raids and will focus on making mazes more important making players actually require fc/ds items to craft end-game equipments plus we will include RNG equipments upgrade to keep players occupied and change the variety of items ingame other than like all gemmed equipments being the same.

     

    plus ill need a person who has free time and able to manage thr server while im gone

     

    payment will be considered by the mall system and whoever is in the team will get a cut as i dont really need money that much..

     

    if you are interested you may PM me here and tell me what u are able to do.


  6. On 11/19/2016 at 3:45 PM, J0k3r said:

    Here You Go, But Make Sure All Credit To Yudha

    Put This In Your functions.lua

    --------------------------------------------------------------------------------------

    
    function IsCanBeSummoned(role)
        local cha_lv     = Lv(role)
        local cha_job     = GetChaAttr(role,ATTR_JOB)
            local Slot1    = GetChaItem(role,1,9)
        local Slot1_ID    = GetItemID (Slot1)
        local BoatCheck = ChaIsBoat(role)
        if cha_lv <= 100 then
            return false
        end
        if cha_job <= 0 then
            return false
        end
        if Slot1_ID == 207 or Slot1_ID == 208 or Slot1_ID == 3108 then
            return false
        end
            if BoatCheck == 1 then
            return false
        end
        return true
    end

    ---------------------------------------------------------------------------------------------------------------

    And This In Your Functions.lua 

    --------------------------------------------------------------------------------------------------------------

    
    function CallAllTeleport(role, freq, time)
        local now_ticking     = GetChaParam(role, 1)
        local characterName     = GetChaDefaultName( role )
        local delay         = math.random(1,10)
        if IsCanBeSummoned(role) == true then
            if(GetName[characterName] ~= nil and _CallAll.Players[characterName] ~= nil)then
                if math.mod(now_ticking, delay) == 0 and now_ticking > 0 then
                    BickerNotice(role,"Guild leader calling..!")
                    GoTo( role,  _CallAll.Settings.X_Cord, _CallAll.Settings.Y_Cord, _CallAll.Settings.Map )
                    _CallAll.Players[characterName] = nil
                end
            end
        end
    end

    ---------------------------------------------------------------------------------------------------------------------------

    Then This In Your ItemEffect.lua

    ----------------------------------------------------------------------------------------------------------------------------

    
    function ItemUse_guildroar(role,Item)
    
    	local map_name = GetChaMapName(role)
    	if map_name == "hiddencamp" or map_name == "newbie" then
    		UseItemFailed ( role )
    		SystemNotice(role ,"Unable to calls guild members from here !")
    	end
    	
    	local Leader_GuildID = GetChaGuildID( role )
    	if Leader_GuildID < 1 then
    		UseItemFailed ( role )
    		SystemNotice(role ,"You dont have guild yet !")
    	end
    
    	local leader = IsGuildLeader(role)
    	if leader == 1 then
    		local x,y = GetChaPos(role)
    		local map = GetChaMapName(role)
    		for users,characters in pairs(GetName) do
    			local characterName 	= GetChaDefaultName(characters)
    			local Guild		= GetChaGuildID(characters)
    
    			if Guild == Leader_GuildID then
    				_CallAll.Settings = { Map = map, X_Cord = math.floor (x/100), Y_Cord = math.floor (y/100) }
    				_CallAll.Players[characterName] = {}
    				CallAllTeleport(characters)
    			end
    		end
    	else
    		UseItemFailed ( role )
    		BickerNotice(role ,"You are not Guild leader !")
    	end
    end

    -----------------------------------------------------------------------------------------------------------------------------

    Last in Iteminfo.txt

    
    9003	Guild Roar	trumpet	10130005	0	0	0	0	0	0	31	0	0	0	0	0	1	1	1	1	500	0	0	-1,-2,-2,-2	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	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	ItemUse_guildroar	0	0	0	0,0	0	0	Click it to calls guild members	0

    ------------------------------------------------------------------------------------------------------------------------------

     

    Note: This Call All Members In Same GameServer Maybe @KONG or @V3ct0r or @Billy And Others Can Fix It

     

    just use table.save to save the leader location and recall using cha_timer "table.load".


  7. Just now, Vasil said:

    Yes, but still doesn't matter.This server has obtained a bad reputation already .

    Maybe make something new?

    I like to make servers that are PVP Intensive/Mid Farming, also it wont be mainly fc/ds i would start increasing level cap by time but still give some specailities for those who keep going for FC/DS characters even give them the chance to be as powerful as higher level players, the new system that im talking about that makes end-game very late would allow those who stick to FC/DS to be able to reach the power of a max leveled player.

    • Like 1
×
×
  • Create New...