Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Where did all the ammo come from ??

#1
After setup a 0.6.0 Minstagib server I.ve got a strange problem Huh

Everytime I.ve pick up ammo its always 30+

I.ve tried it with default as well with config entries:
...
g_minstagib_ammo_drop 5
g_minstagib_ammo_start 12

but nothing works - always pick up 30

What is wrong - anybody a idea?

Su
Reply

#2
Try this:
g_use_ammunition 0
g_weapon_stay 2

Btw, not sure, but looks like g_weapon_stay 2 is worthless =)
g_use_ammunition 0 works fine at me
Reply

#3
yep i had the same. works also good for me !

g_weapon_stay is totally neither on minstagib :-)
[Image: a_ones.de-logo.png]
Gameservers by a-ones.de | [email=gameservers@a-ones.de]E-Mail[/email] | Forum | Twitter | Facebook
Reply

#4
dunno whats wrong but still the same ... :/
g_use_ammunition 0 dont work ....

pickup ammo still 10+
pickup ammo from dropped weapon 35+

but I configured it to pickup ammo / pickup ammo from dropped weapon 5+ ... Confusedcratch:

hm - no clue what to do ....

Su
Reply

#5
g_minstagib 1
g_use_ammunition 0
g_powerups 1

How its at my server.cfg... working as well

PS Which server version you run? 0.6?
Reply

#6
server version is 0.6.0
settings:
g_minstagib_ammo_drop 5

..but the pickup is always 10 for ammo / 35 for dropped weapon

g_use_ammunition 0 -> no effect

damnit - Player should be pickup only 5 ammo everytime .... :/

Su
Reply

#7
(03-14-2012, 04:28 AM)-maniac|Su- Wrote: server version is 0.6.0
settings:
g_minstagib_ammo_drop 5

..but the pickup is always 10 for ammo / 35 for dropped weapon

g_use_ammunition 0 -> no effect

damnit - Player should be pickup only 5 ammo everytime .... :/

Su

Try to delete g_minstagib_ammo_drop 5 and see, if g_use_ammunition 0 works now
Reply

#8
aha - match need restart ...

but it dosn.t work like expected ... :/

g_minstagib_ammo_drop 5 --- dont work ...
the pickup is always 10 for ammo / 35 for dropped weapon

after delete g_minstagib_ammo_drop 5 and set:
g_use_ammunition 0
the pickup is always 10 for ammo / 0 (no ammo) for dropped weapon

Player should be pickup 5 ammo everytime - hmm where is my error ???

Su
Reply

#9
can you post here whole config? surely, if it possible =)
Reply

#10
Everything works alright here. How do you set these settings on your server if I may ask?

Vargos: ammo_drop won't affect use_ammunition.
Reply

#11
Code:
// A setting needs to be surrounded with " if it contains special
// characters like space, semicolon (seperates commands) or starts
// with // (begins a comment for the rest of the line or next
// semicolon).  While just "" means 'no/empty setting'.

/////////////////////////////////////////////////////////////////////
// Everything has some sensible defaults so you do NOT really need to
// change anything.  But here are some settings you SHOULD change to
// make it 'YOUR' server.  IF so remove the // from the line start and
// change them to your liking.

sv_public 1    // 0 if the server should not be on the public servers list
sv_status_privacy 0// 1 hides IP addresses from "status" replies shown to clients, 0 shows them. Enables players to identify wellknown punks on your server OR is a thread to anonymity.. depending on your point of view :)
hostname "(ProphetsClanServer) -minsta|> DM & Duell <|hook- hosted by Su [$g_xonoticversion]"    // this name will appear on the server list (the $g_xonoticversion gets replaced with the current version)
sv_motd "(Prophets) - Providing eternal peace, instantly.\n\n\n^2visit: prophets.aforumfree.com \n\n ----- \n\n ^7votable: ^1skinred ^7- ^2skingreen ^7- ^xC70skinorange^7 - ^4dm^7 - ^6duell\n\n^7Vote for Powerups: ^2pwr_on ^7- ^x777pwr_off  \n\n^7Common Votes: ^2restart fraglimit nextmap gotomap endmatch \n\n-----\n\n^7[^4dm^7] --- ^x50C12 Slots - Max. 8 Players & 4 Spectators\n\n^7[^6duell^7] -- ^x50C12 Slots - Max. 2 Players & 10 Spectators"    // this message (unless "") is displayed to players on connect
maxplayers 12    // number of players allowed on the server
g_maxplayers 2
port 26005    // the port used by the server
set sv_autoscreenshot "1"

