Ghost Posted January 31, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 24 Reputation: 13 Joined: 12/09/11 Last Seen: June 3, 2012 Share Posted January 31, 2012 (edited) Ghost's PvP System An automated multi-announcer + ladder pvp script with configurable features. Feeder detection with stat rollback configuration Switchable announcers (Dota and all HoN announcers) Configurable map setting, pvp ladder, reward setting, penalty setting, broadcast message and color, Payback and Nemesis Kill Death Ratio calculation (Kill/Death, popular in most first person shooting game) Quote Version: 1.3 Pastebin: http://pastebin.com/xSNqYtJm SQL Table: http://pastebin.com/dEqrkczy Required File: http://www.mediafire...i3uutvdp00jw4r8 Russian Roulette A GM activated russian roulette mini-game script. Quote Version: 1.0 Pastebin: http://pastebin.com/tj3A3gsz Required File: http://www.mediafire...ry9k4uolxlmj4kv [ Edit: Skorm ] Because this is such a popular script I updated it and fixed a few things in the process. Link to v1.4 https://pastebin.com/pX5nFgdp Edited February 28, 2022 by Skorm Updated Links 6 Quote Link to comment Share on other sites More sharing options...
ngek202 Posted January 31, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted January 31, 2012 @Ghost Sir can i ask what are the Features of the PVP System script? Quote Link to comment Share on other sites More sharing options...
Ghost Posted January 31, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 24 Reputation: 13 Joined: 12/09/11 Last Seen: June 3, 2012 Author Share Posted January 31, 2012 (edited) @Ghost Sir can i ask what are the Features of the PVP System script? Feeder detection with stat rollback configuration Switchable announcers Configurable map setting, pvp ladder, reward setting, penalty setting, broadcast message and color, Payback and Nemesis Kill Death Ratio calculation (Kill/Death, popular in most first person shooting game) Edited January 31, 2012 by Ghost 1 Quote Link to comment Share on other sites More sharing options...
Drakkus Posted February 3, 2012 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 386 Reputation: 15 Joined: 11/17/11 Last Seen: September 13, 2024 Share Posted February 3, 2012 (edited) Check also your 'Wav' files. i think there is an 'VIRUS' i can't DOWNLOAD and it also blockeds the URL.Regards,Vlync Edited March 31, 2013 by VLYNC Quote Link to comment Share on other sites More sharing options...
KeiKun Posted February 4, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 967 Reputation: 53 Joined: 11/13/11 Last Seen: April 18 Share Posted February 4, 2012 the WAV Files has been Checked and there are not Virus Found.. Software Used are AVG IS 2011/ IS BE 2012, Norton 360 and McAfee AP 2012 Quote Link to comment Share on other sites More sharing options...
Ghost Posted February 4, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 24 Reputation: 13 Joined: 12/09/11 Last Seen: June 3, 2012 Author Share Posted February 4, 2012 Check also your 'Wav' files. i think there is an 'VIRUS' i can't DOWNLOAD and it also blockeds the URL. Regards, Mindless Fixed, just removed "break;". No virus man, check your dns restrictions. Quote Link to comment Share on other sites More sharing options...
ngek202 Posted February 5, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted February 5, 2012 how do you set Announcement if DoTa or HoN? Quote Link to comment Share on other sites More sharing options...
Ghost Posted February 5, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 24 Reputation: 13 Joined: 12/09/11 Last Seen: June 3, 2012 Author Share Posted February 5, 2012 how do you set Announcement if DoTa or HoN? Go to line 285 and change morocc,162,107,3 to your preferences. Talk to npc to switch between announcers. Quote Link to comment Share on other sites More sharing options...
aRiley Posted February 6, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 0 Joined: 02/06/12 Last Seen: February 27, 2012 Share Posted February 6, 2012 (edited) Can't help but post here. Saw the Ghost PvP system, pretty neat especially when it isn't always "Dota" ( my own personal opinion since i got used to servers only having the dota announcement everytime you killed someone ). You can make fun of the announcements too! Going to upload it soon on my server tho. 'Bout the Run for your life, yeah it's almost similar to the "Novice vs Zombies" event but Ghost integrated the all job and novice RFYL as an automated and GM activated event which is very helpful indeed. The mob isnt "all zombies" but the novice rfyl is. Can set the preferred monsters for the All Job RFYL. Basically, thanks babe for the script i know you really worked hard for it. Keep up the good work! Will be testing your script on my server in a while then i'll keep you posted. With much love Edited February 6, 2012 by aRiley Quote Link to comment Share on other sites More sharing options...
Mercurial Posted February 6, 2012 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 241 Reputation: 46 Joined: 11/08/11 Last Seen: January 5, 2019 Share Posted February 6, 2012 looks really good 10/10 Quote Link to comment Share on other sites More sharing options...
Mystery Posted February 7, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted February 7, 2012 To add PvP maps, don't you remove "ALL" and replace with "map_name","map_name","map_name","map_name"; for multiple maps? Quote Link to comment Share on other sites More sharing options...
Ghost Posted February 7, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 24 Reputation: 13 Joined: 12/09/11 Last Seen: June 3, 2012 Author Share Posted February 7, 2012 To add PvP maps, don't you remove "ALL" and replace with "map_name","map_name","map_name","map_name"; for multiple maps? Yes. e.g. setarray .PvPMap$[0], "pvp_vs1-1","pvp_vs1-2"; //List all pvp maps here (Index 0:"All" to enable all maps) Quote Link to comment Share on other sites More sharing options...
Drakkus Posted February 7, 2012 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 386 Reputation: 15 Joined: 11/17/11 Last Seen: September 13, 2024 Share Posted February 7, 2012 Why i got [Error]: in my map-server-sql.exe? [Debug]: 2000000 110028840 : Error in KDR Function, getarg(1) invalid value Regards, Mindless Quote Link to comment Share on other sites More sharing options...
Ghost Posted February 8, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 24 Reputation: 13 Joined: 12/09/11 Last Seen: June 3, 2012 Author Share Posted February 8, 2012 (edited) Why i got [Error]: in my map-server-sql.exe? [Debug]: 2000000 110028840 : Error in KDR Function, getarg(1) invalid value Regards, Mindless That's no problem. It's just a notification, it tells you that the value of getarg(1) (Death) is 0. Where any number divided by 0 is undefined. So no calculations can be made but return 0 instead. Edited February 8, 2012 by Ghost Quote Link to comment Share on other sites More sharing options...
Petey Pablo Posted February 14, 2012 Group: Members Topic Count: 152 Topics Per Day: 0.03 Content Count: 569 Reputation: 11 Joined: 11/24/11 Last Seen: March 7, 2022 Share Posted February 14, 2012 how to solve this sql error fixed!! Quote Link to comment Share on other sites More sharing options...
ngek202 Posted February 14, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted February 14, 2012 problem when setting list of maps Announce doesn't work anymore: setarray .PvPMap$[0], "guild_vs3","guild_vs1","pvp_y_8-2","1@orcs"; //List all pvp maps here (Index 0:"All" to enable all maps) Quote Link to comment Share on other sites More sharing options...
koloridjo Posted February 17, 2012 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 28 Reputation: 0 Joined: 01/07/12 Last Seen: October 15, 2024 Share Posted February 17, 2012 (edited) there is little wrong here in the flamboyant anncounce here written ms pudding case 4: //Flamboyant if(#Announcer == 3){ goto L_Announce; } if((.AnnouncerFee) && (!#Flamboyant)){ next; mes "[Loki]"; mes "Do you want to purchase Flamboyant announcer for "+.AnnouncerFee+" Kill Point?"; switch(select("No:Yes")){ case 1: close; case 2: if(#CASHPOINTS < .AnnouncerFee){ next; mes "[Loki]"; mes "You don't have enough Kill Point."; close; } set #CASHPOINTS, #CASHPOINTS - .AnnouncerFee; set #Flamboyant, 1; } } soundeffect "3_KS1.wav", 0; set #Announcer, 3; announce "[Loki] Ms. Pudding announcer has been configured to your account.",bc_self,0xFF0000; close; Edited November 12, 2013 by Patskie Change to code Quote Link to comment Share on other sites More sharing options...
MelMel Posted February 22, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 114 Reputation: 1 Joined: 01/22/12 Last Seen: December 10, 2017 Share Posted February 22, 2012 (edited) yup i have same problem as ngek 202 >.< problem when setting list of maps Announce doesn't work. problems solved thanks^^ Edited February 22, 2012 by hysoka44 Quote Link to comment Share on other sites More sharing options...
Elijah23 Posted February 26, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 292 Reputation: 17 Joined: 12/12/11 Last Seen: April 17 Share Posted February 26, 2012 Nice scripts ghost.. But I have a question regarding the pvp script of yours?.. I have use this in all maps... But is it possible to disable it from certain maps?.. Like 3-5 maps?... Thanks.. Quote Link to comment Share on other sites More sharing options...
ngek202 Posted February 26, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted February 26, 2012 problem when setting list of maps Announce doesn't work anymore: setarray .PvPMap$[0], "guild_vs3","guild_vs1","pvp_y_8-2","1@orcs"; //List all pvp maps here (Index 0:"All" to enable all maps) Nice scripts ghost.. But I have a question regarding the pvp script of yours?.. I have use this in all maps... But is it possible to disable it from certain maps?.. Like 3-5 maps?... Thanks.. Already tried it but the announcer doesn't work anymore, I've already told Ghost about this on Irc and he said he'll fix it.. Quote Link to comment Share on other sites More sharing options...
Ghost Posted February 27, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 24 Reputation: 13 Joined: 12/09/11 Last Seen: June 3, 2012 Author Share Posted February 27, 2012 (edited) Script Updated: (Not yet tested at the moment) //Changelog: //v1.3 = Fixed .PvPMap$[0] settings [Ghost] // = Added .GMLevel at configuration [Ghost] // = Change SK Hex Color to ^00FF00 for visibility [Ghost] // = Fixed Streak Kill ended broadcast [Ghost] // = Typographical error (Ms. Pudding to Flamboyant) on Announcer Setting corrected [Ghost] // = Changed Top 10 Players ranking from KDR to Kills [Ghost] Edited February 27, 2012 by Ghost 2 Quote Link to comment Share on other sites More sharing options...
ngek202 Posted February 27, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted February 27, 2012 (edited) @Ghost tested it with: setarray .PvPMap$[0], "guild_vs3","guild_vs1","pvp_y_8-2","1@orcs"; but still Announce didn't work tested with normal accounts (Non GM). but if setarray .PvPMap$[0], "All"; works.. // = Added .GMLevel at configuration [Ghost] this is for Announcer too right? they will get ignored if they are GM's Edited February 27, 2012 by ngek202 Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 27, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted February 27, 2012 uhm....i am lazy to re-organize that part so i just do it like this... the problem for didnt announce...is because of this part. if(.PvPMap$[0] != "All"){ for(set .@i, 0; .@i < (getarraysize(.PvPMap$) - 1); set .@i, .@i + 1){ if(strcharinfo(3) != .PvPMap$[.@i]){ end; } } } as you can see from the line... when the script is doing checking wether the users is in the map listed in the array or not.. it STOPPED when the users are not located at the 1st map.. ( .PvPMap$[.@i] ) the loop process start with the 1st number..so it checking the 1st map... but you end the process when the users are not in the 1st map.. that's why it doesnt announce... i just simply write 1 here. if(.PvPMap$[0] != "All"){ for(set .@i, 0; .@i < getarraysize(.PvPMap$); set .@i, .@i + 1) if(strcharinfo(3) != .PvPMap$[.@i]) set .@MatchMap,1; } if( !.@MatchMap ) end; and same goes to this part if(.PvPMap$[0] != "All"){ for(set .@i, 0; .@i < getarraysize(.PvPMap$) ; set .@i, .@i + 1){ if(strcharinfo(3) != .PvPMap$[.@i]){ end; } set Death, Death + 1; } } modify it like what i did at above or use your own way... and why use (getarraysize(.PvPMap$) - 1) hmm ? is your own mistake typo or ? i dont think there is needed for you to minus the count here ^^ Advise : for this part. if((.PvPMap$[0] == "ALL")||(.PvPMap$[0] == "ALl")||(.PvPMap$[0] == "AlL")||(.PvPMap$[0] == "aLL")||(.PvPMap$[0] == "aLl") || (.PvPMap$[0] == "alL")){ setarray .PvPMap$[0], "All"; } actually you can just do it like this if( compare( .PvPMap$[0],"All" ) ){ //blablabla............. } 1 Quote Link to comment Share on other sites More sharing options...
ngek202 Posted February 27, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted February 27, 2012 (edited) Thanks Emistry It's working now.. Oh noticed when I tested killing spree and double kill I think there's a problem with it.. SinX wasn't killed but everytime he gets a Kill the Announcer announces that the one who he killed ended he's Killing Streak(Killing Spree) . Edited February 27, 2012 by ngek202 Quote Link to comment Share on other sites More sharing options...
MelMel Posted March 9, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 114 Reputation: 1 Joined: 01/22/12 Last Seen: December 10, 2017 Share Posted March 9, 2012 same problems here like ngek202 Quote Link to comment Share on other sites More sharing options...
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.