Author Topic: Looking for a Q2 engine...  (Read 7558 times)

Offline no_life

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
  • Rated:
Re: Looking for a Q2 engine...
« Reply #15 on: December 06, 2010, 09:14:00 AM »
Interesting thoughts. Using xatrix and CTF, etc together would probably require more than just sharing pak data. Since they are run from separate compiled binary files (example: gamex86.dll in windows) they would probably have to be integrated directly with the source code of both mods. Maybe editing the game to load multiple mods could be possible, but it sounds like it would be a mess. Doubt it would work.

As far as the mp3 music goes, there are various ways it could be setup. I know it's been done before client side. I recall even seeing code tutorials to implement mp3 support directly into the client.
I'm sure it could be done so that the mp3 music is linked directly to the actual map itself rather than just the client. It would be a little more complicated probably. Some server side modification may be required, to run a map with mp3 sound. Modified clients would probably be needed as well, for players to use the feature. A map editor may need to even be modified to compile the map/support the sound being used with it. A more practical way may just be to make it client side, perhaps so the map sounds/music could be customized per user, without server changes being involved.

Always thought about making a better in game server browsing system as well. I made a few of my own small changes a while back, using the same system that server browsing tools use, yet able to use in game. Sending a status packet to a server will return the information about a specific server. I only had it setup with the packet command. The data is pretty raw as well, in the form of a bunch of text spammed in the console. There is definitely possibility there for improvement. I'd like to work more on that some day. As my old code is now, I can retrieve server stats within game with the push of a button, but it's not neat by any means. I only have it setup to do like 3 servers currently too. They could all be added in time. I plan on working on it much more. Here's an example of the raw data - a starting point. This is from an alias command in the client to check the DM, Railz, and Vanilla server status.

74.54.186.226:27916: print
\Q2Admin\1.17.44
-tsmod-2\mapname\q2dm2\anticheat\1\sv_noobquad\0\maxspectators\4\gamedate\Aug
 2 2009\gamename\baseq2\sv_handicap\1\INFO2\NO BOTS, HACKS, CHEATS
PLEASE\INFO1\All Skill Levels Welco
me\cheats\0\timelimit\15\fraglimit\30\dmflags\16404\deathmatch\1\version\R1Q2
b7864 i386 Oct  1 2008 Linux\hostname\tastyspleen.net::dm\maxclients\16
4 36 "KanELO"
0 9 "WallFly[BZZZ]"
4 238 "cazzone italian"
6 154 "Roadster"
7 154 "No.2"
4 186 "Presiden Chavez"
74.54.186.226:27911: print
\Q2
Admin\1.17.44-tsmod-2\mapname\in2obl\anticheat\1\maxspectators\4\gamedate\Oct
 7 2006\gamename\baseq2\INFO2\NO BOTS, HACKS, CHEATS PLEASE\INFO1\All Skill
Levels Welco
me\cheats\0\timelimit\20\fraglimit\40\dmflags\26687\deathmatch\1\version\R1Q2
b7864 i386 Oct  1 2008
Linux\gamedir\rails\hostname\tastyspleen.net::railz\game\rails\maxclients\16
0 2 "WallFly[BZZZ]"
0 179 "prot"
0 65 "-621-RoadRunner"
74.54.186.226:27912: print
\Q2Admin\1.17.44-tsmod-2\mapname\mine3\anticheat\1\sv_noobquad\0\gamedate\Aug
 2 2009\gamename\baseq2\maxspectators\8\sv_handicap\1\INFO2\NO BOTS, HACKS,
CHEATS PLEASE\INFO1\All Skill Levels Welco
me\cheats\0\timelimit\15\fraglimit\30\dmflags\16406\deathmatch\1\version\R1Q2
b7864 i386 Oct  1 2008 Linux\hostname\tastyspleen.net::vanilla\maxclients\32
0 3 "WallFly[BZZZ]"
3 8 "Scrotumus-cru"
1 66 "*-=Skyhawk=-*"
]condump statuspacket
Dumped console text to ./baseq2/statuspacket.txt.

Now this data could be collected, for each server and compiled into some sort of neat format or in game server browsing tool. Like I said, it's messy, but it's something to start from. I'm currently thinking of ways to implement it.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
gg's

