Jump to content

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


Recommended Posts

Posted

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

Posted

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

 

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

Posted

 

 

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

Posted (edited)

 

 

 

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
Posted

 

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?

Posted

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.

Posted (edited)

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
Posted (edited)

 

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
Posted (edited)

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
  • 2 months later...
  • 9 months later...
  • 3 months later...
  • 1 year later...
Posted

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
  • 1 month later...
Posted

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

  • 3 weeks later...
Posted

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?
 

  • 2 weeks later...
Posted

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 ?

Posted (edited)

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
  • 2 months later...
Posted
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

  • 3 weeks later...
Posted
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)

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...