Jump to content
Eternal Lands Official Forums

bluap

Moderators
  • Content count

    2985
  • Joined

  • Last visited

Everything posted by bluap

  1. New feature, equipment swap equlivalent items

    I've added the other two swap cases as above. The code is committed and the builds updated.
  2. New feature, equipment swap equlivalent items

    Looks like we all posted at the same time, I missed this before. I can't read the link you posted for some reason.
  3. New feature, equipment swap equlivalent items

    Not sure why that would be but try searching the list for errors and dups. In any case, I've update the data file again. It now contains about 370 items as Revi suggested.
  4. New feature, equipment swap equlivalent items

    OK, I'll make those code changes. I've updated the file to include Circlets. I've also added many more clothes.
  5. New feature, equipment swap equlivalent items

    There are a couple of additional things we may want.... 1) If you are just wearing a shield and no weapon and double-click a two-handed item - should we remove the shield and equip the two handed item? 2) You are wearing a two-handed item and double click a shield - should we swap the shield for the two-handed item? Probably the 1) is OK, not sure about 2). Both need a code change.
  6. New feature, equipment swap equlivalent items

    I've committed the "swap equivalent item" feature. You will need to download an additional data file called item_extra_info.txt and save it to your data or update directory, otherwise you will not see any change. I've created an initial version of the file but there will be omissions and some miss-placed types. Please test but also check the file contains the correct data. Build links in the usual places: Linux dev builds for Flatpak, Snaps Deb are done or in progress. Linux 32-bit static Linux 64-bit static Windows 32-bit executable and DLL files zip archive Windows 64-bit executable and DLL files zip archive Updated the data file, reading back and using the list already provided....
  7. New feature, equipment swap equlivalent items

    I'll commit the code and do some builds tomorrow.
  8. New feature, equipment swap equlivalent items

    That makes much more sense now, an interesting insight into the server thanks. So we could use LEFT_HAND instead or WEAPON_ONE, LEFT_HAND instead of SHIELD, and BOTH_HANDS instead of WEAPON_TWO. I have the WEAPON_TWO/BOTH_HANDS swap working now too. A single handed item can replace a two handed item. Also, a two handed item can replace a one handed item, but any shield is also removed.
  9. New feature, equipment swap equlivalent items

    I have a first working version of the "swap equivalent item" feature. I just need to implement the bit with the two handed weapons. I'm using a new data file that is similar to the into_info.txt file but contains the type of item instead of the EMU. The fields are item ID, image ID, type and description. The description field is not needed but obviously helps creating the list. We could add an additional field to the item_info.txt file but that is generated by Radu from the server so it may be better kept separate. The feature works like this; if you have say the fur cloak equipped and double click another cloak in you inventory, the two items are swapped, each taking the position of the other. Hopefully that is what you wanted. Here's an extract of the file: 92 | 85 | CLOAK | Fur Cloak 149 | 132 | CLOAK | Powersaving Cloak 364 | 247 | HEAD | Raccoon hat 365 | 249 | HEAD | Skunk hat 95 | 168 | NECK | Silver Medallion 96 | 167 | NECK | Gold Medallion 144 | 139 | BODY | Titanium Chain Mail 319 | 178 | BODY | Iron Plate Mail 142 | 137 | LEGS | Leather Pants 540 | 373 | LEGS | Augmented Leather Pants 333 | 180 | FEET | Damaged Iron Greave 143 | 93 | FEET | Leather Boots 54 | 63 | WEAPON_ONE | Bones 334 | 140 | WEAPON_ONE | Wood Branches 93 | 86 | WEAPON_TWO | Leather Gloves 682 | 427 | WEAPON_TWO | Halberd 132 | 124 | SHIELD | Steel Shield 450 | 361 | SHIELD | Titanium Shield Table edited: I should add. I've used the types Revi mentioned replacing Medallion with NECK as we have the fox scarf too. Also, while I've used SHIELD above, gloves appear to behave more like two handed weapons so that needs some more checking. The other type I'm calling WEAPON_TWO for two handed weapons and gloves would appear to come under that. These is a minor part of the code hard-wired to the type names (text to number conversion), but everything else is defined in the text file.
  10. New client update available 1.9.5.p6

    I updated the builds again fixing a minor bug with the individual window scaling.
  11. New client update available 1.9.5.p6

    I've fixed the issue with not being able to use keypad key in key.ini. The text to use is the key name from the SDL2 table here: https://wiki.libsdl.org/SDL_Keycode. To avoid a major code rewrite (I could not think of an easy way to avoid this), you will need to replace space characters in the name with an underscore. For example, to use the keypad "1" key, you should use the text "keypad_1". Build links in the usual places: Linux dev builds for Flatpak, Snaps Deb are done or in progress. Linux 32-bit static Linux 64-bit static Windows 32-bit executable and DLL files zip archive Windows 64-bit executable and DLL files zip archive
  12. Hotkeys

    The keys work just the same mostly. There is a bug with the keypad keys and the way they are defined in the key.ini which I'll fix asap. is fixed now.
  13. Yes. Main and test account are separate. However, main accounts are sometimes copied to the test server replacing evething there. This has not happened for a long time. Glad you up and running. Have fun.
  14. New client update available 1.9.5.p6

    Thank goodness for that, I thought I'd imagined the whole coding saga for a moment. ?
  15. New client update available 1.9.5.p6

    There is no get_key_code() in the client. The real SDL2 codes are used internally for key definitions that are read from the key.ini file.
  16. New client update available 1.9.5.p6

    I can't fully check this as I'm AFK. It looks like SDL2 uses the key name "keypad 1" which should be what you need in the key.ini file. The problem is that the client code does not support a space in the name. I'll fix that when I'm not AFK.
  17. New client update available 1.9.5.p6

    The sdl2 client does use the sdl2 key symbols. I do not know what you are referring to revi. I'm not able to test this right now but you should be able to use the key.ini to use the number keys as normal or the KP_1 symbol if you wish.
  18. If you start the client without no parameters, it will connect to the main server. If you are using one of the packages snap, flatpak, or Deb, you can right click the game icon and select main from the server list. If you are using the Deb package did you choose test from the luncher then yes, to always make this selection? This can be undo by deleting a file in $HOME/.elc
  19. New feature, equipment swap equlivalent items

    Agreed, a full set of swappable items would make no difference to the code I would expect.
  20. New feature, equipment swap equlivalent items

    Well, my original point was that the client does not currently have the information to do either the double-click to equip/swap or the information about which items are double-handed weapons or even which equipped items are weapons or shields. The server does have this information but whether is in a usable form, I could not say. We can of course provide suitable information to make this work in the client along with a bit of logic to use it. I'm up for the coding challenge if others can gather the information. We probably need a list of weapons, a list of shields, and a list of double-handed weapons - all with the corresponding item IDs. We could make these data files read by the client so that we can update the information if it changes.
  21. New feature, equipment swap equlivalent items

    Bit late now, but I did talk to Learner and he confirmed the smarter swap is done my the OL server.
  22. New client update available 1.9.5.p6

    The updates just contain the el.exe and .dll files, you need to extract the zip file into the existing directory where you installed the full client.
  23. Extra Small Inventory Window

    Thanks. I've just published new builds which include a change trying to fix it anyway.
  24. New client update available 1.9.5.p6

    New development builds are available, changes include: Equipped item swap now tries to move the old item to the slot left by the new. Fix an issue with the NPC dialogue write-to-console option, that repeated text when scaling the window. Fix an issue with leaving AFK, SHIFT/CTRL/ALT/GUI keys are now correctly ignored, independent of CAPSLOCK and NUMLOCK. Fix a possible timing issue when the window size changed on start-up leading to black borders around the window content until another resize. Build links: Linux dev builds for Flatpak, Snaps Deb are done or in progress. Linux 32-bit static Linux 64-bit static Windows 32-bit executable and DLL files zip archive Windows 64-bit executable and DLL files zip archive
  25. New client update available 1.9.5.p6

    OK, that explains things thank you and yes, I can restore the previous behaviour of ignoring SHIFT/ALT/CTRL.
×