Posted December 21, 2016 Hello, We know how to spawn Christmas Lights with #xmaslights But how do you get rid of them please ? Thanks. Valiance and Kaylie. Share this post Link to post Share on other sites
Posted December 21, 2016 How do we get them to stick between relogs is a more intresting question. Share this post Link to post Share on other sites
Posted December 21, 2016 can i have a step by step how to put up xmas lights? this is my first xmas on wurm Share this post Link to post Share on other sites
Posted December 21, 2016 @DelightfulDee Make sure your GM is level 5, activate your wand and simply type #xmaslights Have fun Valiance and Kaylie. Share this post Link to post Share on other sites
Posted December 22, 2016 ok are you on a private server or are you on a public server private server I mean have you downloaded the dedicated server software? if not you can get that through steam next once you download it, you have to choose between offline and online, on the last tab there is thing called "players" select that, and then look down to "player game management" type in 5, and then save, start your game and you should have what's known as an "ebony wand" it gives you ultimate power over everything, but be warned by using this you will not be able to mine for ores without wiping out your resource, so I would recommend having a second character for that, hope this helps, ask as many questions as you need and we'll answer them. Share this post Link to post Share on other sites
Posted December 22, 2016 oh im on wurm online . oops sorry Share this post Link to post Share on other sites
Posted December 22, 2016 oh right, no worries, your in the wrong forum then lol, Share this post Link to post Share on other sites
Posted December 22, 2016 21 hours ago, Jukken said: How do we get them to stick between relogs is a more intresting question. You will need a mod for that. Share this post Link to post Share on other sites
Posted December 22, 2016 So for a server a bit ago I was asked to make it so when champ slots where open it would place white lights over these statues where you had to champ up with a timer and death tabs telling people some one was champing up. Anyways, here was how I modified the lights if it saves anyone a few mins it's not pretty by any means but it defiantly works. private long[] ItemIDList = { 3413445860866L, 3413462638082L, 3413479415298L, 3413496192514L, 3413512969730L, 14422789217794L, 14422805995010L, 14422822772226L, 14422839549442L, 14422856326658L, 14422873103874L}; //This was for updating new logins to the current light setup, and is called by the loop to update everyone also public void HandleChampLightsAction(Creature HoldPlayer){ boolean ShowLight = true; for (int i = 0; i < ItemIDList.length; i++) { ShowLight = true; try { Item HoldItem = Items.getItem(ItemIDList[i]); //ID 8 if(HoldItem.getTemplateId() == 736 && HoldItem.getAuxData() == 9){ if (!Deities.acceptsNewChampions(103)) { ShowLight = false; } if (Players.getChampionsFromKingdom((byte)8) >= 3) { ShowLight = false; } if(ShowLight){ HoldPlayer.getCommunicator().sendRemoveEffect(HoldItem.getWurmId()); HoldPlayer.getCommunicator().sendAddEffect(HoldItem.getWurmId(), (short)2, HoldItem.getPosX(), HoldItem.getPosY(), HoldItem.getPosZ(), (byte)0); } else { HoldPlayer.getCommunicator().sendRemoveEffect(HoldItem.getWurmId()); } } } catch (NoSuchItemException nsi) { logger.log(Level.WARNING,"Not found:" + nsi.getMessage() + "."); } } } //Send champ light updates to all online players can be used to start and stop it for everyone public void UpdateAllChampLights(){ Player[] p = Players.getInstance().getPlayers(); for (Player lPlayer : p){ try { Creature PlayerToCreature = Server.getInstance().getCreature(lPlayer.getWurmId()); HandleChampLightsAction(PlayerToCreature); } catch (Exception e) {} } } Call HandleChampLightAction with something like this from one of the on login functions, I used com.wurmonline.server.Players sendAltarsToPlayer just because I found the example there and was to lazy to find another onlogin call at the time since this worked fine. Player HoldPlayer = (Player) args[0]; try { Creature PlayerToCreature = Server.getInstance().getCreature(HoldPlayer.getWurmId()); ChampOption.getInstance().HandleChampLightsAction(PlayerToCreature); } catch (Exception localException) { logger.log(Level.INFO, "Could not find player on login checks!"); } Share this post Link to post Share on other sites
Posted December 24, 2016 how do you turn them off, I have 2 of them out of the seas that I didn't turn on, and now I cant get rid of them, help? Share this post Link to post Share on other sites