[Question] how to remove unique spawns ?

07/26/2015 16:32 B13.#1
hey guys , how to remove a spawns from unique
ex, spawned [Strong] Tiger Girl
as default as it start to fight she spawns tigers and other mobs
how to disable that option from such uniques ?
07/26/2015 17:48 ​Exo#2
_RefSkill
07/27/2015 11:10 B13.#3
Quote:
Originally Posted by ​Exo View Post
_RefNest
what should i edit there
the name of the tab that controls it would be useful .
07/27/2015 17:15 ​Exo#4
^No? The spawns is a skill. To remove the spawns you need to remove the skill.
07/28/2015 10:31 B13.#5

Exo Explain more please,
07/28/2015 11:06 witchymoo#6
Monster summon by unique controlled by skill, not RefNest, as Exo said.

So, how to find the skill and remove it from the mob? (Let's do Tiger Girl's in this example (MOB_CH_TIGERWOMAN))

1. Find the associated skill with summon params:
Code:
SELECT * FROM _RefSkill WHERE [Service] = 1 AND Param1 = 0 AND Param2 = 1936945013 AND Basic_Code LIKE '%TIGERWOMAN%' ORDER BY ID ASC
You should get something like this:
[Only registered and activated users can see links. Click Here To Register...]
Write down those skill codes. And you'll see that skill ID for tiger girl summoning skills are: 3049, 3050, 3051, 3052

2. Now let's see if tiger girl sets to cast one of those skills:
Code:
SELECT DefaultSkill_1, DefaultSkill_2, DefaultSkill_3, DefaultSkill_4, DefaultSkill_5, DefaultSkill_6, DefaultSkill_7, DefaultSkill_8, DefaultSkill_9, DefaultSkill_10 FROM _RefObjChar WHERE ID = (SELECT Link FROM _RefObjCommon WHERE CodeName128 LIKE 'MOB_CH_TIGERWOMAN')
You'll get something like this:
[Only registered and activated users can see links. Click Here To Register...]

As you can see, Tiger girl has DefaultSkill to cast summoning skill we found in _RefSkill. (DefaultSkill_4, DefaultSkill_5, DefaultSkill_6, DefaultSkill_7)

3. Next, simply remove the skill ID from [_RefObjChar] so Tiger Girl won't cast those skills again:
Code:
UPDATE _RefObjChar SET DefaultSkill_4 = 0, DefaultSkill_5 = 0, DefaultSkill_6 = 0, Default_Skill7 = 0 WHERE ID = (SELECT Link FROM _RefObjCommon WHERE CodeName128 LIKE 'MOB_CH_TIGERWOMAN')
4. Restart your GS, update your characterdata.txt, then try :)

-----
Additional Notes

Most of monster summon skills are same, they have Param value of 1936945013, and followed by monster code and amount of summon. For example if you do this:
Code:
SELECT * FROM _RefSkill WHERE [Service] = 1 AND Param1 = 0 AND Param2 = 1936945013 ORDER BY ID ASC
You'll get other skills for other monsters (uruchi, etc etc...)

good luck and have fun ;)
07/28/2015 22:51 B13.#7
nice GUIDE

if i only knew what to do at step 4. [update your characterdata.txt]
*hardcore*beginner*
thank you for you time,hard work. !
07/29/2015 23:02 witchymoo#8
Do this in SQL:

Code:
SELECT a.[Service],a.ID,a.CodeName128,a.ObjName128,a.OrgObjCodeName128,a.NameStrID128,a.DescStrID128,a.CashItem,a.Bionic,a.TypeID1,a.TypeID2,a.TypeID3,a.TypeID4,a.DecayTime,a.Country,a.Rarity,a.CanTrade,a.CanSell,a.CanBuy,a.CanBorrow,a.CanDrop,a.CanPick,a.CanRepair,a.CanRevive,a.CanUse,a.CanThrow,a.Price,a.CostRepair,a.CostRevive,a.CostBorrow,a.KeepingFee,a.SellPrice,a.ReqLevelType1,a.ReqLevel1,a.ReqLevelType2,a.ReqLevel2,a.ReqLevelType3,a.ReqLevel3,a.ReqLevelType4,a.ReqLevel4,a.MaxContain,a.RegionID,a.Dir,a.OffsetX,a.OffsetY,a.OffsetZ,a.Speed1,a.Speed2,a.Scale,a.BCHeight,a.BCRadius,a.EventID,a.AssocFileObj128,a.AssocFileDrop128,a.AssocFileIcon128,a.AssocFile1_128,a.AssocFile2_128,
b.Lvl,b.CharGender,b.MaxHP,b.MaxMP,b.InventorySize,b.CanStore_TID1,b.CanStore_TID2,b.CanStore_TID3,b.CanStore_TID4,b.CanBeVehicle,b.CanControl,b.DamagePortion,b.MaxPassenger,b.AssocTactics,b.PD,b.MD,b.PAR,b.MAR,b.ER,b.BR,b.HR,b.CHR,b.ExpToGive,b.CreepType,b.Knockdown,b.KO_RecoverTime,b.DefaultSkill_1,b.DefaultSkill_2,b.DefaultSkill_3,b.DefaultSkill_4,b.DefaultSkill_5,b.DefaultSkill_6,b.DefaultSkill_7,b.DefaultSkill_8,b.DefaultSkill_9,b.DefaultSkill_10,b.TextureType,b.Except_1,b.Except_2,b.Except_3,b.Except_4,b.Except_5,b.Except_6,b.Except_7,b.Except_8,b.Except_9,b.Except_10
FROM _RefObjCommon a INNER JOIN _RefObjChar b ON a.Link = b.ID
WHERE a.[Service]=1 AND CodeName128 LIKE 'MOB_CH_TIGERWOMAN'
ORDER BY a.ID ASC
You'll get something like this:

[Only registered and activated users can see links. Click Here To Register...]

Copy the line, also check the ID, for example, Tiger Girl has ID 1954, means you have to put in characterdata_5000.txt. Find the old line and replace it with new line.

good luck
07/30/2015 02:41 ​Exo#9
Thanks witchy for explaining this to him in details. Honestly, I was too lazy but hey you did a good job.
For the TE, as mentioned above you will have another skills for another mobs but they all have the same Param values (1936945013).
I guess witchy's post should have explained everything right?
07/30/2015 06:05 witchymoo#10
anytime ;), glad to be able to contribute once in a while even only for a little
07/31/2015 14:26 B13.#11
Works 100%

*Just edit the code at step 3 [Default_Skill7] make it [DefaultSkill_7]
thx alot !!
#Request2close#