Jump to content
metin2dev
Koray

[RLS]Private Shop Search System

Recommended Posts

Nice, but one Problem:

 

Problem with max yang? If I want search something ... Nothing happend i can click "search" how much i will, nothing happend... maybe i have to chance the "price" values to long long?

 

But nice release!

Share this post


Link to post
Share on other sites

In the Shop.cpp i have to search for

Spoiler

Search:
        char name[36];
        snprintf(name, sizeof(name), "%-20s(#%-5d) (x %d)", item_table->szName, (int) item.vnum, item.count);

        sys_log(0, "SHOP_ITEM: %-36s PRICE %-5d", name, item.price);
 

But i dont have that :o what to do there ?

Share this post


Link to post
Share on other sites
37 minutes ago, metin2team said:

@Kaso just ignore it :) it just prints the (name vnum xcount) price to the sys_log. you can ignore it.

Thanks =)

So i can just add that somewhere in the shop.cpp ?

Spoiler

Add in under:
        if (IsPCShop())
            InsertInMysql(m_pkPC, pkItem, iPos, item.price);
 

 

Share this post


Link to post
Share on other sites

help please...i'am don't know were tu modifi for this error whene i compilate my source

input_main.cpp: In member function 'virtual int CInputMain::Analyze(DESC*, BYTE, const char*)':
input_main.cpp:3706: error: duplicate case value
input_main.cpp:3702: error: previously used here

http://imgur.com/r9NSy05

Share this post


Link to post
Share on other sites

Hey i have Ken Offline shop

who helps me to get up to speed I give him 50€ to paypal for fix

Code
  1. Server syserr:
  2. Shop2: Item Search Query Failed, Rows couldn't get
  3. Shop2: Item Search Query Failed, Rows couldn't get
  4. Shop2: Item Search Query Failed, Rows couldn't get
  5. Shop2: Item Search Query Failed, Rows couldn't get

 

Share this post


Link to post
Share on other sites

It works to make search from offline shop but effect do not appear. Like this.

[tests] is not the seller.

35ef26e.jpg

I think need change from normal shop to offline shop traget, but i don't know how.

I have ken offline shop

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×