[ANY] ASteambot - Redirect
ASteambot Redirect Before anything, read this : You will need ASteambot to run this plugin. You need at least the version V 3.7.2. You need to open at least 1 port. https://puu.sh/rooCC/910797c17e.png First of all, I didn't do this plugin, h3bus did. This is his plugin (https://forums.alliedmods.net/showthread.php?t=255675), I just made a module. That's it. So, as you may have already understand, player's can be redirected through steam chat to another server upon request. https://puu.sh/rooCG/944b44999e.png
https://puu.sh/rooCK/066043be6c.png Download and run ASteambot, it can be downloaded [here] Install [ANY] Server Redirect - A full featured server listing/hoper : https://forums.alliedmods.net/showthread.php?t=255675 Install ASteambot_Core : If you already have installed ASteambot_Core, update it. 0) Install socket extension 1) Grab ASteambot_Core from [here] 2) Put in your plugins folder : addons/sourcemod/plugins 3) DOWNLOAD AND EDIT THE CONFIGURATION FILE AND PUT IT IN [SERVER PATH]/cfg/asteambot/asteambot_core.cfg !!! 4) Restart your server Install ASteambot_Redirect : 1) Grab the smx file (ASteambot_Redirect) on github, [here] 2) Put the smx file in your plugins folder : addons/sourcemod/plugins 3) Grab redirect.phrases.txt and put it in the addons/sourcemod/translation folder. [here] 4) Restart your server. 5) Done ! All files on github : https://github.com/Arkarr/SourcemodASteambot/ https://puu.sh/rooCt/e894d3eab4.png None - It's activated / deactived by putting it or not in the plugins folder. https://puu.sh/rooAd/55c1dba974.png None https://puu.sh/rooCU/f0cc0f7c77.png Nothing, feel free to ask. https://puu.sh/rooCk/5e5ba6f955.png None found yet https://puu.sh/rooCN/00e99ea989.png None, yet. http://puu.sh/rNitX/6e8e51b58d.png All files are on Github : https://github.com/Arkarr/SourcemodASteambot/ Enjoy ! Logs :
Spoiler
|
Re: [ANY] ASteambot - Redirect
ASteambot_Redirect.sp#L74-L78:
Do the proper "boolean return value" checking, and replace: PHP Code:
PHP Code:
|
Re: [ANY] ASteambot - Redirect
Okay, yeah. But I don't think it's extremly important, is it ? (As in, I didn't do anything wrong, did I ?)
Anyway, updated. |
Re: [ANY] ASteambot - Redirect
Quote:
You could then argue with the "performance" while doing StrEqual wouldn't be much (CPU resources and such), and that there probably wouldn't be much waste here. For the past 5 years, GetClientAuthId when introduced, and the previous GetClientAuthString had been a boolean with the documentation saying that it would return FALSE if it didn't get a proper Steam ID, there is no reasons not to check it. After all, it's only takes 6 extra characters and one to two spaces (depending on your coding "style"), to do it right. :-) |
Re: [ANY] ASteambot - Redirect
Quote:
Thanks for pointing this out. |
Re: [ANY] ASteambot - Redirect
Sorry for the late feedback lol.
Thank's mate, it's working well the bot instantly sends your the message. But if the bot isn't friend with you, nothing happend nothing returned on the chat... if you want, i suggest you to add something like, if the bot isn't friend automatically send a friend request, or return a chat message like: "Please, use !friend to add the bot to use this fonction" ... Keep it up (y) you are doing well ;) |
Re: [ANY] ASteambot - Redirect
Quote:
PHP Code:
|
Re: [ANY] ASteambot - Redirect
|
Re: [ANY] ASteambot - Redirect
redirect steambot message status report since v4.9:
Starting TCP server on port 4765 Error while creating socket ! It may be because of the port being already usued! Use another TCP port number. System.Net.Sockets.SocketException (0x80004005): Address already in use at System.Net.Sockets.Socket.Bind (System.Net.EndPoint localEP) [0x00043] in <fc308f916aec4e4283e0c1d4b761760a>:0 at ASteambot.Networking.AsynchronousSocketListen er.StartListening () [0x0002a] in <f1f0db46e124422993e88bc87cda3884>:0 Translation file (steamchattexts.xml) can't be found or is corrupted ! Bot won't respond to user message. Presse a key to continue... More infos here : Could not find file "/home/insserver/steamchattexts.xml" |
Re: [ANY] ASteambot - Redirect
Quote:
Also make sure you have downloaded the whole thing, you are missing steamchattexts.xml. EDIT : You can get last release here : https://github.com/Arkarr/ASteambot/releases/latest |
All times are GMT -4. The time now is 04:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.