Jump to content
Emistry

Overhaul refine_db

Recommended Posts

change the format to look like other new item_db.conf ?

 

 

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

refine: ({	TYPE: ARMOR	STAT_PER_LEVEL: 0	RATE: {		100:100,	// +1 refine RATE:randome bonus rate		100:100,	// +2 refine RATE:randome bonus rate		100:100,	// +3 refine RATE:randome bonus rate		100:100,	// +4 refine RATE:randome bonus rate		100:100,	// +5 refine RATE:randome bonus rate		100:100,	// +6 refine RATE:randome bonus rate		// etc....	}},	{	TYPE: WEAPON	LEVEL: 1	STAT_PER_LEVEL: 200	RATE: {		100:100,	// +1 refine RATE:randome bonus rate		100:100,	// +2 refine RATE:randome bonus rate		100:100,	// +3 refine RATE:randome bonus rate		100:100,	// +4 refine RATE:randome bonus rate		100:100,	// +5 refine RATE:randome bonus rate		100:100,	// +6 refine RATE:randome bonus rate		// etc....	}},{	TYPE: WEAPON	LEVEL: 2	STAT_PER_LEVEL: 300	RATE: {		100:100,	// +1 refine RATE:randome bonus rate		100:100,	// +2 refine RATE:randome bonus rate		100:100,	// +3 refine RATE:randome bonus rate		100:100,	// +4 refine RATE:randome bonus rate		100:100,	// +5 refine RATE:randome bonus rate		100:100,	// +6 refine RATE:randome bonus rate		// etc....	}},{	TYPE: WEAPON	LEVEL: 3	STAT_PER_LEVEL: 500	RATE: {		100:100,	// +1 refine RATE:randome bonus rate		100:100,	// +2 refine RATE:randome bonus rate		100:100,	// +3 refine RATE:randome bonus rate		100:100,	// +4 refine RATE:randome bonus rate		100:100,	// +5 refine RATE:randome bonus rate		100:100,	// +6 refine RATE:randome bonus rate		// etc....	}},{	TYPE: WEAPON	LEVEL: 4	STAT_PER_LEVEL: 700	RATE: {		100:100,	// +1 refine RATE:randome bonus rate		100:100,	// +2 refine RATE:randome bonus rate		100:100,	// +3 refine RATE:randome bonus rate		100:100,	// +4 refine RATE:randome bonus rate		100:100,	// +5 refine RATE:randome bonus rate		100:100,	// +6 refine RATE:randome bonus rate		// etc....	}})

 

 

Propose:

  1. Overhaul the structure
  2. Passing the refine rate into server based on MAX_REFINE
  3. if want other customization ... maybe another field for "Bonus_Script" ??  that give bonus to all items that have specific refine ??

 

About the passing refine rate based on server MAX_REFINE:

if a rate is set for the refine rate, then it's passed into the server ...

but.. if the MAX_REFINE doesnt match with the max refine in the refine_db , then  the extra non-exist refine rate just simply pass in the value of -1 ? or maybe 0 ? with this other users can just simply add in a check using this

 getequippercentrefinery(<equipment slot>)

  • ​if value returned is equal or below 0 , then failed to refine ..

Current issue that is known for current refine_db

  1. If the MAX_REFINE doesnt match with the entry inside the refine_db , whenever players try to refine in server, they simply get 100% of refine rate, and the server get some errors about lack of entry for refine_db during the start-up too .
  2. a bit hard for user to find and edit refine rate ...

 

Advantages :

  1. easier to read or configure
  2. allow users to prevent players from refine abusing IF the admin ignored all these missing entry error due to MAX_REFINE ...

 

Disadvantages :

  1. larger file size
  2. longer passing time ?

Share this post


Link to post
Share on other sites

+1 for Overhaul of refine_db.txt, current one is not soo readable...

Share this post


Link to post
Share on other sites

I like bonus script, I can basterdize my RO even more xD

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

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