Jump to content
  • 0

[Request] Query to exchange an item for another


drakoo

Question

Greetings folks.

 

I come here asking for something that I could not create with my basic knowledge in SQL.

 

Let me explain my case before.

 

Currently I have my server in the Set Vesper that everyone already knows.

(Interlude Version).

 

But I do not want it more like the "Top Set" from the server.

I want to change the Set Top Grad S Vesper for the retail Interlude (Draconic, Major and Imperial).

 

With my basic knowledge in sql  I could do

 

I created a query, replacing for example:

 

Replace all Vesper Gloves Heavy for  Imperial Heavy Gloves

Managed successfully.

 

So I came here two errors.

 

Error Number 01: The Set Vesper has only one Helmo

This Helmo is the same as in Set: Heavy / Light / Robe.

 

But the Draconic has a Helmo.

The Imperial has one another.

And Major is another.

 

Here comes my problem:

How to distinguish the query if the Player Helmo Vesper is using is: Set a Vesper Heavy / Vesper Robe / Heavy?.

 

Now Doubts Number 02: How to change the query SET BREAST From Epic (For he is pants and chest in just one part) in breast and pants Dynasty (which are two separate parts?)

 

Well I look forward to your help on this problem.

Thanks.

Excuse-me for my bad english

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Why you don't go in the client. Itemname-e.dat (or not -e with interlude?).

 

Rename draconic Major & IC

Just loled, don't reply if you have no idea wtf is going on.

 

The easier way would be to delete those vespers from every character, and add them adena, coins or whatever you have there equivalent to the vesper's price.

Link to comment
Share on other sites

  • 0

REPLACE items WHERE item_id IN (SELECT item_id FROM armor);

 

i think this is stupid but it might work forgive me i don't have any knowledge in sql but i'm trying to help....Good Luck

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Welcome to my store : https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 60.99 $ 2016 Discord Account : 10.50 $ 2017 Discord Account :4.99 $ 2018 Discord Account : 3.99 $ 2019 Discord Account : 2.99 $ 2020 Discord Account :1.99$ 2021 Discord Account :1.50$ 2022 Discord Account :0.99$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore11 Whatsapp ; +212614849119
    • The heavy lifting is done in the client, because while you can get away with small imperfections in the java, everything in the client must be impecable. So, if you haven't touched the client, I'd say pick the newest protocol version you can find the client editing tools and Interface.u (mandatory) / NWindow.dll (better to have it) / Engine.dll (optional) sources for. At the very least, you need the Interface.u to fix the Clan Window and enable skill enchanting on Classic/Essence versions, if you decide to use one of them instead of MAIN/LIVE.
    • Thanks for clarification. Do you think the newest clients offer solid advantages compared to the classic ones like Salvation? I'm also in the process of porting h5 to one of them just for the sake of it, so I was wondering if I should just attempt to go to the newest possible.
    • Upgrading to Salvation is exactly the same as upgrading to the newest client with the only difference being access to free-shared client editing tools and resources. I am speaking from experience. I have upgraded my HF source to one of the newest clients by myself (in terms of server side. got help with the client) and hit every single wall there was in the process. Now, I already have several multi-protocool server cores so I can easily compare different approaches to tackling the same issue, which also helped the learning process. Best way to learn would be to use this one (link below) to snoop around and figure out what has been changed in the server side (the packet structure will be different, for sure, but works for understanding/figuring the process out in general terms). https://github.com/iBezneR/L2J_SunriseProject_Purity The client side will always be the same, always the same files, only the DAT structure will be different. I personally wrote myself some parsers for the data of the DAT files from OLD -> NEW client.
  • Topics

×
×
  • Create New...