Let's talk plug-ins

Expand and mod your server.
User avatar
I_Died_Once
Special Forces
Special Forces
Posts: 635
Joined: Sun Nov 28, 2004 5:27 pm
Location: The Dark Side
Contact:

Post by I_Died_Once » Mon Aug 22, 2005 12:47 pm

I'm posting this here because of the ongoing conversation...

...but in the CVS of bzfs... When hosting rabbit hunt mode, no genocide flags make it into play. I thought it was true, but maybe I was missing something. I upped the number of geno flags, more and more, and nothing. I put 3000 geno flags alone, and it equated to no geno flags.

Is geno disallowed in rabbit hunt mode and I missed the documentation, or is this a bug? Or was this already discussed elsewhere and I am just retarded?
...This has been a recording.

User avatar
DTRemenak
General
General
Posts: 625
Joined: Thu Jan 16, 2003 4:54 am
Location: U.S.
Contact:

Post by DTRemenak » Mon Aug 22, 2005 1:00 pm

Documentation? What documentation? :)

Yeah, genocide is not allowed in rabbit hunt. There's only one person on the rabbit team, and the hunters are not actually a team, they're all rogues with teamkill enabled. Genocide would not work on them without RogueGenocide anyway.

User avatar
I_Died_Once
Special Forces
Special Forces
Posts: 635
Joined: Sun Nov 28, 2004 5:27 pm
Location: The Dark Side
Contact:

Post by I_Died_Once » Mon Aug 22, 2005 1:36 pm

I'd like a plugin that'll allow geno in rabbit hunt, an order of fixed RogueGenocide, large fries, and a Mountain Dew.

To go.

It can work like... give it the number of geno flags you want and it'll add them to the given flag rotation like -loadplugin /path/to/plugin.so,1000
for 1000 geno flags.

That'll give the rabbit more of an edge, and more of a reason for everyone to hunt the rabbit. (Get that $%&@)^! !!! )
...This has been a recording.

User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG » Mon Aug 22, 2005 2:30 pm

Since the flag is already disallowed in rabbit hunt, a plugin couldn't add it. However, you could screw up the game, and have another flag like IB or V act as genocide, that could be done with a plugin.

With plugins, you have to work with the flags already out on the field. The API can't add or remove them. (but it can reset them)

User avatar
I_Died_Once
Special Forces
Special Forces
Posts: 635
Joined: Sun Nov 28, 2004 5:27 pm
Location: The Dark Side
Contact:

Post by I_Died_Once » Mon Aug 22, 2005 9:41 pm

Another core dump - today's CVS, running the beta 4 racetoseven - someone has just won a match when this happened.

Code: Select all

Player A-Delusion [0] uread() 68.162.164.32:50876 len 47 from 68.162.164.32:50876 on 4
Segmentation fault
death@linux:~> gdb --core=/home/death/core
GNU gdb 6.2.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-suse-linux".
Core was generated by `./bzfs -conf redvsblue.conf'.
Program terminated with signal 11, Segmentation fault.
#0  0x403da7ca in ?? ()
(gdb) file /home/death/bzflag/bin/bzfs
warning: exec file is newer than core file.
Reading symbols from /home/death/bzflag/bin/bzfs...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) bt
#0  0x403da7ca in ?? ()
#1  0x402ebc54 in ?? ()
#2  0x4039c780 in ?? ()
#3  0x00000004 in ?? ()
#4  0x080d4fff in parseServerCommand (message=0x81c1ab0 "", t=5) at stl_tree.h:202
#5  0x080e91b6 in sendMessage (playerIndex=Variable "playerIndex" is not available.
) at bzfs.cxx:1076
#6  0x080effe5 in handleCommand (t=3, rawbuf=0x81be19c, udp=Variable "udp" is not available.
) at stl_tree.h:243
#7  0x080f5d0d in main (argc=136044888, argv=0x3) at basic_string.h:916
(gdb)   
...This has been a recording.

User avatar
I_Died_Once
Special Forces
Special Forces
Posts: 635
Joined: Sun Nov 28, 2004 5:27 pm
Location: The Dark Side
Contact:

Post by I_Died_Once » Tue Aug 23, 2005 1:32 am

Another core dump & bt

Code: Select all

Player A-Delusion [10] -> All: /match start
Segmentation fault
death@linux:~> gdb --core=/home/death/core
GNU gdb 6.2.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-suse-linux".
Core was generated by `./bzfs -conf redvsblue.conf'.
Program terminated with signal 11, Segmentation fault.
#0  0x403da7ca in ?? ()
(gdb) file /home/death/bzflag/bin/bzfs
warning: exec file is newer than core file.
Reading symbols from /home/death/bzflag/bin/bzfs...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) bt
#0  0x403da7ca in ?? ()
#1  0x402ebc54 in ?? ()
#2  0x4039c780 in ?? ()
#3  0x00000004 in ?? ()
#4  0x080d4fff in parseServerCommand (message=0x81c1ab0 "", t=5) at stl_tree.h:202
#5  0x080e91b6 in sendMessage (playerIndex=Variable "playerIndex" is not available.
) at bzfs.cxx:1076
#6  0x080effe5 in handleCommand (t=3, rawbuf=0x81be19c, udp=Variable "udp" is not available.
) at stl_tree.h:243
#7  0x080f5d0d in main (argc=136044888, argv=0x3) at basic_string.h:916
(gdb)  
...This has been a recording.

User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG » Tue Aug 23, 2005 1:39 am

What plug-ins were you running when that happened?

EDIT: Were you using the early Beta 4 I gave to some people or the beta 4 i posted on the board?

User avatar
TD-Linux
Sergeant
Sergeant
Posts: 724
Joined: Wed Apr 27, 2005 8:26 pm
Location: Mountain View, CA

Post by TD-Linux » Tue Aug 23, 2005 2:19 pm

DTRemenak wrote: Yeah, genocide is not allowed in rabbit hunt.
Odd... when I went to Hepcat a while ago when they were having rabbit hunt, I found a lot of Genos there. Was this anti-geno put in after 2.0.2? Why is it there? The map owner could just remove it. Would geno kill multiple rabbits, if the server supports it?

User avatar
I_Died_Once
Special Forces
Special Forces
Posts: 635
Joined: Sun Nov 28, 2004 5:27 pm
Location: The Dark Side
Contact:

Post by I_Died_Once » Tue Aug 23, 2005 8:35 pm

TD-Linux wrote:
DTRemenak wrote: Yeah, genocide is not allowed in rabbit hunt.
Odd... when I went to Hepcat a while ago when they were having rabbit hunt, I found a lot of Genos there. Was this anti-geno put in after 2.0.2? Why is it there? The map owner could just remove it. Would geno kill multiple rabbits, if the server supports it?
I don't know about all that, but I was thinking along the line of a rabbit with geno w/ the roguegeno plugin would make things a little more even.
...This has been a recording.

Post Reply