Jump to content

Recommended Posts

Posted

After my bad coding in the last one,  i decided to rework it

idea fully taken from here : http://l2jesios.org/index.php?topic=2210.0

 

89633783.png

 

you will need to add two new columns to your character.sql

rank , text , length : 20 , allow null

wins , tinyint , length : 100 , allow null

loses, tinyint , length : 100 , allow null

and excute this to your dp

CREATE TABLE `rankedteams` (
  `name` text,
  `leader` text,
  `member1` text,
  `member2` text,
  `member3` text,
  `member4` text,
  `wins` int,
  `loses` int,
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

to add new rank go to Ranks.java and add after

Rank("Ranked", 100),
Rank2("Unrnked", 0);

this

	Rank3("rank name here ", rank pts here),

 

code : http://pastebin.com/jKdPQDLK

 

 

Posted

What is supposed to do with your ranked team 5 vs 5;o

give more info,i like the idea much!

your team members is registerd and if there is other team registered match will start

Posted

After my bad coding in the last one,  i decided to rework it

idea fully taken from here : http://l2jesios.org/index.php?topic=2210.0

 

89633783.png

 

you will need to add two new columns to your character.sql

wins , tinyint , length : 100 , allow null

loses, tinyint , length : 100 , allow null

and excute this to your dp

CREATE TABLE `rankedteams` (
  `name` text,
  `leader` text,
  `member1` text,
  `member2` text,
  `member3` text,
  `member4` text,
  `wins` int,
  `loses` int,
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

to add new rank go to Ranks.java and add after

Rank("Ranked", 100),
Rank2("Unrnked", 0);

this

	Rank3("rank name here ", rank pts here),

 

code : http://pastebin.com/N30ujxAc

 

 

I will add this to hellas for sure! thanks for the share dude!

Posted

half code was done from Matim ?

because it says at L2LeagueInstance.java

 

+/**
+ * @author Matim
+ * @version 1.0
+ */

since I was using Matim npc as a  base so forgot to change authority

Posted

why 5v5 solo and 5vs5 team?

the meaning of solo is beign 1 your self vs others? it could be 1v1 2v2 3v3 4v4 5v5 etc

no 5vs5 you register for a 5 vs 5 match you're assigned to random team in 5vs5 team match you are with your team which you create

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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