• Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Phenex

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks, got it. Took me hours to find the my error. Never forget sharedClassLoader=true in your properties file if you need to insert code into the server.
  2. Thanks, this post helps alot. Found the right implementation. Still tinkering with the javassist API... inserts are a pain.
  3. Hello everyone, I wrote a mod which places an item in the world at random coordinates. My players would need to find it, so I thought about placing a pillar of light (like the ones the two huge altars use). I have looked through the server code, but I cannot find the place where the server places these "pillars of light" for the huge altars to see how it must be implemented. At first I though they are simple objects (items) with a graphical effect, but that doesn't seems to be the case. I hope somebody can give me a hint, how they are implemented. Best regards, Phenex
  4. Well, tried it again and now it works. Don't know what I made wrong last time. But I didn't get the data I had hoped for. Message in server console with code from above. TilePos: tilePos: 1464, 260 MeshIO: 83951273 Somebody know how to get a reference to a Tile in the world? This isn't what I am looking for.
  5. Hello everyone, I need access to the map data for my new mod. Especially I need the information if a tile (only have the coordinates) is on deed and the type (grass, dirt, rock). I have looked at the "paint terrain" action, as it does also modify the terrain, but my code only produces Java NullPointer exceptions. I hope somebody can tell me what I do wrong. Below is an example code snippet: Random random = new Random(); TilePos tilePos = TilePos.fromXY(random.nextInt(mapsize + 1), random.nextInt(mapsize + 1)); MeshIO meshIO = Server.surfaceMesh; int tile = meshIO.getTile(tilePos); logger.log(Level.INFO, "TilePos: " + tilePos.toString() + " MeshIO.Tile: " + tile); I should retrieve an integer corresponding to the tile type. Theoretically...
  6. Hello everybody, today I tried to setup a new wurm unlimited server. After I copied the Adventure presets adjusted the IP address and started the server I got the following error message during startup. Mai 23, 2018 5:12:05 PM org.flywaydb.core.internal.dbsupport.sqlite.SQLiteDbSupport info INFORMATION: SQLite does not support setting the schema. Default schema NOT changed to main Loading servers Setting breakpad minidump AppID = 366220 Starting the server Incoming RMI is disabled Exception in thread "Thread-29" java.lang.NullPointerException at com.wurmonline.server.epic.EpicServerStatus.createGTRitualMission( at com.wurmonline.server.epic.EpicServerStatus.generateNewMissionForEpicEntity( at com.wurmonline.server.webinterface.WcCreateEpicMission$ ================================================================== Wurm Server launcher finished at Wed May 23 17:12:10 CEST 2018 ================================================================== Server connected to steam The server is unmodified and a clean adventure preset was used. Also the server does not generate new epic mission... only the three starting ones are available. The GM command #newmission Fo/Libila/Magranon exits with a message: "Failed to locate deity xxx" Also tested the same procedure with server version (previous branch) without this errors. Can somebody confirm this or did I make a mistake? SOLUTION: You need a guardtower ... i feel so stupid now ? Phenex