Server Help

General Questions - File write error

Denon - Sun Aug 28, 2005 10:17 am
Post subject: File write error
Had a bit of a search & can't find anything to help me.

I had to format my PC not long back and thought I'd just redownload & setup my test server, hit a problem though.

All I've done in server.ini & subbill.ini is insert things like server name & then put in my port in [Misc] & [Billing], then matched the billings passwords between the two .ini files.

I get this "File write error" though just after the .lvl has been downloaded.

This is the way I've always setup my server but this is the first time I've come across this error, I've clearly missed something somewhere, any ideas please?
Cyan~Fire - Sun Aug 28, 2005 1:19 pm
Post subject:
I think that happens when the map file exists, but is 0 bytes in length. Is that the casE?
Gravitron - Sun Aug 28, 2005 1:22 pm
Post subject:
I'll take a wild guess and say you have a file set as readme-only.

Throw attrib -a -r -s /s at the dir root.
Denon - Sun Aug 28, 2005 2:11 pm
Post subject:
Cyan: Nope, but ty.

Grav: I don't see why this time I downloaded the .zip file it should be any different than any other time, but hey, I'll try anything right now it's getting so frustrating. So, as I'm virtually command prompt illiterate... Start > Run > type 'command' > then what do I type exactly?
Maverick - Mon Aug 29, 2005 4:08 am
Post subject: Re: File write error
Denon wrote:
I get this "File write error" though just after the .lvl has been downloaded.


Not a server issue imo.
Do not run your client with the 'Run As...' option. Just run it as normal.
Denon - Mon Aug 29, 2005 5:46 am
Post subject:
I have no idea what this 'Run as...' option is I keep reading about, I just double-click the 2 .exe files; subbill.exe, then subgame.exe.
Smong - Mon Aug 29, 2005 6:06 am
Post subject:
They're trying to say it's a client issue, which means not a subgame/subbill issue. You can try going to continuum\zones folder and delete your zone folder so it all redownloads. Also make sure your hard disk isn't full.
Denon - Mon Aug 29, 2005 7:20 am
Post subject:
Nope, made no difference at all.
Maverick - Mon Aug 29, 2005 7:26 am
Post subject:
Denon wrote:
I have no idea what this 'Run as...' option is

Do not run Continuum by doing this:

Denon - Mon Aug 29, 2005 8:39 am
Post subject:
I assumed it was something like that, but I don't have that option & I don't think I've ever seen it on my PC.
I only ever double-click to run my client.
Gravitron - Mon Aug 29, 2005 12:03 pm
Post subject:
You navigate using the ancient dos command "CD" untill you reach the main directory, and in there you type "attrib -r -a -s /s" and that should rid anything of any annoying attribute.
Bak - Mon Aug 29, 2005 12:23 pm
Post subject:
alt+printscreen the error message it gives you, then attach it to your post
Denon - Mon Aug 29, 2005 1:16 pm
Post subject:
The attrib command didn't help. I even copied my server folder to C:\ directory and tried it there.

The error I get is this...


Denon - Mon Aug 29, 2005 2:28 pm
Post subject:
I've finally worked out what was wrong.

My public.lvl was fine but had no tiles actually "drawn" on the map & it just didn't like that. So now I've drawn a few tiles onto the map it's fine.

Kinda strange really. icon_confused.gif

Thank you all for your time & suggestions. icon_smile.gif
Maverick - Mon Aug 29, 2005 2:33 pm
Post subject:
Better move your zone back from C:\ to a subfolder : its not the best place for a zone icon_wink.gif
Gravitron - Mon Aug 29, 2005 3:12 pm
Post subject:
LoL.
I meant that you goto the main directory of the server, heh...blah.
Denon - Mon Aug 29, 2005 5:41 pm
Post subject:
Lol, I know what you meant & did it too. icon_smile.gif
I was just trying as many different things as possible due to frustration.
Cancer+ - Fri Mar 30, 2007 4:25 pm
Post subject:
I am having this same problem.

