This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Search found 4 matches

by cfpresla
Tue Jul 08, 2008 2:29 pm
Forum: Modules & Programming
Topic: Rcon Gameserver VIA Eggdrop
Replies: 8
Views: 20655

Thats done, now as for calling the function from a TCL script, I assume something like (since I used "rcon" as the cmd name):

[rcon arg1 arg2 ... ]
by cfpresla
Tue Jul 08, 2008 11:54 am
Forum: Modules & Programming
Topic: Rcon Gameserver VIA Eggdrop
Replies: 8
Views: 20655

Okay, so lemme make sure I understand this before I go plowing through code. From what I've found, these functions are defined in module.h, and tcl_cmds is a type_def'ed struct containing the name of the command and function which the command links to. If this is correct, I'm assuming I need to crea...
by cfpresla
Tue Jul 08, 2008 11:04 am
Forum: Modules & Programming
Topic: Rcon Gameserver VIA Eggdrop
Replies: 8
Views: 20655

Well, after doing more snooping, I realized I was making a big mistake :/ I was looking in the src/mod dir of the compiled bot, not the uncompiled one! I placed in the needed functions and variables, into the C program and placed my functions into the function array. Any tips on how to now access th...
by cfpresla
Tue Jul 08, 2008 9:49 am
Forum: Modules & Programming
Topic: Rcon Gameserver VIA Eggdrop
Replies: 8
Views: 20655

Rcon Gameserver VIA Eggdrop

Okay, I've written a program in C which allows me to use RCON on Source Engine servers. I've attempted a plethora of different methods to get this bad boy into my TCL script but nothing seems to be working. I've compiled the .c files using SWIG into a .so file, and attempted to load the module (tcls...