Half-Life и Adrenaline Gamer форум
http://aghl.ru/forum/

[Модуль AMXX] Hamsandwich UPDATED v1.8.3-m (03.04.16)
http://aghl.ru/forum/viewtopic.php?f=19&t=592
Страница 4 из 5

Автор:  Shalun [ 16 июл 2016, 02:24 ]
Заголовок сообщения:  Re: [Модуль AMXX] Hamsandwich UPDATED v1.8.3-m (03.04.16)

KORD_12.7 писал(а):
Shalun
С другой версией Хама такая же история? Или крашится именно с этой?

У меня была чуть пропатченная версия 1.8.1 (где SendWeaponAnim работал). С ней точно ничего не падало.

Lev писал(а):
Shalun
Приаттачь тестовый плагин.

Да всего пара строк:

Код:
#include <amxmisc>
#include <hamsandwich>

public plugin_init()
{
   RegisterHam(Ham_Touch, "item_airtank", "BonusTouchPlayer", 0)
}

public BonusTouchPlayer(touched, toucher)
{
}

падает почему-то только на lin версии.

Цитата:
Protocol version 48
Exe version 1.0.0.3/Stdio (czero)
Exe build: 13:12:29 Aug 29 2013 (6153)

Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.8.2-d ini Start ANY
[ 2] dproto_EF RUN - dproto_i386.so v0.9.391 ini Start Never
[ 3] Ham Sandwich RUN - hamsandwich_amxx v1.8.3-m pl1 ANY ANY
3 plugins, 3 running

Currently loaded plugins:
name version author file status
[ 1] unknown unknown unknown test_crash.amxx running
1 plugins, 1 running

Автор:  WoLf [ 23 окт 2016, 03:25 ]
Заголовок сообщения:  Re: [Модуль AMXX] Hamsandwich UPDATED v1.8.3-m (03.04.16)

Can anybody help me?
 
It is supposed to be compatible with amx 1.8.1 and cstrike, no?

Автор:  Lev [ 24 окт 2016, 13:34 ]
Заголовок сообщения:  Re: [Модуль AMXX] Hamsandwich UPDATED v1.8.3-m (03.04.16)

WoLf
Should be. Does it started with replacing your hamsandwich module with this one?
Too few info. Try to start server with +log on parameter.

Автор:  WoLf [ 25 окт 2016, 00:34 ]
Заголовок сообщения:  Re: [Модуль AMXX] Hamsandwich UPDATED v1.8.3-m (03.04.16)

Lev писал(а):
WoLf
Should be. Does it started with replacing your hamsandwich module with this one?
Too few info. Try to start server with +log on parameter.

In the next test I am using a server without modules or plugins, just AMXX 1.8.1.3 default, metamod 1.19p32 and the version of HLDS is 5787.

Launch:
Код:
 -debug -dev -condebug

cfg:
Код:
log on
mp_logfile "1"
mp_logecho "1"
mp_logdetail "2"
mp_logmessages "1"
sv_logbans "1"
sv_log_onefile "1"
sv_logblocks "1"

amxmodx\configs\modules.ini (Activate hamsandwich)
Код:
;;;
; To enable a module, remove the semi-colon (;) in front of its name.
; If it's not here, simply add it its name, one per line.
; You don't need to write the _amxx part or the file extension.
;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; SQL Modules usually need to be enabled manually ;;
;; You can have any number on at a time.  Use      ;;
;;  amx_sql_type in sql.cfg to specify the default ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

mysql
;sqlite

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Put third party modules below here.              ;;
;; You can just list their names, without the _amxx ;;
;;  or file extension.                              ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

hackdetector

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; These modules will be auto-detected and loaded   ;;
;;  as needed.  You do not need to enable them here ;;
;;  unless you have problems.                       ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

fun
;engine
;fakemeta
;geoip
;sockets
;regex
;nvault
cstrike
csx
hamsandwich

No log is created in the cstrike folder or the amxx. I have the only console log.

 

Everything works fine until I replace files by those of hamsandwich-v1.8.3-m, I copy and paste all.

Автор:  Lev [ 25 окт 2016, 19:50 ]
Заголовок сообщения:  Re: [Модуль AMXX] Hamsandwich UPDATED v1.8.3-m (03.04.16)

You shouldn't enable modules in modules.ini.

Автор:  WoLf [ 25 окт 2016, 22:10 ]
Заголовок сообщения:  Re: [Модуль AMXX] Hamsandwich UPDATED v1.8.3-m (03.04.16)

Lev писал(а):
You shouldn't enable modules in modules.ini.

I know, but the plugins by default, do not use the module hamsandwich. The result is the same to put any plugins that requires hamsandwich module. It does not work.

Автор:  Lev [ 26 окт 2016, 01:27 ]
Заголовок сообщения:  Re: [Модуль AMXX] Hamsandwich UPDATED v1.8.3-m (03.04.16)

Got you.
Hosting? If not, install gdb packet and run HLDS with -debug, attach debug.log here after crash.

Автор:  WoLf [ 26 окт 2016, 16:05 ]
Заголовок сообщения:  Re: [Модуль AMXX] Hamsandwich UPDATED v1.8.3-m (03.04.16)

Lev писал(а):
Got you.
Hosting? If not, install gdb packet and run HLDS with -debug, attach debug.log here after crash.

I have a dedicated server OVH, already had installed gdb, but the debug.log not created because no crash occurs, simply will not start.

PS: If you want I can give you my data, the panel and the server, I trust in you and is a good person who helps others without asking anything in return, with more people like you the world would be a better place.

Автор:  Lev [ 26 окт 2016, 19:00 ]
Заголовок сообщения:  Re: [Модуль AMXX] Hamsandwich UPDATED v1.8.3-m (03.04.16)

Check server.cfg for map command and remove it, if ti is there.

Автор:  WoLf [ 26 окт 2016, 20:03 ]
Заголовок сообщения:  Re: [Модуль AMXX] Hamsandwich UPDATED v1.8.3-m (03.04.16)

Lev писал(а):
Check server.cfg for map command and remove it, if ti is there.

The server.cfg file is fine, no command map. Not my first server, the server works fine until you use hamsandwich-v1.8.3-m, that is the cause.

Страница 4 из 5 Часовой пояс: UTC + 5 часов [ Летнее время ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/