AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   New Structure (https://forums.alliedmods.net/showthread.php?t=94)

SniperBeamer 03-07-2004 04:15

but better than no backwards compatibility

rACEmic 03-07-2004 05:29

This project is really promising and I'm glad you guys have kept AMX alive (in a different form, but AMX nevertheless).

It's probably too early to tell, but will AMX-X plugins generally be less CPU-intensive than AMX plugins? I assume they would be because of the newer Small compiler being used, but you never know...

Sonic 03-07-2004 05:40

Quote:

Originally Posted by SniperBeamer
but better than no backwards compatibility

put all "backward compatibility" staff in the amxmod.inc
only old plugins the this use

Code:
/*  amxmod.inc */ #if defined _amxmod_included   #endinput #endif #define _amxmod_included #include <amxmodx> #include <cstrike> #include <engine> #include <fun> /* from string.inc */ stock str_to_int(const string[])   return str_to_num(string)   /* from string.inc */ stock strtonum(const string[])   return str_to_num(string) /* from string.inc */ stock numtostr(num,string[],len)   return num_to_str(num,string,len) /* from string.inc */ stock int_to_str(num,string[],len)   return num_to_str(num,string,len) /* from fun.inc */ stock set_user_hitzones(index=0,target=0,body=255)   return set_hitzones(body)   /* from fun.inc */ stock get_user_hitzones(index,target)   return get_hitzones()   /* from fun.inc */ stock user_spawn(index)   return spawn(index) /* from amxmisc.inc */ /* use log_amx() instead */ stock get_logfile( name[], len )   return get_time("admin%m%d.log",name,len)

possibly which are missing

PM 03-07-2004 05:49

Quote:

Originally Posted by rACEmic
This project is really promising and I'm glad you guys have kept AMX alive (in a different form, but AMX nevertheless).

It's probably too early to tell, but will AMX-X plugins generally be less CPU-intensive than AMX plugins? I assume they would be because of the newer Small compiler being used, but you never know...

They should be a bit because of the sysreq.d instructions...

Sonic 03-07-2004 06:47

Quote:

Originally Posted by Sonic
possibly which are missing

Code:
/* from amxmodx.inc */ stock get_user_deaths(index)   return cs_get_user_deaths(index) /* from amxmodx.inc */ stock set_user_deaths(index,newdeaths)   return cs_set_user_deaths(index,newdeaths) /* from amxmodx.inc */ stock get_user_money(index)   return cs_get_user_money(index) /* from amxmodx.inc */ stock set_user_money(index,money,flash=1)   return cs_set_user_money(index,money,flash)

whats about "#include <amxmisc>" in the amxmodx.inc ?
all plugins that uses this lib, load it self

BAILOPAN 03-07-2004 09:09

/\//\
 
Good ideas, but it is irrelevant how many natives are included. It only uses the natives that you use in your script.

MagicShot 03-07-2004 22:59

Hurrary!!
 
Yay!! Good Job!!! Looks Good..

We Need Backward Compatiblity because of the vast number a plugins already made out there. If thats wasnt there the Authers would have to Rewrite them or someone else would have to recreate them and that would be like starting all over. :shock:


Props!! 8)

_KaszpiR_ 03-08-2004 03:35

shit
you will ruin amxx with many subdirs like ua did with clanmod :/
i will have to rewrite all logging plugins etc :/

BigBaller 03-08-2004 03:36

We shall see when it is released.

MagicShot 03-08-2004 03:38

I am sure u will be more
 
Quote:

Originally Posted by BigBaller
We shall see when it is released.

I am sure you will be more than heppy when it is released...

later..


All times are GMT -4. The time now is 01:32.

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