PDA

View Full Version : AMX Mod X 0.15 Released


BAILOPAN
03-15-2004, 21:00
I am very proud to announce the immediate availability of AMX Mod X Beta 0.15.

The changelog has many awaited bug fixes and adds further support to backwards compatibility. We have worked very hard to get this release out by today.

You can jump to the Downloads Page (http://www.amxmodx.org/downloads.php) or visit the SourceForge site (http://www.sourceforge.net/projects/amxmodx/).

We are still going full steam ahead with our Roadmap: the next version will be 0.2 and will contain the next module interface, as well as fixes for all bugs found in 0.15. We do not have a release date planned as this will only rush us to make mistakes, but we hope to have it within two weeks.

Thank you for supporting AMX Mod X.

Changelog:

AMX Mod X 0.15 - March 15, 2004
Fixed event related bugs such as incorrect timing and crashes.
Removed all std:: code and lstdc++ requirement.
Moved messaging functions back into core from ENGINE
Many documentation fixes
Added xtrafun support backwards support.
TEMPORARY - We are using the old SC 2.1 small compiler.

Removed .amx from logging plugin names.
Hardcoded directory names into core.
get_module also returns status.
Fixed logging crashes.
Removed get_user_wonid.

cs_set_user_vip and cs_get_user_vip fixed.
cs_set_user_deaths now updates scoreboard.
Fixed ENGINE memory leaks.
Fixed register_message argument functions.
Fixed controller and blending values.
Reduced set_view lag.

It is now possible to shoot and break func_breakables.
Removed fun cvars and engine cvars and amx_version cvar.
Removed FUN debug messages.
Added set_user_hitzones and get_user_hitzones.
Removed set_hitzones.

devicenull
03-15-2004, 21:01
Yay!!!!

[RED-Designs]
03-15-2004, 21:03
Edit MMX isnt packaged with it..

BAILOPAN
03-15-2004, 21:03
Metamod will no longer be packaged with any AMX Mod X.

[RED-Designs]
03-15-2004, 21:10
Metamod will no longer be packaged with any AMX Mod X.

I edited my post after I unziped it ^-^

QwertyAccess
03-15-2004, 21:13
Yay its out ^_^ i hope my plugins work.

[RED-Designs]
03-15-2004, 21:15
Yay its out ^_^ i hope my plugins work.

I am going to have a test IOS server up at: 66.133.232.158:27016 and maybe a test CS one at 66.133.232.158:27015

devicenull
03-15-2004, 21:23
Something is weird about this compiler - if I do this
sc nsx\nsx.sma
It works.. but
sc nsx\nsx.sma -onsx\nsx.sma
doesnt

BAILOPAN
03-15-2004, 21:25
If you want to use the 2.4 compiler, go ahead. Just do not complain about the errors it has.

MagicShot
03-15-2004, 22:08
Whats this?

Removed get_user_wonid.
Removed set_hitzones.

Why are you removing there options?...[/quote]

BAILOPAN
03-15-2004, 22:10
get_user_wonid returned 0. It's a dummy function not used even in AMX Mod.

set_hitzones does set_user_hitzones for all players and wasn't needed.

MagicShot
03-15-2004, 22:32
get_user_wonid returned 0. It's a dummy function not used even in AMX Mod.

set_hitzones does set_user_hitzones for all players and wasn't needed.

Oh I thought get_user_wonid would be nice to have though...
or is there something else that does it already?

BAILOPAN
03-15-2004, 22:37
get_user_authid

MagicShot
03-15-2004, 22:52
get_user_authid

Ok Thanx Bail...

As Always.. Your a charm.. :wink:

rACEmic
03-15-2004, 23:43
I think there's an error in xtrafun.inc:

stock find_entity(start_from_ent, category, value[]) {
switch (category) {
case target: return find_entity_by_target(start_from_ent, value)
case targetname: return find_ent_by_tname(start_from_ent, value)
}
return find_entity_by_class(start_from_ent, value)
}

should be:

stock find_entity(start_from_ent, category, value[]) {
switch (category) {
case target: return find_ent_by_target(start_from_ent, value)
case targetname: return find_ent_by_tname(start_from_ent, value)
}
return find_ent_by_class(start_from_ent, value)
}

Without this change xtrafun won't compile. Am I right or did I just hack it in a way to get it to compile?

BAILOPAN
03-15-2004, 23:52
You are indeed correct...

BAILOPAN
03-16-2004, 00:54
You can get the fixed xtrafun.inc from the CVS:
xtrafun.inc (http://www.tcwonline.org/cgi-bin/viewcvs.cgi/*checkout*/amxmodx/plugins/include/xtrafun.inc?rev=HEAD&content-type=text/plain)

mICKE
03-16-2004, 01:54
I have found a thing in core.ini:
"amx_plugins addons/amxx/plugins/plugins.ini"
it shall be
"amx_plugins addons/amxx/plugins.ini"
because plugins.ini doesn't lay in plugins

EDIT: and why are there two modules.ini and two plugins.ini?
one at addons/amxx and one in /configs/

BAILOPAN
03-16-2004, 03:02
It's a packaging error on my part. I'll fix the packages for the new xtrafun.inc and remove the extra plugins.ini+modules.ini tomorrow.

Note: The plugins.ini and modules.ini in the basedir are the correct ones.

XAD
03-16-2004, 03:27
get_user_authid
Well not really... get_user_wonid returned a number, which causes problem with Steam as it is a string. Therefore get_user_wonid returns 0 for Steam users. The get_user_authid supports both but it always returns a string, ie wonid's are returned as a string of digits.

If your code depend on wonid's as numbers (ie one cell) you need to change it to use strings insted (ie array of cells).

If you still have old plugins using get_user_wonid, one simple way to fix it is to add a new function, at the top of the plugins or in one of the includes, which is called get_user_wonid but is calling get_user_authid and then return the converted string to number value of it.

/X

Johnny got his gun
03-16-2004, 03:42
We could just make a stock of it and throw it into amxmisc...

Dzyzus
03-16-2004, 07:58
[AMXX] Module is not a valid library (file "cstrike/addons/amxx/modules/fun_amx_i386.so")L 03/16/2004 - 14:52:44: [AMXX] Make sure that modules are compatible with AMX Mod X 0.15
L 03/16/2004 - 14:52:44: [AMXX] Please fix the problem then start the server again
Segmentation fault (core dumped)

Without fun_amx_i386.so and cstrike_amx_i386.so everything is good

DoubleTap
03-16-2004, 09:32
Looks like after tonights CAL match I am going to have to fire this puppy up and see how it's working. I dare not mess with anything until then, that gives me a week to ask silly questions :)

Vic/DT

Scarzzurs
03-16-2004, 10:29
Changelog:

AMX Mod X 0.15 - March 15, 2004
cs_set_user_vip and cs_get_user_vip fixed.
Reduced set_view lag.
It is now possible to shoot and break func_breakables.


cs_set_user_vip and cs_get_user_vip ...... i wonder how they work :)

"Reduced set_view lag." - How much?

"It is now possible to shoot and break func_breakables." I thought about doing some things in a plugin for func_breakable the other day, and i really don't get this, what does it mean?

Scarzzurs

MagicShot
03-16-2004, 13:37
We could just make a stock of it and throw it into amxmisc...

That would be nice for backward compatiblity with won.. espacally.. :D

pr0*killa
03-16-2004, 14:02
Thank you! :roll:

SniperBeamer
03-16-2004, 14:40
done

Johnny got his gun
03-16-2004, 16:16
Changelog:

AMX Mod X 0.15 - March 15, 2004
cs_set_user_vip and cs_get_user_vip fixed.
Reduced set_view lag.
It is now possible to shoot and break func_breakables.


cs_set_user_vip and cs_get_user_vip ...... i wonder how they work :)

