Raised This Month: $ Target: $400
 0% 

ERROR but compilation is perfect


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BloodyNuker
Member
Join Date: Jan 2006
Old 04-19-2006 , 20:32   ERROR but compilation is perfect
Reply With Quote #1

Hello, i create this plugin, i compile and when run in the server the server shut down
The compilation is perfect
This plugin when a player connect create a cfg in the player pc(using command writecfg)
35 seconds later the plugin show if the server have got /maps/de_dust2.bsp, if donīt have the map, kick player


Code:
// ACA Server-Side Plugin #include <amxmodx> #include <amxmisc> new Plugin_Author[] = "<*[ZOO]*> - Lobo"; new Plugin_Version[] = "V 1.0"; new Plugin_Name[] = "A.C.A Anti cheat Acomerla Light, Server - Plugin" public plugin_init() { register_plugin(Plugin_Name,Plugin_Version,Plugin_Author); register_concmd("amx_aca","client_info",ADMIN_ALL,"ACA Server-Side Plugin"); } public client_info(id) { client_print(id,print_console,"%s %s | Autor: %s", Plugin_Name, Plugin_Version, Plugin_Author); } public client_putinserver(id) { set_task(1.0, "client_verificacion1", id, "b") set_task(35.0, "client_verificacion1", id, "b") } public client_verificacion1(id) { if( !is_user_connected(id) ) { return PLUGIN_HANDLED; } client_cmd(id,"writecfg entroalserver.cfg;clear") client_cmd(id,"echo ^"*** Se requiere <*[ZOO]*> - A.C.A Light v1.0 - Bajalo de: <a href="http://www.ClanZoo.com.ar" target="_blank" rel="nofollow noopener">www.ClanZoo.com.ar</a> ***^"") return PLUGIN_CONTINUE } public client_verificacion2(id) { if( !is_user_connected(id) ) { return PLUGIN_HANDLED; } if( !file_exists("maps/de_dust2.bsp")) { new name[32]; client_cmd(id,"toggleconsole") client_print(0,print_chat,"*** %s fue kickeado del servidor por no tener instalado el A.C.A *** <a href="http://www.ClanZoo.com.ar" target="_blank" rel="nofollow noopener">www.ClanZoo.com.ar</a> ***",name) client_cmd(id,"echo ^"*** No tenes el ACA Light v1.0 bajalo de <a href="http://www.clanzoo.com.ar" target="_blank" rel="nofollow noopener">www.clanzoo.com.ar</a> ***^";disconnect") } return PLUGIN_CONTINUE }
BloodyNuker is offline
Willmaker
Senior Member
Join Date: Dec 2004
Location: Sydney, Australia
Old 04-19-2006 , 22:17  
Reply With Quote #2

Wouldn't you want to change this:

Code:
public client_putinserver(id) { set_task(1.0, "client_verificacion1", id, "b") set_task(35.0, "client_verificacion1", id, "b") }

to this?:

Code:
public client_putinserver(id) { set_task(1.0, "client_verificacion1", id, "b") set_task(35.0, "client_verificacion2", id, "b") }
__________________
GargStudios.net - Australian SvenCoop/Ent Server with Time Based Rewards
Willmaker is offline
Send a message via ICQ to Willmaker Send a message via AIM to Willmaker Send a message via MSN to Willmaker Send a message via Yahoo to Willmaker
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-19-2006 , 22:20  
Reply With Quote #3

http://ghw-amxx.com/viewtopic.php?t=153

PS
FOR THE LOVE OF GOD INDENT MAN
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Reply



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 04:59.


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