AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   News (https://forums.alliedmods.net/forumdisplay.php?f=16)
-   -   First Release Version 0.1 (https://forums.alliedmods.net/showthread.php?t=115)

BAILOPAN 03-08-2004 05:09

First Release Version 0.1
 
I am proud to announce our first release of AMX Mod X.

AMX Mod X 0.1 is ALPHA and therefore should be taken with a grain of salt. It may not be fully backward compatible and may be buggy! We are relying on the community's input to resolve all bugs for the next release. Our goal is 100% backwards compatibility with AMX Mod.

As of Release 0.1, I would not use AMX Mod X in a production situation. It will be more stable with version 0.2, although we will have an intermediate 0.15 release.

You can get all of the files at SourceForge, and it is highly suggested you take a look at the Documentation provided in the package files.
AMX Mod X Steam
AMX Mod X WON

Our goal for 0.15 (~2 days) is to fix known bugs (ENGINE does not find_entity and there is no xtrafun.inc backwards support).

Our goal for 0.2 is to fix all known bugs, to introduce official NS, TS, TFC, and DOD support, to introduce a finalized documentation.

Thanks for sticking with us! There is a very dedicated team behind AMX Mod X that wants to give you something good to work with =)

Changelog:
Quote:

Changelog

AMX Mod X 0.1 - March 08, 2004
updated to new Small Abstract Machine and Small Compiler
added welcome message for Steam (replaces the default motd)
kicking/banning reason is displayed on target player
changed amx_ban, amx_banid and amx_banip command
mysql table is automatic created
mapchange obeys mp_chattime
updated in-game stats theme
fixed say @... and say_team @... under Natural-Selection
only admins can view amx_who
added Counter-Strike 1.6 maps to maps.ini

added native functions:
log_amx( ... )
is_module_loaded( ... )
get_module( ... )
get_modulesnum( ... )
is_plugin_loaded( ... )
callfunc_begin( ... )
callfunc_push_...( ... )
callfunc_end( ... )

added commands:
amx_reloadadmins
amx_plugins
amx_modules

moved some native functions to new Counter-Strike module and added functions:
cs_get_hostage_follow( ... )
cs_set_hostage_follow( ... )
cs_get_hostage_id( ... )
cs_get_user_backpackammo( ... )
cs_set_user_backpackammo( ... )
cs_get_user_defusekit( ... )
cs_set_user_defusekit( ... )
cs_get_user_inside_buyzone( ... )
cs_get_user_model( ... )
cs_set_user_model( ... )
cs_reset_user_model( ... )
cs_get_user_nvgoggles( ... )
cs_set_user_nvgoggles( ... )
cs_get_user_plant( ... )
cs_set_user_plant( ... )
cs_set_user_team( ... )
cs_get_user_vip( ... )
cs_set_user_vip( ... )
cs_get_weapon_burstmode( ... )
cs_set_weapon_burstmode( ... )
cs_get_weapon_silenced( ... )
cs_set_weapon_silenced( ... )

moved some native functions to new Engine module and added functions:
register_message( ... )
get_msg_...( ... )
set_msg_...( ... )
get_offset_...( ... )
set_offset...( ... )
precache_generic( ... )
entity_get_...( ... )
entity_set_...( ... )
create_entity( ... )
find_entity_...( ... )
call_think( ... )
is_valid_ent( ... )
entity_set_origin( ... )
entity_set_model( ... )
remove_entity( ... )
entity_count( ... )
fake_touch( ... )
DispatchKeyValue( ... )
DispatchSpawn( ... )
RadiusDamage( ... )
VelocityByAim( ... )
PointContents( ... )
trace_line( ... )
trace_normal( ... )
vector_to_angle( ... )
vector_length( ... )
vector_distance( ... )
get_grenade_id( ... )
halflife_time( ... )
set_lights( ... )
set_msg_block( ... )
get_msg_block( ... )
attach_view( ... )
set_view( ... )
pfn_touch( ... )
server_frame( ... )
client_kill( ... )
client_PreThink( ... )
client_PostThink( ... )

BAILOPAN 03-08-2004 05:14

/\//\
 
Known bugs:

Compiler cannot use ternary operators.
*Engine's find_entity() is broken
xtrafun functions are not in yet
*amxmod.inc has two bad definitions (they need to be removed)
amxx_mm_i386.so may not work on all linux machines. this has to do with a compile linking to lib stdc++


* = fixed in CVS

jsterling 03-08-2004 05:56

Theres also a typo in the core.ini file. plugins.ini is pointing to the wrong DIR.

Original -
Code:

; Configuration file for AMX Mod X

amx_logdir        addons/amxx/logs

amx_modules        addons/amxx/modules.ini

amx_plugins        addons/amxx/plugins/plugins.ini

amx_vault                        addons/amxx/vault.ini

csstats_score        addons/amxx/csstats.amx

csstats                addons/amxx/csstats.dat

Should be -
Code:

; Configuration file for AMX Mod X

amx_logdir        addons/amxx/logs

amx_modules        addons/amxx/modules.ini

amx_plugins        addons/amxx/plugins.ini

amx_vault                        addons/amxx/vault.ini

csstats_score        addons/amxx/csstats.amx

csstats                addons/amxx/csstats.dat


DopeFish 03-08-2004 05:59

was sc version 2.1 packed on purpose instead of 2.4?

[edit]
ok, just foud out why the 2.4 sc seems a little "buggy" with #defined
("buggy" as in "not backward compatible)

Johnny got his gun 03-08-2004 06:18

sc 2.1? in the version I got its 2.4 (steam win32)

ArtAttack 03-08-2004 06:42

CLAP CLAP CLAP

I translated the news in french forum and told users to report bugs.
There are not many french registered members but they seem to be glad about the first release.

DopeFish 03-08-2004 06:55

Quote:

Originally Posted by Johnny got his gun
sc 2.1? in the version I got its 2.4 (steam win32)

I downloaded the steam linux version. right now I am using the sc from the cvs formost plugins, and 2.1 from the download for the ones that cause problems

Johnny got his gun 03-08-2004 07:02

Ok Note that you have to use sc 2.4 released by AMXModX team because PM has done some changes to it, so it's not really 2.4 which you can find on compuphase's site. The real 2.4 for instance uses \ as escape character, where it previously used ^. We decided to stick with ^ so you wont have to change this in your old plugins. (so everything should be as usual, keep using ^). However this change is not in 2.4 if you dl it from compuphase. Btw there are also other bugs with multidimensional arrays and more if you dl from compuphase.

Summa summarum: don't download small compiler from compuphase

SniperBeamer 03-08-2004 07:11

it's not possible to use \ instead of ^
if you use it the cstrike color codes (\w,\y,...) don't work anymore

DopeFish 03-08-2004 07:17

yeah I know, fortunatly the amx abstract machine is downwards compatible so I can still use the old sc.

this code doesn't work with the new compiler anymore:
Code:

#include <amxmod>
                                                                                                       
#if !defined (BLARGH)
      #define BLARGH 1
#endif
                                                                                                       
#if BLARGH
                                                                                                       
public plugin_init()
{
        register_plugin("Test Plugin","0.1","dopy")
        return PLUGIN_CONTINUE
}
                                                                                                       
#endif

Code:

./sc2 test.sma -otest.amx
Small compiler 2.4              Copyright (c) 1997-2003, ITB CompuPhase
 
test.sma(7) : error 017: undefined symbol "BLARGH"
test.sma(16) : error 013: no entry point (no public functions)
 
2 Errors.



All times are GMT -4. The time now is 08:31.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.