Offline The Happy Friar

  • Opulent Member
  • *
  • Posts: 2089
    • View Profile
    • Fuzzy Logic Inc
  • Rated:
Re: Looking for a Q2 engine...
« Reply #16 on: December 06, 2010, 10:41:16 AM »
I tested & berserker isn't compatible with local old Q2 mods but it can connect to r1q2 dedicated servers running old mods (IE the Q2 SDK).
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
q2server.fuzzylogicinc.com
d3server.fuzzylogicinc.com
l33t hacz over yonder.  ;) :)

Offline SquiSHeR

  • Full Member
  • ***
  • Posts: 127
  • test
    • View Profile
  • Rated:
Re: Looking for a Q2 engine...
« Reply #17 on: December 06, 2010, 12:19:37 PM »
I tested & berserker isn't compatible with local old Q2 mods but it can connect to r1q2 dedicated servers running old mods (IE the Q2 SDK).
So it can't act as a server for non-berserker clients, but can be a client for old servers instead. I wonder if any of the better quakers from TS community use berserker. But probably it doesn't even support Anti-Cheat? But the big plus is, its under active development (other than other engine mods).


Now this data could be collected, for each server and compiled into some sort of neat format or in game server browsing tool. Like I said, it's messy, but it's something to start from. I'm currently thinking of ways to implement it.
If you change something, maybe it would be a good idea not to built on a clean Quake2 3.21 code base, but rather try to add it to some of the more common clients like r1q2, egl or q2pro? This way many could benefit from it. I don't know if its possible to contribute to those projects, though.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline no_life

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
  • Rated:
Re: Looking for a Q2 engine...
« Reply #18 on: December 06, 2010, 02:41:24 PM »
Anything that has an up to date open source code release, available to the public can be worked on. I always just start on the 3.21 source because I already know where a lot of the important stuff is. Wouldn't be too hard to move the code over to another engine though probably.

I had an issue with one custom engine compiling or something I think. This was ages ago though. I was on this forum near the beginning of it I think. I found a thread that's like 6 yrs old where I was talking about code, lol:
http://tastyspleen.net/quake/forums/index.php?topic=163.msg1949#msg1949

I did take a long break from everything for a while.. starting to refresh my memory with everything.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
gg's

Offline VaeVictis

  • i was -1 because you fucking suck
  • Brobdingnagian Member
  • *
  • Posts: 4498
    • View Profile
  • Rated:
Re: Looking for a Q2 engine...
« Reply #19 on: December 06, 2010, 04:09:09 PM »
an ingame server browser for q2 would be good to allow you to change the server list referenced :) that way if one goes down you can type in a new one and be up and running
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline The Happy Friar

  • Opulent Member
  • *
  • Posts: 2089
    • View Profile
    • Fuzzy Logic Inc
  • Rated:
Re: Looking for a Q2 engine...
« Reply #20 on: December 06, 2010, 06:24:44 PM »
So it can't act as a server for non-berserker clients, but can be a client for old servers instead. I wonder if any of the better quakers from TS community use berserker. But probably it doesn't even support Anti-Cheat? But the big plus is, its under active development (other than other engine mods).

I didn't try that, but the programmer suggests using something else for a dedicated server.  I just tried loading up a Q2 mod from my Q2 folder & berserker would switch the game & then go to desktop.  But, from what Paril told me about CleanCode, as long as the dll is compatible with the engine it should work.  Both CleanCode & Berserker are C++ vs C.

Also, Berserker has the entire engine in "main.cpp" & all the game (mod) code in "game.cpp".  It's all there but one file.  Diving me nuts.  :D
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
q2server.fuzzylogicinc.com
d3server.fuzzylogicinc.com
l33t hacz over yonder.  ;) :)

Offline SquiSHeR

  • Full Member
  • ***
  • Posts: 127
  • test
    • View Profile
  • Rated:
Re: Looking for a Q2 engine...
« Reply #21 on: December 07, 2010, 01:27:17 AM »
But, from what Paril told me about CleanCode, as long as the dll is compatible with the engine it should work.  Both CleanCode & Berserker are C++ vs C.