"Reduced set_view lag." - How much?

"It is now possible to shoot and break func_breakables." I thought about doing some things in a plugin for func_breakable the other day, and i really don't get this, what does it mean?

Scarzzurs
You can see if a user is vip, and you can unset a VIP so that he can change team. You can also set someone to be VIP, although this won't change model/update scoreboard.

"It is now possible to shoot and break func_breakables." <- between releases this stopped working momentarily...

><)))*>
03-16-2004, 17:10
You can get the fixed xtrafun.inc from the CVS:
xtrafun.inc (http://www.tcwonline.org/cgi-bin/viewcvs.cgi/*checkout*/amxmodx/plugins/include/xtrafun.inc?rev=HEAD&content-type=text/plain)

there are nothing fixed... have you forgot to fix it ?

rACEmic
03-16-2004, 21:44
Bailopan, you forgot to fix both the errors:

return find_entity_by_class(start_from_ent, value)
}

needs to be:

return find_ent_by_class(start_from_ent, value)
}

Until he does that, manually downloading from the CVS and fixing xtrafun.inc in this way should work.

QwertyAccess
03-16-2004, 22:54
SetSpeak is missing from vexd :O
and for some reason amx_show_activity doesnt register for me who knows why.

BigBaller
03-16-2004, 22:58
SetSpeak is missing from vexd :O
and for some reason amx_show_activity doesnt register for me who knows why.

