Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] Darkmagic's Ranking System v.95c(with hair fixes)

Status
Not open for further replies.
Newbie Spellweaver
Joined
Apr 29, 2008
Messages
34
Reaction score
0
Re: [Release] Darkmagic's Ranking System v.95b

any mirrors?
thanks
 
Newbie Spellweaver
Joined
May 5, 2008
Messages
8
Reaction score
0
Re: [Release] Darkmagic's Ranking System v.95b

You see guys... You just have to wait alittle till he and release the originial ranking system. And voila here it is. Dark is the original creator.
 
Experienced Elementalist
Joined
Apr 2, 2008
Messages
255
Reaction score
0
Re: [Release] Darkmagic's Ranking System v.95b

@LeoDirk
can u tell me what u odd to the script i modified mine a litle i dont want to lose the work =/
 
Newbie Spellweaver
Joined
May 25, 2008
Messages
98
Reaction score
0
Re: [Release] Darkmagic's Ranking System v.95b

Can someone please upload to mediafire?
 
Junior Spellweaver
Joined
Apr 11, 2008
Messages
108
Reaction score
0
Re: [Release] Darkmagic's Ranking System v.95b

Alright, heres what to just add to yours, if you just want to do that.
find
PHP:
  $zhaty=-$hatarray[default_defaultAc_origin_y]-$hatarray[default_defaultAc_map_brow_y];
add under it
PHP:
  $vslot=$hairarray[info_vslot];
find
PHP:
//create back hair and cape
if($capez == 'capeBelowBody')
{
  $location = "Hair/000".$hair.".img/default.hairBelowBody.png";
  if(file_exists($location))
  {

    $implace = imagecreatefrompng ($location);
    imagecopy($im, $implace, $mainx+$backhairx, $mainy+$backhairy, 0, 0, imagesx($implace), imagesy($implace));
  }
replace with
PHP:
//create back hair and cape
if($capez == 'capeBelowBody')
{
  $location = "Hair/000".$hair.".img/default.hairBelowBody.png";
  if(file_exists($location))
  {
if(substr_count($vslot, 'H1H2H3H4H5H6')  == 1){

}
else{
    $implace = imagecreatefrompng ($location);
    imagecopy($im, $implace, $mainx+$backhairx, $mainy+$backhairy, 0, 0, imagesx($implace), imagesy($implace));
  }
}
find
PHP:
  $location = "Hair/000".$hair.".img/default.hairBelowBody.png";
  if(file_exists($location))
  {
    $implace = imagecreatefrompng ($location);
    imagecopy($im, $implace, $mainx+$backhairx, $mainy+$backhairy, 0, 0, imagesx($implace), imagesy($implace));
  }
}

//create shield
replace with
PHP:
  $location = "Hair/000".$hair.".img/default.hairBelowBody.png";
  if(file_exists($location))
  {
if(substr_count($vslot, 'H1H2H3H4H5H6')  == 1){

}
else{
    $implace = imagecreatefrompng ($location);
    imagecopy($im, $implace, $mainx+$backhairx, $mainy+$backhairy, 0, 0, imagesx($implace), imagesy($implace));
  }
}
}

//create shield
find
PHP:
//create shade hair
$location = "Hair/000".$hair.".img/default.hairShade.".$hairshade.".png";
if(file_exists($location))
{
  $implace = imagecreatefrompng ($location);
  imagecopy($im, $implace, $mainx+$shadehairx, $mainy+$shadehairy, 0, 0, imagesx($implace), imagesy($implace));
}
replace with
PHP:
//create shade hair
$location = "Hair/000".$hair.".img/default.hairShade.".$hairshade.".png";
if(file_exists($location))
{
if(substr_count($vslot, 'H1H2H3H4H5H6')  == 1){

}
else{
  $implace = imagecreatefrompng ($location);
  imagecopy($im, $implace, $mainx+$shadehairx, $mainy+$shadehairy, 0, 0, imagesx($implace), imagesy($implace));
}
}
find
PHP:
//create hair
$location = "Hair/000".$hair.".img/default.hair.png";
if(file_exists($location))
{
  $implace = imagecreatefrompng ($location);
  imagecopy($im, $implace, $mainx+$hairx, $mainy+$hairy, 0, 0, imagesx($implace), imagesy($implace));
}

