Jump to content

Error sa pag gawa ng Custom na Bloody branch. mob_get_random_id: Invalid type (2) of random monster. ( Mystic Branch )


Freecz

Recommended Posts


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  05/27/20
  • Last Seen:  

Objective: Gusto ko lang sana gumawa ng custom bloody branch na ang pangalan ay Mystic Branch na kung san mga piling rare mvp monsters lang ang nasa summon doon.

Hi mga repa sinubukan ko i follow yung steps dito sa article na ito kaso ang problema parang outdated na sya hindi tugma ang guide sa laman ng folders ko.

halimbawa naka lagay jaan na baguhin ko ung :

 

const char* mobfile[] = {
DBPATH"mob_branch.txt",
DBPATH"mob_poring.txt",
DBPATH"mob_boss.txt",
"mob_pouch.txt",
"mob_classchange.txt"};

pero wala sya di ko sya makita sa mob.cpp ko.

 ito ung lumalabas na error kapag sinubukan ko mag summon sa mystic branch.

image.png.9791539eab504d6c8df22098a4055b46.png

 

eto naman yung mga steps na ginawa ko nung ininstall ko ung mystic branch.

1.  pumunta ako sa src>map>mob.cpp

    - dinagdagan ko ito mob_rare_boss.txt

image.png.ffc5167cee1b9d62e5951d31f78a1463.png

2. pumunta naman akosa  src>map>mob.hpp tapos ay dinagdag ko naman to

image.png.98b6d2bf1461fb4f68bf2beb001b7bda.png

3. after nyan mga boss ni recompile ko kasi SRC file sya.

4. pumunta ako sa db>pre-re then dinagdag ko dito ung mob_rare_boss.txt eto yung nasa loob nya

image.png.559e6b4312a4364aca699d26aea8031a.png

5. ginawa ko ay nag type ako ng @reloadmobdb at sinubukan ko na din i restart ang server pero hindi pa din ito gumagana.

 

hanggang sa napansin ko na sa putty ay ganito ang lumabas 

image.png.848d9cc69a56816ff6c1fe7db6653cd4.png

note: alam ko mga boss sasabihin nyo sakin hanapin ko sa google dahil marami. Pero nag hanap na ako mga boss wala talaga ako mahanap kasi parang outdated na lahat ng guide.

paki tulungan naman po ako sa nakakalam kung pano lutasin itong problemang ito maraming salamat!.

Edited by Freecz
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  241
  • Reputation:   18
  • Joined:  06/04/14
  • Last Seen:  

Separate item? If not why not just change the item name itself.

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   1
  • Joined:  05/20/12
  • Last Seen:  

Declare in script_constants.hpp

/* mob random groups */
	export_constant(MOBG_Branch_Of_Dead_Tree);
	export_constant(MOBG_Poring_Box);
	export_constant(MOBG_Bloody_Dead_Branch);
	export_constant(MOBG_Red_Pouch_Of_Surprise);
	export_constant(MOBG_YOUR_Branch);
	export_constant(MOBG_ClassChange);
	export_constant(MOBG_Taekwon_Mission);

 

  • Upvote 1
Link to comment
Share on other sites

  • 11 months later...

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.01
  • Content Count:  29
  • Reputation:   1
  • Joined:  03/28/21
  • Last Seen:  

thats work for me, but for a Reason, after the first Rebuild of the Solution after that change, I only can modify the MVP that I originally put in the custom group, but it doesnt detect the new MVPs that I add to it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  241
  • Reputation:   18
  • Joined:  06/04/14
  • Last Seen:  

On 7/9/2021 at 7:28 PM, f_fman said:

thats work for me, but for a Reason, after the first Rebuild of the Solution after that change, I only can modify the MVP that I originally put in the custom group, but it doesnt detect the new MVPs that I add to it.

Did you created a new txt file for the new branch?

Make sure that the format for the new txt file is the same on what you inputted on the src mod. 

export_constant(MOBG_YOUR_Branch);
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.01
  • Content Count:  29
  • Reputation:   1
  • Joined:  03/28/21
  • Last Seen:  

16 hours ago, Ronald said:

Did you created a new txt file for the new branch?

Make sure that the format for the new txt file is the same on what you inputted on the src mod. 


export_constant(MOBG_YOUR_Branch);

yes I did, I modified the monster_summon and the new txt for the branch.

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  308
  • Reputation:   24
  • Joined:  11/26/12
  • Last Seen:  

Di ba pwede bro gawa ka new item tas script command nalang mas simply  ^_^

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...