//log_file "server.log"    // server console output will also be copied to this file. This: "${serverconfig}.log" uses variable substitution to make the logfile have the same name as your config file with .log appended which is useful if you run several servers
//g_start_delay 15    // delay before the game starts to let players join the server first

// List of maps to play on the server.  Set to "" to autodetect (which would enumerate ALL maps.  Maps that don't support the current game mode will be skipped, so you don't need to remove them here.
g_maplist "afterslime aggressor aqueous azalea darkzone downer_final drain evilspace final-rage Red red-planet runningman stormkeep warfare xoylent"//"afterslime dance g-23 glowplant leave_em_behind newtonian-nightmare nexballarena red-planet runningman space-elevator stormkeep techassault xoylent"
g_maplist_shuffle 1    // 0 always selects the next map out of g_maplist (but then better set g_maplist_votable 0 below to prevent repetitive votes), 1 will select random maps each time
g_maplist_mostrecent_count 3    // number of maps that have to be played before a map can be repeated

// LIMITS: how long a match will last before the next map starts (-1 means use the map default, 0 = unlimited, please note that the variables fraglimit/timelimit can NOT be globally used for this but only DURING a match is being played)
timelimit_override 15    // global timelimit for all maps and gametypes
fraglimit_override 30    // global frag/point limit for all maps and gametypes
//g_ctf_capture_limit -1    // frag/capture limit for CTF
//capturelimit_override -1    // capture limit for CTF
//g_domination_point_limit -1    // frag/point limit for DOM
//g_runematch_point_limit -1    // frag/point limit for RUNE
//g_keyhunt_point_limit -1    // frag/point limit for KH
//g_lms_lives_override -1    // lives for LMS
//g_nexball_goallimit -1    // goals for NEXBALL

//g_ctf_win_mode 0    // CTF win mode: 0 = caps only, 1 = caps + points as tie breaker, 2 = points only
//g_ctf_ignore_frags 1    // set to 1 to ignore kills except for FC kills

// TEAMS for key hunt (change this to 2, 3, 4 to set a fixed keyhunt style)
//g_keyhunt_teams_override -1    // teams for KH

// GAME MODE: what type of server do you want to host?
// possible values: dm (deathmatch), tdm (team deathmatch), dom (domination), ctf (ctf), rune (runematch), lms (last man standing), arena (arena), kh (keyhunt), as (assault), ons (onslaught), race (race), nexball (nexball)
gametype dm




/////////////////////////////////////////////////////////////////////
// Some settings you MIGHT want to change.  Again IF so remove the //
// from the line start and change them to your liking.

//don't forget to set rcon_secure 0 locally too...
rcon_secure 0
rcon_password "XXXXXXX"
    
//net_address 0.0.0.0    // ONLY change this if you have problems with your server. Specifies the network interface used by the engine.  Set it you one of you internal IPs

//rcon_password ""    // you can use rcon if this password is set.  you need to set the same password in your client if you want to issue rcon commands
//rcon_restricted_password ""    // put here the password for a "restricted" rcon user (see below)

//bot_number 0    // number of bots to add
minplayers 2    // add bots if less then that number of players playing. MAKE SURE ITS LESS THEN maxplayers or people will get blocked by bots!
skill 99    // the bots skill level
g_maxplayers 2 // above this player count, only allow spectators
bot_prefix " ^1 [^xC70BOT^1] ^2 "    // prepend this to all botnames
bot_suffix " ^1 .^x50CProphets^1´ "    // append this to all botnames
g_maplist_check_waypoints 0    // set this to 1 to skip maps without waypoints if there aren't enough players to play without bots

g_maplist_votable 6    // number of maps to vote between.  set to 0 to disable the map voting screen (please enable g_maplist_shuffle above when this is enabled, or votes will be repetitive)
g_maplist_votable_suggestions 2    // number of suggestions to accept using the suggestmap command
//g_maplist_votable_abstain 0    // when 1, people get a "don't care" selection in the vote screen
//g_maplist_votable_nodetail 1    // when 1, people can't see how many voted for what (to thwart abusive "influential" first votes)

