Profile Posted June 23, 2017 Posted June 23, 2017 I get mapflag problems, people can still teleport into the rooms and out. Quote
Profile Posted June 23, 2017 Posted June 23, 2017 Do I need to create any tables on SQL? Quite confused. Quote
Stolao Posted October 12, 2017 Author Posted October 12, 2017 (edited) Updated post to show newest version, might have another version coming soon as well have a few ideas to improve Edited October 12, 2017 by Stolao Quote
kimok02 Posted January 15, 2018 Posted January 15, 2018 Hi sir how to i enable autoattack on this script.. Quote
Stolao Posted January 25, 2018 Author Posted January 25, 2018 On 1/14/2018 at 6:30 PM, kimok02 said: Hi sir how to i enable autoattack on this script.. No idea what your asking about. Quote
Checkmate Posted February 2, 2018 Posted February 2, 2018 On 1/15/2018 at 10:30 AM, kimok02 said: Hi sir how to i enable autoattack on this script.. Do you mean /nc or /ns noshift or noctrl Quote
iubantot Posted February 27, 2018 Posted February 27, 2018 On 7/12/2013 at 12:16 AM, Stolao said: < Stolao's Pvp Ladder> Features: A Dynamic Pvp Ladder Todo: Suggestions? Optimize? Changelog: 3.00 Overhaul 3.01 Fixed missing "No" for "No Ygg" 3.02 Added Show Map Name Option 3.03 Added Max Players Option 3.04 Optimized and fixed SQL queries [Secret] 3.05 Replaced some queries with addrid(0) 3.06 Updated Rewards to RODEX compatable Links: Latest Pvp Ladder the script seems to not work correctly or did i miss a step on how to use it? this happens when i select pvp ladder ,gvg and personal stats etc. im using the latest version PvP_ladder 3.16 Quote
hendra814 Posted February 27, 2018 Posted February 27, 2018 1 hour ago, iubantot said: the script seems to not work correctly or did i miss a step on how to use it? this happens when i select pvp ladder ,gvg and personal stats etc. im using the latest version PvP_ladder 3.16 i'm suggest you make GIT issue at stolao GITHUB for fast response Quote
Loke Posted April 7, 2018 Posted April 7, 2018 On 2/27/2018 at 4:22 PM, iubantot said: the script seems to not work correctly or did i miss a step on how to use it? this happens when i select pvp ladder ,gvg and personal stats etc. im using the latest version PvP_ladder 3.16 I have the same problem Quote
Stolao Posted April 13, 2018 Author Posted April 13, 2018 On 4/7/2018 at 8:30 AM, Loke said: I have the same problem On 2/27/2018 at 12:22 AM, iubantot said: the script seems to not work correctly or did i miss a step on how to use it? this happens when i select pvp ladder ,gvg and personal stats etc. im using the latest version PvP_ladder 3.16 I'm not sure why this is happening, its also happening to my local test server as well now, ill try and look into this i just finished doing some updates to my Auto Event, ill take a look at this next Quote
Stolao Posted April 14, 2018 Author Posted April 14, 2018 (edited) @Loke @iubantot try 3.18 (3.1A if you have latest git) Updated 3.16->3.1A 3.17 Fixed Typos in Reset PVP Stats 3.18 Removed unnessisary next, creating hang screens 3.19 Made compatable with new mail command 3.1A Reformatted Rewards in conf to support 5 items Edited April 14, 2018 by Stolao Quote
klesler Posted April 20, 2018 Posted April 20, 2018 (edited) Stolao, it seems that the number of players in the pvp room is not being updated. Edited April 20, 2018 by klesler Quote
klesler Posted April 20, 2018 Posted April 20, 2018 (edited) I think the problem is this "close;" if(select("Nevermind:Continue") == 1) close; Edited April 20, 2018 by klesler Quote
Stolao Posted April 20, 2018 Author Posted April 20, 2018 10 hours ago, klesler said: Stolao, it seems that the number of players in the pvp room is not being updated. 9 hours ago, klesler said: I think the problem is this "close;" if(select("Nevermind:Continue") == 1) close; In which part, the scrolling or in the click on? Also that would have 0 effect on it as that only triggers if you are trying to enter a Nightmare PvP map. Quote
klesler Posted April 20, 2018 Posted April 20, 2018 Sorry it was my typo, The nightmare room is also not working, I mean, even if I choose to enter it does nothing. Quote
klesler Posted April 20, 2018 Posted April 20, 2018 (edited) case 1: .@m = select(implode(.MapList$,":")) - 1; .@executa = 1; if( .MapMode[.@m]&2 ){ mes "You are about to enter NIGHTMARE PvP, on death you will lose gear randomly."; if(select("Nevermind:Continue") != 2) .@executa = 0; } if(getmapusers(.MapName$[.@m]) >= .MaxPlayers[.@m]){ mes "Sala Cheia."; .@executa = 0; } else if(.MapMode[.@m]&8 && (countitem(607) || countitem(608))){ mes "No "+getitemname(607)+" or "+getitemname(608)+" allowed."; .@executa = 0; } else if(.MapMode[.@m]&16){ mes "No 3rd Classes Allowed."; .@executa = 0; } else if(.MapMode[.@m]&32){ mes "No Trans Classes Allowed."; .@executa = 0; } if (.@executa == 1) { warp .MapName$[.@m],0,0; announce "[ PvP Warper ] " + strcharinfo(0)+" has entered in "+((.MapMode[.@m]&1)?"GvG":"PvP")+" "+((.MapMode[.@m]&2)?"Nightmare":" "),0,((.MapMode[.@m]&1)?0x00CC99:0xEE0000); } else { close; } } I think the close; right after the if() is causing the issue, I solved it a long time ago by just separating it in a case. Let me re-write the bug report, since I struggled to express myself the previous post: 1 - The nightmare room is not working as intended, even if I choose to enter, I'm not getting teleported 2 - It seems that the banner/chat which appears above the NPC is not being updated with the number of players inside the rooms Best, Gabriel. Edited April 20, 2018 by klesler Quote
Stolao Posted April 20, 2018 Author Posted April 20, 2018 6 minutes ago, klesler said: case 1: .@m = select(implode(.MapList$,":")) - 1; .@executa = 1; if( .MapMode[.@m]&2 ){ mes "You are about to enter NIGHTMARE PvP, on death you will lose gear randomly."; if(select("Nevermind:Continue") != 2) .@executa = 0; } if(getmapusers(.MapName$[.@m]) >= .MaxPlayers[.@m]){ mes "Sala Cheia."; .@executa = 0; } else if(.MapMode[.@m]&8 && (countitem(607) || countitem(608))){ mes "No "+getitemname(607)+" or "+getitemname(608)+" allowed."; .@executa = 0; } else if(.MapMode[.@m]&16){ mes "No 3rd Classes Allowed."; .@executa = 0; } else if(.MapMode[.@m]&32){ mes "No Trans Classes Allowed."; .@executa = 0; } if (.@executa == 1) { warp .MapName$[.@m],0,0; announce "[ PvP Warper ] " + strcharinfo(0)+" has entered in "+((.MapMode[.@m]&1)?"GvG":"PvP")+" "+((.MapMode[.@m]&2)?"Nightmare":" "),0,((.MapMode[.@m]&1)?0x00CC99:0xEE0000); } else { close; } } I think the close; right after the if() is causing the issue, I solved it a long time ago by just separating it in a case. Let me re-write the bug report, since I struggled to express myself the previous post: 1 - The nightmare room is not working as intended, even if I choose to enter, I'm not getting teleported 2 - It seems that the banner/chat which appears above the NPC is not being updated with the number of players inside the rooms Best, Gabriel. Ty, I'll look into this once I can. If you need and any other issue let me know. Quote
klesler Posted April 21, 2018 Posted April 21, 2018 I tested it with some changes: .@m = select(implode(.@MapList$,":")) - 1; if(.MapMode[.@m]&2){ mes "You are about to enter NIGHTMARE PvP, on death you will lose gear randomly."; if(select("Nevermind:Continue") == 2) { if(.MaxPlayers[.@m] && getmapusers(.MapName$[.@m]) >= .MaxPlayers[.@m]){ mes "Room is Full."; close; } else if(.MapMode[.@m]&8 && (countitem(607) || countitem(608))){ mes "No "+getitemname(607)+" or "+getitemname(608)+" Allowed."; close; } else if(.MapMode[.@m]&16){ mes "No 3rd Classes Allowed."; close; } else if(.MapMode[.@m]&32){ mes "No Trans Classes Allowed."; close; } else { warp .MapName$[.@m],0,0; announce "[ PvP Warper ] "+strcharinfo(0)+" has entered in "+((.MapMode[.@m]&1)?"GvG":"PvP")+" Room",0,((.MapMode[.@m]&1)?0x00CC99:0xEE0000); } } else { close; } } } end; And it worked well, maybe it just need some refactoring, but I'll let this part with you The problem was indeed caused by the close; right after your if () { Best, Gabriel. Quote
Stolao Posted April 21, 2018 Author Posted April 21, 2018 1 hour ago, klesler said: I tested it with some changes: .@m = select(implode(.@MapList$,":")) - 1; if(.MapMode[.@m]&2){ mes "You are about to enter NIGHTMARE PvP, on death you will lose gear randomly."; if(select("Nevermind:Continue") == 2) { if(.MaxPlayers[.@m] && getmapusers(.MapName$[.@m]) >= .MaxPlayers[.@m]){ mes "Room is Full."; close; } else if(.MapMode[.@m]&8 && (countitem(607) || countitem(608))){ mes "No "+getitemname(607)+" or "+getitemname(608)+" Allowed."; close; } else if(.MapMode[.@m]&16){ mes "No 3rd Classes Allowed."; close; } else if(.MapMode[.@m]&32){ mes "No Trans Classes Allowed."; close; } else { warp .MapName$[.@m],0,0; announce "[ PvP Warper ] "+strcharinfo(0)+" has entered in "+((.MapMode[.@m]&1)?"GvG":"PvP")+" Room",0,((.MapMode[.@m]&1)?0x00CC99:0xEE0000); } } else { close; } } } end; And it worked well, maybe it just need some refactoring, but I'll let this part with you The problem was indeed caused by the close; right after your if () { Best, Gabriel. I see my error, on selection of continue it falls through all the way to the end instead of the warp. Ty for reporting Quote
footloose23 Posted June 7, 2018 Posted June 7, 2018 Hi sir! Thanks for sharing this awesome script! May i ask how do show the damage done on players on pvp mode and to disable @atcommands on it? Quote
Inquisitor Posted July 1, 2018 Posted July 1, 2018 in game its actually one of the best pvp, rewards and stuff made this just perfect, but i still have this error i tried change every "close" on this script but i cant fix it. thx for the release btw. Spoiler https://prnt.sc/k1e0us Quote
Stolao Posted July 23, 2018 Author Posted July 23, 2018 On 7/1/2018 at 1:30 AM, Inquisitor said: in game its actually one of the best pvp, rewards and stuff made this just perfect, but i still have this error i tried change every "close" on this script but i cant fix it. thx for the release btw. Reveal hidden contents https://prnt.sc/k1e0us Fixed in 3.1C ty for report 1 Quote
Louis T Steinhil Posted July 31, 2018 Posted July 31, 2018 (edited) Hi good day sir, how can i change it to weekly? And is it possible that I can add a league? For example: those who have 1 kill point up to 100 kill points is on Novice Rank, 101 kill points up to 200 kill points is on Rookie Rank and after the weekly pvp they will also get prizes. And for every kill you get +5 kills but if you die the other player snatch 5 killpoints then you lose 5 kill points. Edited July 31, 2018 by zeek Quote
Stolao Posted August 8, 2018 Author Posted August 8, 2018 On 7/31/2018 at 1:46 AM, zeek said: Hi good day sir, how can i change it to weekly? And is it possible that I can add a league? For example: those who have 1 kill point up to 100 kill points is on Novice Rank, 101 kill points up to 200 kill points is on Rookie Rank and after the weekly pvp they will also get prizes. And for every kill you get +5 kills but if you die the other player snatch 5 killpoints then you lose 5 kill points. to change to weekly edit this part //================================== OnHour00: //-- Monthly Rewards //================================== if(gettime(5) == 1 && .Options&128 && .MailType){ gettime(<type>) This function will return specified information about the current system time. DT_SECOND - Seconds (of the current minute) DT_MINUTE - Minutes (of the current hour) DT_HOUR - Hour (of the current day) DT_DAYOFWEEK - Week day (constants for MONDAY to SUNDAY are available) DT_DAYOFMONTH - Day of the current month DT_MONTH - Month (constants for JANUARY to DECEMBER are available) DT_YEAR - Year DT_DAYOFYEAR - Day of the year DT_YYYYMMDD - current date in the form YYYYMMDD It will only return numbers. If another type is supplied -1 will be returned. if (gettime(DT_DAYOFWEEK) == SATURDAY) mes "It's a Saturday. I don't work on Saturdays."; as for making it a league, you can do that yourself, just switch it to kda mode, instead or normal pvp mode // 256: Order by KDA instead of most kills and reference the kda variables for determining which league they are in kda (Kill Death Average) m_kda (Monthly Kill Death Average) gvg_kda (Guild Only KDA) m_gvg_kda (Monthly Guild Only KDA) but honestly if you want a league style id recommend doing something MMR related Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.