Bone to pick with Shared Resources
-
- Posts: 25
- Joined: Sat Jun 16, 2012 4:31 am
- Location: Texas
- Contact:
Bone to pick with Shared Resources
I'm trying to host Ultimate DOOM server with Shared Resources. The first map plays ok, but when I get to E1M2, a little ways in, it takes all my ammo, and all the counters say 0/0. What the hell is going on?
HA! Take that, Moon. Made of Cheese, my ass!
RE: Bone to pick with Shared Resources
No love for the thread :(
I just played through the map with no issues whatsoever. Whereabouts is it taking your ammo, did you do anything at the time, what other wads are on the server (if any) and are you playing with other players/bots?
I just played through the map with no issues whatsoever. Whereabouts is it taking your ammo, did you do anything at the time, what other wads are on the server (if any) and are you playing with other players/bots?
-
- Posts: 25
- Joined: Sat Jun 16, 2012 4:31 am
- Location: Texas
- Contact:
RE: Bone to pick with Shared Resources
Synert wrote: No love for the thread :(
I just played through the map with no issues whatsoever. Whereabouts is it taking your ammo, did you do anything at the time, what other wads are on the server (if any) and are you playing with other players/bots?
I was playing normally, that was the only PWad, and I was playing with one other person, and he said he lost his ammo too.
HA! Take that, Moon. Made of Cheese, my ass!
RE: Bone to pick with Shared Resources
When did it happen? Did one of you activate something or pick something up at the time?
-
- Posts: 25
- Joined: Sat Jun 16, 2012 4:31 am
- Location: Texas
- Contact:
RE: Bone to pick with Shared Resources
Synert wrote: When did it happen? Did one of you activate something or pick something up at the time?
Well, when I was playing by myself, I did happen to lose my ammo AFTER I picked up a backpack...
HA! Take that, Moon. Made of Cheese, my ass!
-
- Frequent Poster Miles card holder
- Posts: 901
- Joined: Mon Jun 04, 2012 5:07 am
RE: Bone to pick with Shared Resources
that would suggest that shared_bpakmult was 0, which would get the effect you just showed
mind posting the values of all cvars starting with "shared_"?
mind posting the values of all cvars starting with "shared_"?
-
- Posts: 25
- Joined: Sat Jun 16, 2012 4:31 am
- Location: Texas
- Contact:
RE: Bone to pick with Shared Resources
Ijon Tichy wrote: that would suggest that shared_bpakmult was 0, which would get the effect you just showed
mind posting the values of all cvars starting with "shared_"?
All I did was start up a server. I didn't really configure any of the Shared_ cvars, so they would all be at their default values, I assume.
Last edited by Lion Heart on Mon Jul 30, 2012 6:38 pm, edited 1 time in total.
HA! Take that, Moon. Made of Cheese, my ass!
-
- Frequent Poster Miles card holder
- Posts: 901
- Joined: Mon Jun 04, 2012 5:07 am
RE: Bone to pick with Shared Resources
well, then shared_bpakmult would be 2, and this wouldn't have occured
basically post it anyawy, it might not have set (which is a different bug but w/e)
here's the code that scales the max ammo when you have a backpack, btw
basically post it anyawy, it might not have set (which is a different bug but w/e)
here's the code that scales the max ammo when you have a backpack, btw
Code: Select all
function int adjustBackpack(int amount, int team)
{
int bI = GetCVar("shared_bpakmult");
int bF = GetCVar("shared_bpakmult_frac");
int b = (bI << 16) + ((bF << 16) / 100);
int bMult = ( (b - 1.0) * backpack[team]) + 1.0;
return (amount * bMult) >> 16;
}
Last edited by Ijon Tichy on Tue Jul 31, 2012 5:31 am, edited 1 time in total.
-
- Posts: 25
- Joined: Sat Jun 16, 2012 4:31 am
- Location: Texas
- Contact:
RE: Bone to pick with Shared Resources
Ijon Tichy wrote: well, then shared_bpakmult would be 2, and this wouldn't have occured
basically post it anyawy, it might not have set (which is a different bug but w/e)
here's the code that scales the max ammo when you have a backpack, btw
Code: Select all
function int adjustBackpack(int amount, int team) { int bI = GetCVar("shared_bpakmult"); int bF = GetCVar("shared_bpakmult_frac"); int b = (bI << 16) + ((bF << 16) / 100); int bMult = ( (b - 1.0) * backpack[team]) + 1.0; return (amount * bMult) >> 16; }
Ok, how do I change the value of the backpack cvar, is what i'm looking for. Because shared_bpakmult 2 doesn't work.
HA! Take that, Moon. Made of Cheese, my ass!
-
- Frequent Poster Miles card holder
- Posts: 901
- Joined: Mon Jun 04, 2012 5:07 am
RE: Bone to pick with Shared Resources
if you mean it's saying something about no such variable "shared_bpakmult", then I would do "unset shared_limitsexist" and restart the map - this will cause shared resources to assume that no variables exist and reassign all of them
otherwise i have no clue
otherwise i have no clue
Last edited by Ijon Tichy on Wed Aug 01, 2012 4:15 am, edited 1 time in total.