Segment Fault

Discutii legate de instalarea, configurarea si modificarea unui server de Counter-Strike.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
User avatar
Ov3rDoZ3
Membru, skill +1
Membru, skill +1
Posts: 437
Joined: 10 Aug 2012, 17:19
Detinator Steam: Da
CS Status: M.I.A
Location: Salaj
Discord: Dudy#6315
Has thanked: 3 times
Been thanked: 1 time

12 Jul 2014, 16:37

Orice as face primesc segment fault intruna... aici sunt erorile :
bug_fix.amxx ; SERVER CRASH BUGFIX
;;------------------------------------------------------;;
; 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)
pluginmenu.amxx ; Menus for commands/cvars organized by plugin

; 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!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here
;;----------------------------------------------------------------------------;;
DeathrunManager.amxx debug
DRM_trigger_hurt_fix.amxx
center_msg.amxx
transfer.amxx
roll_the_dice.amxx
ad_manager.amxx
activitate_admini.amxx
Radio_DiZ.amxx
gag.amxx
advanced_bans.amxx
amx_bhop.amxx
plugin_trail.amxx
rs.amxx
use_button_once.amxx
specinfo.amxx
amx_who.amxx
Deathrun_Shop.amxx
knife_mod.amxx
respawn.amxx debug
rope.amxx
team-invis.amxx
SpeedMeter.amxx
;=====V.I.P====
dr_vip.amxx
Primesc erori pe pluginu de baza
primesc erori pe respawn
primesc erori pe use button once
primesc erori pe deathrun shop

Exista vreo metoda care sa opreasca segment fault-ul ?!!

Versiunea serverului este 6027 :) deci am ultimele update-uri la toate :)
Image
RoyalServer 2
User avatar
Mădălin
Administrator
Administrator
Posts: 5295
Joined: 06 Mar 2013, 21:40
Detinator Steam: Nu
Reputatie: Administrator
Fost manager cs.extream.ro
Web designer
Administratorul anului 2023
Has thanked: 45 times
Been thanked: 310 times
Contact:

13 Jul 2014, 10:28

http://www.extreamcs.com/forum/diverse/ ... 22840.html

Nu ştiu dacă mai ajută la ceva dar, totuşi încearcă! Cum am mai scris în nişte subiecte, ea provine şi de la pluginurile care sunt prost scriptate / făcute..

Încearcă să scoţi următoarele pluginuri:

Code: Select all

dr_vip.amxx
team-invis.amxx
roll_the_dice.amxx
Deathrun_Shop.amxx
easydeathrun
Membru, skill 0
Membru, skill 0
Posts: 11
Joined: 05 Aug 2013, 11:56
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Been thanked: 1 time
Contact:

13 Jul 2014, 11:13

Fa update la: build 6132
Instaleaza: 1.8.3-dev-git3939
Scoate: bug_fix.amxx

Pentru pluginul respawn.amxx adauga la sursa functia return, verifica lang fisierele...
User avatar
Ov3rDoZ3
Membru, skill +1
Membru, skill +1
Posts: 437
Joined: 10 Aug 2012, 17:19
Detinator Steam: Da
CS Status: M.I.A
Location: Salaj
Discord: Dudy#6315
Has thanked: 3 times
Been thanked: 1 time

13 Jul 2014, 11:18

Hostul tni.ro nu are update-ul 6132 din pacate :( iar bug fix-u e facut de tni pentru cei care incearca sa floodeze serverului folosind config-uri , iar la respawn nu prea stiu sa adaug asa ceva pentru ca nu sunt scripter in schimb iti las sursa :)

