-
Posts
57 -
Joined
-
Last visited
-
Feedback
0%
Pepineitor's Achievements
-
HELP: C++ normal chat bug
Pepineitor replied to CM Punk's topic in Community Support - Questions & Answers
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; -
HELP: C++ normal chat bug
Pepineitor replied to CM Punk's topic in Community Support - Questions & Answers
Comment this line in input_main.cpp ConvertEmpireText(bEmpire, converted_msg + namelen, len - namelen, 10 + 2 * d->GetCharacter()->GetSkillPower(SKILL_LANGUAGE1 + bEmpire - 1)); -
game.drop_item_with_ownership(reward2, number(1,5))
-
Character death event
Pepineitor replied to Lupetto's topic in Community Support - Questions & Answers
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 -
Color name and more
Pepineitor replied to Damixxx0101's topic in Community Support - Questions & Answers
It's a simple colour in Hex preceded by cff -
[BUG]Horse restart after login
Pepineitor replied to Pepineitor's topic in Community Support - Questions & Answers
Bump. -
[BUG]Horse restart after login
Pepineitor replied to Pepineitor's topic in Community Support - Questions & Answers
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. -
How to install a Web Server Secure on FreeBSD ?
Pepineitor replied to Reboot's topic in Operating Systems
I think it is echo 'mysql_enable="YES"' >> /etc/rc.conf -
[BUG]Horse restart after login
Pepineitor replied to Pepineitor's topic in Community Support - Questions & Answers
Bump. -
[BUG]Horse restart after login
Pepineitor replied to Pepineitor's topic in Community Support - Questions & Answers
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. -
HELP ME! START POSITION
Pepineitor replied to denisuk777's topic in Community Support - Questions & Answers
start_position.cpp -
[BUG]Horse restart after login
Pepineitor replied to Pepineitor's topic in Community Support - Questions & Answers
Thank you for your reply, but the FreeBSD date its updated. -
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.
-
private chat without language ring?
Pepineitor replied to alin2894's topic in Community Support - Questions & Answers
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)/*º¯È¯È®·ü*/); -
[Question] time to clear the drop shot!
Pepineitor replied to SzC's topic in Community Support - Questions & Answers
char_item.cpp pkItemToDrop->StartDestroyEvent(#seconds);