When I open it with SSME, it says corrupt, id out of range. So then I open it with DCME and it is fine. The only thing i see is that the whole map, except for the middle, is tiled with a no bomb/no thor, or something like that. It's all pink.

I tried his suggestion, putting a couple tiles on it or what not, but it is not working.
Maverick - Fri Mar 30, 2007 4:45 pm
Post subject:
Cancer you should have made a new topic, it's completely unrelated.

Your problem is with special tiles. SSME can't handle "special tiles" (which is why you get the error "id out of range" and it assumes the file is corrupt). DCME can handle them and will open the map as normal.

With special tiles I mean these tiles in DCME:

Cancer+ - Fri Mar 30, 2007 4:47 pm
Post subject:
Bah, sorry, that was my bad. I made that post bad.

What I meant to say was...

I get the File Write Error. I was just curious if it was BECAUSE of the special tiles. It was just a suggestion as to why I get the file write error.

Why am I getting the file write error? That is my question/problem.
Animate Dreams - Fri Mar 30, 2007 5:30 pm
Post subject:
Open up DCME and "Save as SSME compatible". It will fix your problem.
Cancer+ - Fri Mar 30, 2007 6:02 pm
Post subject:
Yeah, Animate, that didn't help. That made things worse. It gave me another error with subgame and I had to close that. Fixed that problem though.


Let me make this clearer. My problem is when I enter the zone, I get to download to 99% and then it exits and a box comes up that says File Write Error. Why? How do I fix it? I tried the first guys solution (putting some tiles in it) but it didn't work. There are already tiles on the map.
Cancer+ - Fri Mar 30, 2007 6:13 pm
Post subject:
Here is the box.


Mine GO BOOM - Fri Mar 30, 2007 8:47 pm
Post subject:
Thank you for posting a 1.6MB renamed BMP file (which were blocked from uploading, so I see you renamed to gif) instead of any other format file, which would make the image nice and small. And good job not cropping the image so it would be huge with big blocks of white all around it.

Use ALT-Printscreen to capture error messages, and get any free image editor program, like gimp or paint .net.
Animate Dreams - Fri Mar 30, 2007 9:29 pm
Post subject:
Or MSPaint? Also, I wish I could remember about Alt+Printscreen more often, it's very useful, but I always forget it exists.
Cancer+ - Fri Mar 30, 2007 10:39 pm
Post subject:
Sorry MGB, anyway, the topic at hand?
Mine GO BOOM - Fri Mar 30, 2007 10:51 pm
Post subject:
Upload the map you are having problems with, others can try and see if it is the LVL file or your setup.
Cancer+ - Fri Mar 30, 2007 11:49 pm
Post subject:
Code: Show/Hide
[Custom]
ArenaMode=0

[Arena]
ArenaMaxPlayers=200
ArenaDesiredPlayers=100
ArenaMinimumPlayers=25
SpawnKeepScores=1
MaxArenas=2000
MaxArenasMemory=64000

[Comms]
MaxQueueToLogin=16
PacketHistoryMax=2000
IncomingBufferSize=131072
OutgoingBufferSize=131072
EncryptMode=1
UnreliableBufferSize=128
TransportBufferSize=160

[Misc]
DisableShareware=0
RegisterKickShareware=0
MaxSharewarePlayers=-1
MaxPlayers=200
MaxSharewareTime=90000000
DisableSharewareNames=0
DisableSharewareShips=0
DisableSharewareScores=0
MenuKickOutDelay=12000
NoAntiInSafe=0
LockFreqs=0
PositionDataAccess=2
AlertCommand=cheater
AllowPubScorereset=0
AllowPvtScorereset=0
TimerDropFlagTerritoryRadius=8
ShipTypeSwitchResetPeriod=0
CheckWeapons=1
CheckFastBombing=0
FastBombingThreshold=30
ForceObsceneCheck=0
NoFlagRewardLimit=0
multiplier is limited by 2.
LogPoints=0
PointUpdateDiff=500
JackpotBroadcastPoints=0
ServerLog=1
KeepAliveDelay=500
DefaultLevelFile=mini.lvl
Port=6950
AllowVIEClients=1
StaffChat=
ForceContinuumOnly=0
ServerIP=71.61.178.128
AllowPrerelease=1

