PDA

View Full Version : Problem with ts-auto-updater.smx (Token Stash Auto Updater)



Majki
08-07-2016, 03:59 AM
[SM] Detected parse error(s) in file "/home/csgoffa/ffa/serverfiles/csgo/addons/sourcemod/configs/databases.cfg"
L 07/07/2016 - 12:32:40: [SM] Line 60: Section beginning without a matching ending
L 07/07/2016 - 12:32:41: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 07/07/2016 - 12:32:41: [SM] Blaming: dynamic.smx()
L 07/07/2016 - 12:32:41: [SM] Call stack trace:
L 07/07/2016 - 12:32:41: [SM] [0] PopStackCell
L 07/07/2016 - 12:32:41: [SM] [1] Line 130, dynamic.sp::Native_Dynamic_Initialise()
L 07/07/2016 - 12:32:41: [SM] [3] Dynamic_Initialise
L 07/07/2016 - 12:32:41: [SM] [4] Line 107, E:\Servers\local\steamapps\common\Counter-Strike Global Offensive Beta - Dedicated Server\csgo\addons\sourcemod\scripting\include\dyn amic.inc::Dynamic.Dynamic()
L 07/07/2016 - 12:32:41: [SM] [5] Line 46, ts-auto-updater.sp::LoadGameServerLoginToken()
L 07/07/2016 - 12:32:41: [SM] [6] Line 24, ts-auto-updater.sp::OnPluginStart()
L 07/07/2016 - 12:32:41: [SM] Unable to load plugin "ts-auto-updater.smx": Error detected in plugin startup (see error logs)


[SM] Detected parse error(s) in file "/home/csgoffa/ffa/serverfiles/csgo/addons/sourcemod/configs/databases.cfg"
L 07/07/2016 - 12:34:58: [SM] Line 60: Section beginning without a matching ending

My database.cfg:


"Databases"
{
"driver_default" "mysql"

// When specifying "host", you may use an IP address, a hostname, or a socket file path

"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}

"sourcebans"
{
"driver" "default"
"host" "91.228.199.166"
"database" ""
"user" ""
"pass" ""
//"timeout" "0"
"port" "3306"
}
"weaponpaints"
{
"driver" "sqlite"
"database" "weaponpaints"

}
"tokenstash"
{
"driver" "mysql"
"host" "csgo.tokenstash.com"
"database" ""
"user" ""
"pass" ""
"timeout" "30"
"port" "3306"
}

Have plugin Dynamic version 0014 and ts-auto-updater-v002
Please help configuration and search problem.

Neuro Toxin
08-07-2016, 09:12 AM
Your missing the final close brace.

nouse
08-07-2016, 12:38 PM
Lol the emoticon in the code made me laugh. :D

Majki
09-07-2016, 05:32 AM
Continue the same error, parenthesis at the end added.


"tokenstash"
{
"driver" "mysql"
"host" "csgo.tokenstash.com"
"database" ""
"user" ""
"pass" ""
"timeout" "30"
"port" "3306"
}
}


L 07/08/2016 - 21:24:38: Error log file session closed.
L 07/08/2016 - 21:24:52: SourceMod error session started
L 07/08/2016 - 21:24:52: Info (map "de_dust2") (file "errors_20160708.log")
L 07/08/2016 - 21:24:52: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 07/08/2016 - 21:24:52: [SM] Blaming: dynamic.smx()
L 07/08/2016 - 21:24:52: [SM] Call stack trace:
L 07/08/2016 - 21:24:52: [SM] [0] PopStackCell
L 07/08/2016 - 21:24:52: [SM] [1] Line 130, dynamic.sp::Native_Dynamic_Initialise()
L 07/08/2016 - 21:24:52: [SM] [3] Dynamic_Initialise
L 07/08/2016 - 21:24:52: [SM] [4] Line 107, E:\Servers\local\steamapps\common\Counter-Strike Global Offensive Beta - Dedicated Server\csgo\addons\sourcemod\scripting\include\dyn amic.inc::Dynamic.Dynamic()
L 07/08/2016 - 21:24:52: [SM] [5] Line 46, ts-auto-updater.sp::LoadGameServerLoginToken()
L 07/08/2016 - 21:24:52: [SM] [6] Line 24, ts-auto-updater.sp::OnPluginStart()
L 07/08/2016 - 21:24:52: [SM] Unable to load plugin "ts-auto-updater.smx": Error detected in plugin startup (see error logs)

Majki
09-07-2016, 07:44 AM
My SourceMod 1.8

Neuro Toxin
09-07-2016, 01:59 PM
So you appear to have resolved the database.cfg file with the closing brace.

For now you will need to update tokens to your servers manually as SM1.8 appears to not like Dynamic.

I'm working today on Dynamic to resolve these issues while attempting to main support for SM1.7+1.8 in the same .smx binary.

Majki
09-07-2016, 07:14 PM
So what do I do to install the old version SourceMod 1.7 or wait until Sunday to fix?

Neuro Toxin
09-07-2016, 10:25 PM
Give these a whirl.

https://github.com/ntoxin66/Dynamic/archive/0.0.16.zip
https://github.com/ntoxin66/ts-auto-updater/archive/v0.0.3.zip

.

Majki
09-07-2016, 11:04 PM
After changing maps still have the same error:


