I totally understand the whole installation but why port 80 and apache+php and adminer i think they should be optional and also be asked about opening 3306 or XXXX and listen to *
thanks
chatgpt answer
1) thats not a lie, "head progressive diseases."
2) thats not about your "had the worst customers" "was rude and disrespectful."
3) you just took what i said in the previous post and mirror it, the truth is on your answers
4) i dont like your skamming skills even here in this topic
stop edditing your answers you called me roten and other names on your first reply now you edit your answers to look good boy 🙂 you are the disrispectful and rude in this community
Question
ower12
i have problem i line tiara can help me? pls
else if (command.startsWith("become_noble"))
{
NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
if (!player.isNoble())
{
//then you check for the level 78
if(player.getLevel()>=78){
//then you ask for items
if(
player.getInventory().getItemByItemId(12345/**1 item id **/).getCount()>=12345/** Is bigger or equals required item count **/
&& player.getInventory().getItemByItemId(12345/**2 item id **/).getCount()>=12345/** Is bigger or equals required item count **/
&& player.getInventory().getItemByItemId(12345/**3 item id **/).getCount()>=12345/** Is bigger or equals required item count **/
&& player.getInventory().getItemByItemId(12345/**4 item id **/).getCount()>=12345/** Is bigger or equals required item count **/
){
L2ItemInstance tiara = player.getInventory().addItem("tiara", 7694, 1, player, null);//give nobless tiara
player.getInventory().equipItemAndRecord(tiara);//equip the tiara if you want
player.setNoble(true, true);
player.sendPacket(new UserInfo(player));
html.setFile("data/html/classmaster/nobleok.htm");
}else
player.sendMessage("You don't have enough items.");
}
else
player.sendMessage("Your level must be 78 or higher.");
}
else
html.setFile("data/html/classmaster/alreadynoble.htm");
player.sendPacket(html);
//and don't forget the imports for l2iteminstance etc..
}
18 answers to this question
Recommended Posts