Giter Site home page Giter Site logo

powerkiller / hopmod Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 48.59 MB

Automatically exported from code.google.com/p/hopmod

CMake 0.65% Shell 12.09% Perl 1.02% Ruby 0.08% Lua 17.26% Smalltalk 0.30% HTML 0.11% JavaScript 1.84% CSS 0.43% SQLPL 0.06% C 34.96% C++ 30.90% Makefile 0.30%

hopmod's Introduction

hopmod's People

Contributors

tpoechtrager avatar gdaws avatar pisto avatar

Watchers

James Cloos avatar

hopmod's Issues

Problem with luaL_register

make is failing with following error:

/root/hopmod/src/hopmod/lua/register_class.cpp: In function ‘void 
lua::register_class(lua_State*, const char*, const luaL_Reg*)’:
/root/hopmod/src/hopmod/lua/register_class.cpp:10:44: error: 
‘luaL_register’ was not declared in this scope
     luaL_register(L, NULL, member_functions);
                                            ^
make[2]: *** [src/CMakeFiles/lua_modules.dir/hopmod/lua/register_class.cpp.o] 
Error 1
make[1]: *** [src/CMakeFiles/lua_modules.dir/all] Error 2
make: *** [all] Error 2

looks like the function luaL_register is depraced?! 
http://lua.2524044.n2.nabble.com/Why-did-luaL-openlib-luaL-register-go-td7649023
.html

Original issue reported on code.google.com by [email protected] on 14 Dec 2014 at 6:40

Auth can take away admin

What steps will reproduce the problem?
1. auth while someone has admin
2.
3.

What is the expected output? What do you see instead?
failure in taking auth while there is an active admin

Please use labels and text to provide additional information.
This seems to be causing some issues by people abusing bug.

Original issue reported on code.google.com by [email protected] on 7 Jun 2009 at 9:33

Hopmod on Freeagent Dockstar: does compile but noone can connect ("end of packet", "tag type")

I own a Freeagent Dockstar with ARM CPU and Debian Squeeze as OS.
I followed the installation procedure descriped on the Wiki-page as compile.sh 
does not work with the dockstar.

After little modification (Issue 15) the compilation itself does work. I made 
some necessary changes in the server.conf (port, ...) and startet hopmod. The 
good news is: hopmod does actually start. The bad news is: noone can connect. 
All I get is connection errors like "end of packet" and "tag type"

I was in hopmods IRC-Channel a few days ago and Thomas tried to help out but 
nothing worked out. Tried v4 instead of "pure" svn. Checked that I am really 
running Justice-Edition as client. Checked if my server.conf does work with an 
i386 build (it does). Build a debug-build with nothing new showing up. Some 
users on the channel tried to connect but got the same messages as me.

Thomas suggested that there is maybe something wrong with "parsing" of 
something on ARM I can't remember. Maybe ask him :)

Don't know if it helps but I will attach a cmake.log, make.log make_install.log 
and server.log. Maybe it will give the more experienced user an idea of what 
actually went wrong :)

Feel free to ask anything you need or has to be done and I will try to do my 
best to get this working.

Original issue reported on code.google.com by [email protected] on 11 Feb 2011 at 4:12

Attachments:

Missing Makefile.am

[11:57] <PunDit_> Graham|afk current svn is broken. Confirmed by myself 
and tomek. "automake: no `Makefile.am' found for any configure output"
[11:57] <PunDit_> Seems Makefile.am was not included

Original issue reported on code.google.com by [email protected] on 13 May 2009 at 4:00

Error while loading shared libraries

What steps will reproduce the problem?
1. i downloaded the hopmod svn
2. i typed cd hopmod
3. i typed mkdir release-build
4. i typed cmake ..
5. i typed make
6. i typed make install
7. i typed chmod +x compile.sh
8. i typed ./compile.sh
9. it compiled well
10. when i navigate to hopmod/bin and run /.sauer_server i get the following 
error message:

"error while loading shared libraries: libboost_signals.so: cannot open shared 
object file: No such file or directory"



What is the expected output? What do you see instead?
i expected the server to run

What version of the product are you using? On what operating system?
latest version, ubuntu 11.10

Please provide any additional information below.
N/A

