Jump to content

Question

Posted

hi i am having trouble with summoning pet in eathena server the pet that i am trying to summon is mewtwo with the following edits made

item_db2.txt

23030,Mewtwo_Egg,Mewtwo Egg,7,,10,0,,,,,,,,,,,,1687,{},{},{}

mob_db2.txt

2126,Mewtwo,Mewtwo,Mewtwo,1,50,0,0,0,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,0x120,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

pet_db.txt

2126,Mewtwo,Mewtwo,12374,23030,,528,80,30,10,100,250,20,200,100,0,0,100,100,100,{ petloot 10; },{}

accname

ACCESSORY_MEWTWO_EGG = 1687,

accessoryid

[ACCESSORY_IDs.ACCESSORY_MEWTWO_EGG] = "Mewtwo_Egg",

the problem i am getting is

New_Bitmap_Image.png

though i have made all my sprite entries correct as this

New_Bitmap_Image.png

bump

20 answers to this question

Recommended Posts

Posted (edited)

did you add your mob into the lua files? if its a custom mob you need to go into your lua files>datainfo> and edit jobname.lub and npcidentity.lub

http://rathena.org/wiki/Custom_Mobs

Go down to where it talks about the Client Side.

i have added the egg into the lua files do i have to add mob too yes it is a custom mob

this is how i made the edit but i still get error with it

New_Bitmap_Image.png

in jobname.lua

[jobtb1.JT_MEWTWO] = "Mewtwo",

in npcidentoify.lua

["JT_MEWTWO"] = 568,

Edited by crystaleye
Posted

this is wrong

in npcidentoify.lua

[jobtb1.JT_MEWTWO] = "ID",

you have too put the Mob ID here

this is how i edited npcidentify.lua

["JT_MEWTWO"] = 2126,

but still i get the same problem with Lua files/DataInfo/jobName

Posted

the Problem is pretty simple , you are using ID 2126 but this number is allready in the LUB file for another sprite , so you got the problem because of this . You Have too use another number what is not used in the LUA files , just use number 2500 and it will work

and next time PLS USE CODEBOX for your lua files

Posted

the Problem is pretty simple , you are using ID 2126 but this number is allready in the LUB file for another sprite , so you got the problem because of this . You Have too use another number what is not used in the LUA files , just use number 2500 and it will work

and next time PLS USE CODEBOX for your lua files

still the same problem i am getting after editing npcidentity.lua to ["JT_MEWTWO"] = 569,

Posted (edited)

your mob.db entry got 1 entry too much

use this

2126,Mewtwo,Mewtwo,Mewtwo,1,50,0,0,0,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,0x120,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

and best way is too use the id 2500

Edited by ossi0110
Posted

your mob.db entry got 1 entry too much

use this

2126,Mewtwo,Mewtwo,Mewtwo,1,50,0,0,0,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,0x120,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

and best way is too use the id 2500

i changed 569 to 2500 the same i did in pet_db.txt and mob_db2.txt but still the same jobname error i am getting

Posted

no i mean the date of you client exe . EX: 2010-12-28

its 20110105

no i mean the date of you client exe . EX: 2010-12-28

i am not sure if its really 20110105 can you tell me a way to find the client date

Posted

its

#ifndef PACKETVER

//#define PACKETVER 20081126

#define PACKETVER 20110105

#endif

// backward compatible PACKETVER 8 and 9

#if PACKETVER == 8

#undef PACKETVER

#define PACKETVER 20070521

#endif

#if PACKETVER == 9

#undef PACKETVER

#define PACKETVER 20071106

#endif

look what kind of date you have setted in your MMO.H file in the SRC folder

there is no trouble with server side i think it is the lua file that is giving the error but idk where did i go wrong

bump

Join the conversation

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

Guest
Answer this question...

×   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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...