Jump to content
  • 0

Custom Sprite not working


sietse11

Question


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  127
  • Reputation:   7
  • Joined:  02/10/13
  • Last Seen:  

Hi, Im trying to start a renewal server with some custom mobs.

The wiki entry about this is however rather lacking, or i cant read.

So I'll post everything I've tried here and hope you people know the answer.

 

I am using a client I got from judas (2012 04 10)

Its using LUB files.

 

He provided me with translated LUB files. Which look exactly like LUA files and nothing like the LUB files in my data.grf.

So I went and downloaded a converter if need be.

This converter works perfectly. (google LUA to LUB)

 

I am trying to add ACT and SPR files from this collection of custom porings

I have renamed 1.ACT and 1.SPR to cowring.ACT/SPR

 

Now What i got from the wiki is this.

 

SERVER SIDE

I have to go into trunk/crc/common/MMO.h

And change max mob db.  Defaulth is 3000 -- changed to 9000. Player clones is max_mob_db -999 so everything from 8001 to 9000 should now be used for clones.

 

I have to go to trunk/db/mob_db2

And add my custom mob. This was no problem at all. (exept for some minor table errors like one 0 to many)

 

CLIENT SIDE

I went into my data folder and looked up the translated LUB files.

Located in data\luafiles514\lua files\datainfo

Here I changed npcidentity.LUB and jobname.LUB

This let me to find all sorts of weirdness, like;

Cowring showing up as a poring which couldnt be attacked.

Cowring showing up as a wraith/poring/tentical which could be attacked

Client crashing .

 

@monsterinfo (@mi) has always worked perfectly and I used it to fix the parameters set in mob_db2

 

---------------

 

Next  I used Gryff to add the ACT and SPR files which according to the wiki should be put into sprite/npc, this however is wrong. since my windows XP cant read the language and shows it as squares  I had to try it on another system and I found thet the second folder of squares is the mob ACT and SPR folder (I checked this using google the find the actual folder name in its real language, no weird numbers and stuff for me)

 

So now i have the cowring ACT and SPR files located in both npc and mob sprite folders.

 

ACTUAL FILES

npcidentity.LUB

	["JT_TREASURE_BOX_TE_9"] = 2461,
	["JT_TREASURE_BOX_TE_10"] = 2462,
	["JT_MONSTER_LAST"] = 2463,
	--2463
	["JT_COWRING"] = 2465,
	--Mercenary & Homunculus Start
	["JT_MER_LIF"] = 6001,
	["JT_MER_AMISTR"] = 6002,

jobname.LUB

	[jobtbl.JT_THIEF_PORING] = "MASTERING",
	[jobtbl.JT_BABY_STRANGE] = "ORC_BABY",
	[jobtbl.JT_COWRING] = "COWRING",
	[jobtbl.JT_TREASURE_BOX_TE] = "TREASUREBOX_2.gr2",
	[jobtbl.JT_TREASURE_BOX_TE_1] = "TREASUREBOX_2.gr2",

mob_db2.txt

// own creations
2465,COWRING,Cowring,Cowring,3,65,0,600,450,1,12,14,0,3,10,8,3,2,6,1,10,12,0,2,20,0x83,200,1456,456,5,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

// rAthena Dev Team

Using these settings the cowring shows up as the image below.

( if some1 would be as kind as to tell me how to use spoiler and show the actual picture in the post via pm)

Cowring.bmp



I changed my id too 2464 and instead of a wraith my cowring is now a zombie

2464 - zombie

2465 - wraith

2466 - ghoul

2467 - arclouze

2468 - raydric

Edited by sietse11
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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