Register for your free account! | Forgot your password?

You last visited: Today at 20:20

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



DiscordBot w/ DB Integration

Discussion on DiscordBot w/ DB Integration within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old 08/12/2019, 16:39   #16
dotCom
 
Devsome's Avatar
 
elite*gold: 9842
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 16,840
Received Thanks: 4,672
Quote:
Originally Posted by esteve458 View Post
error



Check your token in the config.json
Devsome is offline  
Old 08/12/2019, 16:41   #17

 
XxGhostSpiriTxX's Avatar
 
elite*gold: 53
Join Date: Jul 2012
Posts: 541
Received Thanks: 190
Quote:
Originally Posted by Devsome View Post
Check your token in the config.json
the token is correct I check it many times before posting
XxGhostSpiriTxX is offline  
Old 08/12/2019, 16:44   #18
dotCom
 
Devsome's Avatar
 
elite*gold: 9842
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 16,840
Received Thanks: 4,672
Quote:
Originally Posted by esteve458 View Post
the token is correct I check it many times before posting
Try to put it in quotation marks
Devsome is offline  
Old 08/12/2019, 16:47   #19

 
XxGhostSpiriTxX's Avatar
 
elite*gold: 53
Join Date: Jul 2012
Posts: 541
Received Thanks: 190
Quote:
Originally Posted by Devsome View Post
Try to put it in quotation marks

is in quotes

XxGhostSpiriTxX is offline  
Old 08/12/2019, 17:12   #20
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,223
Received Thanks: 1,482
Work fine thx scripting the procedure for global and unique and last sox drop log next step is auto event


NorseGodTyr is offline  
Old 08/13/2019, 01:10   #21
 
ILowe's Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 679
Received Thanks: 29
How do closed stream mode?

only privately discarded messages come from MessageLog.

messages thrown from the channel do not receive MessageLog.
ILowe is offline  
Old 08/13/2019, 08:17   #22
dotCom
 
Devsome's Avatar
 
elite*gold: 9842
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 16,840
Received Thanks: 4,672
Doing every 500ms two sql queries. Not the best Idea.
Devsome is offline  
Old 08/13/2019, 09:03   #23
 
elite*gold: 0
Join Date: Jul 2012
Posts: 44
Received Thanks: 1
Video Tutorial please
zuleidy1201 is offline  
Old 08/13/2019, 09:23   #24

 
AceSpace's Avatar
 
elite*gold: 21
Join Date: Mar 2011
Posts: 1,613
Received Thanks: 1,122
Quote:
Originally Posted by Devsome View Post
Doing every 500ms two sql queries. Not the best Idea.
You can change "handlerInterval" in config.json to whatever you like. I personally had set it as 500 ms for testing purpose

Quote:
Originally Posted by ILowe View Post
How do closed stream mode?

only privately discarded messages come from MessageLog.

messages thrown from the channel do not receive MessageLog.
Change "enableActivity" in config.json to "false"

For messages issue, please put the right server name in config.json

Quote:
Originally Posted by esteve458 View Post
is in quotes

Make sure you are using the Token not Client Secret
AceSpace is offline  
Old 08/14/2019, 06:50   #25
 
ILowe's Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 679
Received Thanks: 29
Quote:
Originally Posted by AceSpace View Post
Change "enableActivity" in config.json to "false"

For messages issue, please put the right server name in config.json
PHP Code:
{
    
"activity""Ace",
    
"token""XXXX",
    
"server""DEV",
    
"enableRoleAssign"false,
    
"role""Member",
    
"handlerInterval"500,
    
"sqlConfig": {
        
"server""192.168.1.5",
        
"user""sa",
        
"password""123456",
        
"database""DiscordBot"
    
}



enableActivity dont have
ILowe is offline  
Old 08/14/2019, 13:39   #26

 
AceSpace's Avatar
 
elite*gold: 21
Join Date: Mar 2011
Posts: 1,613
Received Thanks: 1,122
Quote:
Originally Posted by ILowe View Post
PHP Code:
{
    
"activity""Ace",
    
"token""XXXX",
    
"server""DEV",
    
"enableRoleAssign"false,
    
"role""Member",
    
"handlerInterval"500,
    
"sqlConfig": {
        
"server""192.168.1.5",
        
"user""sa",
        
"password""123456",
        
"database""DiscordBot"
    
}



enableActivity dont have
in bot.js, delete the following code (you will find it under 'client.on('ready', () -> {' :
Code:
client.user.setPresence({
            game: {
                name: config.activity,
                type: "STREAMING",
                url: "https://www.twitch.tv/directory/game/Silkroad%20Online"
            }
        })
AceSpace is offline  
Old 08/14/2019, 22:21   #27
 
ILowe's Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 679
Received Thanks: 29
Quote:
Originally Posted by AceSpace View Post
in bot.js, delete the following code (you will find it under 'client.on('ready', () -> {' :
Code:
client.user.setPresence({
            game: {
                name: config.activity,
                type: "STREAMING",
                url: "https://www.twitch.tv/directory/game/Silkroad%20Online"
            }
        })
thank you.

only privately discarded messages come from MessageLog.
messages thrown from the channel do not receive MessageLog.
ILowe is offline  
Old 09/13/2019, 03:28   #28
 
Raymond*'s Avatar
 
elite*gold: 388
Join Date: Aug 2017
Posts: 164
Received Thanks: 109
thanks for sharing it bro.
Raymond* is offline  
Old 11/14/2019, 14:18   #29
 
mtm567's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 57
Received Thanks: 5
hello not working with sql 2014 any solution?


mtm567 is offline  
Old 11/14/2019, 18:07   #30
 
@Grayson's Avatar
 
elite*gold: 0
Join Date: Oct 2019
Posts: 71
Received Thanks: 16
nice work
@Grayson is offline  
Reply

Tags
database, discord bot, mssql, silkroad


Similar Threads Similar Threads
WoW: Auction House & Armory Integration
02/11/2010 - Gaming News - EN - 1 Replies
Looks like you'll soon be able to check your auctions on the go with an iPhone app or while logged in through your web browser. For those of you who "play the WoW market" then this is awesome. It'll be coming soon so it'll be something to look forward here. There is talk of "premium features" so I can only imagine that some of this will cost money to access. World of Warcraft - English (NA) Forums -> Update: Auction House & Armory Integration
Possible Integration of the Anti-Hacker system.
12/29/2007 - Dekaron - 3 Replies
I happened to run pass this in the 2Moons forums today. Original Post: http://phpbb.acclaim.com/2moons/viewtopic.php?t=64 534 This could either be a bluff or the possible integration of an effective anti-hacker system similar to that in Dekaron which has greatly limited hacking in regards to the data.pak file. If they have begun to develop an effective automated means to single out players, especially those using "hacks", then this could get rather messy for us in the near future.



All times are GMT +1. The time now is 20:20.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.