Jump to content
  • 0
karazu

Ghost PVP System

Question

8 answers to this question

Recommended Posts

  • 0

After a quick parse, it seems this script is still working on Hercules without any problem. Please try that script on your server along with all of its requirements to see how that goes.

Share this post


Link to post
Share on other sites
  • 0

Thank you for both of you!

been busy for the last few days, didn't manage to try it. But I will now.

will update you later guys.

EDIT:
One stupid question.

What line should i remove in this code before running the query? 

 

 

 

//SQL Table for Ghost's PvP SystemCREATE 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=M 

Because I am getting some error in running it.

Edited by karazu

Share this post


Link to post
Share on other sites
  • 0

First one. Comments in SQL start with -- (double dash), not // (double slash), so the commented line (in C) is what is giving you the error.

 

Anyways, you could simply avoid copying that line, since comments are made for better programmer's understanding, compilers and parsers just ignore them (if they can parse them as comments).

Share this post


Link to post
Share on other sites
  • 0

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=M 

Is this correct?

 

just want to make sure

 

 

EDIT:

 

or still need to remove the 

 

CREATE TABLE IF NOT EXISTS 
Edited by karazu

Share this post


Link to post
Share on other sites
  • 0

Oh, I just realised you're missing the end on your code.

 

Either run it without stating anything about this: ENGINE=MyISAM DEFAULT CHARSET=latin1

 

Or run the whole table query:

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;

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
Answer this question...

×   Pasted as rich text.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

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