Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
netpanzer
partial-url-update.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File partial-url-update.patch of Package netpanzer
diff -r -Nau 0.8.7-patched/README 0.8.7-orig/README --- 0.8.7-patched/README 2016-04-09 15:14:00.000000000 -0500 +++ 0.8.7-orig/README 2024-01-19 00:32:08.548987062 -0600 @@ -136,7 +136,7 @@ If you want to copy some documentation, the "docs" folder has it. There is also the COPYING and the README (this file). -Inside "support" folder there are many useful scripts and resources. +Inside "support" folder there are many useful scripts and resources. "netpanzer.png" and "netpanzer.xpm" are some sample icons to be use with the game. @@ -200,7 +200,7 @@ Also check that Windows Firewall - and/or other antivirus software which may act as firewall - are not interfering. -TIP: Howto check if your network is ready: start your netpanzer client normally, then choose 'Host' from the top menu (be sure that 'public' checkbox is checked), then 'play'. This is a 'non-dedicated' netpanzer server - e.g. with you inside :). Then open your browser and go to http://www.netpanzer.info/Server-Browser/, wait 30-40 seconds and see if your gameserver appear in the list. If so, your network is ready and you can immediately run a 'dedicated server' without further changes. Otherwise you might need to make some more operations... +TIP: Howto check if your network is ready: start your netpanzer client normally, then choose 'Host' from the top menu (be sure that 'public' checkbox is checked), then 'play'. This is a 'non-dedicated' netpanzer server - e.g. with you inside :). Then open your browser and go to https://netpanzer.io/servers.html, wait 30-40 seconds and see if your gameserver appear in the list. If so, your network is ready and you can immediately run a 'dedicated server' without further changes. Otherwise you might need to make some more operations... @@ -239,7 +239,7 @@ running=no fi done - + Screen @@ -249,7 +249,7 @@ #!/bin/bash -# insert the directory of the start-netpanzer-dedicated.sh here +# insert the directory of the start-netpanzer-dedicated.sh here DIR=. cd $DIR @@ -264,14 +264,14 @@ # This version starts the server in a chroot environment and with a different # user for even more security # screen -A -m -d -S netpanzer chroot /home/netpserver su - netpserver -c "./start-netpanzer-dedicated.sh $@" - -You can attach to this virtual netpanzer terminal by typing screen -r netpanzer. You can detach again by pressing CTRL+A and then CTRL+D. See the Screen documentation for details. + +You can attach to this virtual netpanzer terminal by typing screen -r netpanzer. You can detach again by pressing CTRL+A and then CTRL+D. See the Screen documentation for details. The code of the server hasn't undergone an in-depth review for security holes yet, so you should expect the possibility that attackers can find buffer overflows to obtain control over the netpanzer executable and the user account the server is running. (Experience shows that this also happens with other servers that claim to be secure...) -Therefore it is recommended to run the server in a special user account with limited rights. On linux/bsd you should also consider using a chroot environment for increased security. Consult external documentation about details. The screen startup script shown above also demonstrates in a comment how to do this with the su and chroot commands. +Therefore it is recommended to run the server in a special user account with limited rights. On linux/bsd you should also consider using a chroot environment for increased security. Consult external documentation about details. The screen startup script shown above also demonstrates in a comment how to do this with the su and chroot commands. @@ -294,145 +294,145 @@ you can select an alternative port number - remember then to make the correct port forward - no reason to change it if u run a single server - + server.bindaddress = "" leave it blank - + server.motd = "Welcome to NetPanzer Server" This is the message that appears to players when they connect to gameserver - + server.logging = false you can save more detailed logs by setting 'true' - + server.public = true leave it 'true' if u want players to connect from the internet - - server.masterservers = "masterserver.netpanzer.org, masterserver2.netpanzer.org, masterserver.netpanzer.info" + + server.masterservers = "netpanzer.io" don't change these addresses unless you've been told to do so in our forum - + server.name = "NetPanzer Server" your gameserver name which will be displayed in server browser etc - + game.enable_bases = true by setting this to 'false' you disable all bases in the map - + game.base_capture_mode = 1 the kind of base capture, no capture, helipad capture, full base capture - + game.base_limit = 0 max bases per player - + game.autokicktime = 20 kicks inactive player after given minutes - + game.allowmultiip = true by setting this to 'false' you prevent people with same IP address to connect - + game.unit_profiles = "Manta, Panther1, Titan, Stinger, Bobcat, Bear, Archer, Wolf, Drake, Spanzer" In this string separated by commas you can decide the available units in a game (the ones u see when u click on top of an outpost u own) - + game.unit_spawnlist = "1, 1, 1, 1, 1, 1, 1, 1, 1, 1" another comma separated string which must reflect the previous. Here you decide the starting number of units (on respawn) - + game.adminpass = "" you can set a password to allow admin commands via chat in a game (see the help section in your netpanzer client for a full list of commands) - + game.gamepass = "" you can set a password players must know to connect to your gameserver. - + game.changeflagtime = 15 timeout for flag change in minutes - + game.gametype = 0 0=objective, 1=frag limit, 2=timelimit - + game.maxplayers = 8 max number of players - + game.maxunits = 320 max number of units (tanks) in the game - which also determines the max number of units per player: maxunits/maxplayers - + game.timelimit = 30 time limit in minutes - + game.fraglimit = 300 frag limit (kills) - + game.powerups = true enables (or disable) powerups - + game.occupationpercentage = 75 decides outposts percentage to end an objective game - + game.allowallies = true @@ -440,10 +440,10 @@ - game.anticheat = 3 + game.anticheat = 3 sets the anticheat level (too fast clicking - or rather packet sending) - default is 3 (values allowed are 1 [strict] to 5 [very permissive]) - + game.lowscorelimit = -25 @@ -457,25 +457,25 @@ clouds density - + game.respawntype = 0 0=round robin, 1=random - + game.windspeed = 30 clouds speed - + game.map = "Two clans" starting map - + game.mapcycle = "Two clans" diff -r -Nau 0.8.7-patched/src/NetPanzer/Views/MainMenu/CreditsView.cpp 0.8.7-orig/src/NetPanzer/Views/MainMenu/CreditsView.cpp --- 0.8.7-patched/src/NetPanzer/Views/MainMenu/CreditsView.cpp 2016-04-09 15:14:00.000000000 -0500 +++ 0.8.7-orig/src/NetPanzer/Views/MainMenu/CreditsView.cpp 2024-01-19 00:18:13.335617048 -0600 @@ -47,8 +47,8 @@ ", a massively multiplayer tank battle game. " "This application is free software under the terms of the " "Gnu General Public license (GPL). See the COPYING file for details.\n\n" - "Source and binaries at: http://netpanzer.sourceforge.net/\n\n" - "Please visit www.NETPANZER.info\n" + "Source and binaries at: https://github.com/netpanzer/netpanzer\n\n" + "Please visit https://netpanzer.io\n" "- for binaries, maps, flags, related tools and news\n" "- and don't forget to register your nickname for the monthly ranking\n\n\n" "Current Team\n\n" diff -r -Nau 0.8.7-patched/src/NetPanzer/Views/MainMenu/Multi/TipsView.cpp 0.8.7-orig/src/NetPanzer/Views/MainMenu/Multi/TipsView.cpp --- 0.8.7-patched/src/NetPanzer/Views/MainMenu/Multi/TipsView.cpp 2016-04-09 15:14:00.000000000 -0500 +++ 0.8.7-orig/src/NetPanzer/Views/MainMenu/Multi/TipsView.cpp 2024-01-19 00:29:31.298422537 -0600 @@ -38,7 +38,7 @@ moveTo(bodyTextRect.min + iXY(0, 100)); resizeClientArea(bodyTextRect.max - bodyTextRect.min - iXY(5,380)); - tipnumber = rand() % 6; + tipnumber = rand() % 4; //setVisible(true); @@ -76,30 +76,19 @@ switch( tipnumber ) { case 0 : - clientArea.bltString( 4, Surface::getFontHeight(), "Missing maps? Download them from netpanzer.info website.", Color::darkGray); - clientArea.bltString( 4, Surface::getFontHeight()+12, "Then unzip the content in your 'maps' folder.", Color::darkGray); - break; - - case 1 : - clientArea.bltString( 4, Surface::getFontHeight(), "You can download many flag packages from netpanzer.info.", Color::darkGray); - clientArea.bltString( 4, Surface::getFontHeight()+12, "Then copy/paste the flags you like in your 'flag' folder.", Color::darkGray); - clientArea.bltString( 4, Surface::getFontHeight()+24, "Or you can make your own flags!", Color::darkGray); - break; - - case 2 : clientArea.bltString( 4, Surface::getFontHeight(), "When in game: press Enter to chat with other players.", Color::darkGray); clientArea.bltString( 4, Surface::getFontHeight()+12, "Or press TAB key to check the game status.", Color::darkGray); break; - case 3 : + case 1 : clientArea.bltString( 4, Surface::getFontHeight(), "You can pick a server from the in-game Lobby.", Color::darkGray); clientArea.bltString( 4, Surface::getFontHeight()+12, "Or You can manually specify the IP address of the server.", Color::darkGray); break; - case 4 : + case 2 : clientArea.bltString( 4, Surface::getFontHeight(), "Check the Help section for a detailed list of commands.", Color::darkGray); clientArea.bltString( 4, Surface::getFontHeight()+12, "When in game you can access it through F1 key.", Color::darkGray); break; - case 5 : + case 3 : clientArea.bltString( 4, Surface::getFontHeight(), "By pressing Ctrl key + left mouse button you can shoot while moving.", Color::darkGray); clientArea.bltString( 4, Surface::getFontHeight()+12, "Always keep moving while shooting.", Color::darkGray); clientArea.bltString( 4, Surface::getFontHeight()+24, "That makes harder for others to hit your tanks!", Color::darkGray);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor