Jump to content

Pepineitor

Member
  • Posts

    57
  • Joined

  • Last visited

  • Feedback

    0%

About Pepineitor

Informations

  • Gender
    Male

Recent Profile Visitors

1697 profile views

Pepineitor's Achievements

Enthusiast

Enthusiast (6/16)

  • Conversation Starter
  • First Post
  • Collaborator
  • Week One Done
  • One Month Later

Recent Badges

65

Reputation

  1. I have does not work if (g_bEmpireWhisper) if (!ch->IsEquipUniqueGroup(UNIQUE_GROUP_RING_OF_LANGUAGE)) if (!(pkChr && pkChr->IsEquipUniqueGroup(UNIQUE_GROUP_RING_OF_LANGUAGE))) if (bOpponentEmpire != ch->GetEmpire() && ch->GetEmpire() && bOpponentEmpire // Ľ­·Î Á¦±ąŔĚ ´Ů¸Ł¸éĽ­ && ch->GetGMLevel() == GM_PLAYER && gm_get_level(pinfo->szNameTo) == GM_PLAYER) // µŃ´Ů ŔĎąÝ ÇĂ·ąŔĚľîŔ̸é // Ŕ̸§ ąŰżˇ ¸đ¸Ł´Ď gm_get_level ÇÔĽö¸¦ »çżë { if (!pkChr) { // ´Ů¸Ą Ľ­ąöżˇ ŔÖŔ¸´Ď Á¦±ą ÇĄ˝Ă¸¸ ÇŃ´Ů. bTypeŔÇ »óŔ§ 4şńĆ®¸¦ EmpireąřČŁ·Î »çżëÇŃ´Ů. bType = ch->GetEmpire() << 4; } else { //ConvertEmpireText(ch->GetEmpire(), buf, buflen, 10 + 2 * pkChr->GetSkillPower(SKILL_LANGUAGE1 + ch->GetEmpire() - 1)/*şŻČŻČ®·ü*/); } } It works for me if (g_bEmpireWhisper) if (!ch->IsEquipUniqueGroup(UNIQUE_GROUP_RING_OF_LANGUAGE)) if (!(pkChr && pkChr->IsEquipUniqueGroup(UNIQUE_GROUP_RING_OF_LANGUAGE))) if (bOpponentEmpire != ch->GetEmpire() && ch->GetEmpire() && bOpponentEmpire // ¼­·Î Á¦±¹ÀÌ ´Ù¸£¸é¼­ && ch->GetGMLevel() == GM_PLAYER && gm_get_level(pinfo->szNameTo) == GM_PLAYER) // µÑ´Ù ÀÏ¹Ý Ç÷¹À̾îÀ̸é // À̸§ ¹Û¿¡ ¸ð¸£´Ï gm_get_level ÇÔ¼ö¸¦ »ç¿ë { if (!pkChr) { // ´Ù¸¥ ¼­¹ö¿¡ ÀÖÀ¸´Ï Á¦±¹ Ç¥½Ã¸¸ ÇÑ´Ù. bTypeÀÇ »óÀ§ 4ºñÆ®¸¦ Empire¹øÈ£·Î »ç¿ëÇÑ´Ù. //bType = ch->GetEmpire() << 4; //Chat Privado Global } else { //ConvertEmpireText(ch->GetEmpire(), buf, buflen, 10 + 2 * pkChr->GetSkillPower(SKILL_LANGUAGE1 + ch->GetEmpire() - 1)/*º¯È¯È®·ü*/); //Chat Privado Global } } Edit: coment this line too bType = ch->GetEmpire() << 4;
  2. Comment this line in input_main.cpp ConvertEmpireText(bEmpire, converted_msg + namelen, len - namelen, 10 + 2 * d->GetCharacter()->GetSkillPower(SKILL_LANGUAGE1 + bEmpire - 1));
  3. game.drop_item_with_ownership(reward2, number(1,5))
  4. You could do it with npc.get_vid() quest dead begin state start begin when kill with npc.is_pc() begin local vid = npc.get_vid() local old_pc = pc.select(vid) if old_pc != 0 then chat("You die") pc.select(old_pc) end end end end
  5. Sorry for the delay, and thanks for your answer. I did it before anything, now (after restart the server) in the db, the horse_hp is 286 and horse_stamina is 4, the horse_level is 0 but when I log in is 21(in the character page). After I login, the horse_hp has decreased to 21, the horse was dead when I entered, the horse_level continues being 0. #Edit After I revive the horse, the horse_hp and horse_stamina cotinues in 21/4, the horse_level its 0 too. Thanks for your time, regards.
  6. I think it is echo 'mysql_enable="YES"' >> /etc/rc.conf
  7. Firstly, thanks for your reply, I add ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Horse Info")); ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Level: %d"),GetHorseLevel()); ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Health: %d"),GetHorseHealth()); ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Max Health: %d"),GetHorseMaxHealth()); ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Stamina: %d"),GetHorseStamina()); ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Max Stamina: %d"),GetHorseMaxStamina()); behind the void CHARACTER::HorseSummon(bool bSummon, bool bFromFar, DWORD dwVnum, const char* pPetName) { if ( bSummon ) { When I summon the horse, If it's revived, it has hp and stamina, but when I warp/relog the hp and stamina falls down. I've looking for the side where the stamina/hp is saved/load but I can't find any error. Thanks for your time, regards.
  8. Thank you for your reply, but the FreeBSD date its updated.
  9. Hi guys, I'm trying to solve a bug since a lot of days ago, but I can't do it, one person in this forum has had the same problem but he can solve it in this post The horse dies when I relog, change map, etc. Here you have a video which explain the problem Here is the syserr after the login [Hidden Content] Source: Mainline Released I look over all the horse functions but I can't find the error, anyone has had the same problem or know how to solve it? Regards.
  10. I don't test it, but just open input_main.cpp and comment this line ConvertEmpireText(ch->GetEmpire(), buf, buflen, 10 + 2 * pkChr->GetSkillPower(SKILL_LANGUAGE1 + ch->GetEmpire() - 1)/*º¯È¯È®·ü*/);
  11. char_item.cpp pkItemToDrop->StartDestroyEvent(#seconds);
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.