DangThao 81 Report post Posted August 24, 2017 Anyone got the full guide including the attachment for "Player Marriage System"? While looking through old server archives from @V3ct0r thread, the attachment from the Player Marriage System no longer downloadable. Can someone please remake the guide(repost with working download attachments rar file and so...) Old Link: https://serverdev-archive.pko.host/index-619.htm@Blanquitoh Quote Share this post Link to post Share on other sites
Julio 21 Report post Posted August 25, 2017 On 24/08/2017 at 2:03 AM, DangThao said: Anyone got the full guide including the attachment for "Player Marriage System"? While looking through old server archives from @V3ct0r thread, the attachment from the Player Marriage System no longer downloadable. Can someone please remake the guide(repost with working download attachments rar file and so...) Old Link: https://serverdev-archive.pko.host/index-619.htm@Blanquitoh i think can do this ------------------- --Marriage Effect-- ------------------- print("Loading Marriage Effect") function MarriageEffect(role, freq, time) Hearts = {} Hearts[1] = 355 Hearts[2] = 370 Hearts[3] = 354 Hearts[4] = 355 Hearts[5] = 356 local x = math.random(1,5) local Ring_Num = 0 local t = {} t[0] = role t[1] = GetTeamCha(role, 0 ) t[2] = GetTeamCha(role, 1 ) t[3] = GetTeamCha(role, 2 ) t[4] = GetTeamCha(role, 3 ) local i = 1 local item_count = CheckBagItem ( role , 7408 ) local item_party = CheckBagItem ( t[i] , 7408) local Ring_Num = Ring_Num + item_count if Ring_Num == 1 then for i = 1 , 4 , 1 do if t[i] ~= nil then local statelv = 1 local statetime = 3600 if item_count > 0 then if item_party > 0 then local month = os.date ("%m") local day = os.date ("%d") local hour = os.date ("%H") local minute = os.date ("%M") local second = os.date ("%S") local minutenum = tonumber(minute) local hournum = tonumber(hour) local secondnum = tonumber(second) local monthnum = tonumber(month) local daynum = tonumber(day) if monthnum == 02 and daynum == 14 and minutenum == 05 and secondnum == 00 then PlayEffect(role, Hearts[x]) end AddState ( role , role , marriage , statelv , statetime ) --AddState ( t[i] , t[i] , marriage , statelv , statetime ) --SystemNotice( t[i] , "<High Priest>: Marriage Effect Enabled!") end end end end if t[i] == nil then local statelv_marriage = GetChaStateLv ( role , marriage ) if statelv_marriage~=0 then RemoveState ( role, marriage ) BickerNotice( role , "<High Priest>: Marriage Effect Disabled!") end end else end end Quote Share this post Link to post Share on other sites
iZae 55 Report post Posted August 25, 2017 1 hour ago, Julio said: ... if I'm not wrong, there's something missing. (Guessing he doesn't had it elsewhere either). What's missing is "marriage" variable standing for its State Number. I'd add it but idk which number it is. 1 Quote Share this post Link to post Share on other sites
DangThao 81 Report post Posted August 25, 2017 Maybe someone can return the Player Marriage System topic back here in case someone need it. Cause attachments broke and so. Quote Share this post Link to post Share on other sites
FapFap 13 Report post Posted August 27, 2017 Can someone share it ? i managed to make it work but im having a problem with Love Line skill that it doesnt tele you to the Partner in party... anyone can help or share? Quote Share this post Link to post Share on other sites
Angelix 374 Report post Posted August 27, 2017 9 hours ago, FapFap said: Can someone share it ? i managed to make it work but im having a problem with Love Line skill that it doesnt tele you to the Partner in party... anyone can help or share? Take into consideration that "Love Line" skill requires both player to be within the same GameServer to work as far as I know. Quote Share this post Link to post Share on other sites
FapFap 13 Report post Posted August 27, 2017 21 minutes ago, Angelix said: Take into consideration that "Love Line" skill requires both player to be within the same GameServer to work as far as I know. They have to be in same map yeah.. but still aint working. also it aint adding stats tho.. Quote Share this post Link to post Share on other sites
Angelix 374 Report post Posted August 27, 2017 Uhm, AFAIK, "Love Line" doesn't add stats. Quote Share this post Link to post Share on other sites
FapFap 13 Report post Posted August 27, 2017 32 minutes ago, Angelix said: Uhm, AFAIK, "Love Line" doesn't add stats. i meant when you get marry and you in pt with ur partner in same map.. it wont give you the stats that it should give, i already added the stats but it wont give and love line skill won't tele to the partner.. I hope someone can make a working guide! Quote Share this post Link to post Share on other sites
Onioni 58 Report post Posted August 28, 2017 4 hours ago, FapFap said: i meant when you get marry and you in pt with ur partner in same map.. it wont give you the stats that it should give, i already added the stats but it wont give and love line skill won't tele to the partner.. I hope someone can make a working guide! be sure id of ring match on the skill line. if u missing some part take a look like roso file or some where is already one working marrie system and find functions with ring id and you will find what you are missing... 1 Quote Download: Nightmare Demonic Helm Dimension Pirates Online files: get now New map Project: Flag PK Black Skin 3.1.3 for pko 1: Get now Share this post Link to post Share on other sites
FapFap 13 Report post Posted September 16, 2017 @Onioni it matches fine, now i can get stats but the Love Line skill wont teleport to the party member, and yeah i took the scripts from roso files tho Quote Share this post Link to post Share on other sites