I've said this a million times across different threads by now - you need to first load the region, otherwise you'd be attempting to delete an object from a region that hasn't loaded the objects - therefore you'd attempt to remove from an empty map which results in nothing occurring.
I don't really know what you mean by loading the region first...
I understand the second, part, but in which class would I be looking to first load the region?
I don't really know what you mean by loading the region first...
In matrix it's as simple as World.getRegion(id, true); (the 'true' means it will load the map data into memory, which includes all the objects)
This^ must be done before deleting the object, just simply doing World.getRegion(id) won't force the map load.
In matrix it's as simple as World.getRegion(id, true); (the 'true' means it will load the map data into memory, which includes all the objects)
This^ must be done before deleting the object, just simply doing World.getRegion(id) won't force the map load.
So, I put World.getRegion(id, true); in region or npcspawns?
And where actually?
For anyone wondering, I have had about 3 or 4 people play on this server with me to see if there are any bugs, happy to say that there are only a few bugs, but nothing major. Overall this server is pretty much able to be hosted from the get go. (with only a few changes to your liking so it isn't just straight copied)
For anyone wondering, I have had about 3 or 4 people play on this server with me to see if there are any bugs, happy to say that there are only a few bugs, but nothing major. Overall this server is pretty much able to be hosted from the get go. (with only a few changes to your liking so it isn't just straight copied)
after downloading all the required files and getting the server up and running which has been no problem, i seem to to have a bug with construction when i try to purchase a hopme the first time it asks me for my gold, then it will take it then the dialgue closes and will never re open the buy house option or change location options, i am also unable to telport to my home, any insight into this issue would be appreciated!
C:\Users\Colton\Ggge\ggggg\LIVE
Error: Class291.method2752:182 Class291.method2751:92 client.init:521 Loader.sta
rtClient:138 Loader.doFrame:64 Loader.main:46 Class52_Sub2_Sub1_Sub1 java.base/j
dk.internal.loader.BuiltinClassLoader.loadClass java.base/jdk.internal.loader.Cl
assLoaders$AppClassLoader.loadClass java.base/java.lang.ClassLoader.loadClass mo
re | java.lang.NoClassDefFoundError: Class52_Sub2_Sub1_Sub1
java.net.ConnectException: Connection refused: connect
at java.base/java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.base/java.net.DualStackPlainSocketImpl.socketConnect(Un known Sou
rce)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress( Unknown S
ource)
at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.base/java.net.PlainSocketImpl.connect(Unknown Source)
at java.base/java.net.Socket.connect(Unknown Source)
at java.base/java.net.Socket.connect(Unknown Source)
at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
at java.base/sun.net.[Only registered and activated users can see links. ] Source)
at java.base/sun.net.[Only registered and activated users can see links. ] Source)
at java.base/sun.net.www.http.HttpClient.<init>(Unknown Source)
at java.base/sun.net.[Only registered and activated users can see links. ] Source)
at java.base/sun.net.[Only registered and activated users can see links. ] Source)
at java.base/sun.net.[Only registered and activated users can see links. ]
t(Unknown Source)
at java.base/sun.net.[Only registered and activated users can see links. ]
nknown Source)
at java.base/sun.net.[Only registered and activated users can see links. ]
known Source)
at java.base/sun.net.[Only registered and activated users can see links. ]
Source)
at java.base/sun.net.[Only registered and activated users can see links. ]
(Unknown Source)
at java.base/sun.net.[Only registered and activated users can see links. ]
Unknown Source)
at java.base/java.net.URL.openStream(Unknown Source)
at IPAddress.method6062(IPAddress.java:120)
at Class291.method2751(Class291.java:94)
at client.init(client.java:521)
at Loader.startClient(Loader.java:138)
at Loader.doFrame(Loader.java:64)
at Loader.main(Loader.java:46)
error_game_crash