Jump to content

Item Evolution System


Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  71
  • Reputation:   25
  • Joined:  11/23/11
  • Last Seen:  

Item Evolution System

 

Hello! It has been a lot of time since I don't make a release. One of the most important reasons is my laziness to do a topic. But I tried to fight against it and here I am.
This is an old script. It was very ugly in the past (now it's just ugly and has been optimised). I tested it a good amount of times and I didn't found any bugs in my tests.

 

What does this script do?

It can evolve equips when you kill an amount of monsters, or gather experience from them. You can request aditional types if you want. I could update this... probably.

 

How to configure?

Well, I like to think the config is easy, but I don't really know. You can add items by using callsub Ids. The structure is like this:

callsub Ids, ID 1, evolution mode 1, mob id 1, amount to advance 1%, ID 2..., mob id 2... and so. Every entry is a different evolving line which can consist of... 10 items if you like (i.e. Poring Wings -> Super Poring Wings -> Mega Poring Wings -> God of Poring Wings, and so).

The evolution modes, as of now, are the next:

  • 1 = Every X amount of mobs
  • 2 = Every x amount of experience

You can also define if the evolution itself is handled by the system or you have some quest in mind with the .auto variable.

 

ScreenshotsKRQIu63.jpg

qfzbfn1.jpg

WLbLmiI.jpg

mYOWb0n.jpg

 

So, enjoy the script.

 

Mirror: http://pastebin.com/dl/6xk49UED

 

Note: the idea itself comes from Pow Supremacy. Credits to them.

 

Items_Evo.txt

Edited by Omnipotent
  • Upvote 1
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  71
  • Reputation:   25
  • Joined:  11/23/11
  • Last Seen:  

Updated to v1.1:

Using constants in slots.

Fix cards and refine checking on evo.

Fix exp evo mode.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   58
  • Joined:  11/24/16
  • Last Seen:  

thanks for this unique script

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  02/16/16
  • Last Seen:  

Pastebin link is dead, item_evo.txt is empty. What's wrong?

 

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   4
  • Joined:  06/27/12
  • Last Seen:  

On 12/13/2016 at 0:12 AM, lanblakebea said:

Pastebin link is dead, item_evo.txt is empty. What's wrong?

 

http://pastebin.com/raw/6xk49UED

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  05/06/15
  • Last Seen:  

Question please, im trying your script without changing it and there's no error. But in game the item 5132 wont evolve after i got 100% exp but keep increasing until 200++%, do you know why this happen?

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  309
  • Reputation:   82
  • Joined:  11/15/11
  • Last Seen:  

Wanted to know how to leave to evolve any equipment without having to specify the IDs

Link to comment
Share on other sites

  • 1 year later...

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   5
  • Joined:  08/12/17
  • Last Seen:  

it is possible to made this save, refine, random option and cards? 

Link to comment
Share on other sites

  • 10 months later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  07/09/19
  • Last Seen:  

On 2017/1/13 at PM10点49分, chryxt said:

问题,我试着你的脚本而不改变它,没有错误。但是在游戏中,项目5132在我获得100%exp之后不会进化但是一直在增加到200 ++%,你知道为什么会这样吗?

		//specialeffect2 58 ;
		//sleep2 200 ;
		//specialeffect2 383 ;
		if ( getd ( "evo"+ .@e ) == 100 && .auto )
		{
		//	specialeffect2 263 ;
		//	sleep2 500 ;
		//	specialeffect2 377 ;
		/	sleep2 300 ;
		//	specialeffect2 542 ;
		//	sleep2 300 ;
			announce getitemname ( .@e ) +" is evolving..." , bc_self, "0x"+ .c$[1] ;
		//	.@i = 3;
		//	while ( .@i-- )
		//	{
		//		specialeffect2 521 ;
		//		sleep2 900 ;
		//	}
		//	specialeffect2 463 ;
		//	sleep2 200;
		//	specialeffect2 665 ;
		//	sleep2 500 ;
			setarray .@card[1], getequipcardid ( .slots[.@a], 0 ), getequipcardid ( .slots[.@a], 1 ), getequipcardid ( .slots[.@a], 2 ), getequipcardid ( .slots[.@a], 3 );
			.@refine = getequiprefinerycnt ( .slots[.@a] );
			delitem .@e, 1 ;
			getitem2 getd ( ".a1"+ .@w +"_"+ ( .@id + 1 ) ) , 1, 1, .@refine, 0, .@card[1], .@card[2], .@card[3], .@card[4] ;
			equip getd ( ".a1"+  .@w +"_"+ ( .@id + 1 ) ) ;
			setd "evo"+ .@e, 0;
			deletearray @wing ;
			announce "Congratulations, your wings have evolved to "+ getitemname ( getd ( ".a1"+ .@w +"_"+ ( .@id + 1 ) ) ) +"." , bc_self , "0x"+ .c$[2] ;
		}

 

 

Link to comment
Share on other sites

  • 8 months later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  12/04/19
  • Last Seen:  

Hey guys, hello.

 

I'm new at this forum, and I'm making a custom server based at Old Times RPG, like Tibia, MU, etc... Well, what i'm doing is a system when you use a skill a number of times it evolves. Ex:

- You use Fireball 10 times at level 1 and go to Fireball level 2

- You use fireball 100 times at level 2 and go to Fireball level 3

- You attack using a blade 1.000.000 times and you Sword Mastery go to level 1. 

- You attack using a blade 1.500.000 times and you Sword Mastery go to level 2.

 

Anyone knows any system that look like that? I'll be greatfull if someone help me at this. 

 

 

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
Reply to this topic...

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