Request DS Workbench

Burli

Guest
Hey everyone,

I recently joined the international Server but years ago i was playing on the German tribal wars Server.
On the German Server there is a desktop application which everybody uses and it is called "DS Workbench".

https://github.com/Torridity/dsworkbench

"DS Workbench is a planning tool for the browser game "Tribal Wars" (http://www.die-staemme.de/). It is implemented as desktop application and written mostly in Java. Formerly, this project and its releases were hosted at http://www.dsworkbench.de but as of December 24, 2015 this domain won't be associated with DS Workbench any longer.

Instead, this code was made available as open source under the Apache License, Version 2.0 and everybody who is willing to continue this work is allowed to contribute."

Basically you can do everything important with this tool and i could never imagine playing a big account withouth the workbench.
If you want to get further ideas how the tool looks you can check out youtube videos if you search for "DS workbench", unfortunately they are all in German but you will maybe get an impression.
Or you can ask me.

The only problem is that the Workbench (until now) seems to only support German and Swiss Servers.
Since the code is now public and everybody willing to contribute is allowed to do so i wanted to ask if someone knows Java and would like to try and integrate the international Server in this application. If you need help with translation (e.g. for the user interface) i can help.

Thanks already,

Chris
 

DeletedUser

Guest
I had a quick look and it seems like any server can be used. You just have to add it to servers.txt in the folder where you put ds workbench.

howto:
howdo.png
 

Burli

Guest
Awesome dude, i realy didn't expect it to be that simple haha. I should've looked in that file once..

Thanks a lot :) Problem solved i guess

If you want to use it and need some translational help just let me know.
 
Last edited:

tcamps

Non-stop Poster
Reaction score
109
What do you need to do to build it? Running the given maven command gives me package-not-resolved errors... trying in IntelliJ now

EDIT: Found the problem, version numbers were different in the Core and ParserPlugin modules (3.61) vs the main module (3.62)

Edit ParserPlugin/pom.xml and Core/pom.xml to use <version>3.62</version> instead of <version>3.61</version>
 
Last edited:

Burli

Guest
There is one more issue though... there is a userscript additional to the Workbench. I tried running it but it does not work.
And before i use it i want to ask if the scripts allowed in other versions of tribalwars (in this case the german tribal wars) are also allowed on here? The script is officially allowed in the German version (as well as the workbench).

The following is the script you can download (i changed https://de*.die-staemme.de/... to https://en.tribalwars.net/... to give it a try :D) if you want to see the full code i believe you can follow the link at the bottom of the code.
As you can see in the link (https://media.innogamescdn.com/com_DS_DE/scripts/user_main/wb_userscript.js) it is from the innogames script list.
This time i briefly looked over the code but couldn't find anything limiting it to a certain server... my knowledge about the topic is limited though.

// ==UserScript==
// @name DS Workbench Scripts
// @namespace none
// @include https://en*.tribalwars.net/game.php?*screen=place*
// @include https://en*.tribalwars.net/game.php?screen=place*
// @include https://en*.tribalwars.net/game.php?*screen=place
// @include https://en*.tribalwars.net/game.php?*screen=market&mode=send*
// @include https://en*.tribalwars.net/game.php?*mode=groups*
// @exclude https://en*.tribalwars.net/game.php?*screen=place&mode=units
// @exclude https://en*.tribalwars.net/game.php?*screen=place&mode=sim
// @exclude https://en*.tribalwars.net/game.php?*screen=place&mode=neighbor
// @exclude https://en*.tribalwars.net/game.php?*screen=place&try=confirm
// ==/UserScript==

var $ = typeof unsafeWindow != 'undefined' ? unsafeWindow.$ : window.$;
$.ajaxSetup({ cache: true });
$.getScript('https://media.innogamescdn.com/com_DS_DE/scripts/user_main/wb_userscript.js');
 

tcamps

Non-stop Poster
Reaction score
109
Are you sure this will work on english servers? I'm seeing a lot of parse text that's specific to the german servers, won't be usable until those are translated I think

EDIT: Seeing some extra translation files, although they don't seem as comprehensive as the german ones

Started to translate some of the text but there's just too much, and it seems a bunch of the more useful stuff is stored in binary files, won't be using this (although I wish I could)
 
Last edited:

Burli

Guest
The workbench is definitly usable just the userscript does not work.
Shame :( Thanks for taking the time to look into it though, it's an awesome tool and i was realy surprised that it is not known on the english servers because i do not know how i would manage accounts with 500/600+ villages without it..
 
Top