Jump to content

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


Ghost

Recommended Posts


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  400
  • Reputation:   5
  • Joined:  12/05/11
  • Last Seen:  

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

and this one

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

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","1@orcs"; //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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  251
  • Reputation:   20
  • Joined:  12/22/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   0
  • Joined:  09/02/12
  • Last Seen:  

how to solve this sql error

2m2yg5j.jpg

fixed!!

how do you fix that ?
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   0
  • Joined:  08/09/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  132
  • Reputation:   2
  • Joined:  02/02/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  132
  • Reputation:   2
  • Joined:  02/02/12
  • Last Seen:  

BUMP

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  196
  • Reputation:   20
  • Joined:  11/20/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  491
  • Reputation:   19
  • Joined:  11/19/11
  • Last Seen:  

how to fixed death+1?? ??

Death points do not add +1 in column

thanks /ok

and broadcast for allmap not working

Edited by Akbare
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  390
  • Reputation:   27
  • Joined:  07/12/12
  • Last Seen:  

dumb question here: uhmmm..

where do i put the Ghost PVP script?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  99
  • Reputation:   4
  • Joined:  10/25/12
  • Last Seen:  

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 ^^ 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?

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  113
  • Reputation:   2
  • Joined:  10/29/12
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  11/29/12
  • Last Seen:  

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
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

how to get the kill points btw?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   0
  • Joined:  11/29/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  108
  • Reputation:   0
  • Joined:  08/01/12
  • Last Seen:  

its not workign for me....T_T

here's my screenshot

http://www.mediafire.com/view/?b7zekowubux0iib

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   0
  • Joined:  08/09/12
  • Last Seen:  

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

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

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  113
  • Reputation:   2
  • Joined:  10/29/12
  • Last Seen:  

Would be great if a GM panel is enabled for resetting stats.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

if(#Announcer == 0){ announce strcharinfo(0)+" just ended "+rid2name(killedrid)+"'s "+.ESDotA$[@ks - 3]+" "+((.Streak)?"("+@ks+")":"")+"", ((.Broadcast)?bc_all:bc_map), .ESColor$; }
if(#Announcer > 1){ announce strcharinfo(0)+" just ended "+rid2name(killedrid)+"'s "+.ESHoN$[@ks - 3]+" "+((.Streak)?"("+@ks+")":"")+"", ((.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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   0
  • Joined:  01/10/13
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

http://rathena.org/b...es/#entry171844

now ready for testing

now updated 1/16/2013

Edited by icabit
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  148
  • Topics Per Day:  0.03
  • Content Count:  299
  • Reputation:   6
  • Joined:  06/14/12
  • Last Seen:  

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
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  323
  • Reputation:   9
  • Joined:  11/19/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   0
  • Joined:  07/17/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  01/10/13
  • Last Seen:  

is this script works now? or still unfinished?

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

Edited by nazdecoco
Link to comment
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...