//VDO
set "sv_vote_master_password" "XXXXXXX"
// players can vote for these commands or use them if they are masters. You can also add 'g_grappling_hook' for hook voting, and 'sv_fbskin_green sv_fbskin_red sv_fbskin_orange sv_fbskin_off' for fbskin voting.

sv_vote_commands "pwr_off pwr_on skinred skingreen skinorange skinoff restart fraglimit nextmap gotomap endmatch extendmatchtime ready kick dm duell"
//possible commands addbot removebot pwr_invis pwr_speed pwr_health pwr_off pwr_on skinred skingreen //skinorange skinoff restart fraglimit gotomap endmatch reducematchtime extendmatchtime allready //ready kick cointoss dm duell

sv_vote_master_commands "movetoteam_red movetoteam_blue movetoteam_yellow movetoteam_pink kickban g_spawnshieldtime" // add commands masters can use if logged in or elected. You may want to put 'kickban' here, so masters can keep out punks.
                                                                                           // It may be good to
also put "sv_status_privacy 0" then...
//rcon_restricted_commands "restart fraglimit chmap gotomap endmatch reducematchtime extendmatchtime
//allready kick kickban \"sv_cmd bans\" \"sv_cmd unban\" status \"sv_cmd teamstatus\" movetoteam_auto movetoteam_red movetoteam_blue movetoteam_yellow movetoteam_pink" // commands for the (stronger) rcon restricted

sv_vote_call 1  // 0 will disable the normal voting
sv_vote_master 1 // 0 will disable voting to become master, good if you prefer to use the master password instead
//sv_vote_majority_factor 0.5   // 0.666 will require a 2/3 majority instead of a regular 1/2 one
//sv_vote_simple_majority_factor 0      // 0.666 will win votes by a 2/3 majority of the VOTERS (not the players!)
//note: to JUST support simple majorities, set these two factors equal
sv_vote_timeout 45
sv_vote_wait 30


//sv_maxidle 0    // idle time in seconds after which players will get kicked

//sv_taunt 1    // 0 to disallow taunts
//sv_autotaunt 1    // 0 to disallow autotaunts

alias skinred "sv_fbskin_red 1"
alias skingreen "sv_fbskin_green 1"
alias skinorange "sv_fbskin_orange 1"
//alias skinoff "sv_fbskin_off 1"
//alias pwr_invis "g_powerup_shield 1"
//alias pwr_speed "g_powerup_strength 1"
//alias pwr_health "g_powerup_superhealth 1"
alias pwr_off "g_powerups 0"
alias pwr_on "g_powerups 1"
alias dm "g_maxplayers 8; set sv_autoscreenshot "0""
alias duell "g_maxplayers 2; set sv_autoscreenshot "1""

/////////////////////////////////////////////////////////////////////
// Settings you MIGHT want to change for PRIVACY reasons.
//
// The settings here may impact your or your players' privacy and serve to
// optimize the game for further releases.
//
// Change them, or comment them out to turn them off.

// This line sends the following data to our servers:
// - Date and time
// - Your server IP address
// - Your server ID hash, which is a fingerprint of the public key of your
//   server and does not impact security of your private key (use "crypto_keys"
//   on the console to show it)
// - Your server name ("hostname")
// - Current game type
// - Current map
// - Balance settings you have modified from defaults (only those that make
//   your server "impure")
// - For each weapon pairing (A, B), separately for player-player, player-bot,
//   bot-player, bot-bot pairings:
//   - Number of hits of players/bots holding A against players/bots holding B
//   - Number of frags of players/bots holding A against players/bots holding B
//   - Total damage of players/bots holding A against players/bots holding B
//
// We use this data to:
// - Optimize the game balance for future releases
// - Identify problems in the bot AI and improving it
// - Find settings that make servers "impure" that should not, so we can
//   whitelist them in future releases
//
// We will or might publish:
// - Global weapon pairing statistics for players vs players, or bots vs bots,
//   or any vs any, on a selection of servers
// - Per-gametype and per-map weapon pairing statistics players vs players, or
//   bots vs bots, or any vs any, on a selection of servers
// - Lists of commonly changed cvars, together with counts on how often they
//   are modified
//
// No information about the players on the server is sent, so as a server admin
// you need no permission of your players for this.
//
// No information about your server will be published - all published data sets
// will include data from multiple servers.
//  
sv_weaponstats_file http://www.xonotic.org/weaponbalance/

