summoner
11-05-20, 12:24 PM
Như tiê6u d9e62 do e tải sv bên này họ có file fix mirthil creation, e lại ko biết add code vô gs, bác nào biết giúp e dc ko ạ? e xin hậu tạ ạ
Quote Originally Posted by GameMoiRa View Post
1. Fix Elemental Monster Spawn randomly with Element=6
2. Fix Shop Mithril and Mithril Fragment
Files update:
- gObjMonster.cpp
- MonsterSetBase.cpp
- PentagramSystem.cpp
- PentagramSystem.h
- Shop.cpp
Copy to your GameServer source code then rebuild.
Example Monster spawn config:
<Spawn Index="670" Distance="5" StartX="194" StartY="26" EndX="198" EndY="26" Dir="-1" Count="5" Element="6" />
Example Shop config:
<!-- Mithril Fragment -->
<Item Cat="12" Index="144" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="1" Serial="0" />
<Item Cat="12" Index="144" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="2" Serial="0" />
<Item Cat="12" Index="144" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="3" Serial="0" />
<Item Cat="12" Index="144" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="4" Serial="0" />
<Item Cat="12" Index="144" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="5" Serial="0" />
<!-- Mithril -->
<Item Cat="12" Index="145" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="1" Serial="0" />
<Item Cat="12" Index="145" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="2" Serial="0" />
<Item Cat="12" Index="145" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="3" Serial="0" />
<Item Cat="12" Index="145" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="4" Serial="0" />
<Item Cat="12" Index="145" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="5" Serial="0" />
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
Quote Originally Posted by GameMoiRa View Post
1. Fix Elemental Monster Spawn randomly with Element=6
2. Fix Shop Mithril and Mithril Fragment
Files update:
- gObjMonster.cpp
- MonsterSetBase.cpp
- PentagramSystem.cpp
- PentagramSystem.h
- Shop.cpp
Copy to your GameServer source code then rebuild.
Example Monster spawn config:
<Spawn Index="670" Distance="5" StartX="194" StartY="26" EndX="198" EndY="26" Dir="-1" Count="5" Element="6" />
Example Shop config:
<!-- Mithril Fragment -->
<Item Cat="12" Index="144" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="1" Serial="0" />
<Item Cat="12" Index="144" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="2" Serial="0" />
<Item Cat="12" Index="144" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="3" Serial="0" />
<Item Cat="12" Index="144" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="4" Serial="0" />
<Item Cat="12" Index="144" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="5" Serial="0" />
<!-- Mithril -->
<Item Cat="12" Index="145" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="1" Serial="0" />
<Item Cat="12" Index="145" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="2" Serial="0" />
<Item Cat="12" Index="145" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="3" Serial="0" />
<Item Cat="12" Index="145" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="4" Serial="0" />
<Item Cat="12" Index="145" Level="0" Durability="0" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="5" Serial="0" />
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>