Si un mic log de erori inainte de sursa
L 07/12/2014 - 20:38:23: Start of error session.
L 07/12/2014 - 20:38:23: Info (map "deathrun_genius") (file "addons/amxmodx/logs/error_20140712.log")
L 07/12/2014 - 20:38:23: Player 6 is not ingame
L 07/12/2014 - 20:38:23: [AMXX] Run time error 10 (plugin "use_button_once.amxx") (native "player_menu_info") - debug not enabled!
L 07/12/2014 - 20:38:23: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/12/2014 - 22:46:46: Start of error session.
L 07/12/2014 - 22:46:46: Info (map "deathrun_arctic") (file "addons/amxmodx/logs/error_20140712.log")
L 07/12/2014 - 22:46:46: [FUN] Invalid player 4
L 07/12/2014 - 22:46:46: [AMXX] Displaying debug trace (plugin "respawn.amxx")
L 07/12/2014 - 22:46:46: [AMXX] Run time error 10: native error (native "give_item")
L 07/12/2014 - 22:46:46: [AMXX] [0] ryw66tkp.sma.p::player_giveitems (line 105)
L 07/12/2014 - 23:53:51: Start of error session.
L 07/12/2014 - 23:53:51: Info (map "deathrun_arctic") (file "addons/amxmodx/logs/error_20140712.log")
L 07/12/2014 - 23:53:51: [FUN] Invalid player 4
L 07/12/2014 - 23:53:51: [AMXX] Displaying debug trace (plugin "respawn.amxx")
L 07/12/2014 - 23:53:51: [AMXX] Run time error 10: native error (native "give_item")
L 07/12/2014 - 23:53:51: [AMXX] [0] ryw66tkp.sma.p::player_giveitems (line 105)
/* AMXX Mod script.
*
* (c) Copyright 2004, developed by Geesu
* This file is provided as is (no warranties).
*
* Changelog
* 1.1:
* Added /respawn command to spawn a player if they're dead
* Added a public cvar
* 1.0:
* Pistols are now given to players when they respawn
* sv_checkpistols cvar added, if this is set to 0, then players will always spawn with a pistol, otherwise they will only spawn with a pistol when it is not scoutzknivez and not a ka map
* sv_respawn cvar added, set this to 0 to disable the plugin
*/

new const VERSION[] = "1.1"

#include <amxmodx>
#include <fun>
#include <cstrike>

#define DISABLE_CS 0

// team ids
#define UNASSIGNED 0
#define TS 1
#define CTS 2
#define AUTO_TEAM 5

new bool:g_PistolsDisabled = false

public plugin_init(){

register_plugin("Respawn Forever", VERSION, "Pimp Daddy (OoTOAoO)")

register_event("DeathMsg","on_Death","a")

register_cvar("sv_checkpistols", "1")
register_cvar("sv_respawn", "1")
register_cvar("respawn_forever_version", VERSION, FCVAR_SERVER)

register_clcmd("say","on_Chat")
register_clcmd("say_team","on_Chat")
}

public on_Chat(id)
{
if ( !get_cvar_num("sv_respawn") )
{
client_print(id, print_chat, "* Respawn plugin disabled")
return PLUGIN_CONTINUE
}

new szSaid[32]
read_args(szSaid, 31)

if (equali(szSaid,"^"/respawn^"") || equali(szSaid,"^"respawn^""))
{
spawn_func(id)
}
}

public check_pistols()
{
/* Determine if we should give players a pistol or not */
if ( get_cvar_num("sv_checkpistols") )
{
set_task(1.0, "check_pistols")
new mapname[32]
get_mapname(mapname,31)
if ( containi(mapname,"ka_")!=-1 || containi(mapname,"scoutzknivez")!=-1 )
g_PistolsDisabled = true
}
}

public spawn_func(id)
{
new parm[1]
parm[0]=id

/* Spawn the player twice to avoid the HL engine bug */
set_task(0.5,"player_spawn",72,parm,1)
set_task(0.7,"player_spawn",72,parm,1)

/* Then give them a suit and a knife */
set_task(0.9,"player_giveitems",72,parm,1)
}

public on_Death()
{
if ( !get_cvar_num("sv_respawn") )
return PLUGIN_CONTINUE

new victim_id = read_data(2)

spawn_func( victim_id )

return PLUGIN_CONTINUE
}

public player_giveitems(parm[1])
{
new id = parm[0]

give_item(id, "item_suit")
give_item(id, "weapon_knife")

/* Determines if a players should be given a pistol */
if ( !g_PistolsDisabled )
{
new wpnList[32] = 0, number = 0, bool:foundGlock = false, bool:foundUSP = false
get_user_weapons(id,wpnList,number)

/* Determine if the player already has a pistol */
for (new i = 0;i < number;i++)
{
if (wpnList == CSW_GLOCK18)
foundGlock = true
if (wpnList == CSW_USP)
foundUSP = true
}

/* Give a T his/her pistol */
if ( get_user_team(id)==TS && !foundGlock )
{
give_item(id,"weapon_glock18")
give_item(id,"ammo_9mm")
give_item(id,"ammo_9mm")
}
/* Give a CT his/her pistol */
else if ( get_user_team(id)==CTS && !foundUSP )
{
give_item(id,"weapon_usp")
give_item(id,"ammo_45acp")
give_item(id,"ammo_45acp")
}
}

return PLUGIN_CONTINUE
}

public player_spawn(parm[1])
{
spawn(parm[0])
}
Image
Post Reply

Return to “Probleme la servere dedicate de Counter-Strike”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 99 guests