First a little excursus in the engine.exe
Each Item has a Item ID.
This Item ID is unique and will identify the Item.
If we buy something from a NPC the items the NPC sells are just defined by their ID.
If we change this ID in the engine we can buy everyitem we want.
That would be to easy.
We can only buy items with a Buying Price, this price is server-sided so we can't change it / i don't know a way to change it.
Even if you change the buy price client-sided you will still get kicked by the server.
Now to my helper
First of all this is just a HELPER it wont do all the work!
There are still some things, which have to be done by you.
Requirements:
-a working UCE
-human sense
Features
-For Int and P-Server
-Create a Hexarray out of ItemIDs
-Save this Array
-Load the Array
-Change Items of the Merchant
-"+1"-Function
-change F1 Merchant
How to use
As you may only use 1 feature i will explain each feature separately.
But i will keep the chronological order
Create a Hexarray out of ItemIDs
Click on the button "Generate".
A Window will pop up in wich you have to enter you ItemIDs.
if you wonder how to get the ItemID,
To Add a Item click "Add Item"
To Create the Array click "Generate" in the new window.
The new created Array will be in the EditBox.
Now you can use this array in a UCE to find the items
Change Items of the Merchant
After we have found the Array of Bytes with the UCE
we click the "Add Address" Button and put in the Address we found with our UCE.
After this Step the "Change Items" Button will be enable and you can fill in the Item ID into the Inputboxes Item1-3.
Then click the "Change Items" button and everything should be fine
"+1"Function
You first have to add the Address of the NPC to use this function.
Click "set F6" and a window will pop up in which you have to write the number of items the npc sells. A second window will pop up and there you have to say with which Item ID you want to start.
After you have made this you can increase each Item of the Shop by pressing F6.
[Update]
v.0.4
-new Function added:
Calculate Overflow
Every Item price which is higher than 65536 (16Bit) can be Overflowed.
This little Function will help you to calculate the number of times you have to buy the item to overflow the 32Bit buy price.
It will also show you the new price you will have to pay for the Item
only works for non-stackable items
I will not explain how to save/load the Item Array
Important this is still a beta!
further functions will be implemented soon.
If any error occure plz tell me so,
but not like:'dont work for me'
tell me what do you do, and how does my helper react?
i guess this still dont work for XP, but try it
and if anyone know, why this dont work for XP plz let me know.
MFG,
timo264