Jump to content

Black Box

Members
  • Content Count

    42
  • Joined

  • Last visited

Posts posted by Black Box


  1.  

    I followed this tutorial:

     

    http://herc.ws/wiki/index.php?title=Custom_weapons&diff=974&oldid=973#Example

     

    But, when I attack a monster with custom weapon gives error in client.

     

    At this time the weapon appears, but soon after comes the crash.

     

    2dbosvl.png

     

     

    See my settings:

     

     

    item_db2.conf

     

     

     

    {	Id: 13456	AegisName: "longsword"	Name: "Long Sword"	Type: 4	Buy: 20	Weight: 1350	Atk: 135	Range: 1	Slots: 1	Job: 0x000654E2	Loc: 2	WeaponLv: 4	EquipLv: 5	View: 2	Script: <"		bonus bAtk,pow(min(getrefine(),15),2);	">},

     

     

     

    {

    Id: 13456

    AegisName: "longsword"

    Name: "Long Sword"

    Type: 4

    Buy: 20

    Weight: 1350

    Atk: 135

    Range: 1

    Slots: 1

    Job: 0x000654E2

    Loc: 2

    WeaponLv: 4

    EquipLv: 5

    View: 2 ( change the value into 98 )

    Script: <"

    bonus bAtk,pow(min(getrefine(),15),2);

    ">

    },

     

     

    friend, no worked! :(

    something else to try?

     

    if you want to test the sprite: https://mega.co.nz/#!8xdkVZSD!e1OkEjSIABRZSfzBzVhkm8jAnF7nJJTObcxqhTVYMQM

     

     

     

    I followed this tutorial: http://herc.ws/wiki/index.php?title=Custom_weapons&diff=974&oldid=973#Example But, when I attack a monster with custom weapon gives error in client. At this time the weapon appears, but soon after comes the crash. 2dbosvl.png See my settings: item_db2.conf

     

    {	Id: 13456	AegisName: "longsword"	Name: "Long Sword"	Type: 4	Buy: 20	Weight: 1350	Atk: 135	Range: 1	Slots: 1	Job: 0x000654E2	Loc: 2	WeaponLv: 4	EquipLv: 5	View: 2	Script: <"		bonus bAtk,pow(min(getrefine(),15),2);	">},

     {

    Id: 13456

    AegisName: "longsword"

    Name: "Long Sword"

    Type: 4

    Buy: 20

    Weight: 1350

    Atk: 135

    Range: 1

    Slots: 1

    Job: 0x000654E2

    Loc: 2

    WeaponLv: 4

    EquipLv: 5

    View: 2 ( change the value into 98 )

    Script: <"

    bonus bAtk,pow(min(getrefine(),15),2);

    ">

    },

    Noo. Not really , view for weapons are all clientside.

    Serverside view for weapon tell its type, whether its bow/sword/dagger/etc.

     

     

    something else to try?

    if you want to test the sprite: https://mega.co.nz/#!8xdkVZSD!e1OkEjSIABRZSfzBzVhkm8jAnF7nJJTObcxqhTVYMQM

     

    I will try with another weapon...


  2. I followed this tutorial:

     

    http://herc.ws/wiki/index.php?title=Custom_weapons&diff=974&oldid=973#Example

     

    But, when I attack a monster with custom weapon gives error in client.

     

    At this time the weapon appears, but soon after comes the crash.

     

    2dbosvl.png

     

     

    See my settings:

     

     

    item_db2.conf

     

     

     

    {	Id: 13456	AegisName: "longsword"	Name: "Long Sword"	Type: 4	Buy: 20	Weight: 1350	Atk: 135	Range: 1	Slots: 1	Job: 0x000654E2	Loc: 2	WeaponLv: 4	EquipLv: 5	View: 2	Script: <"		bonus bAtk,pow(min(getrefine(),15),2);	">},

     

     

     

    iteminfo.lub

     

     

     

    [13456] = {		unidentifiedDisplayName = "Long Sword",		unidentifiedResourceName = "longsword",		unidentifiedDescriptionName = {			"test.",			"test"		},		identifiedDisplayName = "Long Sword",		identifiedResourceName = "longsword",		identifiedDescriptionName = {			"test.",			"test"		},		slotCount = 2,		ClassNum = 98	},

     

     

     

    Sprite:

     

     

    1zxw0w7.png

     

     

     

    weapontable.lub

     

     

     

    WEAPONTYPE_longsword = 98 [Weapon_IDs.WEAPONTYPE_longsword] = "_longsword" [Weapon_IDs.WEAPONTYPE_longsword] = Weapon_IDs.WPCLASS_WEAPONTYPE_SWORD

     

     

     

     

    The sprites are inserted correctly. Just missing this part of the crash because the rest is working.


  3.  

     

    I didn't quite understood your english (are u really from USA? xD), but I guess you are searching for the following:

     

    mes "You can <URL>Google<INFO>http://www.google.com/</INFO></URL> anything";

     

    Thank you this is working. Yes I live in salt lake city.
     
    where I find topics relating to tags in the client?.

     

    I don't know, but I got those info at a text file in my PC that may be helpful:

     

    mes "go to <NAVI>[Hat Maker]<INFO>izlude,131,148,</INFO></NAVI> to make hats"; the [Hat Maker] will be clickable in the client and make a navigation to the npc. also it works with the browser too mes "You can <URL>Google<INFO>http://www.google.com/</INFO></URL> anything";clicking Google will open the browsermes "<ITEMLINK>HIIII Im valk shield<INFO>2115</INFO></ITEMLINK>";

     

     

    Thank you very much! Can Closed.


  4. Hello guys today I have a problem in adding custom skills for homunculus. The ids of the ability of the homunculus begins 8001 and ends 8043. I added a custom skill with id 8044 placing this custom skill in homun_skill_tree.txt and it worked 100%, but when I add another custom skill in homun_skill_tree.txt with id 8045 does not she appears. Strongly suspect that the emulator has a limit on the ids of the homunculus skills. I would like to know how to increase this number id so I can add more custom skill for homunculus...

     

    I have tried to increase in:

    src -> common -> mmo.h

     

    #define MAX_HOMUNSKILL 80 // original 43

     

    // but failed to appear for skill was without the homunculu

     

    tried in:

     

    #define HM_SKILLRANGEMIN 755 //750 original
    #define HM_SKILLRANGEMAX HM_SKILLRANGEMIN + MAX_HOMUNSKILL
    #define MC_SKILLRANGEMIN HM_SKILLRANGEMAX + 1
    //but failed to appear for skill was without the homunculu
     
    Can someone help me?

  5. Hello Jolteo,

     

    Please provide more detailed information on your topic.. no one can help you if they don't know exactly what you want or what you talking about.

     

     

    Int'l Moderator,

    Mhalicot

     

    Thank've outlined best... :)

     

    Please delete this topic I will post in the correct area to improve it


  6. even as I raise here?

     

    // src/common/mmo.h

     

    #define MAX_HOMUNSKILL 43

     

     

    I want to add more custom to my homunculus skills and would like to know how far I can increase that amount.
     
    If I increase from 43 to 100 could add more skills in homun_skill_tree.txt?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.