Jump to content

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


Ghost

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  05/05/13
  • Last Seen:  

why in my RO, death is not increased? only kill, and other

i hope you understand with my bad english

sorry for my bad english, i using translate google T^T

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  6
  • Reputation:   0
  • Joined:  03/04/14
  • Last Seen:  

why in my RO, death is not increased? only kill, and other

i hope you understand with my bad english

sorry for my bad english, i using translate google T^T

Столкнулся с такой же проблемой.

Фикс:

OnDeath:
if(@ks > 2){
    if(#Announcer == 0){ announce rid2name(killedrid)+" just ended "+strcharinfo(0)+"'s "+.ESDotA$[@ks - 3]+" "+((.Streak)?"("+@ks+")":"")+"", ((.Broadcast)?bc_all:bc_map), .ESColor$; }
    if(#Announcer > 1){ announce rid2name(killedrid)+" just ended "+strcharinfo(0)+"'s "+.ESHoN$[@ks - 3]+" "+((.Streak)?"("+@ks+")":"")+"", ((.Broadcast)?bc_all:bc_map), .ESColor$; }
}
if(@nm > 3){
    //soundeffectall #Announcer+"_Payback.wav", 0, rid2name(killedrid);
    announce rid2name(killedrid)+" just have a payback againts "+strcharinfo(0)+" "+((.Nemesis)?"("+@nm+")":"")+"", ((.Broadcast)?bc_all:bc_map), .PBColor$;
}
attachrid(killedrid);
    set Death, Death + 1; // добавить это, вроде работает
    callsub OnClearData;
return;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   1
  • Joined:  06/21/14
  • Last Seen:  

 

why in my RO, death is not increased? only kill, and other

i hope you understand with my bad english

sorry for my bad english, i using translate google T^T

Столкнулся с такой же проблемой.

Фикс:

OnDeath:
if(@ks > 2){
    if(#Announcer == 0){ announce rid2name(killedrid)+" just ended "+strcharinfo(0)+"'s "+.ESDotA$[@ks - 3]+" "+((.Streak)?"("+@ks+")":"")+"", ((.Broadcast)?bc_all:bc_map), .ESColor$; }
    if(#Announcer > 1){ announce rid2name(killedrid)+" just ended "+strcharinfo(0)+"'s "+.ESHoN$[@ks - 3]+" "+((.Streak)?"("+@ks+")":"")+"", ((.Broadcast)?bc_all:bc_map), .ESColor$; }
}
if(@nm > 3){
    //soundeffectall #Announcer+"_Payback.wav", 0, rid2name(killedrid);
    announce rid2name(killedrid)+" just have a payback againts "+strcharinfo(0)+" "+((.Nemesis)?"("+@nm+")":"")+"", ((.Broadcast)?bc_all:bc_map), .PBColor$;
}
attachrid(killedrid);
    set Death, Death + 1; // добавить это, вроде работает
    callsub OnClearData;
return;

 

 

Check maybe you are testing it with Group 99 GM, it will ignore the count. :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  6
  • Reputation:   0
  • Joined:  03/04/14
  • Last Seen:  

 

 

why in my RO, death is not increased? only kill, and other

i hope you understand with my bad english

sorry for my bad english, i using translate google T^T

Столкнулся с такой же проблемой.

Фикс:

OnDeath:
if(@ks > 2){
    if(#Announcer == 0){ announce rid2name(killedrid)+" just ended "+strcharinfo(0)+"'s "+.ESDotA$[@ks - 3]+" "+((.Streak)?"("+@ks+")":"")+"", ((.Broadcast)?bc_all:bc_map), .ESColor$; }
    if(#Announcer > 1){ announce rid2name(killedrid)+" just ended "+strcharinfo(0)+"'s "+.ESHoN$[@ks - 3]+" "+((.Streak)?"("+@ks+")":"")+"", ((.Broadcast)?bc_all:bc_map), .ESColor$; }
}
if(@nm > 3){
    //soundeffectall #Announcer+"_Payback.wav", 0, rid2name(killedrid);
    announce rid2name(killedrid)+" just have a payback againts "+strcharinfo(0)+" "+((.Nemesis)?"("+@nm+")":"")+"", ((.Broadcast)?bc_all:bc_map), .PBColor$;
}
attachrid(killedrid);
    set Death, Death + 1; // добавить это, вроде работает
    callsub OnClearData;
return;

 

 

Check maybe you are testing it with Group 99 GM, it will ignore the count. :D

 

No. GM Lvl players on pvp was equal 0. (sry 4 badly english)

 

 

why in my RO, death is not increased? only kill, and other

i hope you understand with my bad english

sorry for my bad english, i using translate google T^T

Столкнулся с такой же проблемой.

Фикс:

OnDeath:
if(@ks > 2){
    if(#Announcer == 0){ announce rid2name(killedrid)+" just ended "+strcharinfo(0)+"'s "+.ESDotA$[@ks - 3]+" "+((.Streak)?"("+@ks+")":"")+"", ((.Broadcast)?bc_all:bc_map), .ESColor$; }
    if(#Announcer > 1){ announce rid2name(killedrid)+" just ended "+strcharinfo(0)+"'s "+.ESHoN$[@ks - 3]+" "+((.Streak)?"("+@ks+")":"")+"", ((.Broadcast)?bc_all:bc_map), .ESColor$; }
}
if(@nm > 3){
    //soundeffectall #Announcer+"_Payback.wav", 0, rid2name(killedrid);
    announce rid2name(killedrid)+" just have a payback againts "+strcharinfo(0)+" "+((.Nemesis)?"("+@nm+")":"")+"", ((.Broadcast)?bc_all:bc_map), .PBColor$;
}
attachrid(killedrid);
    set Death, Death + 1; // добавить это, вроде работает
    callsub OnClearData;
return;

 

 

Check maybe you are testing it with Group 99 GM, it will ignore the count. :D

 

BTW if trouble was with GM level, then kills not increased too

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  154
  • Topics Per Day:  0.03
  • Content Count:  493
  • Reputation:   46
  • Joined:  01/24/12
  • Last Seen:  

 

 

 

why in my RO, death is not increased? only kill, and other

i hope you understand with my bad english

sorry for my bad english, i using translate google T^T

Столкнулся с такой же проблемой.

Фикс:

OnDeath:
if(@ks > 2){
    if(#Announcer == 0){ announce rid2name(killedrid)+" just ended "+strcharinfo(0)+"'s "+.ESDotA$[@ks - 3]+" "+((.Streak)?"("+@ks+")":"")+"", ((.Broadcast)?bc_all:bc_map), .ESColor$; }
    if(#Announcer > 1){ announce rid2name(killedrid)+" just ended "+strcharinfo(0)+"'s "+.ESHoN$[@ks - 3]+" "+((.Streak)?"("+@ks+")":"")+"", ((.Broadcast)?bc_all:bc_map), .ESColor$; }
}
if(@nm > 3){
    //soundeffectall #Announcer+"_Payback.wav", 0, rid2name(killedrid);
    announce rid2name(killedrid)+" just have a payback againts "+strcharinfo(0)+" "+((.Nemesis)?"("+@nm+")":"")+"", ((.Broadcast)?bc_all:bc_map), .PBColor$;
}
attachrid(killedrid);
    set Death, Death + 1; // добавить это, вроде работает
    callsub OnClearData;
return;

 

 

Check maybe you are testing it with Group 99 GM, it will ignore the count. :D

 

No. GM Lvl players on pvp was equal 0. (sry 4 badly english)

 

 

why in my RO, death is not increased? only kill, and other

i hope you understand with my bad english

sorry for my bad english, i using translate google T^T

Столкнулся с такой же проблемой.

Фикс:

OnDeath:
if(@ks > 2){
    if(#Announcer == 0){ announce rid2name(killedrid)+" just ended "+strcharinfo(0)+"'s "+.ESDotA$[@ks - 3]+" "+((.Streak)?"("+@ks+")":"")+"", ((.Broadcast)?bc_all:bc_map), .ESColor$; }
    if(#Announcer > 1){ announce rid2name(killedrid)+" just ended "+strcharinfo(0)+"'s "+.ESHoN$[@ks - 3]+" "+((.Streak)?"("+@ks+")":"")+"", ((.Broadcast)?bc_all:bc_map), .ESColor$; }
}
if(@nm > 3){
    //soundeffectall #Announcer+"_Payback.wav", 0, rid2name(killedrid);
    announce rid2name(killedrid)+" just have a payback againts "+strcharinfo(0)+" "+((.Nemesis)?"("+@nm+")":"")+"", ((.Broadcast)?bc_all:bc_map), .PBColor$;
}
attachrid(killedrid);
    set Death, Death + 1; // добавить это, вроде работает
    callsub OnClearData;
return;

 

 

Check maybe you are testing it with Group 99 GM, it will ignore the count. :D

 

BTW if trouble was with GM level, then kills not increased too

 

 

why in my RO, death is not increased? only kill, and other

i hope you understand with my bad english

sorry for my bad english, i using translate google T^T

theres a lot of bugs on 1.3 version i already fixed all the known bugs and my version is on 6.1 now,

Edited by joelolopez
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  6
  • Reputation:   0
  • Joined:  03/04/14
  • Last Seen:  

 

why in my RO, death is not increased? only kill, and other

i hope you understand with my bad english

sorry for my bad english, i using translate google T^T

theres a lot of bugs on 1.3 version i already fixed all the known bugs and my version is on 6.1 now,

 

Public please?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   1
  • Joined:  08/10/14
  • Last Seen:  

Sooooo there are a lot of posts in this thread about the PvP System... (even one poster believes he has to sell his stolen edited script because he put a lot of work into it, yet the emulator coders have spent years and are letting him use it free)........ sorry... just thought I'd point that out.... stealing is wrong... and then charging... smh....

 

Anyways, I'm actually more interested in the Russian Roulette activated event? Does anyone know what it exactly does? I guess Ghost didn't feel like putting the features on the thread? lol

Also what bugs to expect? I only saw one person even post about it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  154
  • Topics Per Day:  0.03
  • Content Count:  493
  • Reputation:   46
  • Joined:  01/24/12
  • Last Seen:  

Sooooo there are a lot of posts in this thread about the PvP System... (even one poster believes he has to sell his stolen edited script because he put a lot of work into it, yet the emulator coders have spent years and are letting him use it free)........ sorry... just thought I'd point that out.... stealing is wrong... and then charging... smh....

 

Anyways, I'm actually more interested in the Russian Roulette activated event? Does anyone know what it exactly does? I guess Ghost didn't feel like putting the features on the thread? lol

Also what bugs to expect? I only saw one person even post about it.

dude im not claiming that this script is mine, its just that even if you use the old 1.3 script you wont be able to use it w/o bugs.. or should i say you wont be able toto be contented since it has many issues..i fix all the bugs that i encountered while im using this script and its for my own benefit because i love this script, and after understanding the script line by line everyday,should i give it for free?wtf! im a programmer too thats why i have some background in scripting. if your not interested its not my lost. im just saying that i have a better version of this very awesome script but its not for free.. because i have a contribution for this script! and i use all my brain cells to make this 100% bugless script! why dont you just get lost because just like you said your not that interested knowing that you already read the whole thread lol. fix this whole script for free if you can..if you have the guts ahaah! by the way i can make my "own script" thats why i am able to fix this ghost script..

Edited by joelolopez
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   1
  • Joined:  08/10/14
  • Last Seen:  

 

Sooooo there are a lot of posts in this thread about the PvP System... (even one poster believes he has to sell his stolen edited script because he put a lot of work into it, yet the emulator coders have spent years and are letting him use it free)........ sorry... just thought I'd point that out.... stealing is wrong... and then charging... smh....

 

Anyways, I'm actually more interested in the Russian Roulette activated event? Does anyone know what it exactly does? I guess Ghost didn't feel like putting the features on the thread? lol

Also what bugs to expect? I only saw one person even post about it.

dude im not claiming that this script is mine, its just that even if you use the old 1.3 script you wont be able to use it w/o bugs.. or should i say you wont be able toto be contented since it has many issues..i fix all the bugs that i encountered while im using this script and its for my own benefit because i love this script, and after understanding the script line by line everyday,should i give it for free?wtf! im a programmer too thats why i have some background in scripting. if your not interested its not my lost. im just saying that i have a better version of this very awesome script but its not for free.. because i have a contribution for this script! and i use all my brain cells to make this 100% bugless script! why dont you just get lost because just like you said your not that interested knowing that you already read the whole thread lol. fix this whole script for free if you can..if you have the guts ahaah! by the way i can make my "own script" thats why i am able to fix this ghost script..

 

 

Never said you've claimed the script as your own.  But no where on this thread does Ghost say that you may edit and redistribute his script, must less has he included a CC3.0 licence with it. So TECHNICALLY you are violating copyright law. 

I'd rather pay someone to fix the script so it can then be released for free. In fact if scriptor would like to make some money please contact me, I'll be wanting Ghost's script fixed and then released in his thread with full credits to him (and you for fix). 

Edited by SkyTech6
  • Upvote 1
Link to comment
Share on other sites


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

Just make it as "service charge" since you're fixing the scriptEasy.

 

@joelolopez, if you can make this script compatible with eAthena and 100% working, please PM me the price.

Edited by uDe
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  154
  • Topics Per Day:  0.03
  • Content Count:  493
  • Reputation:   46
  • Joined:  01/24/12
  • Last Seen:  

Just make it as "service charge" since you're fixing the scriptEasy.

 

@joelolopez, if you can make this script compatible with eAthena and 100% working, please PM me the price.

ok im just going to say that this will be a service charge

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   4
  • Joined:  11/23/12
  • Last Seen:  

does the ladder have reset function?

Link to comment
Share on other sites

  • 9 months later...

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

Nevermind, this script is too bugged.
 

Edited by Haziel
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

Anybody can optimized this script with 100% working? let me know and PM ME, i'll charge for this.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

Azeroth, may I know what errors you are getting? Mine is quite working fine and I can even manage to add in custom announcers as long as I have the .wav files I need.

Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   4
  • Joined:  09/25/15
  • Last Seen:  

Guys, I got the script working. Now how do I put this on my website in the frontpage? Thanks!

Link to comment
Share on other sites

  • 1 year later...

  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

Because Sanasol thought this script was good enough to base his PVP Ladder off of. I decided to update it and fix a few bugs. There's still much more to be done but at the moment it's good enough for what I'm using it for. 
This script is something of a legend in my opinion and I'm sure Ghost worked very hard on it. So at its core everything is basically the same, and I decided to keep things compatible with eAthena as well. If you run into any problems or have any features you want added let me know.

Here's a link to the script:
http://upaste.me/3f6a4327724c1149e

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

Nc keep it up

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  03/27/17
  • Last Seen:  

I have problem here with SQL Table...

Quote

//SQL Table for Ghost's PvP System
CREATE TABLE IF NOT EXISTS `pvp_rank` (
  `char_id` int(11) NOT NULL,
  `account_id` int(11) NOT NULL,
  `char` varchar(30) NOT NULL,
  `kill` int(11) NOT NULL,
  `death` int(11) NOT NULL,
  `kdr` varchar(30) NOT NULL,
  `killingstreak` int(11) NOT NULL,
  `multikill` int(11) NOT NULL,
  `killingspree` int(11) NOT NULL,
  `dominating` int(11) NOT NULL,
  `megakill` int(11) NOT NULL,
  `unstoppable` int(11) NOT NULL,
  `wickedsick` int(11) NOT NULL,
  `monsterkill` int(11) NOT NULL,
  `godlike` int(11) NOT NULL,
  `beyondgodlike` int(11) NOT NULL,
  `doublekill` int(11) NOT NULL,
  `triplekill` int(11) NOT NULL,
  `ultrakill` int(11) NOT NULL,
  `rampage` int(11) NOT NULL,
  `ownage` int(11) NOT NULL,
  `nemesiskill` int(11) NOT NULL,
  `feedcount` int(11) NOT NULL,
  PRIMARY KEY (`char_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

when I try copy this and make sql, then I try Import.. after that become like this :

 

Quote

 

Error

Static analysis:

2 errors were found during analysis.

  1. Ending quote ' was expected. (near "" at position 902)
  2. Unrecognized statement type. (near "SQL" at position 2)

SQL query:

//SQL Table for Ghost's PvP System CREATE TABLE IF NOT EXISTS `pvp_rank` ( `char_id` int(11) NOT NULL, `account_id` int(11) NOT NULL, `char` varchar(30) NOT NULL, `kill` int(11) NOT NULL, `death` int(11) NOT NULL, `kdr` varchar(30) NOT NULL, `killingstreak` int(11) NOT NULL, `multikill` int(11) NOT NULL, `killingspree` int(11) NOT NULL, `dominating` int(11) NOT NULL, `megakill` int(11) NOT NULL, `unstoppable` int(11) NOT NULL, `wickedsick` int(11) NOT NULL, `monsterkill` int(11) NOT NULL, `godlike` int(11) NOT NULL, `beyondgodlike` int(11) NOT NULL, `doublekill` int(11) NOT NULL, `triplekill` int(11) NOT NULL, `ultrakill` int(11) NOT NULL, `rampage` int(11) NOT NULL, `ownage` int(11) NOT NULL, `nemesiskill` int(11) NOT NULL, `feedcount` int(11) NOT NULL, PRIMARY KEY (`char_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;

MySQL said: Documentation

#1064 - 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

 

what should I do with this?

Ghost's PvP System v1.0.sql

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

it docent drop skull after killing a player

//Reward Setting (Every Kill)
set .MaxZeny, 1000000000; //What is the max zeny of the server?
set .Zeny, 0; //Earn zeny each kill? (0:Disable)
set .Cash, 0; //How much #CASHPOINT every kill? (0:Disable)
set .Skull, 1; //Collect player's skull each kill? (0:Disable|1:Enable)
setarray .ItemID[0], 0; //Get items each kill? (0:Disable)
setarray .Amount[0], 0; //How many items per kill?
 

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  01/22/17
  • Last Seen:  

At line 170:

Quote

if(.RandomKillTerm){ announce strcharinfo(0)+" "+.KillWord$[rand(0, getarraysize(.KillWord$) - 1)]+" "+rid2name(killedrid)+"'s head", ((.Broadcast)?bc_all:bc_map), .KColor$; }

Isn't it:

Quote

if(.RandomKillWord){ announce strcharinfo(0)+" "+.KillWord$[rand(0, getarraysize(.KillWord$) - 1)]+" "+rid2name(killedrid)+"'s head", ((.Broadcast)?bc_all:bc_map), .KColor$; }

Because the variable is named .RandomKillWord at line 78 ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

will this work on GVG map too??

like for guild war??

EDIT

got this error NPC is showing but got this one on console

script debug : 2000000 110108290 : Error in KDR function, getarg(1) invalid value

 

Edited by whodhell
Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  1183
  • Reputation:   160
  • Joined:  06/12/12
  • Last Seen:  

On 8/10/2014 at 1:37 AM, joelolopez said:

 

theres a lot of bugs on 1.3 version i already fixed all the known bugs and my version is on 6.1 now,

could you share the update script

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.08
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

sir where can i find the pvp room that players can enter into it?

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

On 9/5/2017 at 12:50 PM, Quesooo said:

sir where can i find the pvp room that players can enter into it?

no pvp room on this script its been set for all map

setarray .PvPMap$[0], "All"; //List all pvp maps here (Index 0:"All" to enable all maps)

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