|
You last visited: Today at 11:25
Advertisement
4th Class don't attack
Discussion on 4th Class don't attack within the Nostale forum part of the MMORPGs category.
07/01/2019, 13:13
|
#1
|
elite*gold: 0
Join Date: Nov 2015
Posts: 79
Received Thanks: 5
|
4th Class don't attack
Good morning, I have the 4th class Martial Artist, but it turns out that when I press Space, it does not attack, in the chat it says that it lacks mana ... I do not understand why it does not want to attack, I have already put its statuses of load hp etc. .. And even then it does not attack. Any solution?
|
|
|
07/01/2019, 15:07
|
#2
|
elite*gold: 0
Join Date: Jul 2017
Posts: 397
Received Thanks: 60
|
Code:
/// <summary>
/// Char_NEW_JOB character creation character
/// </summary>
/// <param name="characterCreateNewJobPacket"></param>
public void CreateCharacterWrestler(MartialArtistCreatePacket characterCreatePacket)
{
if (Session.HasCurrentMapInstance)
{
return;
}
// TODO: Hold Account Information in Authorized object
long accountId = Session.Account.AccountId;
Logger.LogUserEvent("CREATECHARACTER", Session.GenerateIdentity(),
$"[CreateCharacter]Name: {characterCreatePacket.Name} Slot: {characterCreatePacket.Slot} Gender: {characterCreatePacket.Gender} HairStyle: {characterCreatePacket.HairStyle} HairColor: {characterCreatePacket.HairColor}");
if (characterCreatePacket.Slot <= 3
&& DAOFactory.CharacterDAO.LoadBySlot(accountId, characterCreatePacket.Slot) == null
&& characterCreatePacket.Name.Length > 3 && characterCreatePacket.Name.Length < 15)
{
Regex rg = new Regex(@"^[A-Za-z0-9_äÄöÖüÜß~*<>°+-.!_-Й¤£±†‡×ßø^\S]+$");
if (rg.Matches(characterCreatePacket.Name).Count == 1)
{
if (DAOFactory.CharacterDAO.LoadByName(characterCreatePacket.Name) == null)
{
if (characterCreatePacket.Slot > 3)
{
return;
}
CharacterDTO newCharacter = new CharacterDTO
{
Class = ClassType.Fighter,
Gender = characterCreatePacket.Gender,
HairColor = characterCreatePacket.HairColor,
HairStyle = characterCreatePacket.HairStyle,
Hp = 221,
JobLevel = 1,
Level = 81,
MapId = 129,
MapX = 120,
MapY = 129,
Mp = 221,
MaxMateCount = 10,
SpPoint = 2000,
SpAdditionPoint = 0,
Name = characterCreatePacket.Name,
Slot = characterCreatePacket.Slot,
AccountId = accountId,
MinilandMessage = "Welcome",
State = CharacterState.Active,
MinilandPoint = 2000,
Reputation = 50001,
};
DAOFactory.CharacterDAO.InsertOrUpdate(ref newCharacter);
//CharacterQuestDTO firstQuest = new CharacterQuestDTO { CharacterId = newCharacter.CharacterId, QuestId = 1531, IsMainQuest = true };
CharacterSkillDTO sk1 =
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 1525 };
CharacterSkillDTO sk2 =
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 1529 };
CharacterSkillDTO sk3 =
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 236 };
// init skills
List<CharacterSkillDTO> wSkills = new List<CharacterSkillDTO>
{
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 1525 },
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 1526 },
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 1527 },
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 1528 },
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 1529 },
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 1530 },
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 1531 },
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 1532 },
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 1533 },
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 1534 },
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 1535 },
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 1536 },
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 1537 },
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 1538 },
new CharacterSkillDTO { CharacterId = newCharacter.CharacterId, SkillVNum = 1539 }
};
QuicklistEntryDTO qlst1 = new QuicklistEntryDTO
{
CharacterId = newCharacter.CharacterId,
Type = 1,
Slot = 1,
Pos = 1
};
QuicklistEntryDTO qlst2 = new QuicklistEntryDTO
{
CharacterId = newCharacter.CharacterId,
Q2 = 1,
Slot = 2
};
QuicklistEntryDTO qlst3 = new QuicklistEntryDTO
{
CharacterId = newCharacter.CharacterId,
Q2 = 8,
Type = 1,
Slot = 1,
Pos = 16
};
QuicklistEntryDTO qlst4 = new QuicklistEntryDTO
{
CharacterId = newCharacter.CharacterId,
Q2 = 9,
Type = 1,
Slot = 3,
Pos = 1
};
//DAOFactory.CharacterQuestDao.InsertOrUpdate(firstQuest);
DAOFactory.CharacterSkillDAO.InsertOrUpdate(wSkills);
DAOFactory.QuicklistEntryDAO.InsertOrUpdate(qlst1);
DAOFactory.QuicklistEntryDAO.InsertOrUpdate(qlst2);
DAOFactory.QuicklistEntryDAO.InsertOrUpdate(qlst3);
DAOFactory.QuicklistEntryDAO.InsertOrUpdate(qlst4);
DAOFactory.CharacterSkillDAO.InsertOrUpdate(sk1);
DAOFactory.CharacterSkillDAO.InsertOrUpdate(sk2);
DAOFactory.CharacterSkillDAO.InsertOrUpdate(sk3);
using (Inventory startupInventory = new Inventory(new Character(newCharacter)))
{
startupInventory.AddNewToInventory(4757, 1, InventoryType.Wear, 8, 10);
startupInventory.AddNewToInventory(4756, 1, InventoryType.Wear, 8, 10);
startupInventory.AddNewToInventory(4758, 1, InventoryType.Wear, 8, 10);
startupInventory.AddNewToInventory(1907, 1, InventoryType.Main);
startupInventory.AddNewToInventory(800, 1, InventoryType.Equipment);
startupInventory.AddNewToInventory(801, 1, InventoryType.Equipment);
startupInventory.AddNewToInventory(802, 1, InventoryType.Equipment);
startupInventory.AddNewToInventory(803, 1, InventoryType.Equipment);
startupInventory.AddNewToInventory(5131, 1, InventoryType.Equipment);
startupInventory.ForEach(i => DAOFactory.IteminstanceDAO.InsertOrUpdate(i));
LoadCharacters(characterCreatePacket.OriginalContent);
}
}
else
{
Session.SendPacketFormat($"info {Language.Instance.GetMessageFromKey("ALREADY_TAKEN")}");
}
}
else
{
Session.SendPacketFormat($"info {Language.Instance.GetMessageFromKey("INVALID_CHARNAME")}");
}
}
}
Code:
if (!UseSp)
{
skibase = $"{((byte)Class == 4 ? 1525 : 200 + (20 * (byte)Class))} {((byte)Class < 4 ? 201 + (20 * (byte)Class) : 1526)}";
}
|
|
|
 |