I heared about CleanCode. But why do you mention it? Did you try Berserker with CleanCode game.dll? Is CleanCode released at all?
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline The Happy Friar

  • Opulent Member
  • *
  • Posts: 2089
    • View Profile
    • Fuzzy Logic Inc
  • Rated:
Re: Looking for a Q2 engine...
« Reply #22 on: December 07, 2010, 03:41:07 AM »
Cleancode is released.  I mentioned it because it's a game.dll revamp that changes the languague & structure of the game.dll code but still works with stock Q2.  So I'd guess that the Q2 engine could run anything labeled gamex86.dll as long as it was programmed correctly.

I'll do more testing with Berserker & see if it was that one mod or it was a fluke.

I did find that if you use the "quit" console command the engine always crashes, if you use the quit menu command it doesn't.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
q2server.fuzzylogicinc.com
d3server.fuzzylogicinc.com
l33t hacz over yonder.  ;) :)

Offline VaeVictis

  • i was -1 because you fucking suck
  • Brobdingnagian Member
  • *
  • Posts: 4498
    • View Profile
  • Rated:
Re: Looking for a Q2 engine...
« Reply #23 on: December 07, 2010, 03:18:59 PM »
i believe cleancode was the engine rewritten in c++ with a lot of the bad or confusing algorithms sured up making it theoretically a faster game dll

paril is a pretty good programmer, just use some google-fu to find cleancode :) i believe it was on some google site that you could download the code from
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline The Happy Friar

  • Opulent Member
  • *
  • Posts: 2089
    • View Profile
    • Fuzzy Logic Inc
  • Rated:
Re: Looking for a Q2 engine...
« Reply #24 on: December 07, 2010, 06:45:07 PM »
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
q2server.fuzzylogicinc.com
d3server.fuzzylogicinc.com
l33t hacz over yonder.  ;) :)

Offline no_life

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
  • Rated:
Re: Looking for a Q2 engine...
« Reply #25 on: December 12, 2010, 09:36:34 AM »
Worked a little bit on the in game server browsing. Didn't go into anything real advanced yet, but I created this thing which has been pretty useful. Displays real time info for a few of my fav servers. Map name, number of players. Autoupdates itself every 5 seconds.

On screen in game server stats, FTW.



Monitor servers while playing.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
gg's

Offline no_life

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
  • Rated:
Re: Looking for a Q2 engine...
« Reply #26 on: December 12, 2010, 09:42:32 AM »
Larger lists could be built into the scoreboard or menu systems.. or wherever. Also got the capability to add any/however many servers manually via variables in the cfg. Could make custom lists of servers to monitor. This kind of stuff could be added to any of the open source engines easily.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
gg's

 

El Box de Shoutamente

Last 10 Shouts:

 

Costigan_Q2

November 11, 2024, 06:41:06 AM
"Stay cozy folks.

Everything is gonna be fine."

There'll be no excuses for having TDS after January 20th, there'll be no excuses AT ALL!!!
 

|iR|Focalor

November 06, 2024, 03:28:50 AM
 

RailWolf

November 05, 2024, 03:13:44 PM
Nice :)

Tom Servo

November 04, 2024, 05:05:24 PM
The Joe Rogan Experience episode 223 that dropped a couple hours ago with Musk, they're talking about Quake lol.
 

Costigan_Q2

November 04, 2024, 03:37:55 PM
Stay cozy folks.

Everything is gonna be fine.
 

|iR|Focalor

October 31, 2024, 08:56:37 PM
 

Costigan_Q2

October 17, 2024, 06:31:53 PM
Not activated your account yet?

Activate it now! join in the fun!

Tom Servo

October 11, 2024, 03:35:36 PM
HAHAHAHAHAHA
 

|iR|Focalor

October 10, 2024, 12:19:41 PM
I don't worship the devil. Jesus is Lord, friend. He died for your sins. He will forgive you if you just ask.
 

rikwad

October 09, 2024, 07:57:21 PM
Sorry, I couldn't resist my inner asshole.

Show 50 latest
Welcome, Guest. Please login or register.
November 14, 2024, 08:54:53 AM

Login with username, password and session length