Hi i need help plz

04/10/2013 16:27 bourpif#1
I'll try to explain my little problem. I have a source that is stable or I could make changes, just as I want to add a npc that sells for example to scroll or meteor dragonball.
when I want to buy the customer crashes, whereas if I put the object without price (quest items) it works perfectly.
I add the price in CPs -> itemtype.dat and item.txt.

who knows for what reason the client crashes when I made ​​this purchase?

[Only registered and activated users can see links. Click Here To Register...]

I'm looking but I can not find the reason or solution thank you for your help
04/11/2013 04:19 divi<3#2
First, check your database to see if the shop is the same as it is in the client, this error occurs to way to many people.


Weird, when this error occurred to my friend, it said "0 CPs".. unless your client just stops working and says "Conquer online has stopped working"
Then well, check my previous solution. Good luck.
04/11/2013 12:19 bourpif#3
made by the client closes without any error message. yes in the database store is the same as in the client

Exemple:
in database
PHP Code:
ID          name      type      lookface      mapid    cellx    celly
20302030   scoter      1           4450       1036     043      043 
in client -> Shops.dat

PHP Code:
[Shop69]
ID=20302030
Name
=Scoter
Type
=1
MoneyType
=1
ItemAmount
=2
Item0
=720028 
Item1
=720027 
I try again and again but I do not understand why as I made a purchase that NPC customer that closes without error
04/11/2013 17:14 pro4never#4
Prices are all stored in itemtype.dat

It's likely you did not edit it properly or did not re-encrypt it properly after making your changes.

That's all I can think of that would cause a client crash.
04/11/2013 17:59 bourpif#5
I decrypts and I re-encrypted with datcryptor v 1.0.0.0 of 2008. I've never had a problem until the so maybe I did pass put the price at the right places cps (red numbers) by cons I do not know what has been using the 2 digit green??



720027@@MeteorScroll@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8002125@@0@@0@@0@@0@@0@@0@@0@@1@@1
@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@130@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0
@@0@@0@@Item@@Equivalent~of~10~Meteors@@5@@0@@0@@0@@14040@@500@@



I suspect that the file itemtype.dat is different depending on the source. but as I look at the price cps other object in the shoping mail it is on this box to indicate that they are.


PS : to test I set the price to zero and it makes me strangely the same problem

I don't have ( item) in database, item in database item is just for what the players have in their inventory.
I work with a v6 source version of 5678

Sorry for double post but I made ​​drop the idea anyway I put millionarelee........

I did not find the reason for not working but I would look over the later. thank you for your answers and your help
04/11/2013 21:37 urgabel#6
Quote:
Originally Posted by bourpif View Post
I suspect that the file itemtype.dat is different depending on the source.
Yes, it is different. At some point, TQ added new fields.

I think the right place for eMoneyPrice and eMoneyPrice2 are:

720027@@MeteorScroll@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@8002125@@0@@0@@0@@0@@0@@0@@0@@1@@1
@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@0@@130@@130@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0
@@0@@0@@Item@@Equivalent~of~10~Meteors@@5@@0@@0@@0@@14040@@500@@
For the green values I'm not sure, but I think 14040 means a new TQ_Action2 and 500 is a Type which can be 0, 500 or 5000, where most items are type 500, some items are type 0, and just a few (all Flags) are type 5000 (Viking`sFlag, BlackPearlFlag, CrazyJack`sFlag, CaptainKidd`sFlag...)