[BUG] .zip loading uses Sauebraten structure

Issues that were previously reported and since dealt with.
Forum rules
This issue tracker is now in read-only mode. Please see this topic for more information on how to contribute to Red Eclipse.

[BUG] .zip loading uses Sauebraten structure

Postby freezurbern » 10 Jun 2014 13:50

I couldn't get adding the .zip to the server to work, turns out its because the code is looking for a .ogz in packages/base.
freezurbern
 
Posts: 641
Joined: 02 Feb 2014 18:01

Re: [BUG] .zip loading uses Sauebraten structure

Postby freezurbern » 10 Jun 2014 14:06

After trying to fix it myself, (packages -> data, base -> maps, ogz -> mpz) I can't figure out how to make the addzip command work for a client. I don't know what the mount and strip arguments do, nor do I understand what directory structure should be in the .zip. I'll write a wiki section about it once it is explained :P
freezurbern
 
Posts: 641
Joined: 02 Feb 2014 18:01

Re: [BUG] .zip loading uses Sauebraten structure

Postby freezurbern » 11 Jun 2014 01:26

Using r6577, the following does not work. The .zip is loaded but the server puts the user on a blank map saying noone has it.

servinit.cfg
Code: Select all
adminpass "hello"
// addzip terrain.zip
addzip maps.zip
verbose 6
if (= $rehashing 0) [
    servertype 1
    servermaster "localhost" 
]
sv_serverdesc "ZIP TEST SERVER"


SERVER.log
Code: Select all
set log file: SERVER.log
06/10/14 21:17:25 identity: Red Eclipse v1.4.9-win 32 bit (Development)
06/10/14 21:17:25 added zip maps.zip
06/10/14 21:17:25 loaded script servinit.cfg
06/10/14 21:17:25 configuration loaded
06/10/14 21:17:25 init: server (*:28801)
06/10/14 21:17:25 game server started
06/10/14 21:17:25 found octa directory: ..\Sauerbraten
06/10/14 21:17:25 dedicated server started, waiting for clients...
skiingpenguins (HP-153) has joined the game (1 player)
06/10/14 21:17:50 [server] from: 0, cur: 32, msg: 32, prev: -1
06/10/14 21:18:02 [server] from: 0, cur: 4, msg: 4, prev: 4
06/10/14 21:18:02 [server] from: 0, cur: 4, msg: 4, prev: 4
skiingpenguins elevated to an administrator [local]
06/10/14 21:18:02 [server] from: 0, cur: 67, msg: 67, prev: -1
06/10/14 21:18:05 [server] from: 0, cur: 4, msg: 4, prev: 4
demo Tue Jun 10 21:18:05 2014: bomber-ball, ares, 34.92kB recorded
skiingpenguins forced: bomber-ball on terrain
06/10/14 21:18:05 [server] from: 0, cur: 25, msg: 25, prev: -1
06/10/14 21:18:05 [server] from: 0, cur: 11, msg: 11, prev: 25
06/10/14 21:18:05 [server] from: 0, cur: 11, msg: 11, prev: 11
06/10/14 21:18:05 [server] from: 0, cur: 10, msg: 10, prev: 11
06/10/14 21:18:05 [server] from: 0, cur: 5, msg: 5, prev: 10
06/10/14 21:18:05 [server] from: 0, cur: 10, msg: 10, prev: 5
06/10/14 21:18:21 [server] from: 0, cur: 34, msg: 34, prev: -1
skiingpenguins (HP-153) has left the game (normal, 0 players)


maps.zip
freezurbern
 
Posts: 641
Joined: 02 Feb 2014 18:01

Re: [BUG] .zip loading uses Sauebraten structure

Postby qreeves » 11 Jun 2014 04:22

Updated code to look for RE stuff: r6578
Quinton Reeves | Lead Developer, Red Eclipse
Check Out My YouTube Channel | Leave Me a Tip on PayPal
Contribute to Project Costs via PayPal or Patreon
User avatar
qreeves
Site Admin
 
Posts: 1619
Joined: 02 Feb 2014 05:04
Location: Australia


Return to Closed Issues

cron