Problem "You cannot purchase the item"

Newbie Spellweaver
Joined
Nov 19, 2006
Messages
13
Reaction score
0
Hi,
I'm having a problem in buying items after adding the new ones from this topic:
http://forum.ragezone.com/f245/release-almost-perfect-zitem-incl-models-weapons-man-woman-251332/
I unpacked my old mrs files and added the stuff from the patch in the topic above.
I also added zitem.xml to the server files and to the system mrs.
look Yourself:

BTW: This is the problem of EVERY item now. The swords (on screen) I still got from before my patching. But the items are showing up on my char, if I select them.

What did I do wrong?
Thx in advance...
 
Oh, sorry. I see, I was still in release section. My fault >.<
Well... I have enough Bounty. Cash item isn't mentioned next to the item. It has ID number <30k, so no premium item.
What can be wrong about zitem?

BTW: I have old server files, because I need SQL 2000 DB and for win2k hacked client.
 
Upvote 0
nah, can't I change the stuff to SQL 2000? I'm running 3 other games for which I need SQL 2000....
I read it's maybe about the exe file. May any1 tell me how to change the call "RestoreLastError" to "SetLastError" ?
 
Upvote 0
I put the zitem and the shop file in the Matchserver folder and the zitem also in the system.mrs. I Also tried to replace all the files in the system.mrs with those who are also in the matchserver folder. I even checked everything on the DB and inserted the procedures of a new DB.
Doesn't work at all...
I attached a sample of all files of interest.
 

Attachments

Upvote 0
But is there a difference? I'm not that good in editing items... How should I? ^^
Here are the good and bad files. Maybe you got a clue, why this isn't working...
I'll go through, too.

Edit: zomg O.o
As is see, the mrs file packed by myself can't be loaded correctly. I can't buy any item with the good xml files >.<
This seems to be a problem of the exe file. Need a newer one for win2k :.(

Edit2:
This exe should work fine?
http://forum.ragezone.com/f245/release-gunz-exe-quest-bug-206215/
Same problem here. At least I was able to hex it to win2k compability xD
 

Attachments

Last edited:
Upvote 0
Its because you cannot put this
Example an item from my zitem.xml

<ITEM ID="19" name="Rage Sword" iscashitem="false" mesh_name="katana04" totalpoint="0" type="melee" res_sex="a"
res_level="25" slot="melee" weapon="katana" weight="11" bt_price="0" delay="339" damage="15" range="220"
ctrl_ability="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" hp="0" ap="0"
maxwt="0" sf="0" fr="0" cr="0" Page Ranking="0" lr="0" color="#FFFFFFFF"
desc="This is for the more experienced players" image_id="0"
bullet_image_id="0" magazine_image_id="0" />

IsItem Cash Must always be false. or else its going to act like a premium you Must buy.


Another thing is in your Procedures , In your DB look for sp.Insertocharacter I think it is , and change Bounty to like 99999999 , I know in the 2007 DB its Set to 0 And i had the same issue.
 
Upvote 0
Back