Original issue reported on code.google.com by [email protected] on 4 Feb 2012 at 8:54

Need a couple of events for a small project

I need the following events added for a small project I have been working 
on. 

onPlayerDeath(actor,target,coordx,coordy,coordz)

onPlayerShoot(actor,weapon,coordx,coordy,coordz)


Original issue reported on code.google.com by [email protected] on 26 Jun 2009 at 5:31

hide_priv bug on v5

What steps will reproduce the problem?
1. Connect on a freshly installed v5 server
2. Make yourself master or admin.
3. Privileges displaying on the scoreboard works (green/orange-colored name).
4. Relinquish master or admin.
5. Make yourself invisible-master or admin.
6. You can't see the privileges on the scoreboard (correct behavior).
7. Relinquish master or admin0
8. Try to make yourself master or admin a second time.

Now you can't see the privileges on the scoreboard, but you're actually 
master/admin.
After these steps, you should see your privileges on the scoreboard again.

This is fixed by the below patch (maybe a better solution can be found) :
Index: src/hopmod/extserver.cpp
===================================================================
--- src/hopmod/extserver.cpp    (révision 500)
+++ src/hopmod/extserver.cpp    (copie de travail)
@@ -658,8 +658,10 @@
     int old_priv = player->privilege;
     player->privilege = priv_code;

-    if(!public_priv)
+    if(public_priv)
     {
+        player->hide_privilege = false;
+    } else {
         player->hide_privilege = true;
     }


Original issue reported on code.google.com by [email protected] on 3 Dec 2012 at 12:57

wiki hacked

I know that this is not the proper way to report this problem, but I couldn't 
find any contact info such as emails to tell the authors.

The wiki of hopmod has been hacked. For example: 
http://hopmod.e-topic.info/new/index.php5?title=Server_Commands_for_Players

The link brings to a website flagged as malicious by firefox (which uses 
google's system).

Original issue reported on code.google.com by [email protected] on 4 Dec 2010 at 4:54

It appears the game server is already running.

What steps will reproduce the problem?
1.closing the server process via htop

What version of the product are you using? On what operating system?
newest version on debian

Please provide any additional information below.

i cant even stop the server with ./bin/server stop
Need fast help thx

Original issue reported on code.google.com by [email protected] on 5 Jan 2013 at 4:12

contact and irc

Sorry to be using an issue for this, there seems to be no other way to contact 
you. Is there an irc #hopmod channel somewhere? if not would you consider one?

Original issue reported on code.google.com by [email protected] on 29 Apr 2011 at 6:10

Multiple server problem

What steps will reproduce the problem?
1. compile a hopmod server
2. execute /bin/newserver.sh
3. configure different ports for multiple servers
4. try to start them with each server's /bin/server

It always uses port 28785, no matter what you define in the configs, so you 
have to start each server with "screen /bin/sauer_server" and restart the 
terminal(pretty annoying with 7 servers)

What version of the product are you using? On what operating system?
r1923
Linux Debian 5.0
on a virtual server with 768MB RAM

Please provide any additional information below.
I'm just wondering... why aren't you supposed to start /bin/server as root 
anyway? I know it doesn't have anything to do with the problem but I can't see 
how this make sense(especially since most people run sauerbraten servers on 
root servers, you have to comment it out)

Original issue reported on code.google.com by [email protected] on 13 Aug 2010 at 7:10

using mysql extension under debian

What steps will reproduce the problem?
1. compiling with mysql support on debian lenny
2. make luasql_mysql
3. starting the server

What is the expected output? What do you see instead?

expected
[ 93%] Built target lua
[ 96%] Building C object src/luasql/CMakeFiles/luasql_mysql.dir/src/ls_mysql.c.o
Linking C shared library libluasql_mysql.so
[100%] Built target luasql_mysql

but seeing several errors. After the "fix" I explained below I get an error 
while starting the server

[Wed 10 Nov 15:21:48] Buffering stats data because of a MySQL stats failure: 
LuaSQL: Error executing query. MySQL: This version of MySQL doesn't yet support 
'multiple triggers with the same action time and event for one table'

to which I didn't find a fix for now.


What version of the product are you using? On what operating system?

had the error for a long time now.... currently I'm using svn checkout from 
09.11.2010 with debian 5.0 ( lenny ) packages.

Please provide any additional information below.

fixed by editing

modified:
#include "mysql.h"

#include "lua.h"
#include "lauxlib.h"

to

#include "/usr/include/mysql/mysql.h"

#include "/home/hopmod/pg1/hopmod/src/lua/src/lua.h"
#include "/home/hopmod/pg1/hopmod/src/lua/src/lauxlib.h"

path needs to be modified to fit your environment of course ;)

