Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/20/21 in Posts

  1. Hi everyone, It's been a while since I've published something. Today I'm releasing the code of a patcher I've been working on for some time. The idea was to make an open-source drop-in replacement for the Thor patcher while also bringing some improvements. The project has been developed in Rust and the UI is based on the webview project. The project also includes a cross-platform, command-line THOR patch generator. The patcher's current features are the following: Customizable, web-based UI Cross-platform (Windows 7/8/10, Linux, macOS) Configurable through an external YAML file HTTP/HTTPS support GRF file patching (version 0x101, 0x102, 0x103 and 0x200) THOR patch format support Drop-in replacement for the Thor patcher SSO login support (i.e., can act as a launcher) Manual patching Can use multiple patch mirrors The project's repository can be found here: https://github.com/L1nkZ/rpatchur (and documentation can be found here). Contributions are welcome! Releases v0.3.0: https://github.com/L1nkZ/rpatchur/releases/tag/v0.3.0 v0.2.3: https://github.com/L1nkZ/rpatchur/releases/tag/v0.2.3 v0.2.2: https://github.com/L1nkZ/rpatchur/releases/tag/v0.2.2 v0.2.1: https://github.com/L1nkZ/rpatchur/releases/tag/v0.2.1 v0.2.0: https://github.com/L1nkZ/rpatchur/releases/tag/v0.2.0 v0.1.0: https://github.com/L1nkZ/rpatchur/releases/tag/v0.1.0
    1 point
  2. you type the command @warp "mapname"
    1 point
  3. Are you trying to call a function on a player picking loots and will automatically equipped?
    1 point
  4. I'd recommend displaying the item IDs as well as names in the window, and using 'input' instead of 'menu' since you'd likely get huge menus that are hard to find things in. xP mes "Your inventory:"; getinventorylist; for(set .@i,0; .@i<@inventorylist_count; set .@i,.@i+1) mes "[ "+@inventorylist_id[.@i]+" ] "+getitemname(@inventorylist_id[.@i])+" x"+@inventorylist_amount[.@i]; next; input .@item; if (getitemname(.@item) != "null") { if (countitem(.@item)) { input .@amount; if (.@amount && countitem(.@item) >= .@amount) { delitem .@item,.@amount; mes getitemname(.@item)+" x"+.@amount+" deleted."; close; } else { mes "Invalid amount "+.@amount+"."; close; } } } mes "Invalid input "+.@item+"."; close; Or better yet, invoke the atcommands @itemlist / @delitem if you want to save yourself work. (Not that it matters since I gave you the script, but in the future... XD)
    1 point
×
×
  • Create New...