Code Monkey home page Code Monkey logo

q2admin-tsmod's People

Contributors

qwazywabbitwos avatar spatulasnout avatar tastyspleen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

q2admin-tsmod's Issues

Q2admin look for config files in root ?

Hi,
When i compil and install q2pro with q2admin in root (on linux), q2admin look for config files in root, at the place of look for them into user's local folder.

is there a way to set the config path where q2admin will look for config files ?

Bugs in code

In file zb_zbot.c, line 299 should be changed from:
if (proxyinfo[client].msec_count = 500)
to:
if (proxyinfo[client].msec_count == 500)

Line 1975 in file zb_ban.c the return 0 is unreachable code.

can't compil on raspberry pi 3B+ (ARM)

Hi,
I can't compil Q2admin on my raspberry pi B+ (raspbian)

 make
gcc -std=gnu99 -O2 -fPIC -DARCH="arm" -DLINUX -DSTDC_HEADERS -I/usr/include   -c -o g_main.o g_main.c
g_main.c:52:3: error: #error Unknown architecture
  #error Unknown architecture
   ^~~~~
g_main.c: In function ‘GetGameAPI’:
g_main.c:230:36: error: ‘DLLNAME’ undeclared (first use in this function)
  sprintf(dllname, "%s/%s", moddir, DLLNAME);
                                    ^~~~~~~
g_main.c:230:36: note: each undeclared identifier is reported only once for each function it appears in
<commande interne> : la recette pour la cible « g_main.o » a échouée
make: *** [g_main.o] Erreur 1

hmm ... there is a way to fix that ?

aarch64 compilation

Hello,
I am trying to compil this source into my raspberry pi 3b+ with Archlinux installed on in aarch64 architecture.

so, i modified the code like i did for arm

#ifdef LINUXAXP
        #define DLLNAME   "gameaxp.real.so"
#elif defined(SOLARIS_INTEL)
        #define DLLNAME   "gamei386.real.so"
#elif defined(SOLARIS_SPARC)
        #define DLLNAME   "gamesparc.real.so"
#elif defined (LINUX)
#if defined __i386__
        #define DLLNAME "gamei386.real.so"
#elif defined __x86_64__
        #define DLLNAME "gamex86_64.real.so"
#elif define __aarch64__
        #define DLLNAME "gameaarch64.real.so"
#else
        #error Unknown architecture
#endif

and i have this error message :

make[1]: Entering directory '/home/powabanga/DDaynormandyFPS/src/q2admin-tsmod'
gcc -std=gnu99 -O2 -fPIC -DARCH="aarch64" -DLINUX -DSTDC_HEADERS -I/usr/include   -c -o g_main.o g_main.c
g_main.c:51:14: error: missing binary operator before token "1"
   51 | #elif define __aarch64__
      |              ^~~~~~~~~~~
g_main.c:54:3: error: #error Unknown architecture
   54 |  #error Unknown architecture
      |   ^~~~~
g_main.c: In function 'GetGameAPI':
g_main.c:232:36: error: 'DLLNAME' undeclared (first use in this function)
  232 |  sprintf(dllname, "%s/%s", moddir, DLLNAME);
      |                                    ^~~~~~~
g_main.c:232:36: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [<builtin>: g_main.o] Error 1
make[1]: Leaving directory '/home/powabanga/DDaynormandyFPS/src/q2admin-tsmod'

Does anybody can help me to understand this error, and maybe find a way to fix that please ? :/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.