Half-Life и Adrenaline Gamer форум

Всё об игре в Халф-Лайф и АГ
Текущее время: 29 мар 2024, 02:34

Часовой пояс: UTC + 5 часов [ Летнее время ]




Начать новую тему Ответить на тему  [ Сообщений: 42 ]  На страницу Пред.  1, 2, 3, 4, 5  След.
Автор Сообщение
СообщениеДобавлено: 16 июл 2016, 02:24 
Не в сети
Зарегистрирован:
04 окт 2014, 19:43
Последнее посещение:
07 дек 2019, 23:46
Сообщения: 4
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


Вернуться к началу
 Профиль 
  
СообщениеДобавлено: 23 окт 2016, 03:25 
Не в сети
Аватара пользователя
Зарегистрирован:
24 окт 2013, 15:02
Последнее посещение:
04 фев 2017, 01:02
Сообщения: 73
Откуда: Spain
Can anybody help me?
 
It is supposed to be compatible with amx 1.8.1 and cstrike, no?

_________________
ReHLDS 3.0.0.412, ReGameDLL 5.1.0.176, AMXX 1.8.2, MetaMod 1.21p37, Reunion 0.1.75
Ubuntu 12.04.5LTS, Kernel 3.2.0-lowlatency, CPU i3-2130 3.40GHz, RAM DDR3 8GB, HDD 1TB, Net 100Mbps
Anti-DDoS protection by ovh (Additional 3 Tbps network)


Вернуться к началу
 Профиль 
  
СообщениеДобавлено: 24 окт 2016, 13:34 
Не в сети
Site Admin
Зарегистрирован:
01 июн 2010, 01:27
Последнее посещение:
26 мар 2024, 21:42
Сообщения: 6864
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.


Вернуться к началу
 Профиль 
  
СообщениеДобавлено: 25 окт 2016, 00:34 
Не в сети
Аватара пользователя
Зарегистрирован:
24 окт 2013, 15:02
Последнее посещение:
04 фев 2017, 01:02
Сообщения: 73
Откуда: Spain
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.

_________________
ReHLDS 3.0.0.412, ReGameDLL 5.1.0.176, AMXX 1.8.2, MetaMod 1.21p37, Reunion 0.1.75
Ubuntu 12.04.5LTS, Kernel 3.2.0-lowlatency, CPU i3-2130 3.40GHz, RAM DDR3 8GB, HDD 1TB, Net 100Mbps
Anti-DDoS protection by ovh (Additional 3 Tbps network)


Вернуться к началу
 Профиль 
  
СообщениеДобавлено: 25 окт 2016, 19:50 
Не в сети
Site Admin
Зарегистрирован:
01 июн 2010, 01:27
Последнее посещение:
26 мар 2024, 21:42
Сообщения: 6864
You shouldn't enable modules in modules.ini.


Вернуться к началу
 Профиль 
  
СообщениеДобавлено: 25 окт 2016, 22:10 
Не в сети
Аватара пользователя
Зарегистрирован:
24 окт 2013, 15:02
Последнее посещение:
04 фев 2017, 01:02
Сообщения: 73
Откуда: Spain
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.

_________________
ReHLDS 3.0.0.412, ReGameDLL 5.1.0.176, AMXX 1.8.2, MetaMod 1.21p37, Reunion 0.1.75
Ubuntu 12.04.5LTS, Kernel 3.2.0-lowlatency, CPU i3-2130 3.40GHz, RAM DDR3 8GB, HDD 1TB, Net 100Mbps
Anti-DDoS protection by ovh (Additional 3 Tbps network)


Вернуться к началу
 Профиль 
  
СообщениеДобавлено: 26 окт 2016, 01:27 
Не в сети
Site Admin
Зарегистрирован:
01 июн 2010, 01:27
Последнее посещение:
26 мар 2024, 21:42
Сообщения: 6864
Got you.
Hosting? If not, install gdb packet and run HLDS with -debug, attach debug.log here after crash.


Вернуться к началу
 Профиль 
  
СообщениеДобавлено: 26 окт 2016, 16:05 
Не в сети
Аватара пользователя
Зарегистрирован:
24 окт 2013, 15:02
Последнее посещение:
04 фев 2017, 01:02
Сообщения: 73
Откуда: Spain
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.

_________________
ReHLDS 3.0.0.412, ReGameDLL 5.1.0.176, AMXX 1.8.2, MetaMod 1.21p37, Reunion 0.1.75
Ubuntu 12.04.5LTS, Kernel 3.2.0-lowlatency, CPU i3-2130 3.40GHz, RAM DDR3 8GB, HDD 1TB, Net 100Mbps
Anti-DDoS protection by ovh (Additional 3 Tbps network)


Вернуться к началу
 Профиль 
  
СообщениеДобавлено: 26 окт 2016, 19:00 
Не в сети
Site Admin
Зарегистрирован:
01 июн 2010, 01:27
Последнее посещение:
26 мар 2024, 21:42
Сообщения: 6864
Check server.cfg for map command and remove it, if ti is there.


Вернуться к началу
 Профиль 
  
СообщениеДобавлено: 26 окт 2016, 20:03 
Не в сети
Аватара пользователя
Зарегистрирован:
24 окт 2013, 15:02
Последнее посещение:
04 фев 2017, 01:02
Сообщения: 73
Откуда: Spain
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.

_________________
ReHLDS 3.0.0.412, ReGameDLL 5.1.0.176, AMXX 1.8.2, MetaMod 1.21p37, Reunion 0.1.75
Ubuntu 12.04.5LTS, Kernel 3.2.0-lowlatency, CPU i3-2130 3.40GHz, RAM DDR3 8GB, HDD 1TB, Net 100Mbps
Anti-DDoS protection by ovh (Additional 3 Tbps network)


Вернуться к началу
 Профиль 
  
Показать сообщения за:  Поле сортировки  
Начать новую тему Ответить на тему  [ Сообщений: 42 ]  На страницу Пред.  1, 2, 3, 4, 5  След.

Часовой пояс: UTC + 5 часов [ Летнее время ]


Кто сейчас на конференции

Сейчас этот форум просматривают: Bing [Bot], Google [Bot], Mail.ru [Bot] и гости: 7


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
cron
Создано на основе phpBB® Forum Software © phpBB Group
Русская поддержка phpBB