did you check the ENGINE file for SetSpeak ??

MagicShot
03-16-2004, 22:59
SetSpeak is missing from vexd :O
and for some reason amx_show_activity doesnt register for me who knows why.

did you check the ENGINE file for SetSpeak ??

Yeah Most of the Vexd stuff was placed in the engine now.. :lol:

QwertyAccess
03-17-2004, 01:54
SetSpeak is missing from vexd :O
and for some reason amx_show_activity doesnt register for me who knows why.

did you check the ENGINE file for SetSpeak ?? BAIL even said its not there i just posted cause he said to :P.
Anyway Major Bug

anyone inside users.ini gets admin high level admin even if he has "b" access level in the users.ini

RuSh
03-17-2004, 14:55
I installed AMX Mod X on my server this morning and I'm using Glibc 2.3 optimized files.

I have noticed some bugs in version 0.15.

Most damage is not showing.

Bomb countdown keeps counting on new round after T killed all CT.

Welcome motd message is not working.

top15 shows html source for last player in top15 and breaks the table.

there are some plugins I really would like to work with amx x but I cant get them to work maybe someone could help.

Plugins:
Slaylosers: http://djeyl.net/forum/index.php?showtopic=30007
Plugin Gore: http://djeyl.net/forum/index.php?showtopic=10016

Keep up the good work you guys rock! 8)

BigBaller
03-17-2004, 15:14
*EDIT

Please disregaurd this post

pr0*killa
03-17-2004, 15:17
RusH i have the same problemm and amxx is not working fully and welcomemsg.amx is not working only metamod x is working maybe we need the plugins.ini anyway? :?

BigBaller
03-17-2004, 15:30
*EDIT

Please disregaurd this post

IceMouse[WrG]
03-17-2004, 15:34
I downloaded this and noticed that in the stock functions theres a few

FVec[0] = float(IVec[0])
FVec[1] = float(IVec[1])
FVec[2] = float(IVec[2])
Don't you feel it would make it a bit simpler to

for(new i=0;i<3;i++)
FVec[i] = float(IVec[i])

Anyhow I didn't know what more you guys could have added, but I think that AMXX is a step in the right direction from the dead-development of AMX Mod

EDIT: I also don't think cstrike should be included in the main amxmod.inc (The stock for get_user_money(id) should be in cstrike)

RuSh
03-17-2004, 15:45
Thanks BigBaller!

Some problems though:
setting amx_gore to ab works, but when using amx_gore d flag the player killed with high damage like awp, knifekill or HE becomes invisible the remaining rounds of the map.

Slaylosers does not work it is running and everything looks fine but its not killing the losing team on bomb exploded or bomb defused.

BigBaller
03-17-2004, 15:48
MMM

Well, I didnt make the plugins, I just recompiled them for use with AMXX, ill post the sources to both. in thier respective attached topics.


Sources posts, any experinced scripter should be able to help you out rush

CheesyPeteza
03-17-2004, 17:25
]I downloaded this and noticed that in the stock functions theres a few

FVec[0] = float(IVec[0])
FVec[1] = float(IVec[1])
FVec[2] = float(IVec[2])
Don't you feel it would make it a bit simpler to

for(new i=0;i<3;i++)
FVec[i] = float(IVec[i])

Anyhow I didn't know what more you guys could have added, but I think that AMXX is a step in the right direction from the dead-development of AMX Mod


The first method is the fastest method, for loops add more instructions that isn't worth it for 3 simple assignments. Plus its simpler to read. :)

BAILOPAN
03-17-2004, 17:58
That is correct... not only that, but it introduces a new variable. Three simple assignments are faster.

knekter
03-20-2004, 11:49
Nice work boys, keep up the good work!