//create hairoverhead or hat
if($hat)
{
replace with
PHP:
//create hair
$location = "Hair/000".$hair.".img/default.hair.png";
if(file_exists($location))
{
if(substr_count($vslot, 'H1H2H3H4H5H6')  == 1){

}
else{
  $implace = imagecreatefrompng ($location);
  imagecopy($im, $implace, $mainx+$hairx, $mainy+$hairy, 0, 0, imagesx($implace), imagesy($implace));
}
}

//create hairoverhead or hat
if($hat)
{
if($vslot == "CpH5"){
  $location = "hair/000".$hair.".img/default.hairOverHead.png";
  if(file_exists($location))
  {
    $implace = imagecreatefrompng ($location);
    imagecopy($im, $implace, $mainx+$overhairx, $mainy+$overhairy, 0, 0, imagesx($implace), imagesy($implace));
  }
}
That should be it.
 
Experienced Elementalist
Joined
Apr 2, 2008
Messages
255
Reaction score
0
Re: [Release] Darkmagic's Ranking System v.95b

@LeoDirk
i cant find any of those lines lol=/
 
Junior Spellweaver
Joined
Apr 11, 2008
Messages
108
Reaction score
0
Re: [Release] Darkmagic's Ranking System v.95b

Its in /ranking/characters/characterdesign.php
 
Experienced Elementalist
Joined
Jun 6, 2008
Messages
229
Reaction score
0
Re: [Release] Darkmagic's Ranking System v.95b

i got this error Unknown column 'characters.guildid' in 'on clause' can any one help =DD
 
Experienced Elementalist
Joined
Apr 2, 2008
Messages
255
Reaction score
0
Re: [Release] Darkmagic's Ranking System v.95b

u mean characterdisplay.php and i was using characterdisplay.php and any of those line was in there
 
Newbie Spellweaver
Joined
Jun 2, 2008
Messages
39
Reaction score
0
Re: [Release] Darkmagic's Ranking System v.95b

@LeoDirk
Im uploading a version with your fix right now.
 
Experienced Elementalist
Joined
Jun 8, 2008
Messages
275
Reaction score
4
Re: [Release] Darkmagic's Ranking System v.95b

offtopic i can get those kind of backgrounds for your signatures.
 
Newbie Spellweaver
Joined
Jun 2, 2008
Messages
39
Reaction score
0
Re: [Release] Darkmagic's Ranking System v.95b

i got this error Unknown column 'characters.guildid' in 'on clause' can any one help =DD

Its sounds to me that you are missing guilds or have a different version of guilds than what I was using.
 
Junior Spellweaver
Joined
Apr 11, 2008
Messages
108
Reaction score
0
Re: [Release] Darkmagic's Ranking System v.95b

@LeoDirk
Im uploading a version with your fix right now.
Cool ^^ Long as it works thats fine with me, and I get some cred hah
 
Experienced Elementalist
Joined
Jun 6, 2008
Messages
229
Reaction score
0
Re: [Release] Darkmagic's Ranking System v.95b

Darkmagic upload it in mediafire =D
 
Newbie Spellweaver
Joined
Jun 2, 2008
Messages
39
Reaction score
0
Re: [Release] Darkmagic's Ranking System v.95b

its uploading right now
 
Experienced Elementalist
Joined
Jun 6, 2008
Messages
229
Reaction score
0
Re: [Release] Darkmagic's Ranking System v.95b

why i cant see the avatar >< i can see it just now and after i restart it gone ><
 
Newbie Spellweaver
Joined
Jun 2, 2008
Messages
39
Reaction score
0
Re: [Release] Darkmagic's Ranking System v.95b

if you have an error can you send me your url so I can take a look at it myself
 
Status
Not open for further replies.
Back
Top