Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. Dan~

    Anonymous Pirates Online

    Drop Rate of Kals adjusted DW 1/2/3 Boss now drops Unique Gems DS Huge Mud now Drops Kal (Via Temp Bag) DW Chests 1/2/3 Drops Kals (Via Temp Bag) Fishing Crate 10k Gold Note swapped to 100k Note Fishing Crate now has Spring Roll Increased Crusader/Sharpshooter HP slightly Added Uns55/65 Bow's to Black Market Added an extra Page to Black Market Ninja Apparel Set available in Item Mall
  3. Today
  4. ahmad

    vip System States

    helo i'm using vip system by 7n6 but i found a small bug with add States when player use ship then back to land keep add states without remove old states till relog or use a ticket this my states add ---vip-- function STATE_vip_Add(Player, StateLv) local CON = GetChaAttr(Player, ATTR_STATEV_CON) + 1 local MSPD = GetChaAttr(Player, ATTR_STATEV_ASPD) + 15 SetCharaAttr(CON, Player, ATTR_STATEV_CON) SetCharaAttr(MSPD, Player, ATTR_STATEV_ASPD) --AttrRecheck(Player) end function STATE_vip_Rem(Player, StateLv) local CON = GetChaAttr(Player, ATTR_STATEV_CON) - 1 local MSPD = GetChaAttr(Player, ATTR_STATEV_ASPD) - 15 SetCharaAttr(CON, Player, ATTR_STATEV_CON) SetCharaAttr(MSPD, Player, ATTR_STATEV_ASPD) --AttrRecheck(Player) end and if teleport to another map show this LG"check_item_final"" [10-19 16:49:02]ResetCheck Failed this the function inside forge.lua this the vip function --[[ *###########################################################################* # -Simple VIP by 7n6.- # # If used please give credit or I will break your server Kappa. # # (But seriously don't remove credits...) # *###########################################################################* ******************************************************************************************************************************* ############################################################################################################################### ******************************************************************************************************************************* Installation: 1) Change VIP.SavePath to your desired save path. 2) Change VIP.State to the state you wish to add to a VIP player 3) Add lines to iteminfo eg: 8967 VIP 10 Seconds n1216 10130016 0 0 0 0 0 0 31 0 0 0 0 0 1 1 1 1 1 0 200 -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 AddVIP 0 0 0 0,0 0 0 Use to get VIP 8968 VIP 1 Day n1216 10130016 0 0 0 0 0 0 31 0 0 0 0 0 1 1 1 1 1 0 200 -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 AddVIP 0 0 0 0,0 0 0 Use to get VIP 8969 VIP 7 Days n1216 10130016 0 0 0 0 0 0 31 0 0 0 0 0 1 1 1 1 1 0 200 -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 AddVIP 0 0 0 0,0 0 0 Use to get VIP 4) Adjust VIP.Items to have the ID of the item as the index, and the time in seconds that the item will add upon use as the value eg : [8967] = 10, Means item 8967 will add 10 seconds to VIP. 5) Load this file with DoFile() ******************************************************************************************************************************* ############################################################################################################################### ******************************************************************************************************************************* ]] --Create VIP object VIP = {} --Declare save path VIP.SavePath = GetResPath("../db/vipeffect/VIP.txt") --State to add to VIP players VIP.State = 220 --Items to add VIP --[8525] = 10 : means item 8967 when used gives VIP for 10 seconds VIP.Items = { [8525] = 10, [8526] = (60 * 60 * 24), [8527] = (26 * 60 * 60 * 24), } --Function to create the savefile upon first load function VIP.Initial(file) Table = io.open(file,"r") if Table~=nil then io.close(Table) else table.save({},file,"w") end end VIP.Initial(VIP.SavePath) --Item function to add to the VIP time. --If you use a vip item while already vip, it adds to your vip time function AddVIP(role,Item) local PID = GetRoleID(role) local ID = GetItemID(Item) local Time = VIP.Items[ID] local data = table.load(VIP.SavePath,"r") if Time ~= nil then if VIP.CheckVIP(role) == false then data[PID] = VIP.SystemTimeNow() end data[PID] = data[PID] + Time end table.save(data,VIP.SavePath,"w") AttrRecheck(role) end --Function returns true if user is currently vip, false if they are not function VIP.CheckVIP(role) local data = table.load(VIP.SavePath,"r") local PID = GetRoleID(role) local ship = TurnToShip(role) local k = ChaIsBoat(ship) if k == 1 then return false end if data[PID] == nil or data[PID] <= VIP.SystemTimeNow() then return false else return true end end --Hooked on AttrRecheck, so will check each time players stats update function VIP.AddState(role) if VIP.CheckVIP(role) == true then AddState(role,role,VIP.State,1,0) else if GetChaStateLv ( role , VIP.State ) > 0 then RemoveState ( role , VIP.State ) end end end --Returns systemtime in seconds. function VIP.SystemTimeNow() local TimeNow = os.date("*t") local Value = os.time{day = TimeNow.day ,month = TimeNow.month,year = TimeNow.year,hour = TimeNow.hour, min = TimeNow.min,sec = TimeNow.sec} return Value end Hook:AddPreHook("AttrRecheck",VIP.AddState)
  5. ahmad

    Whirlpool skill bug

    work thank you
  6. Eurph

    Clash Of Pirates

    Excited for now and hoping that i wont disappoint me LOL
  7. Yesterday
  8. V3ct0r

    Whirlpool skill bug

    @Ahmed, change 'role' on the line 5837 to 'statelv'
  9. JaviOverflow

    source code of *server.exe

    thanks so much @J0k3r!!
  10. Rinor

    Whirlpool skill bug

    @Ahmed change all cha_role to role
  11. Ska

    Clash Of Pirates

    Hi have you heard about Clash Of Pirates? Under new management and based on our brand new progress of development plans, proudly we announce the Grand Opening of Clash of Pirates private server on October 25, 2018. join our discord channel and start to build your role with us, as a players? an help desk? an investor? a game master? or even a freelancer ? https://discord.gg/qjRKCXv
  12. ahmad

    Whirlpool skill bug

    line 655 it's local mspdsa= GetChaAttr(a, ATTR_STATEC_MSPD)/ATTR_RADIX --[[取mspd状态百分比]]-- didn't work have this error and this cha_role inside function.lua
  13. DangThao

    Phyllis Crusader - Dual Sword bug

    @V3ct0r i followed what you said but it still didnt work. Anything else is needed beside characterinfo and characteraction.tx? Also i've tried: -use a working phyllis crus client and use that to launch the game but still didnt work after add ,38 to phyllis line in characterinfo -thought it was the dual weapon skill (compared)but see nothing different Anything else?
  14. Hello @everyone! today im introducing my python website to the community. features: Register/Login/Resetpassword/Changepassword Itemmall/Awardcenter/Auctions/Promocodes/IGSTransfer/CreditsExchange/TokensExchange(ingame card or item for imps or credits on web)/Namechange(for guilds and chars(requires an item)) Ranking/Vote Adminpanel/Discord webhook(once you post something on website, a webhook api is triggered to notify players on discord) the website is online & hosted on ubuntu machine (nginx) to the public, so you guys can test & view its features(once you register you get admin rights so you can test everything). unfortunately i can't run server right now so you can't test name change feature and etc... hooked discord channel: https://discord.gg/XrHhM3P website link: https://flaskwebserver.tk any suggestion is appreciated!
  15. J0k3r

    source code of *server.exe

    i believe that our forum has a search engine, it doesn't work properly sometimes but it does exist.
  16. Solid Strife

    Best TOP Website source

    Are you able to help with this @V3ct0r? everytime i try it says an error or something is missing.
  17. Last week
  18. JaviOverflow

    source code of *server.exe

    Have these executables ever decompiled by anybody? Is the source code available somewhere? I'm interesting on the main ones interfacing the lua scripts: gameserver.exe, gateserver.exe, accountserver.exe and groupserver.exe Thanks in advance!
  19. I'm so sorry I doubled posted without noticing, could you delete this thread?
  20. V3ct0r

    Whirlpool skill bug

    Change the name of the variable 'cha_role' to 'role' in skilleff.lua
  21. Knight

    Whirlpool skill bug

    Give us functions.lua string #655
  22. ahmad

    Whirlpool skill bug

    helo!~ every time i use Whirlpool skill appear some error inside lua error [10-17 00:51:46]DoString State_Xw_Add [10-17 00:51:46]./resource/script\calculate\functions.lua:655: attempt to perform arithmetic on a nil value [10-17 00:52:02]DoString State_Xw_Rem [10-17 00:52:02]./resource/script\calculate\functions.lua:655: attempt to perform arithmetic on a nil value this the function inside function.lua function Mspd(a) --LuaPrint("Obtain character attribute mspd") local mspd=GetChaAttr(a,ATTR_MSPD) --[[取mspd]]-- return mspd end function MspdSa(a) --LuaPrint("Obtain character attribute mspd_sa") local mspdsa= GetChaAttr(a, ATTR_STATEC_MSPD)/ATTR_RADIX --[[取mspd状态百分比]]-- return mspdsa end and this inside skilleff function Skill_Xw_End ( ATKER , DEFER , sklv ) end function State_Xw_Add ( role , statelv ) local mspdsa_dif = 0.1 + statelv * 0.02 local aspdsa_dif = 0.05 + statelv * 0.01 local mspdsa = ( MspdSa ( cha_role ) - mspdsa_dif ) * ATTR_RADIX local aspdsa = ( AspdSa ( cha_role ) - aspdsa_dif ) * ATTR_RADIX SetCharaAttr( mspdsa , role , ATTR_STATEC_MSPD ) SetCharaAttr( aspdsa , role , ATTR_STATEC_ASPD ) ALLExAttrSet( role ) end function State_Xw_Rem ( role , statelv ) local mspdsa_dif = 0.1 + statelv * 0.02 local aspdsa_dif = 0.05 + statelv * 0.01 local mspdsa = ( MspdSa ( cha_role ) + mspdsa_dif ) * ATTR_RADIX local aspdsa = ( AspdSa ( cha_role ) + aspdsa_dif ) * ATTR_RADIX SetCharaAttr( mspdsa , role , ATTR_STATEC_MSPD ) SetCharaAttr( aspdsa , role , ATTR_STATEC_ASPD ) ALLExAttrSet( role ) end function State_Xw_Tran ( statelv ) return 1 end skilinfo line 0218 Whirlpool 1 16,10 1,-1 1,-1 1,-1 -1 2 1 0 -1 217,4 1 2 2 1000 5 2 0 0 3 0 SkillArea_State_Xw SkillSp_Xw 0 0 SkillArea_Circle_Xw 0 Skill_Xw_End 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SkillCooldown_Xw 1 1 12 0 110 -1 278 0 0 247,0 0,0 -1 -1 -1 0 0 111 -1 0 0 279 0 s0218.tga 0 0 Creates a whirlpool to decrease movement speed of hostile ships within range Effect increases with each level Consumes 21 SP at Level 1. Increases by 1 SP per skill level 0 skilleff line 12 Whirlpool -1 State_Xw_Tran State_Xw_Add State_Xw_Rem 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 -1 280 1 0 0 0 0 0
  23. V3ct0r

    reload skilleffect.lua

    &updateall
  24. JaviOverflow

    reload skilleffect.lua

    Hello everybody, I'm doing some changes over the lua scripts (in particular, calculate/skilleffect.lua), and i would like to reload it without having to restart the gameservers. I know that using `&reload <script or table>`, one can reload those kind of scripts but I didn't manage to make it work. How can we achieve that? Thanks in advance!
  25. V3ct0r

    Model viewer (.lmo, .lgo, .lab)

    @BlackBarba, I don't
  26. BlackBarba

    Model viewer (.lmo, .lgo, .lab)

    you have this one v3ctor?
  27. OLa si estas Me puedes ayudar con lo del name color en el gameserver.exe y gateserver.exe

  28. Solid Strife

    [1.0.0] topCMS

    Sorry to bother but im getting completely confused with the readme file the prerequisites dont exist anymore? and im not sure how to do the path to my database? I tried getting it done and it kept giving me errors. Always when i try the commands eg: php artisan key:generate i get an error that some files are missing.
  1. Load more activity
×