Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [Share] Buy Sell List for ai.obj (https://postpacific.mmorpg-game.online/showthread.php?t=5115)

nowak2006 11.07.2006 22:07

[Share] Buy Sell List for ai.obj
 
Here is another share, it's a converter to make sell list for merchants in ai.obj.
Converted from L2J.
Source code also available (in php).

* Before use it, please check class and superclass name of your merchants
* Check tax for unknown cities
* Check HTML for your merchants to certificate that you are calling the appropriate buyselllist.

Regards,
Nowak.

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
nowak-buysell-v0.1_228.rar — 22555 байт

nowak2006 11.07.2006 22:50

One more little fix. Call trim() on convertName() function like this:

[php:1:eca994baeb]
function convertName($sName) {
return str_replace(' ', '_', strtolower(trim($sName)));
}[/php:1:eca994baeb]

HF 12.07.2006 10:58

I'm sorry, but i again with my critics.

Very good work. As main work - all with comments. I like this.
But.. i has needed this month ago. But now i has correct BuySelll lists for all towns. And.. i can compare this with yours. Your - wrong. Why?
- traders sell - 3 type different items in one list
- another traders sell 2 type of correct list and one list no existing on official server.
and etc.
wrong price for item anywhere

class helvetia : helvetia_merchant
{5256; 10} // Greater Compressed Package of Spiritshots: No-grade (18145 adenas)

class pano : pano_merchant
{5256; 50} // Greater Compressed Package of Spiritshots: No-grade (24766 adenas)

Big bug.
- 50 - bad bad error. All towns have self tax raxe. 50 - non existing tax raxe
- default_price must have ONE for each item.

But... if tell about all your work - it's very good work. But.. why you dont share it month ago? :)

nowak2006 12.07.2006 13:24

HF,

I didn`t share it a month ago because i made it yesterday.
Again, i converted all from l2j, so if it`s something wrong, it`s l2j datapack problem. I got all tax from l2j, excepts the 'Unknown cites', and for those cities i used some default tax but you can change it on php source code.

Could you share your full pack for all towns? I wanna check this auto-generetad file with yours and correct all mistakes.

Anyway, thanks for your comments. =)

PS.: 18 downloads, 1 comment.

nepsquare 12.07.2006 14:46

Thx nowak for the share, Id love to see HF's "god-like" pack too, if you catch my drifty...Him being so correct and all...

HF 12.07.2006 17:15

Quote:

Originally Posted by nowak2006
HF,

I didn`t share it a month ago because i made it yesterday.
Again, i converted all from l2j, so if it`s something wrong, it`s l2j datapack problem. I got all tax from l2j, excepts the 'Unknown cites', and for those cities i used some default tax but you can change it on php source code.

Could you share your full pack for all towns? I wanna check this auto-generetad file with yours and correct all mistakes.

Anyway, thanks for your comments. =)

PS.: 18 downloads, 1 comment.

sure. I understand this, i wrote about "very good work". But and wrote to all what "this autogen file have much differents with official server. But if you'll be use it - then make self server better"
:)
And i recomended again: dont trust nobody - connect to official and make self all updates :) This way - way to big knowledge in short time. :)

I cant share my work. I like to help to ppl. But i cant help absolutly free. But... if i take C4 server, i share all my work to all. :) It's tradition :)


All times are GMT. The time now is 23:27.