the install doesn't do the
cp release-build/src/luasql/libluasql_mysql.so lib/

Original issue reported on code.google.com by [email protected] on 10 Nov 2010 at 2:39

hide and seek seek time too short

What steps will reproduce the problem?
1. normal has installation
2. using #has 1 command
3. starting hide and seek game

What is the expected output? What do you see instead?
expected: game start
see: game stops imedetly

What version of the product are you using? On what operating system?
the most recent hide and seek justice version

Please provide any additional information below.
line seek time "7 --7 minutes" must possible be "(7 * 60 * 1000)"

Original issue reported on code.google.com by [email protected] on 5 May 2011 at 4:12

weapon reload time logging

wouldn't it be nice to see the actual values in the logs?

hopmod/script/module/detect/cheat/weapon_reload_time.lua

I tried changing

server.log("WARNING: " .. server.player_name(cn) .. "(" .. cn .. ")'s weapon 
reload time is too low.  [pj: " .. server.player_lag(cn) .. " | ping: " .. 
server.player_ping(cn) .. " | weapon: " .. gun .. " | ip: " .. 
server.player_ip(cn) .. "]")


to


server.log("WARNING: " .. server.player_name(cn) .. "(" .. cn .. ")'s weapon 
reload time is too low ( " .. (gametime - server.player_vars(cn).cdr_last_shot) 
.. " should be " .. reload_limit .. " ) .  [pj: " .. server.player_lag(cn) .. " 
| ping: " .. server.player_ping(cn) .. " | weapon: " .. gun .. " | ip: " .. 
server.player_ip(cn) .. "]")

Original issue reported on code.google.com by [email protected] on 12 Dec 2010 at 6:10

Build on Mac OS X

What steps will reproduce the problem?
1. Follow instruction from wiki to install

What is the expected output? What do you see instead?
iMac-de-Daniel:release-build danielsarsi$ make
Scanning dependencies of target sauertools
[  1%] Building CXX object src/CMakeFiles/sauertools.dir/shared/tools.cpp.o
[  2%] Building CXX object src/CMakeFiles/sauertools.dir/shared/stream.cpp.o
[  3%] Building CXX object src/CMakeFiles/sauertools.dir/shared/crypto.cpp.o
[  4%] Building CXX object src/CMakeFiles/sauertools.dir/hopmod/utils.cpp.o
/Users/danielsarsi/Desktop/hopmod/src/hopmod/utils.cpp: In constructor 
‘timer::timer()’:
/Users/danielsarsi/Desktop/hopmod/src/hopmod/utils.cpp:53: error: 
‘CLOCK_MONOTONIC’ was not declared in this scope
/Users/danielsarsi/Desktop/hopmod/src/hopmod/utils.cpp:53: error: 
‘clock_gettime’ was not declared in this scope
/Users/danielsarsi/Desktop/hopmod/src/hopmod/utils.cpp: In member function 
‘unsigned int timer::usec_elapsed() const’:
/Users/danielsarsi/Desktop/hopmod/src/hopmod/utils.cpp:59: error: 
‘CLOCK_MONOTONIC’ was not declared in this scope
/Users/danielsarsi/Desktop/hopmod/src/hopmod/utils.cpp:59: error: 
‘clock_gettime’ was not declared in this scope
make[2]: *** [src/CMakeFiles/sauertools.dir/hopmod/utils.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/sauertools.dir/all] Error 2
make: *** [all] Error 2

What version of the product are you using? On what operating system?
Mac OS X 10.7

Please provide any additional information below.
Something with POSIX, I guess.

Original issue reported on code.google.com by [email protected] on 18 Jan 2012 at 8:37

Host multiple server

Is there a way to host multiple server?
When i try to host with other port it says "It appears the game server is 
already running"
Thx

Original issue reported on code.google.com by [email protected] on 21 Jan 2013 at 10:49

Feature Request Game Pausing / Unpausing

Please consider creating a pause command. This command should give the
ability to 

pause a running games clock
immobilize the players
allow the admin to resume the game(I know this is obvious)
solve world hunger


Original issue reported on code.google.com by [email protected] on 16 Jan 2009 at 7:34

Latest Revision is Broken

What steps will reproduce the problem?
1. Check out 
2. Compile
3.

What is the expected output? What do you see instead?
Running server instead there are compile issues and segfaults.

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 27 Jan 2009 at 7:08

Compile hopmod on Freeagent Dockstar

I got a freeagent Dockstar with Debian. I tried these steps:

svn checkout http://hopmod.googlecode.com/svn/trunk/ hopmod
cmake ./ 
make , but it breaks with an error! See attachments for further information.



Original issue reported on code.google.com by [email protected] on 1 Jan 2011 at 12:06

Attachments:

some updates to the python irc bot

- added authentication against the bot via a password instead of giving the 
people +o ( old +o style will work on default )
- added ability to disable some commands
- added help command which takes care of diasbled and non-authed users
- nickname of the player can now be used in the commands
- added .code command which will execute given code
- secured .code command by a 2nd pass which should be different from the .auth 
pass if using .auth
- same password .code will require is required by .restart, too
- added .warn which will display admin message and send the cn to spectator
- .server ip cn will now show the country, too

- changed the .all command so it works like expected: .all say hi will say hi 
on all servers and so on
- changed stats command so it displays the cn, tk and lag stats, too
- stats command will show all stats if issued like .server stats or .server 
stats -1
- introduced some new config.py variables, for example:

auto_auth_ops        = True
auth_key             = '------'
power_key            = '------'

# the : 1 is just to make the compiler happy ( syntax ) changing 1 to 0 will 
not change anything!
disallow_commands    = {
                        'code': 1,
                        'auth': 1,
                        'unauth': 1,
                       }


if I forgot to mention something, please don't be mad ;)

patches are for:
irc_client.py rev r2031
commands.py rev r2031
config.py was added as an example, no patchfile, sorry ;)

Original issue reported on code.google.com by [email protected] on 9 Dec 2010 at 3:44

Attachments:

Need timeup and on_frag event for sudden death mode

I need to be able to know when the time is up so I can implement sudden 
death. Here is how I envision it.

1v1 and the time is up. 
Timeup event is triggered before all other events.
During the time up event I evaluate if the score is tied.
If it is I do not end game. I leave it going without the timer progressing.
The first person to make a hit is the winner and the game ends.

So I think I will need timeup event as well as a player event on_frag. Let 
me know if this is feasible.

Unless of course you want to add this ability within the server itself. I 
still feel the events would be helpful.

Original issue reported on code.google.com by [email protected] on 15 Jun 2009 at 8:11

install linking prob

What steps will reproduce the problem?
1.Trying to install hopmod
2.using the compile.sh
3.

What is the expected output? What do you see instead?

 56%] Building CXX object src/CMakeFiles/luapp.dir/hopmod/luapp.cpp.o
Linking CXX executable luapp
libsauertools.a(utils.cpp.o): In function `timer::timer()':
utils.cpp:(.text+0x319): undefined reference to `clock_gettime'
libsauertools.a(utils.cpp.o): In function `timer::usec_elapsed() const':
utils.cpp:(.text+0x335): undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
make[2]: *** [src/luapp] Error 1
make[1]: *** [src/CMakeFiles/luapp.dir/all] Error 2
make: *** [all] Error 2
libsauertools.a(utils.cpp.o): In function `timer::timer()':
utils.cpp:(.text+0x319): undefined reference to `clock_gettime'
libsauertools.a(utils.cpp.o): In function `timer::usec_elapsed() const':
utils.cpp:(.text+0x335): undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
make[2]: *** [src/luapp] Error 1
make[1]: *** [src/CMakeFiles/luapp.dir/all] Error 2
make: *** [all] Error 2

Took 130 Seconds



What version of the product are you using? On what operating system?
Ubuntu

Please provide any additional information below.
Thanx
Matthew

Original issue reported on code.google.com by [email protected] on 26 Nov 2011 at 9:20

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.