Jump to content
  • 0

sprite error


crystaleye

Question


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   1
  • Joined:  06/29/12
  • Last Seen:  

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

Link to comment
Share on other sites

20 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  12/11/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   1
  • Joined:  06/29/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   37
  • Joined:  12/30/11
  • Last Seen:  

this is wrong

in npcidentoify.lua

[jobtb1.JT_MEWTWO] = "ID",

you have too put the Mob ID here

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   1
  • Joined:  06/29/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   37
  • Joined:  12/30/11
  • Last Seen:  

post your NPCidentity and jobname lua here ,

Edited by ossi0110
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   1
  • Joined:  06/29/12
  • Last Seen:  

post your NPCidentity and jobname lua here ,

this is my npcidentity

http://pastebin.com/raw.php?i=iJt5qmub

Edited by Emistry
Please use [CODEBOX] or Attachments for long contents.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   37
  • Joined:  12/30/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   1
  • Joined:  06/29/12
  • Last Seen:  

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,

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   37
  • Joined:  12/30/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   1
  • Joined:  06/29/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   1
  • Joined:  06/29/12
  • Last Seen:  

im using this an getting no error

datainfo.rar

i tried the files you gave but the error is still there

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   37
  • Joined:  12/30/11
  • Last Seen:  

try too start the Client whitout the Mewtwo lines , remove them from both files (LUAs) and see if he starts whitout an error

Edited by ossi0110
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   1
  • Joined:  06/29/12
  • Last Seen:  

try too start the Client whitout the Mewtwo lines , remove them from both files (LUAs) and see if he starts whitout an error

yes the error is still there

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   37
  • Joined:  12/30/11
  • Last Seen:  

then the error dont come from the custom pet , you have somewhere in this LUA files errors ,

what client date are you using?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   1
  • Joined:  06/29/12
  • Last Seen:  

then the error dont come from the custom pet , you have somewhere in this LUA files errors ,

what client date are you using?

but i didnt errored before i am using eAthena_r14792

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   37
  • Joined:  12/30/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   1
  • Joined:  06/29/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   37
  • Joined:  12/30/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   1
  • Joined:  06/29/12
  • Last Seen:  

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

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

×
×
  • Create New...