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

With AGHL AMXX plugins don't work as expected
http://aghl.ru/forum/viewtopic.php?f=12&t=2038
Страница 1 из 1

Автор:  Axik [ 03 янв 2015, 05:22 ]
Заголовок сообщения:  With AGHL AMXX plugins don't work as expected

I just switched game dll from standard to AGHL and some AMXX plugins stopped working as expected.

Eg:
Severian Mod (http://aghl.ru/forum/viewtopic.php?f=19&t=528) starts, but snark teleport and tripmine secondary doesn't work.
On primary tripmine attack got this error(just after tripmine inicialization):
Код:
L 01/03/2015 - 00:15:22: [FAKEMETA] Invalid entity
L 01/03/2015 - 00:15:22: [AMXX] Displaying debug trace (plugin "sev_aghl.amxx")
L 01/03/2015 - 00:15:22: [AMXX] Run time error 10: native error (native "set_pev")
L 01/03/2015 - 00:15:22: [AMXX]    [0] sev_aghl.sma::TripMine_Beam (line 863)
L 01/03/2015 - 00:15:22: [AMXX]    [1] sev_aghl.sma::fwd_EmitSound (line 525)
that points to
Код:
set_pev(beam, pev_body, 2)
and beam is declared as
Код:
new beam = get_pdata_cbase(tripmine, m_pBeam)

I tried almost everyting. Changed engine version(6153->5758), AMXX version (1.8.3->1.8.2), many AGHL .so versions(delta file too)

Any ideas? :)

Автор:  KORD_12.7 [ 03 янв 2015, 06:23 ]
Заголовок сообщения:  Re: With AGHL AMXX plugins don't work as expected

Try this: viewtopic.php?f=19&t=592

Автор:  Axik [ 03 янв 2015, 17:31 ]
Заголовок сообщения:  Re: With AGHL AMXX plugins don't work as expected

Thanks! it works :Yahoo!:

Автор:  Axik [ 20 янв 2015, 23:07 ]
Заголовок сообщения:  Re: With AGHL AMXX plugins don't work as expected

I just found that traceattack is coredumping server
Код:
RegisterHam(Ham_TraceAttack,"info_target","funct")
using BUILD 6153, AGHL 0.1.877, AMXX 1.8.3-dev and hamdata.ini, tested on default 1.8.3 ham module and module version from link above

Автор:  Lev [ 21 янв 2015, 02:12 ]
Заголовок сообщения:  Re: With AGHL AMXX plugins don't work as expected

Can you post a really small plugin to reproduce that issue?

Автор:  Axik [ 21 янв 2015, 02:59 ]
Заголовок сообщения:  Re: With AGHL AMXX plugins don't work as expected

https://forums.alliedmods.net/showthread.php?t=177303 crashes exacly on this one.. secondary attact any lamp on crossfire with gauss

Автор:  abdobiskra [ 21 янв 2015, 12:36 ]
Заголовок сообщения:  Re: With AGHL AMXX plugins don't work as expected

Axik писал(а):
https://forums.alliedmods.net/showthread.php?t=177303 crashes exacly on this one.. secondary attact any lamp on crossfire with gauss

Try remove this line in plugin eurohl.sma
Код:
ham_strip_weapon(player, "weapon_gauss")

Автор:  Lev [ 21 янв 2015, 12:48 ]
Заголовок сообщения:  Re: With AGHL AMXX plugins don't work as expected

Axik
abdobiskra is right. Plugin is not well coded. One shouldn't remove current weapon in the shoot event.

Автор:  Axik [ 21 янв 2015, 13:01 ]
Заголовок сообщения:  Re: With AGHL AMXX plugins don't work as expected

I don't checked code. It works on standard gamedll and started crashing after switching to aghl so I was thinking there's problem :)

but afaik it never removed gauss gun from player

Thanks for help

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