Jump to content
View in the app

A better way to browse. Learn more.

ClassiCube Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Goodly

Moderator
  • Joined

  • Last visited

Everything posted by Goodly

  1. Please post the whole source code if what you're trying to compile
  2. You might want to remove the lambda syntax from public override CommandPerm[] ExtraPerms => new[] { new CommandPerm(LevelPermission.Operator, "can set and view all players' notifications") }; since that won't compile on standard MCGalaxy
  3. To use the angled lighting, you need to compile ClassiCube from the AngledLighting branch. https://github.com/ClassiCube/ClassiCube/tree/AngledLighting For instructions on how to compile it, see the README file at the Compiling section. https://github.com/ClassiCube/ClassiCube/tree/AngledLighting?tab=readme-ov-file#compiling By the way, AngledLighting is not finished. It may take a very long time to load on larger levels. And the shadows don't update when you change blocks. Alternatively, if you are logged into github you can download it pre-compiled from here: https://github.com/ClassiCube/ClassiCube/actions/runs/16534287480 Scroll down to "Artifacts" and download the .exe for your system. If you are using windows, you should probably get ClassiCube-Win64-Direct3D9.exe
  4. You can try it from here if you want https://cdn.classicube.net/client/latest/ClassiCube.sis (the download is listed here https://www.classicube.net/download/#dl-other)
  5. MCGalaxy was based on MCForge, which was based on MCLawl, which was based on MCZall, which was based on MCSharp
  6. When you see "Object reference not set to an instance of an object", that means it's trying to get the value of a variable in your code, but because that variable is null, it fails to find anything. The issue is that PlayerAwards.Get(p.name) can give you either: List<string>, a list of 0 or more awards that the player has got before null, if the player has never gotten an award before You cannot call .CaselessContains on a null variable because that function requires a valid string to run. The solution is not to call PlayerAwards.Get and CaselessContains in the same line, so that we can check if the list is null first. By the way, please make sure you indent the code (tab or four spaces) every time there is an open bracket {, otherwise the code will become extremely difficult to understand. An example of fixes is attached. CmdGiveInsane.cs
  7. You're missing a lot of code that's required for a custom command, for instance the command class itself. You can use /cmdcreate to generate a working template that you can change.
  8. what? (banned for 4 hours no 1 word posts)
  9. If you want to play multiplayer LAN, you will need to run your own server. https://github.com/ClassiCube/MCGalaxy?tab=readme-ov-file#setup Once it's running and you can join it, you can check the wiki for how to do basic things like create new levels. https://github.com/ClassiCube/MCGalaxy/wiki Once your server is up and running, you can import levels from other multiplayer servers by saving the level clientside (Save level... menu option), then moving that level into the server's extra/import folder and using /import [mapname] However it should be noted that if the level you saved has any kind of special gameplay or dialogue, you cannot preserve that by saving it for yourself. It can only be experienced on the server you found it on.
  10. Am I understanding correctly that you are playing singleplayer and the button that lets you generate a new world is grayed out?
  11. If you already lost your global blocks (e.g. if you didn't undo the thing you tried to do earlier) then following my steps could never fix it. I'm not sure what else the issue could be
  12. I believe the issue here is that the blockdef file for the level doesn't contain the global blocks as well, just the local ones. So when you replace the global file with the local file, all the global blocks are erased. What you need to do is to merge both of the blockdef files. An easy way to do this is: While in your server on the level you want to make global, save it using Save Level... in escape menu. You'll have something like mylevel.cw in your maps folder. Move mylevel.cw from your client map folder to "extra/import" folder in your server Use /import mylevel Now in your server blockdef files, you should be able rename lvl_mylevel.json to global.json
  13. It looks like you're trying to make your server globally use the blocks I created for NA2, which I prefer if you didn't do, unless your server is just for private use
  14. If you're not specific with your problem ("every block was strange" is vague and unfixable) then you're unlikely to get responses
  15. Where did you get the MCGalaxy_infid.dll? If it came from the "Uploads" folder on github, that is no longer updated. Try using the MCGalaxy_.dll from here: https://123dmwm.com/MCGalaxy/
  16. This can already be done in a server plugin if someone wants to
  17. Let's have one thread per topic please: https://f.classicube.net/topic/3061-garbage-loan-upload-error
  18. readme.txt isn't included in the list of allowed files. Did you try removing that from your zip before uploading?
  19. You don't need .mdb (or .pdb) files for plugins. Those just give you line numbers if there are errors, which is helpful for debugging but not needed for a normal user.
  20. Update to the latest dev build using /update latest That should fix no errors being printed when you use /pcompile I don't know anything about compiling with Ubuntu, but it looks like you added a space between -r: and the _extralevelprops.dll file which isn't how you formatted the MCGalaxy one. Try removing that space?
  21. Is there any specific error when you attempt this? If you are compiling the plugin separately from MCGalaxy, make sure you also reference _extralevelprops.dll, same way you reference MCGalaxy
  22. I don't think anyone's going to stop you if you do return. Or are you asking this because you're actually blocked from joining in some way right now?
  23. Forum posts show up in discord. We saw it Glad you've grown and reflected since then
  24. When you are the one hosting the server on your computer, you need to use the direct connect menu to join it. Make sure to read the whole README file on this page for more details. https://github.com/ClassiCube/MCGalaxy

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.