Raised This Month: $32 Target: $400
 8% 

First Release Version 0.1


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-08-2004 , 07:44  
#11

Code:
#include <amxmodx> #if !defined (BLARGH)       #define BLARGH 1 #endif #if defined BLARGH public plugin_init() {         register_plugin("Test Plugin","0.2","dopy + jghg in collaboration") } #endif

Note that even if #include <amxmod> works, you should probably use #include <amxmodx>, if you don't plan on getting your plugin working on old amxmod...
Johnny got his gun is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-08-2004 , 07:48  
#12

Pls keep on reporting bugs here when (if...:-)) you find any.
Johnny got his gun is offline
DopeFish
Senior Member
Join Date: Feb 2004
Old 03-08-2004 , 07:49  
#13

oh crap *g* thats going to be a lot of code I'll have to clean up. thanks ;)

Another thing. is it safe to use
Code:
#if defined _amxmodx_included
for code parts that differ between amxmod and amxmodx (find_entity)?
DopeFish is offline
Send a message via ICQ to DopeFish
rACEmic
Junior Member
Join Date: Mar 2004
Old 03-08-2004 , 08:15  
#14

I don't know if the JGHG module functions have been added to AMXX yet, but if they have, I think it would be a good idea to add a dummy jghg.inc file in the includes directory of the AMXX standard package to prevent compiler errors.
__________________
T3 HOUSTON Server Utilities:
Steam ID Finder
Warcraft 3 On-the-Fly Compilation
rACEmic is offline
DopeFish
Senior Member
Join Date: Feb 2004
Old 03-08-2004 , 08:31  
#15

hmm #if defined BLARGH doesn't do what I need. it always gives back "true" independent of the value of BLARGH (of course)
#if BLARGH gives back true if BLARGH is 1 and false if BLARGH is 0
According the the small documentation #if constant expression must work. Please don't tell me you killed this in the new sc compiler, it would make the wc3 plugin a lot larger, slower and cause one heck of a lot of work for me.
DopeFish is offline
Send a message via ICQ to DopeFish
XAD
Senior Member
Join Date: Mar 2004
Location: Sweden
Old 03-08-2004 , 09:14  
#16

Quote:
Originally Posted by DopeFish
hmm #if defined BLARGH doesn't do what I need. it always gives back "true" independent of the value of BLARGH (of course)

"#if defined x" is meaning if you defined the compiler variable x then return true... it doesn't care what you set it to, or did I missunderstand what you want to do??

/X
XAD is offline
CroniK
Member
Join Date: Mar 2004
Location: Toulouse, France
Old 03-08-2004 , 09:25  
#17

Just a small question...

Witch version of metamod do you have included in this fist alpha release (the valve one, the metamod site one.....)?

Got the problem where amxx_mm_i386.so don't work => amxx.cfg not loaded


Edited:
Sorry found the answer:
http://forums.alliedmods.net/showthread.php?t=117
__________________
CroniK

[FR] CroniK CS1.6 Server: 217.167.120.122:27015

Hosted by myself
CroniK is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 03-08-2004 , 09:54  
#18

WOOT WOOT FINALLY!

I will check it out in a few hours, looks very good.
__________________

BigBaller is offline
SniperBeamer
AMX Mod X Founder
Join Date: Jun 2003
Location: Good Old Europe
Old 03-08-2004 , 09:56  
#19

note: it's alpha!
__________________
SniperBeamer is offline
><)))*>
Senior Member
Join Date: Feb 2004
Old 03-08-2004 , 10:00  
#20

bugs:

Code:
Rcon: "rcon 3227766428 "xxx" amx_plugins" from "127.0.0.1:7139"
[AMXX] Run time error 4 on line 385 (plugin "admincmd.amx")
Code:
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "strtonum") (plugin "ma
trix_plugin.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "strtonum") (plugin "ps
ychosounds.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "block_message") (plugi
n "warcraft3.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "set_user_velocity") (p
lugin "sh_agent.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "SetSpeak") (plugin "sh
_anubis.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "Entvars_Set_Float") (p
lugin "sh_aquaman.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "Entvars_Set_Edict") (p
lugin "sh_bomberman.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "set_user_velocity") (p
lugin "sh_exodus.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "set_user_money") (plug
in "sh_greenarrow.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "SetSpeak") (plugin "sh
_hades.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "CS_ClearModel") (plugi
n "sh_hostage.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "get_user_velocity") (p
lugin "sh_hulk.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "Entvars_Get_Int") (plu
gin "sh_humantorch.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "get_user_button") (plu
gin "sh_invisman.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "set_user_velocity") (p
lugin "sh_ironman.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "set_user_velocity") (p
lugin "sh_magneto.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "CS_ClearModel") (plugi
n "sh_mystique.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "set_user_velocity") (p
lugin "sh_nightcrawler.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "set_user_velocity") (p
lugin "sh_spiderman.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "set_user_money") (plug
in "sh_thief.amx")
L 03/08/2004 - 16:10:53: [AMXX] Function not found (name "user_spawn") (plugin "
sh_zeus.amx")
but i dont recompile the plugins because under windows the compiler doesnt work!
__________________
Manche Leute kaufen sich von dem Geld, das sie nicht haben, Sachen die sie nicht brauchen, um Leuten zu imponieren, die sie nicht mögen.
Lottery: A tax on people who are bad at math.
><)))*> is offline
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:58.


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