Jump to content
Ghost

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

Recommended Posts

Can someone help me?

I have succesfully :

- Upload .wav files

- import pvp_rank table

- edit the script about selected map (by Emistry)

this one

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 this one

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

But, when I want to use the Announcer Setiing,

this happen :

IpH9T.jpg

4PHH3.jpg

and from map-server only this 'debug' appear :

i9FpU.jpg

Then after re-login. I'm going to try the 'sound' at the selected pvp map, the same error/crash window appear after 2 kills.

Am I missing anything here?

I really want to use this script. It's just cool!

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)

same problems here like ngek202

Got the same problem with NGEK smile.png) how to fix that?

Same problem with Ngek and Hysoka.. Is there an update? Did someone already fixed it? Thanks! :)

I have the same problem with ngek...

This script is very usefull though.

Read this : http://rathena.org/b...__20#entry81846

I think my Problems Solved!

I've made a mistake about data folder (for wav files) /oops

Edited by uDe

Share this post


Link to post
Share on other sites

improve this script please, i cant hear wav for GM account >.<

Share this post


Link to post
Share on other sites

how to solve this sql error

2m2yg5j.jpg

fixed!!

how do you fix that ?

Share this post


Link to post
Share on other sites

how to solve this sql error

2m2yg5j.jpg

fixed!!

how do you fix that ?

just remove line 1 "// SQL Table for Ghost's PvP System

Share this post


Link to post
Share on other sites

Thanks Emistry ani_no1.gif 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) .

same problems here like ngek202

Got the same problem with NGEK smile.png) how to fix that?

Same problem with Ngek and Hysoka.. Is there an update? Did someone already fixed it? Thanks! :)

I have the same problem with ngek...

This script is very usefull though.

Does anyone have a way to proper fix this?

Share this post


Link to post
Share on other sites

The sound is not getting played?

What can the problem be?

I add it to grf via thor patcher

inside

eg.

data/wav/0_KS1.wav

Share this post


Link to post
Share on other sites

how to fixed death+1?? ??

Death points do not add +1 in column

thanks /ok

and broadcast for allmap not working

Edited by Akbare

Share this post


Link to post
Share on other sites

dumb question here: uhmmm..

where do i put the Ghost PVP script?

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 ^^ ani_heh.gif


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

When i edit this, the other code error. I've no idea how to fix the script.

Can someone just share the working edited script?

Share this post


Link to post
Share on other sites

guyz how to put the SQL. im havng trouble. when i try to read this to the server

[Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/GuiltyRO/Pvp Ladde
r.txt', line '565'. Stopping...
* w1=CREATE TABLE IF NOT EXISTS `pvp_rank` (
* w2=
* w3=
* w4=

then when i insert it to sql

Script line: 1	You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '//SQL Table for Ghost's PvP System
CREATE TABLE IF NOT EXISTS `pvp_rank` (
 `' at line 1

simpy remove the 1st line with the // or CLICK ME pastebin ,

insert that into the SQL table.

Share this post


Link to post
Share on other sites

payback's tri

Thanks Emistry ani_no1.gif 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) .

same problems here like ngek202

Got the same problem with NGEK smile.png) how to fix that?

Same problem with Ngek and Hysoka.. Is there an update? Did someone already fixed it? Thanks! :)

I have the same problem with ngek...

This script is very usefull though.

Does anyone have a way to proper fix this?

any help?

Edited by dharmdevil

Share this post


Link to post
Share on other sites

how to get the kill points btw?

Share this post


Link to post
Share on other sites

i have same problem us uDe has the debug thingy only. but all is working fine

but it put debug in the server is that okaY?

Edited by Kaiz

Share this post


Link to post
Share on other sites

if(#Announcer == 0){ announce strcharinfo(0)+" just ended "+rid2name(killedrid)+"'s "+.ESDotA$[@ks - 3]+" "+((.Streak)?"("[email protected]+")":"")+"", ((.Broadcast)?bc_all:bc_map), .ESColor$; }
if(#Announcer > 1){ announce strcharinfo(0)+" just ended "+rid2name(killedrid)+"'s "+.ESHoN$[@ks - 3]+" "+((.Streak)?"("[email protected]+")":"")+"", ((.Broadcast)?bc_all:bc_map), .ESColor$; }

you just need to switch strcharinfo(0) and rid2name(killerid)

Share this post


Link to post
Share on other sites

if(#Announcer == 0){ announce strcharinfo(0)+" just ended "+rid2name(killedrid)+"'s "+.ESDotA$[@ks - 3]+" "+((.Streak)?"("[email protected]+")":"")+"", ((.Broadcast)?bc_all:bc_map), .ESColor$; }
if(#Announcer > 1){ announce strcharinfo(0)+" just ended "+rid2name(killedrid)+"'s "+.ESHoN$[@ks - 3]+" "+((.Streak)?"("[email protected]+")":"")+"", ((.Broadcast)?bc_all:bc_map), .ESColor$; }

you just need to switch strcharinfo(0) and rid2name(killerid)

very true

the script needs to be fixed ill try doing it

i tried more that 10 streaks but it started back to 3

ill try modifying this :D

ill try to add pimp and seductive hon announcer :D

Edited by icabit

Share this post


Link to post
Share on other sites

hi mr ghost

my account was locked [icabit] posted on top of this reply

i cant seem to recover my password

cause the link they gave me in my email doesnt work at all

Anyway

Is it ok for me to modify your script?

i just wanna ask permission

Share this post


Link to post
Share on other sites

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)

Version: 1.3

Pastebin:

SQL Table:

Required File:

Why is it the player rankings not working?

1. I already install the SQL Table

2. Already tested the script all working fine it records Pvp Statistics but Player rankings was empty.

Oh sorry it's working I just need to Char select to update it up. nice system btw

Edited by zmref

Share this post


Link to post
Share on other sites

How to edit payment of announcer setting change insted point i want skull?

Share this post


Link to post
Share on other sites

How to edit payment of announcer setting change insted point i want skull?

try my modification

http://rathena.org/board/topic/77234-need-testers-for-debugging-script-now-working-looking-for-bugsif-there-is/#entry171844

you have a gm menu to work with mine so it will be easier to configure

Share this post


Link to post
Share on other sites

i get a error "unknown synax error line 42 script vs -1,{ "

Share this post


Link to post
Share on other sites

is this script works now? or still unfinished?

i've read all the comment and dunno if it's done . ^__^/

Edited by nazdecoco

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.