// **********************
// * LOGGING + CHATTING *
// **********************

sv_eventlog 1
timestamps 1
timeformat [%Y%M%D_%H%M:%S]
log_file ProphetsServer1on1.log
g_chat_flood_burst 5
g_chat_flood_burst_team 5
g_chat_flood_spl 0.5
g_chat_flood_spl_team 0.5

/////////////////////////////////////////////////////////////////////
// Some more advanced settings.  You probably are not interested in changing them at all.

sys_ticrate 0.0333333    // change to 0.0166667 if your server can take the abuse, can make the game a bit more fluent

sv_ready_restart 1    // 1 to allow players to restart the map when all of them press the ready button
//sv_ready_restart_after_countdown 0    // if set to 1 the players and map items are reset after the countdown ended, otherwise they're reset already at the beginning of the countdown
//sv_ready_restart_repeatable 0    "allows the players to restart the game as often as needed
sv_autoscreenshot 1    // 1 will force a screenshot for all clients when the map ends.  Useful for competitions or the ladder.

g_antilag 2    // 0 to disable the antilag feature, 1 and 2 use different methods

sv_maxrate 1000000    // limits client connections to this rate in bytes/seconds

// see Docs/mapdownload.txt for more info
sv_curl_serverpackages "prophets_growlernex_v2b.pk3 prophets_growlernex_v2b.txt"
sv_curl_defaulturl http://nexius.jarf.de/maps/xono
//sv_curl_defaulturl http://www.xonotic.com/contentdownload/getmap.php?file=    //fallback download URL

sv_defaultcharacter 1    // 1 will force a specific model for all players
sv_defaultplayermodel models/player/megaerebus.iqm    // this model will be used
//sv_defaultplayercolors 51 // this skin number will be forced for all players
//sv_defaultplayercolors ""    // you can even force player colors here (16*shirt+pants)
g_fullbrightplayers 1    // 1 to make players fullbright
g_fullbrightitems 1    // 1 to make items fullbright

//g_balance_teams 1    // 0 will show players the team selection menu after joining instead of automaticly putting them on the smaller team
//g_balance_teams_force 0    // 1 to automaticly balance teams even during a game

g_ban_sync_uri "http://94.23.21.40/~xonotic/bans/" // sync bans using this ban list provider (disabled by default, uncomment this line to enable)
//g_ban_sync_trusted_servers "" // accept bans that were initially set on the server IPs listed here (if not set, your bans are just sent to the sync URIs, but no bans are retrieved from there)

g_spawnshieldtime 1.0    // time for which players are protected after spawn
sv_adminnick "(Prophets) Nexuiz 2.5.2 server"


/////////////////////////////////////////////////////////////////////
// "Obvious" mutators that are allowed on a "pure" server
g_minstagib 1    // set to 1 for MinstaGib
//g_weapon_stay 0 // set to 1, 2 or 3 for different weapon-stay modes (1 = traditional, 2 = no ammo but allow throwing, 3 = ghost weapon stay)
g_powerups 0 // set to 0 to turn off strength/quad and shield/invincible, and set to 1 to turn them on even in game modes that normally have them turned off




/////////////////////////////////////////////////////////////////////
// WARNING: anything below this line makes your server "impure"!

// enable some mutators you'd like
//g_cloaked 0    // set to 1 for transparent hard to see players
g_footsteps 0
g_grappling_hook 1    // set to 1 to enable the hook (allowed on "pure" server in MinstaGib)
//g_jetpack 0    // set to 1 to enable the jetpack (allowed on "pure" server in MinstaGib)
//g_laserguided_missile 0    // set to 1 for laser guided missiles in the RL
//g_midair 0    // set to 1 to make only midair damage count
//g_vampire 0    // set to 1 to give players the damage they cause as health
//sv_gravity 800    // for low gravity, set this somewhere between 50 and 400
g_balance_minstanex_refire 0.8

// How much ammo?
//g_minstagib_ammo_drop 5
g_minstagib_ammo_start 12
g_use_ammunition 1
//g_balance_minstanex_ammo 5

