Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 11.07.2006, 22:07   #1
nowak2006
Архивный участник
 
Join Date: May 2006
Posts: 53
Default [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 is offline  
Old 11.07.2006, 22:50   #2
nowak2006
Архивный участник
 
Join Date: May 2006
Posts: 53
Default

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]
nowak2006 is offline  
Old 12.07.2006, 10:58   #3
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

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?
HF is offline  
Old 12.07.2006, 13:24   #4
nowak2006
Архивный участник
 
Join Date: May 2006
Posts: 53
Default

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.
nowak2006 is offline  
Old 12.07.2006, 14:46   #5
nepsquare
Архивный участник
 
Join Date: Apr 2005
Posts: 256
Default

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...
nepsquare is offline  
Old 12.07.2006, 17:15   #6
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

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
HF is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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