Awkward is my middle name
Posts by yahwho
-
-
Is registering and unregistering an expensive operation?
-
Update: Yes it was because I was not unregistering my event listener after working with it
all fixed.
-
Code
Haha I think I know what the problem might be. . .
When a player initialises a popup I register a new event listener. I *think* I need to somehow kill the event listener once it's been used.
I'm looking now, but do you know if there is something like "unregisterEventListenter(this);" ?
I was calling this.destroy(); but it may not be killing the event listener? I dunno. lol
-
This is confusing me a little. So I hope it's a bug that can be squashed. . . (or me doing it wrong
)
When this code is called the first time, I get 1 of the items added to players inventory and message saying 1 added - all good.The second time I call it I get 2 added to the inventory and a messages saying 3 added
The third time I call it I get 3 added to the inventory and a messages saying 6 added
The fourth time I call it I get 4 added to the inventory and a messages saying 10 added
The fifth time I call it I get 5 added to the inventory and a messages saying 15 added
The sixth time I call it I get 6 added to the inventory and a messages saying 21 added
The seventh time I call it I get 7 added to the inventory and a messages saying 28 added
I've also tried:
This still results in weird behaviour.
(I put a literal 1 int in to make sure it wasn't my cache file spewing out garbage.)
p.s. I know pnb works so I'm even more confused
-
Just for reference you can actually turn off most stream features like cloud syncing:
1) In your Steam Library, right-click on a game and select "Properties."
2) Click the "Updates" tab.
3) Uncheck "Enable Steam Cloud synchronization."
4) Click "Close."Turn off updates
- Open your Steam client.
- Head over to the Library tab present at the top of the screen. Now all your games will be listed in the left column of the screen.
- Right click on the game you want to change the settings of and select Properties.
- Once Properties is opened, head to the Updates tab located on the top of the window. Now you will see an option regarding automatic updates. After you click Automatic Updates, a drop down menu will appear and you will be able to choose from three options available.
-
Ah thanks mino
-
-
Did you use a bed at your village? If you make a compass it will point to your bed.
-
Hi, not really a plugin question per se but this feels like the right board.
Does anyone know the best method for working with CIMG files?
-
-
Hi @red51
There will be some methods in the next update to show/hide the inventory as well as other screens (journal, chest content, map)
Would it also be possible to hide show the icons for say health bar, food, water, bleeding, freezing, and sprint? (and others I may have missed off that list). -
-
Du könntest benutzen Timer und PlayerChangePositionEvent
-
use the RELOADPLUGINS command in console
You can also use rp for short from console
-
I suggested a bug forum about a year ago, it's not appeared so I don't think it's on the agenda.
-
Well it's all about fun isn't it? There are sever rules https://medievalrealms.co.uk/server-rules but they are pretty common-sense ones!
-
From what I understand it is the future of the Java SE versions. . . (i.e. none enterprise). Java 1.8 will become EOL in 2020 (that doesn't feel that far off now).
I've been watching Oracle seminars and reading as much up as I can on it, but its a minefield!
The version 11 license main points are (full licence at: https://www.oracle.com/technet…cense/javase-license.html)
Further, You may not:-
- use the Programs for any data processing or any commercial, production, or internal business purposes other than developing, testing, prototyping, and demonstrating your Application;
- remove or modify any Program markings or any notice of Oracle’s or a licensor’s proprietary rights;
- make the Programs available in any manner to any third party (other than Contractors acting on Your behalf as set forth in this Agreement);
- assign this Agreement or distribute, give, or transfer the Programs or an interest in them to any third party, except as expressly permitted in this Agreement for Contractors (the foregoing shall not be construed to limit the rights You may otherwise have with respect to Separately Licensed Third Party Technology);
- cause or permit reverse engineering (unless required by law for interoperability), disassembly or decompilation of the Programs; and
- create, modify, or change the behavior of, classes, interfaces, or subpackages that are in any way identified as "java", "javax", "sun", “oracle” or similar convention as specified by Oracle in any naming convention designation.
The main concern is "You may not:- use the Programs for any data processing or any commercial, production, or internal business purposes other than developing, testing, prototyping, and demonstrating your Application;"On the other hand I have read that OpenJDK will be free as well as Amazon is making its own OpenJDK available https://aws.amazon.com/corretto/
I really do hope I'm reading too much into this and its only enterprise and embedded systems that are going to require these eye watering licence fees.
-
Hi GamerGran61,
Any recommendations appreciated.
Medieval Realms albeit listed as a PVP server does offer a PVE gamemode (which is the default for all new players) - and actually most people still play in PVE mode.
But this is of course only if you want to play on a Medieval themed server. Modern day game assets are all locked out. So if Medieval is not your thing, this server defiantly wont be either!
We're peace loving and well established
-
Hi all,
Can anyone explain to me in relatively simple terms whats happening with Java at the moment and more importantly the implications this is going to have on server owners
I've known Java since 1.2 and I'm struggling to get my head around the license changes Oracle are pushing through now.
I'm running my own server on dedicated server hardware in-house.
I'm hearing mixed information about the changes Oracle are making with Java. Including someone mentioning that in order to run a Java application on server you will need to pay a per-core licence fee to Oracle.