Jump to content

Sultan

Advanced members
  • Content Count

    104
  • Joined

  • Last visited

  • Days Won

    9

Everything 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
  2. Hey, Try to change the first "if" statement line to this one, it should work - you need to use brackets ( ) if( (Dina_x2_ID == 8913) and (Dina_x1_ID == 2569 or Dina_x1_Fusion_ID == 2569) )then
  3. Open variable.lua (can be found at: resource/script/calculate) and find the following: MAX_ELF_LV = 50 Change the number next to "=" to your needing, in my case, my server pet level is capped at lv50. Next time post in the correct section, this is Development section. Do post your questions in Questions & Help
  4. What's instant class npc? Do you mean Job Changer? If so, you can find it in most of server files.
  5. Change this with any amount you want: local money = 500
  6. 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!
  7. 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.
  8. Did you test it out? It's not working here, flash bomb has a skill info target in the ItemInfo line.
  9. Hello @V3ct0r, Can you add "items" cooldown for it as well? Such as: - Cake - Flash Bomb - Blessed Potion As @okitora described in Cooldown Preview:
  10. 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!
  11. 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!
  12. 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
  13. @V3ct0r Please do delete & close this topic as there are some scammers around the community.
  14. @Eviles Thanks a lot for your help in guiding me through it, much appreciated! That's exactly what I'm looking for
  15. 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.
  16. 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.
  17. 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: 60 FPS Higher Resolution Item Locking Mounts Monster Info View Portal Opening View Advanced Game Settings (In-Game) Improved graphics Colored Gems (In-Equipment) 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
  18. 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.
  19. 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.
  20. 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
  21. @Tera Thanks a lot for your reply! I know that design and I have it, I'm looking for other designs.
  22. 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: Thanks!
×
×
  • Create New...