// More NML MODIFICATIONS
//sv_airaccelerate 4.0 // default 5.5
//sv_accelerate 15 // default 8.0
//sv_maxairspeed 240 // default 220
//sv_maxspeed 450 //
//g_minstagib_speed_moverate 1.25
//g_minstagib_speed_jumpheight 1.8
//sv_jumpspeedcap_max 5
g_forced_respawn 1
g_respawn_delay 0.8
g_warmup 0
//g_warmup_limit 30
//g_balance_grapplehook_speed_pull 2500
g_playerstats_uri "http://stats.xonotic.org/stats/submit"

// select AT MOST one of these arena mutators (if you didn't select g_minstagib)
//g_nix is "0" ["0"] No Items Xonotic - instead of pickup items, everyone plays with the same weapon. After some time, a countdown will start, after which everyone will switch to another weapon, and so on
//g_nix_with_healtharmor is "0" ["0"] when 1, health and armor still show up in NIX
//g_nix_with_laser is "0" ["0"] always carry the laser as an additional weapon in NIX
//g_nix_with_powerups is "0" ["0"] when 1, powerups still show up in NIX

Thx 4 all

Su
Reply

#12
Is there exactly a point to pickup 5 ammo every time? if not -- g_minstagib_ammo_start 999, for example
Reply

#13
Hehe, you didn't forget to cut the rcon password Wink

You set g_use_ammunition to 1 there, that should be 0. I really don't see why it wouldn't work if it's set to 0... Does rcon confirm that the cvars are set correctly?
Reply

#14
Yes, Bougo completelly right. But notice then you'll have infinite ammo
Reply

#15
hmm - the server is a duell server what means overmuch ammo is kinda senseless ..
when you playing in a 1on1 match it.s recommended to think first than shoot ...
imho - 5x ammo for pickup a item or pickup a weapon from a killed player should be enough - on my nexuiz server (2.5.2) it works pretty well ....

but I.ve no clue why it dont work on Xonotic

Su
Reply

#16
Oh, sorry. I thought you wanted infinite ammo, my bad.

Okay, so can you tell me exactly how much you pick up with the cell pickup? I seem to get twice the value from the cvar, not 30 as you say. There definitely is a bug, but I need you to be accurate to confirm that we're talking about the same one.
Reply

#17
Update: okay, I confirm that bug, it's pretty silly. Here's how you can work around it meanwhile: set both g_minstagib_ammo_drop and g_pickup_cells_weapon to half the pickup value that you want. So that's 2.5 (non-integer values work fine).

g_minstagib_ammo_drop 2.5
g_pickup_cells_weapon 2.5
Reply

#18
yay - thank you thank you thank you ...

now it works perfectly Big Grin

Mr. Bougo you saved my life (and my mental health - thought something going wrong in my head) Rolleyes

GreetZ Su
Reply

#19
Hurray!

Thank you for uncovering that bug. It's been noticed before but it didn't get much attention...
Reply

#20
after some updates of xonotic version on git server all works fine now and I.ve to set the config to (my) nomal values:

g_minstagib_ammo_drop 5
g_pickup_cells_weapon 5


Thanks for all - thread should be mark as [SOLVED] Heart

GreetZ Su

PS. upsy daisy - I can mark it by my own =)
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  all are welcome at hightime deathmatch lister 52 38,338 07-06-2022, 05:13 PM
Last Post: lister
  Mutator all weapon saddesad 1 1,990 11-27-2020, 11:45 AM
Last Post: BuddyFriendGuy
  Variables for max health + all weapons Duckman 2 3,246 05-21-2020, 08:14 AM
Last Post: Duckman
  [NEED HELP] g_maplist for all voteable gametypes savale 3 3,393 03-31-2020, 02:26 PM
Last Post: savale
  [SOLVED] Disable Freeze Tag All-Weapons Spawn / Hooney Duel Antares* 3 3,339 04-12-2018, 07:45 PM
Last Post: Antares*
  new irc for all duel servers Ch4mp 3 5,246 08-07-2016, 03:13 AM
Last Post: end user
  Setting up infinite ammo in instagib? DECtape 4 7,662 11-03-2015, 09:44 PM
Last Post: lister
  all-inclusive server-side demo BuddyFriendGuy 8 8,613 05-16-2015, 01:37 AM
Last Post: BuddyFriendGuy
  When using ./all run dedicated multiple instance different cfg file end user 1 3,285 04-29-2013, 01:19 AM
Last Post: Mr. Bougo

Forum Jump:


Users browsing this thread:
9 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-