[Solved]Need Help - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Solved]Need Help (
/showthread.php?tid=91669)
[Solved]Need Help -
Deat_Itself - 16.08.2009
Quote:
Originally Posted by Zezombia
Control your server straight from IRC!
How to install (will explain step-by-step for who are new to it):
Download this plugin: http://forum.sa-mp.com/index.php?topic=22354.0.
Make a new folder in your server directory, and call it "plugins" and place what you downloaded inside.
Add a new line to your server .cfg called "plugins", and add "irc.dll" to it.
Next, download this filterscript (links at bottom of post), and place it in your filterscripts folder.
Add "iAdmin" to your filterscripts line in your server.cfg.
Now, inside your iAdmin.pwn you will find this:
pawn Код:
#define EchoBot "iAdmin" //your bots name #define EchoServer "irc.gamesurge.net" //irc hoster #define EchoChan "#SA-FE" //server channel #define EchoPort 6667 //this port is used by default #define CmdChar '!' //used for commands, as in !ikick
Simply modify it to your own desires.
The admin commands (you need to be an op to use them) - all commands effect the players in the server, not the people in IRC...
- ikick [id]
- crash [id]
- iban [id]
- rangeban [id]
- wire [id]
- unwire [id]
- ann [msg]
- getinfo [id]
- jail [id]
- unjail [id]
- getid [part of/name]
- gmx
- clearchat
- slap [id]
- freeze [id]
- unfreeze [id]
- tele [id] to an [id]
- eject [id]
- sethealth [id] [health]
- disarm [id]
- explode [id]
- givemoney [id] [money]
- setscore [id] [score]
- setname [id] [name]
- akill [id]
- giveweapon [id] [wepid] [ammo]
- players - made by Grove
All very simple and self explanatory. When loading the FS, please give up to 20 seconds for the bot to join the IRC channel.
Please report any bugs, I'm sure where will be some.
Download:
.pwn via Zezombia.com (recommended)
.rar via UploadFFS (.pwn)
.pwn via pastebin
No .amx's, for obvious reasons. Post in this topic for help, and please don't PM me (or e-mail me).
Credits: - Admin created by Zezombia (Nov 11 200
- Jacob - IRC Plugin and Include
- Grove/Jay - Players command
- ThePro - Crash command help
- Xtreme - Jail cords (to lazy to get myself)
- Andre9977 - Basic help
|
As i have tried it 4 times but it always giving me some errors see this pic
and when i put
http://pastebin.com/f1b635959 into gamemode it giving me
C:\Users\Yousaf\Desktop\gamemodes\lvdm.pwn(110
: fatal error 100: cannot read from file: "a_irc"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
I think i have missed something
Kindly if anyone knew about it so plz help me (you can pm me )
Thanks
Re: Need Help -
[LL]InstabiC - 16.08.2009
You need the a_irc include file in the includes folder
Re: Need Help -
dice7 - 16.08.2009
and irc.dll plugin
Re: Need Help -
Deat_Itself - 16.08.2009
Quote:
Originally Posted by dice7
and irc.dll plugin
|
added
Quote:
Originally Posted by InstabiC
You need the a_irc include file in the includes folder
|
i havent downloaded iAdmin.rar so i think the problem is just created bcz of iAdmin.rar
http://www.zezombia.com/mirrors/iAdmin.rar site error
i think irc plugin is missing (irc.so)
and this is also giving me break operation when i open it
http://www.megaupload.com/?d=9XJIKWV0
Re: Need Help -
dice7 - 16.08.2009
http://files.uploadffs.com/0/d8ba00b4/a_irc.inc
Paste it into a blank txt and rename it a_irc.inc, then put it into pawno/includes
Re: Need Help -
Deat_Itself - 16.08.2009
Quote:
Originally Posted by dice7
|
now it giving me
C:\Users\Yousaf\Desktop\gamemodes\lvdm.pwn(1721) : error 021: symbol already defined: "OnPlayerConnect"
C:\Users\Yousaf\Desktop\gamemodes\lvdm.pwn(1729) : warning 209: function "OnPlayerConnect" should return a value
C:\Users\Yousaf\Desktop\gamemodes\lvdm.pwn(1732) : error 021: symbol already defined: "OnPlayerDisconnect"
C:\Users\Yousaf\Desktop\gamemodes\lvdm.pwn(1755) : error 021: symbol already defined: "OnPlayerCommandText"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
and also
unable to load filter script iAdmin.amx
Re: Need Help -
Adil - 16.08.2009
Quote:
Originally Posted by Death_Itself
Quote:
Originally Posted by dice7
|
now it giving me
C:\Users\Yousaf\Desktop\gamemodes\lvdm.pwn(1721) : error 021: symbol already defined: "OnPlayerConnect"
C:\Users\Yousaf\Desktop\gamemodes\lvdm.pwn(1729) : warning 209: function "OnPlayerConnect" should return a value
C:\Users\Yousaf\Desktop\gamemodes\lvdm.pwn(1732) : error 021: symbol already defined: "OnPlayerDisconnect"
C:\Users\Yousaf\Desktop\gamemodes\lvdm.pwn(1755) : error 021: symbol already defined: "OnPlayerCommandText"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
and also
unable to load filter script iAdmin.amx
|
Now you have messed something a_samp in the includes.
Re: Need Help -
Deat_Itself - 16.08.2009
Quote:
Originally Posted by Adil_Rahoo
Quote:
Originally Posted by Death_Itself
Quote:
Originally Posted by dice7
|
now it giving me
C:\Users\Yousaf\Desktop\gamemodes\lvdm.pwn(1721) : error 021: symbol already defined: "OnPlayerConnect"
C:\Users\Yousaf\Desktop\gamemodes\lvdm.pwn(1729) : warning 209: function "OnPlayerConnect" should return a value
C:\Users\Yousaf\Desktop\gamemodes\lvdm.pwn(1732) : error 021: symbol already defined: "OnPlayerDisconnect"
C:\Users\Yousaf\Desktop\gamemodes\lvdm.pwn(1755) : error 021: symbol already defined: "OnPlayerCommandText"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
and also
unable to load filter script iAdmin.amx
|
Now you have messed something a_samp in the includes.
|
if u know tell me
Re: Need Help -
Adil - 17.08.2009
Download the Plugin and the Filterscript, make a new folder at the place where Samp-Server and name it "Plugins" and put the plugin in it, open server.cfg and edit the "plugins" line to "plugins irc.dll and edit "filterscript" line to "filterscript irc", then open the "filterscripts" and paste the "irc.PWN" and compile it to irc.AMX and then run samp-server, simple, i hope this helped.
Regards, Adil.