Welcome,
Guest
. Please
login
or
register
.
May 20, 2025, 10:34:05 AM
News:
tastyspleen.net discord server:
http://discord.tastyspleen.net
Home
Forum
Help
TinyPortal
Search
Calendar
Login
Register
tastyspleen::quake 2 community
»
Forum
»
Quake Related Topics
»
tastyspleen.net
»
Bang went boom
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Bang went boom (Read 1849 times)
peewee_RotA
Brobdingnagian Member
Posts: 4152
Hi, I'm from the gov'ment and I'm here to help you
Rated:
Bang went boom
«
on:
November 17, 2007, 03:27:55 AM »
The bang server died last night.
I can tell you exactly why:
Short story is that I picked up the power armor
Long story is that all of the ammo was replaced in the g_items.c file without leaving the original types. Now if an item listed in g_items doesn't have a spawn function, or if it that spawn function has been overridden then it causes no problems. However the FindItem and similar commands that are used to quickly pull information from the list established in g_items will cause unhandled exceptions when looking for items that do not exist. So basically instead of creating a host of new ammo types to account for all the new grenades, the programmer simply overwrote the pickup_name field of the existing ammo with the new grenade type. That means that the cells no longer have the original pickup name. Which means that when power armor is used (instant power ups is a default flag for deathmatch that causes a powerup to activate it's use function as soon as it is picked up) it runs a condition similar to:
if (other->client->ammo_index[ITEM_INDEX(finditem("cells))] > 0)
which then causes an unhandled exception and crashes the whole server.
Simple fix. I'll let you know if i can find and compile the source for you to fix the server with.
Logged
GOTO ROTAMODS (rocketgib)
GOTO ROTAMAPS (fireworks)
HappyFriar- q2server.fuzzylogicinc.com
Tune in to the
Tastycast!!!!
http://dna.zeliepa.net
peewee_RotA
Brobdingnagian Member
Posts: 4152
Hi, I'm from the gov'ment and I'm here to help you
Rated:
Re: Bang went boom
«
Reply #1 on:
November 17, 2007, 03:40:20 AM »
That's odd. version 1.3 available for downlowd here has already been fixed. (Once i realized R1CH made this one I knew it had to have been fixed a long time ago)
Logged
GOTO ROTAMODS (rocketgib)
GOTO ROTAMAPS (fireworks)
HappyFriar- q2server.fuzzylogicinc.com
Tune in to the
Tastycast!!!!
http://dna.zeliepa.net
[BTF] Reflex
Loquaciously Multiloquent Member
Posts: 5324
!
Rated:
Re: Bang went boom
«
Reply #2 on:
November 17, 2007, 07:38:04 AM »
Maybe you do need a 'Mods' thread
Logged
Sometimes I think it’s a sin when I feel like I’m winnin’ when I’m losin’ again
Print
Pages: [
1
]
Go Up
« previous
next »
tastyspleen::quake 2 community
»
Forum
»
Quake Related Topics
»
tastyspleen.net
»
Bang went boom
El Box de Shoutamente
Last 10 Shouts:
Yotematoi
May 17, 2025, 08:33:15 AM
Yo desde el año 2007 me enfermé de Q2, es incurable
Morir y revivir es costumbre, lástima q el QT estaba bueno
ImperiusDamian
May 12, 2025, 01:45:35 AM
Quake II is not 27 years old. I refuse to accept THAT much time has gone by.
|iR|Focalor
May 11, 2025, 02:33:39 PM
-Unh0ly-
May 03, 2025, 08:02:46 AM
198.179.6.200:30634
Yotematoi
May 02, 2025, 10:27:47 AM
Note for Player-4109 "Remember, the Guinness Book of Records does not include cowards who shot at someone by treachery."
-Unh0ly-
April 20, 2025, 09:52:16 AM
https://drive.google.com/file/d/1hKRIIKPk_G9TLPpY3B4ZIbVK_00Mbwfw/view?usp=sharing
|iR|Focalor
April 02, 2025, 02:47:07 AM
Yotematoi
February 14, 2025, 12:41:48 PM
|iR|Focalor
February 13, 2025, 07:31:24 AM
I was on DM this morning for the first time in a pretty long time. Seemed fine to me.
0rbisson
February 13, 2025, 04:54:21 AM
DM server is fucked. 2 point blank rockets from spawn and lava damage and player survived? WTF?" Also someone has fucked with the spawn points, every single time no matter how big the map you spawn right in front of the person who killed you last
Show 50 latest
User
Welcome,
Guest
. Please
login
or
register
.
May 20, 2025, 10:34:05 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced search