Jump to content
Ghost

Ghost's Scripts [Latest: Ghost's PvP System v1.3]

Recommended Posts

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

Russian Roulette

A GM activated russian roulette mini-game script.
Quote

[ Edit: Skorm ] Because this is such a popular script I updated it and fixed a few things in the process. Link to v1.4 http://upaste.me/3f6a4327724c1149e

 

Edited by Skorm
  • Upvote 6

Share this post


Link to post
Share on other sites

@Ghost Sir can i ask what are the Features of the PVP System script?

Share this post


Link to post
Share on other sites

@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 by Ghost
  • Upvote 1

Share this post


Link to post
Share on other sites

post-379-0-31667200-1328279186_thumb.png

Check also your 'Wav' files. i think there is an 'VIRUS' i can't DOWNLOAD and it also blockeds the URL.

Regards,
Vlync

Edited by VLYNC

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

post-379-0-31667200-1328279186_thumb.png

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.

Share this post


Link to post
Share on other sites

how do you set Announcement if DoTa or HoN?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 by aRiley

Share this post


Link to post
Share on other sites

To add PvP maps, don't you remove "ALL" and replace with "map_name","map_name","map_name","map_name"; for multiple maps?

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

Why i got [Error]: in my map-server-sql.exe?

[Debug]: 2000000 110028840 : Error in KDR Function, getarg(1) invalid value

Regards,

Mindless

Share this post


Link to post
Share on other sites

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 by Ghost

Share this post


Link to post
Share on other sites

problem when setting list of maps Announce doesn't work anymore:

setarray .PvPMap$[0], "guild_vs3","guild_vs1","pvp_y_8-2","[email protected]"; //List all pvp maps here (Index 0:"All" to enable all maps)

Share this post


Link to post
Share on other sites

there is little wrong here in the flamboyant anncounce here written ms pudding smile.png

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 by Patskie
Change to code

Share this post


Link to post
Share on other sites

yup i have same problem as ngek 202 >.< problem when setting list of maps Announce doesn't work.

problems solved

thanks^^

Edited by hysoka44

Share this post


Link to post
Share on other sites

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.. /?

Share this post


Link to post
Share on other sites

problem when setting list of maps Announce doesn't work anymore:

setarray .PvPMap$[0], "guild_vs3","guild_vs1","pvp_y_8-2","[email protected]"; //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..

Share this post


Link to post
Share on other sites

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 by Ghost
  • Upvote 2

Share this post


Link to post
Share on other sites

@Ghost tested it with:

setarray .PvPMap$[0], "guild_vs3","guild_vs1","pvp_y_8-2","[email protected]";

but still Announce didn't work /hmm 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 by ngek202

Share this post


Link to post
Share on other sites

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 [email protected], 0; [email protected] < (getarraysize(.PvPMap$) - 1); set [email protected], [email protected] + 1){
if(strcharinfo(3) != .PvPMap$[[email protected]]){ 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$[[email protected]] )

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 [email protected], 0; [email protected] < getarraysize(.PvPMap$); set [email protected], [email protected] + 1)
 if(strcharinfo(3) != .PvPMap$[[email protected]])
  set [email protected],1;
}
if( [email protected] ) end;

and same goes to this part

if(.PvPMap$[0] != "All"){
for(set [email protected], 0; [email protected] < getarraysize(.PvPMap$) ; set [email protected], [email protected] + 1){
 if(strcharinfo(3) != .PvPMap$[[email protected]]){ 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 ^^ /hmm


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.............
}

  • Upvote 1

Share this post


Link to post
Share on other sites

Thanks Emistry /hmm It's working now..

Oh noticed when I tested killing spree and double kill I think there's a problem with it..

screenrAthena009.jpg

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 by ngek202

Share this post


Link to post
Share on other sites

same problems here like ngek202

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.