Jump to content
FapFap

Upgrade - Tichun

Recommended Posts

Can someone explain or share the way to make Upgrades available for ID's more than 5k ?
I tried it through Lua but aint working, maybe someone know which Line should be edited through Hex?

Ex:

	if ItemID_main > 9000 then
		ItemID_main = GetItemAttr( Item_mainitem , ITEMATTR_VAL_FUSIONID )
	end
	-------是否属于属性可提升装备
	local flg=0
	if ItemID_main==7938 then---------黑龙提升
		if ItemID_other==7953 then
			flg=1
		end
	end


123455667.png.7746f9129244fd640f7bd9992ca9bbec.png

Anyone know how to make this work?

@V3ct0r ( sorry for tagging, just interested to know if it is available )

Share this post


Link to post
Share on other sites
2 hours ago, FapFap said:

Can someone explain or share the way to make Upgrades available for ID's more than 5k ?
I tried it through Lua but aint working, maybe someone know which Line should be edited through Hex?

Ex:


	if ItemID_main > 9000 then
		ItemID_main = GetItemAttr( Item_mainitem , ITEMATTR_VAL_FUSIONID )
	end
	-------是否属于属性可提升装备
	local flg=0
	if ItemID_main==7938 then---------黑龙提升
		if ItemID_other==7953 then
			flg=1
		end
	end


123455667.png.7746f9129244fd640f7bd9992ca9bbec.png

Anyone know how to make this work?

@V3ct0r ( sorry for tagging, just interested to know if it is available )

 

function can_tichun_item_main ( Table )

 

if ItemID_main > 5000 and ItemID_main < 6949 then
        ItemID_main = GetItemAttr( Item_mainitem , ITEMATTR_VAL_FUSIONID )
    end
    if ItemID_main > 6957 and ItemID_main <= 7700 then
        ItemID_main = GetItemAttr( Item_mainitem , ITEMATTR_VAL_FUSIONID )
    end

if ItemID_main>=7788 and ItemID_main<=7795 then
        if ItemID_other ==7760 then
            flg=1
        end
    end

 

 

 

 

function tichun_item ( Table )

if ItemID_main > 5000 and ItemID_main < 6949 then
        ItemID_main = GetItemAttr( Item_mainitem , ITEMATTR_VAL_FUSIONID )
    end
    if ItemID_main > 6957 and ItemID_main <= 7700 then
        ItemID_main = GetItemAttr( Item_mainitem , ITEMATTR_VAL_FUSIONID )
    end

if ItemID_main>=7788 and ItemID_main<=7795 then
        ItemID_main=ItemID_main-4052
        r1,r2 =MakeItem ( role , ItemID_main  , 1 , 4)
        local cha_name = GetChaDefaultName ( role ) 
        local itemname = GetItemName ( ItemID_main ) 
        GMNotice ("Dusty Demonic Weapon has been unsealed! ".. cha_name.." obtains "..itemname.." Weapon!")
    
    end

 

I have this way cause there is apparels I want to be possible to upgrade and xxxx items. 

Edited by Onioni

Share this post


Link to post
Share on other sites
5 hours ago, FapFap said:

@Onioni it doesn't work for ID's over 5k, GameServer.exe should be Hexed if im not wrong, but not sure what Line

Well I don't have gs hexes for item upgrading and works well. Actually it work on every gs I have tested so I think no hex need to upgrade.. . 

Edited by Onioni

Share this post


Link to post
Share on other sites
On 3/3/2019 at 7:35 PM, FapFap said:


@V3ct0r ( sorry for tagging, just interested to know if it is available )

Hello! Have no idea how to help you with that issue.

 

15 hours ago, FapFap said:

@Onioni it doesn't work for ID's over 5k, GameServer.exe should be Hexed if im not wrong, but not sure what Line

What do you mean by "doesn't work"? Any errors?

Share this post


Link to post
Share on other sites
5 hours ago, V3ct0r said:

Hello! Have no idea how to help you with that issue.

 

What do you mean by "doesn't work"? Any errors?

By doesn't work I mean it says "Wrong Crystal or Item Type" for ID's over 5k

Share this post


Link to post
Share on other sites
5 hours ago, FapFap said:

By doesn't work I mean it says "Wrong Crystal or Item Type" for ID's over 5k

Can you show your script? 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×