Jump to content
  • 0

Source Code for this Tombstone Script?


Angry Mjoo

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   0
  • Joined:  12/17/11
  • Last Seen:  

Hi guys !!

Can anyone help me with this?, Actually brAthena Already have the codes for this but since I was using rAthena 15490 I think it doesn't met the codes when I was Patching the diff..

It was really a hard time for since I'm a starter.. Hope you guys would help me with this thing..

And Here's the NPC Script I use..

//===== eAthena Script =======================================
//= Tombstone
//===== By: ==================================================
//= Mark translated by Dikalz
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= n-Xtream SVN
//===== Description: =========================================
//= [Aegis Conversion]
//= MVP Tombstone
//===== Additional Comments: =================================
//= 1.0 First Version. [Mark]
//============================================================
- script Tomb::TOMBSTONE 565,{
mes "[ ^FF0000" + getmonsterinfo(atoi(strnpcinfo(2)),0) + "^000000 ]";
mes "Has met its demise";
mes "Time of death : ^FF0000"+getd(".h"+strnpcinfo(3)+"")+":"+getd(".m"+strnpcinfo(3)+"")+"^000000";
mes "Defeated by";
set .@b, (atoi(strnpcinfo(3))/ pow(10,(getstrlen(strnpcinfo(3)) - 6)));
query_sql "SELECT `name` FROM `char` WHERE `char_id` = "+ .@b +"",.@charname$;
mes "[^FF0000" + .@charname$ + "^000000]";
close;
OnTombstone:
setd ".h"+strnpcinfo(3)+"",gettime(3);
setd ".m"+strnpcinfo(3)+"",gettime(2);
sleep2 10000;
setnpcdisplay(strnpcinfo(3),565);
end;
}

Your help will be as awesome as you are : )

Edit : I finally manage it myself : ) Thanks anyways..

Edited by Angry Mjoo
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

Can you share you're source code? thanks.

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

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