Raised This Month: $51 Target: $400
 12% 

mystatus 0.5 - by SDE from OCS Clan


Post New Thread Reply   
 
Thread Tools Display Modes
Doc
Member
Join Date: May 2005
Old 10-29-2005 , 19:05  
Reply With Quote #21

Alright, I kinda got it to work:

http://strike-highway.com/status/

However, its not reading my server lol.

Here's what my sql.cfg looks like:

Code:
// SQL configuration file
// File location: $moddir/addons/amxmodx/configs/sql.cfg

// *NOTE* Linux users may encounter problems if they specify "localhost" instead of "127.0.0.1"
// We recommend using your server IP address instead of its name

amx_sql_host	"8.3.6.211"
amx_sql_user	"genogame_admin"
amx_sql_pass	"******"
amx_sql_db	"genogame_amx"
amx_sql_table	"admins"
Of course I replaced the pass with *'s. The Host is my server IP, without the port.

Is this right? I think this file is where I'm getting errors...

Any ideas?

Thanks,
Doc.
__________________
Doc is offline
Doc
Member
Join Date: May 2005
Old 11-05-2005 , 19:19  
Reply With Quote #22

Also, in my modules, which SQL module should I enable? Server is on a linux btw:

Quote:
; -------------------------------------------
; Database Access - only enable one of these
; -------------------------------------------
; MySQL
;mysql_amxx_i386.so
;mysql_amxx.dll
;mysql_amxx_amd64.so
; PostgreSQL
;pgsql_amxx_i386.so
;pgsql_amxx.dll
; Microsoft SQL
;mssql_amxx.dll
; SQLite
;sqlite_amxx.dll
sqlite_amxx_i386.so
;sqlite_amxx_amd64.so
__________________
Doc is offline
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 11-05-2005 , 20:04  
Reply With Quote #23

The module you need depends on the SQL server you're using. The names of the modules correspond with that. If you have a 32 bit processor or Pentium, use the i386.so modules, if you have an AMD Athlon 64, use the amd64.so files.

The ip you posted as the value for amx_sql_host seems to be ...odd. If you're database is running on the same machine as your gameserver, use 127.0.0.1. Otherwise, check your ip here.
__________________
Janet Jackson is offline
midnight_killa
Member
Join Date: Jul 2005
Location: 154.20.46.176:27015
Old 11-05-2005 , 20:07  
Reply With Quote #24

nice
__________________
midnight_killa is offline
Send a message via MSN to midnight_killa
Doc
Member
Join Date: May 2005
Old 11-05-2005 , 20:31  
Reply With Quote #25

I have the web based crap uploaded to my site host - http://strike-highway.com - so would I need to get the IP that my domain connects to in order to access my site content?
__________________
Doc is offline
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 11-05-2005 , 20:37  
Reply With Quote #26

If you consider your database web based crap as well, yes.
__________________
Janet Jackson is offline
Doc
Member
Join Date: May 2005
Old 11-05-2005 , 21:40  
Reply With Quote #27

Any idea where I could obtain such info?

I have no clue how to get the IP of my host, I simply use ftp.strike-highway.com when I upload crap...
__________________
Doc is offline
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 11-05-2005 , 23:41  
Reply With Quote #28

Ping strike-highway.com. The ip is 72.29.83.9.
__________________
Janet Jackson is offline
mercury
Member
Join Date: Jun 2004
Old 11-20-2005 , 16:35  
Reply With Quote #29

i have the same as doc.
install is ok.
db created

Quote:
233:45 amx_plugins
233:46
AMX MyStatus 0.5 SDE mystatus.amxx running
but no data was submitted by plugin to the database.

amxx 1.60
win2k3
mercury is offline
EvanM
New Member
Join Date: Jul 2006
Old 07-16-2006 , 01:30   Re: mystatus 0.5 - by SDE from OCS Clan
Reply With Quote #30

I have the php installed at http://main.synthetic.net.nz/serverstats/
It seems to be working well. On the server if i type amx_plugins i get..
unknown unknown unknown mystatus.amxx bad load

Quote:
// SQL configuration file
// File location: $moddir/addons/amxmodx/configs/sql.cfg
// *NOTE* Linux users may encounter problems if they specify "localhost" instead of "127.0.0.1"
// We recommend using your server IP address instead of its name
// *NOTE* amx_sql_type specifies the DEFAULT database type which admin.sma will use.
amx_sql_host "mysql.synthetic.net.nz"
amx_sql_user "counterstrike"
amx_sql_pass "******"
amx_sql_db "synthetic_stats2"
amx_sql_table "admins"
amx_sql_type "mysql"
Quote:
; AMX Mod X plugins
; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)
; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
;adminslots.amxx ; slot reservation
;multilingual.amxx ; Multi-Lingual management
; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)
; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
scrollmsg.amxx ; displays a scrolling message
imessage.amxx ; displays information messages
adminvote.amxx ; vote commands
; Map related
nextmap.amxx ; displays next map in mapcycle
mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map
; Configuration
pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands
; Counter-Strike
;restmenu.amxx ; restrict weapons menu
statsx.amxx ; stats on death or round end (CSX Module required!)
;miscstats.amxx ; bunch of events announcement for Counter-Strike
;stats_logging.amxx ; weapons stats logging (CSX Module required!)

; Custom - Add 3rd party plugins here
ultimate_sound.amxx
chicken_bombs.amxx
mystatus.amxx
Anyone know wat the problem is?
EvanM is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:00.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode