Just go at the method that happen when player level up (Search it i dont even remember where it is, no even have eclipse opened),
add a void called checkSupportTutorial(player); example
and make a simple code like:
int lvl = player.getLevel();
switch (lvl)
{
case 1:
(inside here put some html ,check other function how to send html packet to player)
break;
case 10:
(inside here put some html ,check other function how to send html packet to player)
break;
}
and the action inside html make it like bypass -h supportPlayer 1 for example
and go at RequestByPassToServer.java add it like...
if (event.startsWith("supportPlayer")
{ int endOfId = _command.indexOf(' ', 13); (13 is the size of command)
int id = id = _command.substring(13, endOfId);
switch(id)
case 1:
// things that happen inside here when the button pressed, like give items or teleport or buffs or idk...
// idk maybe player.teleToLocation(x,y,z);
case 2:
// things that happen inside here when the button pressed, like give items or teleport or buffs or idk...
// idk maybe player.teleToLocation(x,y,z);
case 3:
// things that happen inside here when the button pressed, like give items or teleport or buffs or idk...
// idk maybe player.teleToLocation(x,y,z);
etc
}
You can check your source to see how it send a html packet to player
its simple its like
StringBuilder sb = new StringBuilder(200);
sb.append("<html><body>");
sb.append("Some silly things<br1>");
sb.append("More things<br1>");
sb.append("</body></html>");
final NpcHtmlMessage pck = new NpcHtmlMessage(0, 1, sb.toString());
activeChar.sendPacket(pck);