Raised This Month: $32 Target: $400
 8% 

AMX Mod X 1.8.2 for 2013 HLDS Update


Post New Thread Reply   
 
Thread Tools Display Modes
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 04-16-2013 , 12:43   Re: AMX Mod X 1.8.2 for 2013 HLDS Update
Reply With Quote #181

Hey, i have a issue with jointeam or chooseteam command:

If someone try to bypassing flooding or spamming the command is not blocking a command, like this function:

Ps.
I have tested with menus hooking (VGUI and old style menus) and this code above.

PHP Code:
#include <amxmodx>
#include <cstrike>

new g_Lock;

public 
plugin_init()
{
    
register_plugin("Generic Plugin Test",AMXX_VERSION_STR,"AMXX Dev Team");
    
    
g_Lock register_cvar("amx_lock_teams","1");
    
    
register_clcmd("chooseteam","cmdHook");
    
register_clcmd("jointeam","cmdHook");
}

public 
cmdHook(id)
{
    if(
get_pcvar_num(g_Lock))
    {
        
console_print(id,"Sorry, change teams not allowed at this time!");
        
        return 
PLUGIN_HANDLED;
    }
    return 
PLUGIN_CONTINUE;

__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
astr0
Junior Member
Join Date: Apr 2013
Old 04-30-2013 , 10:38   Re: AMX Mod X 1.8.2 for 2013 HLDS Update
Reply With Quote #182

Hi brothers...

before all, sorry for my bad english, i'm from Venezuela and i'm still trying to solve an problem with my hlds server for CS 1.6

My hardware details are:

Intel Pentium D 2.8 Ghz
3 GB RAM DDR3
160 GB Hard Drive

I'm using Linux CentOS 6.4 and i installed the hlds server via SteamCMD.

By default my server runs perfectly, even with metamod (I've tried with metamod versions 1.20-am, 1.21-am and 1.20-p).

My problem appears when i install the AMXMODX, i've been reading about this problem and with luck i've found this post.

Reading the post, i've tried run my server using:

- metamod 1.21-am with amxmod 1.8.2
- metamod 1.21-am with amxmod 1.8.1

And then

- metamod 1.20-am with amxmod 1.8.2
- metamod 1.20-am with amxmod 1.8.1

And then

- metamod 1.20-p with amxmod 1.8.2
- metamod 1.20-p with amxmod 1.8.1

My server does not run, it crash immediatly and the output is:

Code:
./hlds_run -game cstrike -console +ip 192.168.1.103 +port 27015 +map de_dust2 +maxplayers 10 -debug -pingboost 3 -autoupdate
Enabling debug mode
Auto-restarting the server on crash
Could not locate steam binary:steamcmd/steam.sh, ignoring.

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/home/hlds/.steam/sdk32/steamclient.so
with error:
/home/hlds/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 14:59:14 Feb 13 2013 (5956)
STEAM Auth Server
Server IP address 192.168.1.103:27015
   
   Metamod version 1.20-am  Copyright (c) 2001-2006 Will Day <[email protected]>
   Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
   This is free software, and you are welcome to redistribute it
   under certain conditions; type `meta gpl' for details.
   

   AMX Mod X version 1.8.1.3746 Copyright (c) 2004-2006 AMX Mod X Development Team 
   AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
   This is free software and you are welcome to redistribute it under 
   certain conditions; type 'amxx gpl' for details.
  
L 04/30/2013 - 09:32:41: -------- Mapchange to de_dust2 --------
Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20130430093241_1.dmp
success = yes
response:  CrashID=bp-a720fba6-e7e9-4d74-8e31-3024d2130430
./hlds_run: line 255:  4771 Segmentation fault (core dumped) $HL_CMD
email debug.log to [email protected]
thu apr 30 09:32:44 VET 2013: Server restart in 10 seconds
As you can see, there are some problems at the start of the hlds that i don't know how to solve but, although the errors appears, the server run perfectly.

The problem is when i install the AMXMODX. I really don't know what else more i can try, this is why i need help about this problem that is making me crazy!

Any help you can give me it's very welcome

Thank you for everything!

Javier
astr0 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-30-2013 , 10:51   Re: AMX Mod X 1.8.2 for 2013 HLDS Update
Reply With Quote #183

If you use the latest HLDS version, you muse use anyway 1.8.2 and metamod 1.21-am. Show the log once you have installed that.
__________________
Arkshine is offline
astr0
Junior Member
Join Date: Apr 2013
Old 04-30-2013 , 11:02   Re: AMX Mod X 1.8.2 for 2013 HLDS Update
Reply With Quote #184

Quote:
Originally Posted by Arkshine View Post
If you use the latest HLDS version, you muse use anyway 1.8.2 and metamod 1.21-am. Show the log once you have installed that.
Hi Arkshine, thank you for your quick answer..

This is the output with metamod 1.21-am and Amxmodx 1.8.2

Code:
 ./hlds_run -game cstrike -console +ip 192.168.1.103 +port 27015 +map de_dust2 +maxplayers 10 -debug -pingboost 3 -autoupdate
Enabling debug mode
Auto-restarting the server on crash
Could not locate steam binary:steamcmd/steam.sh, ignoring.

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/home/hlds/.steam/sdk32/steamclient.so
with error:
/home/hlds/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 14:59:14 Feb 13 2013 (5956)
STEAM Auth Server
Server IP address 192.168.1.103:27015
   
   Metamod version 1.21-am  Copyright (c) 2001-2013 Will Day <[email protected]>
   Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
   This is free software, and you are welcome to redistribute it
   under certain conditions; type `meta gpl' for details.
   

   AMX Mod X version 1.8.2 Copyright (c) 2004-2006 AMX Mod X Development Team 
   AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
   This is free software and you are welcome to redistribute it under 
   certain conditions; type 'amxx gpl' for details.
  
L 04/30/2013 - 10:28:19: -------- Mapchange to de_dust2 --------
Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20130430102819_1.dmp
success = yes
response:  CrashID=bp-4f7dd9d1-3e09-4b7c-a33c-0319c2130430
./hlds_run: line 255:  6782 Segmentation fault  (`core' dumped) $HL_CMD
email debug.log to [email protected]
mar abr 30 10:28:21 VET 2013: Server restart in 10 seconds
Javier
astr0 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 04-30-2013 , 11:53   Re: AMX Mod X 1.8.2 for 2013 HLDS Update
Reply With Quote #185

I don't know if hlds suffers from this problem, but SELinux (enabled by default on CentOS) interferes with srcds.

The directions to fix it were something like
Code:
execstack -s /path/to/hlds_linux
(and this had to be repeated after every update)

I'm not sure if that's the correct binary name for hlds, though.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
astr0
Junior Member
Join Date: Apr 2013
Old 04-30-2013 , 12:10   Re: AMX Mod X 1.8.2 for 2013 HLDS Update
Reply With Quote #186

Thank you Powerlord!

I made what you said and woala! it work!

Now my server it's running perfectly but, another question:

Why i can see my server in the internet tab and i can't see my server in the Lan Tab?? it's weird right?

Can you suggest me anything?

My server is running on linux and i play cs 1.6 on windows

thank you bro!

Javier
astr0 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 04-30-2013 , 12:15   Re: AMX Mod X 1.8.2 for 2013 HLDS Update
Reply With Quote #187

Quote:
Originally Posted by astr0 View Post
Thank you Powerlord!

I made what you said and woala! it work!

Now my server it's running perfectly but, another question:

Why i can see my server in the internet tab and i can't see my server in the Lan Tab?? it's weird right?

Can you suggest me anything?

My server is running on linux and i play cs 1.6 on windows

thank you bro!

Javier
My experience is mainly with srcds, but...
Code:
sv_lan 1
This makes a srcds server appear in the LAN tab, but removes it from the Internet tab. Pretty sure hlds is the same way.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
astr0
Junior Member
Join Date: Apr 2013
Old 04-30-2013 , 15:04   Re: AMX Mod X 1.8.2 for 2013 HLDS Update
Reply With Quote #188

Quote:
Originally Posted by Powerlord View Post
My experience is mainly with srcds, but...
Code:
sv_lan 1
This makes a srcds server appear in the LAN tab, but removes it from the Internet tab. Pretty sure hlds is the same way.
Yeah bro.. but i want that my server appear on Internet/Lan Tab List... if i put sv_lan 1 then only show the server in lan tab..

That's the problem now hahahaha

Javier
astr0 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 04-30-2013 , 15:32   Re: AMX Mod X 1.8.2 for 2013 HLDS Update
Reply With Quote #189

Quote:
Originally Posted by astr0 View Post
Yeah bro.. but i want that my server appear on Internet/Lan Tab List... if i put sv_lan 1 then only show the server in lan tab..

That's the problem now hahahaha

Javier
My understanding is that the server will only ever appear on one of those two tabs.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
astr0
Junior Member
Join Date: Apr 2013
Old 04-30-2013 , 21:57   Re: AMX Mod X 1.8.2 for 2013 HLDS Update
Reply With Quote #190

Quote:
Originally Posted by Powerlord View Post
My understanding is that the server will only ever appear on one of those two tabs.
Well, that's true but, on windows, my hlds server appears on internet and lan tab, is weird but true! hahahahaha

anyway bro, my server is stable and i'm happy about that hahahaha

Thank's...

Javier
astr0 is offline
Reply


Thread Tools
Display Modes

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 21:13.


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