Jump to content

Sultan

Advanced members
  • Content Count

    104
  • Joined

  • Last visited

  • Days Won

    9

Posts posted by Sultan


  1. @kyleflow Hello, I've written this code it should work pretty well replace this code to yours. Haven't tested it, try it and let me know the results.

     

    If player has Harden skill activated, the following will be applied:

    1. Player will gain additional defense stat according to gained spr

    2. Player will gain x2 defense stat if Fairy Body skill (Poss) is active

    3. Once buff wears off all of the additional stats will go back to normal

    function Skill_Shpf_End(ATKER, DEFER, sklv)
        local statelv = sklv
        local statetime = 600
        AddState(ATKER, DEFER, STATE_SHPF, statelv, statetime)
    end
    
    function State_Shpf_Add(role, statelv)
    	-- Spr
    	local spr_dif = 0
    	
    	-- Grants additonal stat for gained Spr
    	spr_dif = spr_dif + Sta(role)
    	
    	-- Check fairy poss if active will grant x2
    	for i = 168,174 do
    		if(GetChaStateLv(role,i) ~= 0)then
    			spr_dif = math.floor(spr_dif * 2)
    		end
    	end
    	
        local def_dif = 10 + spr_dif + (statelv * 4)
        local def = DefSb(role) + def_dif
        SetCharaAttr(def, role, ATTR_STATEV_DEF)
        ALLExAttrSet(role)
    end
    
    function State_Shpf_Rem(role, statelv)
    	-- Spr
    	local spr_dif = 0
    	
    	-- Grants additonal stat for gained Spr
    	spr_dif = spr_dif + Sta(role)
    	
    	-- Check fairy poss if active will grant x2
    	for i = 168,174 do
    		if(GetChaStateLv(role,i) ~= 0)then
    			spr_dif = math.floor(spr_dif * 2)
    		end
    	end
    	
        local def_dif = 10 + spr_dif + (statelv * 4)
        local def = DefSb(role) - def_dif
        SetCharaAttr(def, role, ATTR_STATEV_DEF)
        ALLExAttrSet(role)
    end

     

    • Like 1

  2. 25 minutes ago, Mario said:

    i just found but , why this fkin notebad not working sometimes lol

     

    For time & efficiency, you should consider downloading Notepad++ because there are so many good features that should help you out.

     

    The following is an example to try to search "GoToWhere" using Notepad++ using "Find in Files" with Find All feature

     

    To do that you need to do the following:

    1- Place something you want to search for in "Find what:"

    2- Place Server Files directory in "Directory:"

    3- Filters should be called as the file extension your trying to search for, in your case it should be in a LUA file, which means *.lua* (if you decided to keep it empty, it will take long time because it will be searching unnecessary files within the directory)

    4- Press on Find All and it will show you exactly where the file at!

    spacer.png

    • Thanks 1

  3. Hello,

     

    The following script will add (500 gold) to the character for staying online every 2 minutes.

    1. Open functions.lua and search for  cha_timer function and add the following script inside of it after "SetChaParam(role, 1, now_tick + freq * time)"

    if(math.mod(now_tick, 120) == 0 and now_tick > 0)then
    	local money = 500
    	AddMoney(role,0,money)
    	SystemNotice(role,'Received ('..money..'G) for staying online!')
    end

     

    Note: if you want to edit time, you need to change value 120 (in seconds). For example if you want 3 mins change it to 180.

    • Thanks 1

  4. 12 hours ago, V3ct0r said:

    Hello @Sultan,

     

    I don't plan to create new mods in the near future. But I provide support for already created.

     

    I also think someday I will make a mod to protect the server and client from WPE and implement your idea:

     

    That's nice.

     

    I understand you going to stop doing new mods, but at least will you still continue providing services? We still want at least some features for the client such as: 60 fps (properly working), More Resolution Options, More Settings, Icons Near Name, etc.... I'd like to see these myself on 1.3x files. Myself I don't really mind if they are paid or free since this is your work and you deserve what you worked on. 

     

    Thanks a lot!


  5. Hey guys,

     

    Can we have a list of trustable developers who provides services? It'll help approaching them faster, and you kinda feel safe that the person you asked service for is know what hes doing.

     

    Do reply below if your a dev providing service, and in which (binaries / src / CO).

     

    Thanks!


  6. I've came across one guy today and tried to scam me but luckily I knew the original owner of the files and directly contacted him to know if he is really "aware" that his co admin is trying to sell his files and he claimed that he doesn't even have the files and his intention was basically to get the money and scam me.

     

    So .... Why is there a lot of scammers nowadays? There is only one answer.....

     

    The community has came to a down fall, nobody is trying to help one another, for me personally I've always depended on @V3ct0ron having mods and now has stopped providing services and everyone is simply claiming that they are having CO working srcs etc and their intention is basically to get your money and give you shitty files or nothing in the end.

     

    For me personally, I want to work on srcs, but there isn't enough guiding on it... or even some sort of development. It's kinda hard to work around without any ideas in forums. 

     

    I do really WISH & HOPE that developers stand out and at least provide some genuine stuff (that they are know what they're doing) rather than getting them scammed and selling stuff they don't know about. 

     

    That's all from me, I wish the best for TOP/PKO community and I really do care about it's development and wish for it to last long.

     

    Thanks 


  7. Hello,

     

    I've been trying for some time to Apply Forging Gems to Weapons NPC and don't know how. 

     

    Outside cha_timer, I called varaiable: "NPCForged = false" then inside cha_timer I tried to find the npc by name and apply gems into it but unfortunately unsuccessfully couldn't manage to do it.

    	if(NPCForged == false)then
    		local name = GetChaDefaultName(role)
    		local ret, npc, id = FindNpc( name )
    		if ret ~= nil and npc ~= nil and id ~= nil then
    			if(name == 'Boss Knowledge - Graves')then
    				print('found npc:')
    				NPCForged = true
    				local item = GetChaItem(role, 1, 9)
    				local param = GetItemForgeParam(item, 1)
    				local Item_Stone = { }
    				local Item_StoneLv = { }
    				param = TansferNum(param)
    				param = SetNum_Part4(param, 9)
    				param = SetNum_Part5(param, 9)
    				SetItemForgeParam(item, 1, param)
    			end
    		end
    	end

     

    I think in NPCs it's not possible to check "GetChaItem" maybe that's why. I've also tried adding "eff_id" in the NPC itself the effect applys to the "Head" npc. 


  8. On 5/18/2022 at 5:03 PM, V3ct0r said:

    Hello @Sultan,

     

    What are the sizes of the custom map? (in game sizes (examples: 4096 x 4096, 128 x 256) and size on disk in bytes)

    How was the map made? With YAMMI? 

    Hello @V3ct0r,

     

    1. I don't really know the map size exactly but I don't think it's big sized map. I'll have to check on that when I get back home.

    2. Yes, it was made by YAMMI and map-editor in client for the objects.


  9. Hey guys,

     

    I'm looking for someone who sells properly fixed sources/website.

     

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

     

    I'm planning on re-opening a server again and I assume using the outdated binaries isn't a good idea so I've been searching around and playing around with deguix Corsair's files. All though maybe exploits are cleared out (mostly) I feel there's still more of them are around, and maybe, bugs, etc.

     

    As for my current re-opening plan, I'm still using binaries for their ease of use and stability. All I have to do is work around the LUA-side stuff, and add some ideas, couple of features and that's it... Just open up a server and done.

     

    Thing is, I noticed most of big server's (PKO, PO, Kraken, etc....) have amazing features, and I'd like see some of them I feel they are game-changing and worth having:

    1. 60 FPS
    2. Higher Resolution
    3. Item Locking
    4. Mounts
    5. Monster Info View
    6. Portal Opening View
    7. Advanced Game Settings (In-Game)
    8. Improved graphics
    9. Colored Gems (In-Equipment)
    10. Fixes most of critical issues, bugs and exploits

    & more.... That's all I could think of.

     

    I'm looking for someone trustworthy and having experience for selling me stable src/new website(designed) because the files/website I'm having is outdated (2017).

     

    Please do contact me on discord:

    @ Sultan#6155

    • Like 1

  10. Apologize for reviving this very old topic but I noticed something regarding this topic, maybe gonna help the community or maybe towards a fix for this problem....

     

    Using a custom map (as a main map) will cause this issue, this what I've figured out. I've been working on TOP/PKO development for the past month and I have wanted to try out one of Alias maps released to use a main-town, while adding the main-town I noticed most of the objects disappeared.

     

    I assume the main reason is the custom maps itself, I have been working on my test server in all three main maps (argent, shaitan, icicle) and I didn't notice anything disappears at all.

     

    Thanks.

    • Thanks 1

  11. Hey everyone,

     

    Does anyone have a fixed/working CO src client + files? Kinda intreseted in those files but I don't really know if it worth it since I see many issues/bugs around. Kinda risky to use...

    Hoping maybe someone would do a proper installation guide in the guide section would be much appreciated.

    • Like 1

  12. Hey guys,


    I've been trying to make it work but I think there is a problem. All I am getting is either "Connection failed" or "ToClient listen failed" error appears on GateServer (attached below) I guess because 1973 is used in both pkodev.stallserver.cfg & gateserver.cfg.

     

    Can someone guide us exactly through it, please post your configuration will help a lot!

    Thanks

     

    spacer.png
     


  13. Hey guys, 

     

    Looking for some Argent City designs. Back then, there used to be unique designs for Argent City I remember there was golden/orange once, black agent city, etc.. If some of you have such designs please share them here.

     

    Example:

    spacer.png

     

    Thanks!

×
×
  • Create New...