[CPU]
LoopDelay=0
ProcessMaxTime=16
SleepPerIteration=1
SlowIterationWarningLevel=100
SleepTime=15


[Permission]
AllowBadMachineId=1
AllowLowBandwidth=1
MinimumSecondsToLogin=0
PermissionMaxPoints=0
PermissionMode=0
AutoPermissionPoints=0
AutoPermissionIDList=0
AutoPermissionMessage=Congratulations

[Password]
SysopPassword=**
EnergyPassword=**
ModeratorPassword=**
SuperModeratorPassword=**
VIPPassword=0000

[Billing]
LogMessages=0
IP=***
Password=***
ServerName=SSM Mini Basers
Port=185
ServerId=6950
GroupId=*
ScoreId=6950
ReconnectTime=12000
AttemptTime=6400

[Advertise]
SendMode=0
DisplayMode=0
Duration=6000

[Validation]
CheckMod=1
CheckSMod=1
CheckSysop=1
LogPubCommands=*
LogPvtCommands=*
DisablePubCommands=
DisablePvtCommands=

[Directory]
IP=sscentral.sscuservers.net,ssdir.playsubspace.com,zones.sscentral.com
Description=(Under Construction)
NamePassword=****
Port=4991






The pink is the tile 242

I think the "thor blocker." Also warps ships.


P.S. I use .png and MSPaint.
Mine GO BOOM - Sat Mar 31, 2007 12:15 am
Post subject:
Cancer+ wrote:
The pink is the tile 242

Well, without actually seeing the LVL file I suggested putting up, I'm going to go on a hunch here and say your LVL file is probably 2MB or something. Seriously, you don't need that many tiles. LVL files store 3 bytes per tile. You flooded that map. Try deleting every bit of pink, you don't need it if ships are boxed in.
Cancer+ - Sat Mar 31, 2007 12:28 am
Post subject:
Well it is not my lvl. I am just trying to host it. It is like 3MB.

I will try that.


Oh, BTW, it wouldn't let me put the file up.
Mine GO BOOM - Sat Mar 31, 2007 6:45 am
Post subject:
LVL files zip up pretty good. Give that a shot. Tell whomever made the map to edit it. Any map over 200k has something seriously wrong with it.
Samapico - Sat Mar 31, 2007 1:21 pm
Post subject:
a map that big won't work... it's 4 byte per tile... 1024 x 1024 x 4 = 4MB + the tileset, which is probably 140k if it is 24bit...
Cancer+ - Sat Mar 31, 2007 1:27 pm
Post subject:
well, he re-did the map but whenever I start subgame I get this error...



The size is 110 KB (113,007 bytes)

I used the regular _bzw.lvl and it worked fine. It just seems to be the map.

Also, here is the map.
Samapico - Sat Mar 31, 2007 1:35 pm
Post subject:
hmm... he might have used an old version of DCME to make that map...
Try opening it with DCME (3.1.3), and saving it back (you can retile top-left of the base if some anti-thor tiles are missing, which will probably happen)
Then save it back


And tell him to use Check for Updates...
see, it had corrupt elvl data
Copy of mini8.lvl @ eLVL.GetELVLData, eLVL header info:
--- magic: 1òV
--- size: 1475482929
--- reserved: 1492260145
That's a bug that happened in earlier DCME versions...
Cancer+ - Sat Mar 31, 2007 1:47 pm
Post subject:
Hey, that surprisingly worked. I didn't think it was going to be fixed. Thanks.

How does that have to do with subgame not working though?
Samapico - Sat Mar 31, 2007 4:01 pm
Post subject:
subgame probably crashed when reading the level file... or does it even read it at all? That bug could screw up tileset data... Dunno if subgame even attempts to read any of that though...
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group