Sign in to follow this  
Hardmuscle

Wurm Unlimited - GM 5 - #give commands

Recommended Posts

So, after a long search for information about the #give command, I came to a dead end (aside from 1 post where the command for the ebony wand [176] was shared by a GM). I then learned how to obtain the 'TEMPLATEID' for every item in the game (as opposed to the WURMID). 

 

There are 1086 'TEMPLATEIDs' for use with the #give command. To help me and the community get better acquainted with the #give command, I made a list on a web page, complete with 'copy to clipboard' buttons and 'sortable columns'. I debated for awhile how I would go about sharing this and I'm still not entirely certain if this is the best route, but I couldn't see myself posting 1086 commands in a raw text list, to this forum or to Steam.

So, here it is: http://cheeseburger.coffeecup.com/give.html

Source: view-source:http://cheeseburger.coffeecup.com/give.html

I promise there is nothing shady about the page; it contains zero advertisements and zero monetary intentions. The page itself has zero host dependencies, which means; if you wish to store a copy for yourself, you can either right click the link and choose 'save link as' ; or you can copy the source code to a blank.html file and use it just as well. There are however two requirements for using the page; You must be using a Webkit enabled browser and you must allow JavaScript; else the page won't work properly. Edit: It's best viewed in Chrome, Firefox, Microsoft Edge, etc.. 

Anyways, I hope this helps someone. ~ Enjoy. 

 

Note: I removed 16 non-(or no longer)-existing commands from the page. Example: #give 1101 returns "This item id does not exist!"; despite being listed as "champagne" in the .class file, and some were removed from (or never existed in) the .class file to start with (eg; 235). 

 

So, if you notice some missing (skipped over) IDs in the list; that is the reason.

 

I used each and every one of these commands in-game (it made me dizzy after awhile), both to confirm they work and to get the correct name of each item for the list, as the name of each item differs between the ItemList.class (ironBar), the wurmitems.db (lump), and the game (lump, iron).

 

Whatever you do: Don't create (with the ebony wand) or #give yourself (in chat) inventory or body parts (leg, arm, head, torso, hand, foot, body, face, eye, legs), unless you know exactly what to do with them. I'm sure they have a use, else we wouldn't be able to obtain them in either fashion. Unless you know how to use them, or how to edit the appropriate .db, they can't be destroyed (with the ebony wand) or moved from your inventory.

 

Edited by Hardmuscle
  • Like 3

Share this post


Link to post
Share on other sites

well done sir well done!

 

works fine in firefox for me too

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, Aum said:

well done sir well done!

 

works fine in firefox for me too

 

I am glad you like it, and that it works in Firefox too. :D

 

Edited by Hardmuscle

Share this post


Link to post
Share on other sites
7 hours ago, Hardmuscle said:

I then learned how to obtain the 'shortID' for items (as opposed to the longID).

 

For the record, the proper terms are "(item) template id" (for the short ones, e.g. 62 = hammer), and WurmId for the long ones (e.g. 9852892790530 = Hardmuscle's specific hammer).

 

 

  • Like 1

Share this post


Link to post
Share on other sites
19 hours ago, bdew said:

 

For the record, the proper terms are "(item) template id" (for the short ones, e.g. 62 = hammer), and WurmId for the long ones (e.g. 9852892790530 = Hardmuscle's specific hammer).

 

 

 

Ah yes, thank you for the correction. After learning I could only obtain the TEMPLATEID (in wurmitems.db) for items currently existing in the world, I resorted to decompiling the ItemList.class (in the server.jar) to obtain the complete list (where there is no such reference). By the time I was done making my list, I actually forgot what they were called or referred to in the .db. I corrected my post, and again, thank you for pointing that out. ^_^

 

Edited by Hardmuscle

Share this post


Link to post
Share on other sites

not meaning to necro this post but I have a really odd problem, no GM's spawn with a wand and the "#give 176 99 1" does not work, I am becoming extremely frustrated by this. I have tried to get a wand on both dedicated server and rented server and no GM lvl 5 or even lower receives a wand. I have tried both modded and non-modded, client and server. I have no clue why none of this works.

  • Like 2

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
Sign in to follow this