07/09/2016 - 14:59:25: Info (map "de_mirage") (file "errors_20160709.log")
L 07/09/2016 - 14:59:25: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 07/09/2016 - 14:59:25: [SM] Blaming: dynamic.smx()
L 07/09/2016 - 14:59:25: [SM] Call stack trace:
L 07/09/2016 - 14:59:25: [SM] [0] PopStackCell
L 07/09/2016 - 14:59:25: [SM] [1] Line 154, dynamic.sp::Native_Dynamic_Initialise()
L 07/09/2016 - 14:59:25: [SM] [3] Dynamic_Initialise
L 07/09/2016 - 14:59:25: [SM] [4] Line 112, E:\Servers\local\steamapps\common\Counter-Strike Global Offensive Beta - Dedicated Server\csgo\addons\sourcemod\scripting\include\dyn amic.inc::Dynamic.Dynamic()
L 07/09/2016 - 14:59:25: [SM] [5] Line 53, ts-auto-updater.sp::LoadGameServerLoginToken()
L 07/09/2016 - 14:59:25: [SM] [6] Line 26, ts-auto-updater.sp::OnPluginStart()
L 07/09/2016 - 14:59:25: [SM] Unable to load plugin "ts-auto-updater.smx": Error detected in plugin startup (see error logs)
L 07/09/2016 - 14:59:26: [basecommands.smx] Unable to locate exec config file, no maps loaded.

SourceMod Version: 1.8.0.5912

Neuro Toxin
09-07-2016, 11:19 PM
Compile the dynamic package using SM1.8's compiler and see if it works.

Majki
09-07-2016, 11:42 PM
I compiled plugins Dynamic and TS Auto Updater, continue the same error message pops up in the logs
Neuro Toxin - SourceMod what version you're using, it's you work?


L 07/09/2016 - 15:40:46: Info (map "de_cache") (file "errors_20160709.log")
L 07/09/2016 - 15:40:46: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 07/09/2016 - 15:40:46: [SM] Blaming: dynamic.smx()
L 07/09/2016 - 15:40:46: [SM] Call stack trace:
L 07/09/2016 - 15:40:46: [SM] [0] PopStackCell
L 07/09/2016 - 15:40:46: [SM] [1] Line 154, dynamic.sp::Native_Dynamic_Initialise()
L 07/09/2016 - 15:40:46: [SM] [3] Dynamic_Initialise
L 07/09/2016 - 15:40:46: [SM] [4] Line 112, C:\Users\admin\Desktop\sm 1.8 win\addons\sourcemod\scripting\include\dynamic.inc ::Dynamic.Dynamic()
L 07/09/2016 - 15:40:46: [SM] [5] Line 53, ts-auto-updater.sp::LoadGameServerLoginToken()
L 07/09/2016 - 15:40:46: [SM] [6] Line 26, ts-auto-updater.sp::OnPluginStart()
L 07/09/2016 - 15:40:46: [SM] Unable to load plugin "ts-auto-updater.smx": Error detected in plugin startup (see error logs)
L 07/09/2016 - 15:40:46: [basecommands.smx] Unable to locate exec config file, no maps loaded.

Majki
10-07-2016, 01:58 AM
I checked, does not work even on the version SourceMod-1.7.3-git 5305

Neuro Toxin
10-07-2016, 10:29 AM
I think I've figured out the issue.

Should have another version ready in a few hours.

Neuro Toxin
10-07-2016, 12:33 PM
Try https://github.com/ntoxin66/ts-auto-updater/archive/v0.0.4.zip

Majki
10-07-2016, 07:49 PM
Wow works! In the end, thanks a lot, you are loved. And what now it is the token that I have in my autoexec will automatically change every server restart?

Neuro Toxin
10-07-2016, 09:48 PM
When the current TokenStash account becomes banned. After you generate new tokens and then restart your server:- the token will update.

Majki
10-07-2016, 10:20 PM
So I do not have to manually generate new codes to one server alone plugin I will do it?

[TNN] Lubricant Jam II
11-07-2016, 01:52 AM
Yeah, if we have unused tokens, will it generate for us or will it just wait for us to generate more then we have to manually restart our servers?

Neuro Toxin
11-07-2016, 08:42 AM
The TokenStash workflow.
- The current TokenStash master steam account becomes GSLT banned.
- You come to this site and generate your new tokens (one for each server).
- You restart your servers.
- Your servers are online again!

Majki
12-07-2016, 02:54 AM
Today I got banned, not recovering from the same token automatically after restart, I had to buy again next 2 tokens from csgo.tokenstash.com
A manual is written that if the ban will be after your server, update the same token, what's the problem?

Neuro Toxin
12-07-2016, 09:31 AM
You need to generate new tokens AFTER every ban. Only generate as many tokens as you need: 1 per server.

You need to understand when you generate tokens they are made by one TokenStash Steam account. After that account is banned. TokenStash generates any new tokens on a new Steam account that isn't banned.

To iterate. On each banwave. You goto TokenStash and generate new tokens and then restart your servers.

Majki
14-07-2016, 03:30 AM
On the same token http://bans.cola-team.com/ to update automatically, it is impossible that the admin for each server manually changed token, would create a day for 20-30 tokens, because the ban valve gives every 2-3 days

Neuro Toxin
14-07-2016, 09:25 AM
Install the updater plugin from the site:

The TokenStash workflow.
- The current TokenStash master steam account becomes GSLT banned.
- You come to this site and generate your new tokens (one for each server).
- You restart your servers.
- Your servers are online again!

Majki
15-07-2016, 02:44 AM
from an old version ts-auto-updater 0.0.2 I use this latest 0.0.4