You are not logged in.

Applications: [GameMaster: OPEN] | [Volunteer Testers: OPEN]


This forum will be permanently shut down on Friday 13.07.2018
Please copy or save all important information from old forum before they will be deactivated
We have moved to new board. https://forum.runesofmagic.gameforge.com/Come join us.

1

Thursday, April 4th 2013, 6:12am

Aoth set swap macro

Having trouble with the Aoth Salvo Earring.

Can get everything else to swap but the earring refuses too, checked for spelling etc and all no good.

So anyone now how to make a marco to equip the Aoth Salvation Earring?

pwnsnoobs

Intermediate

Posts: 243

Location: Looking for a reason to keep RoM on his machine.

  • Send private message

2

Thursday, April 4th 2013, 8:33am

Check spacing, or make sure there is a lack off, all earrings have a mistake in them.

Aoth SalvationEarring

Should be i think

3

Thursday, April 4th 2013, 2:13pm

Tried that with and without spaces.... any way to use the item id in macro? eg: /use Itemnumber:227716 ?

4

Thursday, April 4th 2013, 4:58pm

Post the macro you're trying to use, much easier to debug that way.

pwnsnoobs

Intermediate

Posts: 243

Location: Looking for a reason to keep RoM on his machine.

  • Send private message

5

Thursday, April 4th 2013, 7:26pm

/run UseItemByName("Aoth SalvationEarring")

or

/run EquipItem(slotX, GetBagItemInfo(bagY))

SlotX = 14 for left earring or 15 for right earring you want placed into
bagY= bag slot, IE first slot in very first bag = 1, first slot in second bag = 31, first slot in 6 bag is 151


/run EquipItem(14, GetBagItemInfo(151))

6

Friday, April 5th 2013, 12:37am

the ones i tried were

/use Aoth Salvation Earring
/use Aoth SlavationEarring
/use Aoth Salvationearring

works for ring, neck, wings and main armour set just not the damn earring.

Thanks Pwnsnoobs that works /run EquipItem(14, GetBagItemInfo(151))

With some tweaks I can use the one macro to switch form Tank gear to dps gear now :D Aslong as i keep it all in the right bag slots.

7

Friday, April 5th 2013, 1:04am

Went hunting to the equipment slot numbers. sure id seen a grafic somewhere but this was the best I could find in search.
I seem to remember a char screen numbered in each slot somewhere but cant seem to find it now.... any Ideas?

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
-- Inventory slot numbers and names for slash command.
  -- (includes alternate names) local InvSlotNames = 
{         ['head'] = 1,    
     ['hands'] = 2,       
  ['feet'] = 3,    
     ['chest'] = 4,     
    ['body'] = 4,      
   ['upperbody'] = 4,      
   ['legs'] = 5,       
  ['lower'] = 5,        
 ['lowerbody'] = 5,        
 ['cape'] = 6,         
['back'] = 6,         
['belt'] = 7,         
['shoulders'] = 8,         
['necklace'] = 9,        
 ['neck'] = 9,        
 ['ammo'] = 10,       
  ['ranged'] = 11,         
['rangedweapon'] = 11,         
['ring1'] = 12,          
['leftring'] = 12,        
 ['ring2'] = 13,        
 ['rightring'] = 13,        
 ['ear1'] = 14,       
  ['earring1'] = 14,        
 ['leftearring'] = 14,      
   ['ear2'] = 15,        
 ['earring2'] = 15,        
 ['rightearring'] = 15,       
  ['mainhand'] = 16,       
  ['main'] = 16,        
 ['offhand'] = 17,       
  ['off'] = 17,       
  ['tool'] = 18,        
 ['utensil'] = 18,       
  ['talisman1'] = 19,        
 ['talisman2'] = 20,        
 ['talisman3'] = 21,       
  ['wings'] = 22,        
 ['adornment'] = 22,     }