Similar Threads
|
[Show] 4th Char slot and 4th bank slot
01/18/2014 - Flyff Private Server - 6 Replies
Hi elitepvpers,
Well instead of always asking for help xD
I like to show you something i have done.
Thanks to WurstbrotQT for giving the final solution xD.
SelectChar Window 100% working
http://img547.imageshack.us/img547/1540/kzbg.png
|
[ TIP ] 4th MP bar & 4th Skill
09/19/2012 - Grand Chase Philippines - 17 Replies
As of 9-13-2012
GC didn't update/released a news into whats Rebirth Act 2
Well, My guess is
Rebirth
- Character Updates
|
[MajorUpdate]Heros War 4th Class with 50+ New Skills
01/29/2011 - EO PServer Hosting - 39 Replies
http://img821.imageshack.us/img821/62/topic1.png
Website : Heros War Online
Heros War Staff ( Owned By CaNdY ) are glad to annonce about the new update
Ouster the 4th Class
|
[Verkaufe] Captain 4th Class
09/28/2010 - CrossFire Trading - 10 Replies
Hallo,
Ich verkaufe meinen CF account da das spiele zu langweilig geworden ist ! Hier der Link: Z8Games ? Home of the Best Free MMO Games - Clans - Character Details
Er hat fast jede Waffe auch schon die neuen wie z.B
- M4 Crystal
- Katana 85 Tage ca. noch
- usw...
|
All times are GMT +1. The time now is 11:26.
|
|