Welcome to the Builder Academy

Question MUD on Pi Server not loading all objects on player files

More
30 Sep 2025 03:12 #10919 by Nero
I just moved my MUD over to Pi server from Windows
It boots up fine but noticing an issue where all players only load up the first 10 objects on the .objvs2 player file 
If I boot up the same game, same player files on my Windows using Cygwin, I can see all of the objects
What am I missing here?

Please Log in or Create an account to join the conversation.

More
01 Oct 2025 21:54 #10926 by thomas
If you create a test character, give him 15 items and saves out, does the save file contain all 15 items?

Apart from that, this sounds like something I'd debug with gdb.

Please Log in or Create an account to join the conversation.

More
02 Oct 2025 08:19 #10927 by Nero
I am still working on this - I think it may have something to do with how Windows uses CRLF and Unix just does the \n stuff. I suspect, when it comes to reading and writing the files, this difference is causing it be borked on Pi. I MAY have just fixed this actually by re-organizing the way Crash_crashsave(ch) works in int Crash_load_objs(struct char_data *ch), or in my case I use int Crash_load_xapobjs(struct char_data *ch) test it as we speak to see if there are any other issues that have or could break because of this change. It's weird that it works fine for Windows/Cygwin but not just using Raspberry Pi Debian using the same code.

Please Log in or Create an account to join the conversation.

Time to create page: 0.199 seconds