SA-MP Forums Archive
[Plugin] [rel] guircon - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] [rel] guircon (/showthread.php?tid=5578)

Pages: 1 2 3 4


[rel] guircon - Static - 02.07.2007



Visit Wiki/Source Page



Re: [REL] GUIRCON - rats - 02.07.2007

this is fabolous! nice work man


Error When Loading Guircon!? - JaTochNietDan - 02.07.2007

I try to load this on my server and this is the error i get!

Server Plugins
[13:25] --------------
[13:25] Loading plugin: GUIRconPlugin/Plugin/release/plugin.dll
[13:25] Failed (plugins/GUIRconPlugin/Plugin/release/plugin.dll: invalid ELF header)
[13:25] Loaded 0 plugins.

WTF!?


Re: Error When Loading Guircon!? - Static - 02.07.2007

Hmm, the compiled dll should load fine.

Can you paste the plugins line from your server.cfg, it could be to do with that


Re: Error When Loading Guircon!? - JaTochNietDan - 02.07.2007

plugins GUIRconPlugin/Plugin/release/plugin.dll


Re: Error When Loading Guircon!? - Static - 02.07.2007

Quote:

Loading plugin: GUIRconPlugin/Plugin/release/plugin.dll
GUIRCON Server Plugin... loaded
Loaded.
Loaded 1 plugins.

With the same plugins line as you said. I don't understand.. what version of windows are you running?


Re: Error When Loading Guircon!? - JaTochNietDan - 02.07.2007

Oh im such a fool, hoster has linux, dont work with linux?


Re: Error When Loading Guircon!? - Static - 02.07.2007

It should work with linux, instead of plugin.dll, use guircon.so

However I haven't been able to test a server with it running, so any feedback would be appreciated


- JaTochNietDan - 02.07.2007

Ah good man, thanks for that, ill give you a reply in a few mins with feedback

Ok plugin loaded on server and then i tried to connect and Error Connecting To Server


Re: Error When Loading Guircon!? - Static - 02.07.2007

Hmm that error comes up when the socket can't make a connection, usually if the IP address or port is wrong.
Make sure the guircon.pwn filterscript is loaded (you'll have to compile it first), and the default port is 8888. The IP will be the same as you use to connect to your server to play.


Re: Error When Loading Guircon!? - JaTochNietDan - 02.07.2007

[14:34] Loading filter script 'guircon.amx'...
[14:34] Unable to load filter script 'guircon.amx'.


Re: Error When Loading Guircon!? - d.wine - 02.07.2007

Quote:
Originally Posted by JaTochNietDan
plugins GUIRconPlugin/Plugin/release/plugin.dll
LOOOL! You shoul put plugin.dll in folder named plugins and write in cfg:
Код:
plugins plugin.dll



Re: [REL] GUIRCON - d.wine - 02.07.2007

When I compile, I get lots of errors:

Is it normal?


Re: Error When Loading Guircon!? - JaTochNietDan - 02.07.2007

no we fixed that problem already read my other comment


Re: Error When Loading Guircon!? - Static - 02.07.2007

Quote:
Originally Posted by JaTochNietDan
[14:34] Loading filter script 'guircon.amx'...
[14:34] Unable to load filter script 'guircon.amx'.
That should only be if the file isnt found. Check you have filterscripts/guircon.amx
If not you'll have to recompile the pwn file (remember to put it in server_dir/filterscripts/). You'll probably get warnings when you compile it but it should still compile fine.


Re: [REL] GUIRCON - Static - 02.07.2007

OK, assuming you're on Windows (looks like you are), at the top of main.h and xpthreads.h, put

#define _WINDOWS
#define WIN32

It looks like they haven't been defined, although they should've


Re: [REL] GUIRCON - tima - 02.07.2007

There is a problem, writes " Error Connecting To Server ".

Install this plugin on Linux server, has made all under the instruction:
1. Has taken already compiled guircon.so, it was loaded into system normally.
2. Has compiled original guircon.amx, nothing changed, was loaded normally.

But somehow still does not want to connect to the server.
Suggest what could be the problem?


Re: [REL] GUIRCON - d.wine - 02.07.2007

I have the same problem on windows server.


Re: [REL] GUIRCON - Static - 02.07.2007

OK, I've made a couple of changes to sockethandler.cpp and main.cpp to include some basic error messages on calling GUIRCON_Activate

If you can compile the new source and run it, then see if anything comes up.


Re: [REL] GUIRCON - !damo!spiderman - 02.07.2007

Nice Work Static you bet me to it