Register for your free account! | Forgot your password?

You last visited: Today at 19:42

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

Advertisement



[Tool]ZaishenInfo

Discussion on [Tool]ZaishenInfo within the GW Exploits, Hacks, Bots, Tools & Macros forum part of the Guild Wars category.

Reply
 
Old   #1
 
solos's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 325
Received Thanks: 85
[Tool]ZaishenInfo

Hi guys,

i once had an app on my android phone that told me about todays zaishen-quests(Guildwars Live apk). This wasn't always very accurate and now(like 2 years or so) its completely off the course and showing wrong info.

I also asked the developers of gwtoolbox to implement some of the quests, but they didn't want to.
So i coded my own little Windows-tool to show the current Zaishen-Quests.

It does a query on the german guildwiki-site and shows some info in english or german depending on your OS language. I also added french, but it's quite a bit work to look up all the mission and area names. It is also downloading 1 pictures(saved in script folder) - mission.jpg to show up in the notification, to make it look a little nicer.

So you will need an active Internet connection to use the tool or it won't work.

I haven't used autoit for years so please be gentle with me

I also thought about adding this values to a public mysql database and so query it by an android app again, but thats future music.

See the Picture for example notifications on Windows 10, i didn't test it on other systems:


I added the source code in the zip file.

@: here is virustotal :

V:1.1


@: i updated the Version to 1.1 and it's using the daily List now. Added some other quests too. Next will be Nicholas Items.
@: Update to V. 1.2 added Ralles loop and fixed some search pattern @ moved the project/repo to github:

Update to V. 1.3:

The Project is now gw-teamz and the current development state can be tracked on
Attached Images
File Type: png info_eng_1.1.png (32.7 KB, 219 views)
solos is offline  
Thanks
1 User
Old   #2
 
elite*gold: 0
Join Date: Mar 2018
Posts: 7
Received Thanks: 14
You have the cycles data here:





So, you don't need any internet connection, nor it should be slow.

Also, why do you think JSON would make anything faster. The slow part here is either the network request or your code.
MrBigBones is offline  
Thanks
1 User
Old   #3
 
Ralle1976's Avatar
 
elite*gold: 0
Join Date: Sep 2018
Posts: 5
Received Thanks: 4
_O^^O_

Hi olos by the ZaishenInfo 1.1 it seam not be realy tested before you shared it.

A few times " ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.:"

I fixed it that i can watch the result, so if you use a IdnexCount from a Loop make sure it was given outside the loop. What ever, also if you not sure and dont want mats how much elements do i have in an array just use it like that $Missionen = [[ .... thats just a Tip / hint!

but at all a good start and the result i get fast (i had a good and fast Internetconnection ) !

In the past i worked on some simullary, i just want the data for a automation a bot script.

So because it was evertime good to see how other deals with a Problem i added here my old and simple test script!



,quick dirty fix
Code:
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=icon_zaisheninfo.ico
#AutoIt3Wrapper_Res_Language=1031
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <Array.au3>
#include <MsgBoxConstants.au3>
#include <StringConstants.au3>
#include <IE.au3>
#include <string.au3>
#include <File.au3>
#include <INet.au3>
#include "Toast.au3" ; thanks to Melba23 from autoitscript.com

global $language = 1 ; 1=German,2=English,3=French
global $file [MENTION=5699755]Scriptd[/MENTION]ir&"\vanq.jpg"
global $p_mission [MENTION=5699755]Scriptd[/MENTION]ir&"\mission.jpg"
global $var =InetRead("https://www.guildwiki.de/wiki/Liste_der_t%C3%A4glichen_Auftr%C3%A4ge",8) ; list of all daily quests
global $original=BinaryToString($var)



;~ _GetOSLanguage() ; set language thanks to [MENTION=1646326]guiness[/MENTION] from autoitscript.com

Func _GetOSLanguage()
    Local Const $sID = StringRight(@OSLang, StringLen('09'))
    Return StringRegExp('|06Chinese|' & _
            '06Danish|13Dutch|' & _
            '25Estonian|' & _
            '0bFinnish|0cFrench|' & _
            '07German|08Greek|' & _
            '0eHungarian|' & _
            '10Italian|' & _
            '11Japanese|' & _
            '14Norwegian|' & _
            '15Polish|16Portuguese|' & _
            '18Romanian|19Russian|' & _
            '1aSerbian|0aSpanish|1dSwedish|' & _
            $sID & 'English|', _
            '\|' & $sID & '([^|]+)\|', $STR_REGEXPARRAYGLOBALMATCH)[0]
EndFunc   ;==>_GetOSLanguage


if _GetOSLanguage() ="Francais" then
	$language=3
	msgbox(0,"Translation","Your language is not completely implemented yet, so you might get empty responses." & [MENTION=3576271]CRLF[/MENTION] &"If you would like to help translating -> contact me")
elseif _GetOSLanguage() ="German" then
	$language= 1
elseif _GetOSLanguage() ="English" then
	$language=2
endif


#Region Mission-Array definition
; need special characters here to download images correctly
local $Missionen = [['Der Gro%C3%9Fe Nordwall','Der Große Nordwall','The Great Northern Wall'] _
,['Fort_Ranik','Fort Ranik','Fort Ranik'] _
,['Ruinen_vonSurmia','Ruinen von Surmia','Ruins of Surmia'] _
,['Nolani-Akademie','Nolani-Akademie','Nolani-Academy'] _
,['Borlispass','Borlispass','Borlis Pass'] _
,['Das_Frosttor','Das Frosttor','The Frost Gate'] _
,["D'Alessio-Küste","D'Alessio-Küste","D`Alessio Seaboard"] _
,['Küste_der_Göttlichkeit','Küste der Göttlichkeit','Divinity Coast'] _
,['Die_Wildnis','Die Wildnis','The Wilds'] _
,['Blutsteinsumpf','Blutsteinsumpf','Bloodstone Fen'] _
,['Auroralichtung','Auroralichtung','Aurora Glade'] _
,['Flussuferprovinz','Flussuferprovinz','Riverside Province'] _
,['Riff_der_Stille','Riff der Stille','Sanctum Cay'] _
,['Dünen_der_Verzweiflung','Dünen der Verzweiflung','Dunes of Despair'] _
,['Durstiger_Fluss','Durstiger Fluss', 'Thirsty River'] _
,['Elonaspitze','Elonaspitze','Elona Reach'] _
,['Fels_der_Weissagung','Fels der Weissagung','Augury Rock'] _
,['Die_Drachenhöhle','Die Drachenhöhle','The Dragons Lair'] _
,['Eishöhlen_der_Betrübnis','Eishöhlen der Betrübnis','Ice Caves Of Sorrow'] _
,['Eisenminen_von_Moladune','Eisenminen von Moladune', 'Iron Mines of Moladune'] _
,['Feste_Donnerkopf','Feste Donnerkopf','Thunderhead Keep'] _
,['Feuerring','Feuerring','Ring Of Fire'] _
,['Abbadons_Maul','Abbadons Maul','Abaddon´s Mouth'] _
,['Vorhof_der_Hölle',' Vorhof der Hölle','Hell´s Precipice'] _
,['Minister_Chos_Anwesen','Minister Chos Anwesen','Minister Cho´s Estate'] _
,['Zen_Daijun','Zen Daijun','Zen Daijun'] _
,['Vizunahplatz','Vizunahplatz','Vizunah Square'] _
,['Nahpuiviertel','Nahpuiviertel','Nahpui Quarter'] _
,['Tahnnakai-Tempel','Tahnnakai-Tempel','Tahnnakai Temple'] _
,['Arborstein','Arborstein','Arborstone'] _
,['Boreas-Meeresgrund','Boreas-Meeresgrund','Boreas Seabed'] _
,['Sunjiang-Bezirk','Sunjiang-Bezirk','Sunjiang District'] _
,['Der_Ewige Hain','Der Ewige Hain','The Eternal Grove'] _
,['Gyala-Brustätte','Gyala-Brustätte','Gyala Hatchery'] _
,['Verschlafene_Gewässer','Verschlafene Gewässer','Unwaking Waters',"Dunes du Désespoir"] _
,['Raisu-Palast','Raisu-Palast','Raisu Palace'] _
,['Kaiserliches_Refugium','Kaiserliches Refugium','Imperial Sanctum'] _
,['Chahbek','Chahbek','Chahbek VIllage'] _
,['Ausgrabungsstätte_von_Jokanur','Ausgrabungsstätte von Jokanur','Jokanur Diggins'] _
,['Schwarzwasserloch','Schwarzwasserloch','Blacktide Den'] _
,['Konsulatshafen','Konsulatshafen','Consulate Docks'] _
,['Totenanager_von_Venta','Totenanager von Venta','Venta Cemetery'] _
,['Kodonur-Kreuzung','Kodonur-Kreuzung','Kodonur Crossroads'] _
,['Passage_von_Pogahn','Passage von Pogahn','Pogahn Passage'] _
,['Rilohn-Refugium','Rilohn-Refugium','Rihlon Refuge'] _
,['Moddok-Spalte','Moddok-Spalte','Moddok Crevice'] _
,['Obstgarten_von_Tihark','Obstgarten von Tihark','Tihard Orkchard'] _
,['Vorhof_von_Dasha','Vorhof von Dasha','Dasha Vestibule'] _
,['Bastion_von_Dzagonur','Bastion von Dzagonur','Dzagonur Bastion'] _
,['Gro%C3%9Fer_Hof_von_Sebelkeh','Großer Hof von Selbelkeh','Grand Court of Selbelkeh'] _
,['Jennurs_Horde','Jennurs Horde','Jennur´s Horde'] _
,['Nundu-Bucht','Nundu-Bucht','Nundu Bay'] _
,['Ödland-Tor','Ödland-Tor','Gate Of Desolation'] _
,['Ruinen_von_Morah','Ruinen von Morah','Ruins of Morah'] _
,['Tor_des_Schmerzes','Tor des Schmerzes','Gate of Pain'] _
,['Tor_des_Wahnsinns','Tor des Wahnsinns','Gate of Madness'] _
,['Abaddons_Tor','Abaddons Tor','Abaddon´s Gate'] _
,['Der_Fluch_des_Nornbären','Fluch des Nornbären','Curse Of The Nornbear'] _
,['Ein_Portal_zu_weit','Ein Portal zu weit','A Gate Too Far'] _
,['Blut_wäscht_Blut' ,'Blut wäscht Blut','Blood Washes Blood'] _
,['Auf_der_Suche_nach_dem_Blutstein','Auf der Suche nach dem Blutstein','Finding The Bloodstone'] _
,['Die_scheue_Golemantin','Die scheue Golemantin','The Elusive Golemancer'] _
,['G.O.L.E.M','G.O.L.E.M','Genius Operated Living Enchanted Manifestation'] _
,['Gegen_die_Charr','Gegen die Charr','Against The Charr'] _
,['Brudertrupp','Brudertrupp','Warband Of Brothers'] _
,['Der_Angriff_auf_die_Festung','Der Angriff auf die Festung','Assault On The Stronghold'] _
,['Tiefen_der_Zerstörung','Tiefen der Zerstörung','Destruction´s Depths'] _; Tiefen der Zerstörung
,['Eine_Zeit_für_Helden','Eine Zeit für Helden','A Time For Heroes']] ; Eine Zeit für Helden

;_ArrayDisplay($Missionen)
#EndRegion

#Region Vanq-Array definition
; Bezwingungen
local $Vanq[][4]=[['Alt-Ascalon','Alt-Ascalon','Old Ascalon'] _
,['Ascalon-Vorgebirge','Ascalon-Vorgebirge','Ascalon Foothills'] _
,['Die_Bresche','Die Bresche','The Breach'] _
,['Drachenschlund','Drachenschlund','Dragon''s Gullet'] _
,['Flammentempel-Gang','Flammentempel-Gang','Flame Temple Corridor'] _
,['Ostgrenze','Ostgrenze','Eastern Frontier'] _
,['Pockennarbenebene','Pockennarbenebene','Pockmark Flats'] _
,['Regentental','Regentental','Regent Valley'] _
,['Tiefland_von_Diessa','Tiefland von Diessa','Diessa Lowlands'] _
,['Ambossstein','Ambossstein','Anvil Rock'] _
,['Deldrimor-Becken','Deldrimor-Becken','Deldrimor Bowl'] _
,['Tal_des_Reisenden','Tal des Reisenden','Traveler''s Vale'] _
,['Greifenmaul','Greifenmaul','Griffon''s Mouth'] _
,['Eisenrossmine','Eisenrossmine','Iron Horse Mine'] _
,['Der_Schwarze_Vorhang','Der Schwarze Vorhang','The Black Curtain'] _
,['Kessex-Gipfel','Kessex-Gipfel','Kessex Peak'] _
,['Königsruh','Königsruh','Majesty''s Rest'] _ ; Königsruh
,['Nebo-Terrasse','Nebo-Terrasse','Nebo Terrace'] _
,['Provinz_Nordkryta','Provinz Nordkryta','North Kryta Province'] _
,['Schurkenhügel','Schurkenhügel','Scoundrel''s Rise'] _
,['Stachelrochenstrand','Stachelrochenstrand','Stingray Strand'] _
,['Talmark-Wildnis','Talmark-Wildnis','Talmark Wilderness'] _
,['Tränen_der_Gefallenen','Tränen der Gefallenen','Tears of the Fallen',"Valis l'effréné"] _
,['Verfluchtes_Land','Verfluchtes Land','Cursed Lands'] _
,['Wachturmküste','Wachturmküste','Watchtower Coast'] _
,['Zwillingsschlangenseen','Zwillingsschlangenseen','Twin Serpent Lakes'] _
,['Die_Wasserfälle','Die Wasserfälle','The Falls'] _
,['Ettinbuckel','Ettinbuckel','Ettin''s Back'] _
,['Land_der_Weisen','Land der Weisen','Sage Lands'] _
,['Mamnoon-Lagune','Mamnoon-Lagune','Mamnoon Lagoon'] _
,['Schilfmoor','Schilfmoor','Reed Bog'] _
,['Silberholz','Silberholz','Silverwood'] _
,['Trockenkuppe','Trockenkuppe','Dry Top'] _
,['Wildwurzel','Wildwurzel','Tangle Root'] _
,['Das_Trockene_Meer','Das Trockene Meer','The Arid Sea'] _
,['Die_Narbe','Die Narbe','The Scar'] _
,['Geierdünen','Geierdünen','Vulture Drifts'] _
,['Himmelsspitze','Himmelsspitze','Skyward Reach'] _
,['Pfad_des_Propheten','Pfad des Propheten','Prophet''s Path'] _
,['Salzebenen','Salzebenen','Salt Flats'] _
,['Wahrsagerhöhe','Wahrsagerhöhe','Diviner''s Ascent'] _
,['Pfad_des_Propheten','Pfad des Propheten','Prophet''s Path'] _
,['Eisdom','Eisdom','Icedome'] _
,['Eisscholle','Eisscholle','Ice Floe'] _
,['Frostwald','Frostwald','Frozen Forest'] _
,['Grenths_Fu%C3%9Fabdruck','Grenths Fußabdruck','Grenth''s Footprint'] _
,['Lornarpass','Lornarpass','Lornar''s Pass'] _
,['Mineralquellen','Mineralquellen','Mineral Springs'] _
,['Schlangentanz','Schlangentanz','Snake Dance'] _
,['Schreckensdrift','Schreckensdrift','Dreadnought''s Drift'] _
,['Speerspitzengipfel','Speerspitzengipfel','Spearhead Peak'] _
,['Talusschnelle','Talusschnelle','Talus Chute'] _
,['Tascas_Ableben','Tascas Ableben','Tasca''s Demise'] _
,['Witmans_Torheit','Witmans Torheit','Witman''s Folly'] _
,['Fels_der_Verdammnis','Fels der Verdammnis','Perdition Rock'] _
,['Haiju-Lagune','Haiju-Lagune','Haiju Lagoon'] _
,['Jaya-Klippen','Jaya-Klippen','Jaya Bluffs'] _
,['Minister_Chos_Anwesen','Minister Chos Anwesen','Minister Cho''s Estate'] _
,['Panjiang-Halbinsel','Panjiang-Halbinsel','Panjiang Peninsula'] _
,['Provinz_Kinya','Provinz Kinya','Kinya Province'] _
,['Saoshangweg','Saoshangweg','Saoshang Trail'] _
,['Sunqua-Tal','Sunqua-Tal','Sunqua Vale'] _
,['Zen_Daijun','Zen Daijun','Zen Daijun'] _
,['Bukdek-Seitenweg','Bukdek-Seitenweg','Bukdek Byway'] _
,['Nahpuiviertel','Nahpuiviertel','Nahpui Quarter'] _
,['Pongmei-Tal','Pongmei-Tal','Pongmei Valley'] _
,['Raisu-Palast','Raisu-Palast','Raisu Palace'] _
,['Schattenpassage','Schattenpassage','Shadow''s Passage'] _
,['Shenzun-Tunnel','Shenzun-Tunnel','Shenzun Tunnels'] _
,['Sunjiang-Bezirk','Sunjiang-Bezirk','Sunjiang District'] _
,['Tahnnakai-Tempel','Tahnnakai-Tempel','Tahnnakai Temple'] _
,['Waijun-Basar','Waijun-Basar','Wajjun Bazaar'] _
,['Xaquang-Himmelsweg','Xaquang-Himmelsweg','Xaquang Skyway'] _
,['Arborstein','Arborstein','Arborstone'] _
,['Drazachdickicht','Drazachdickicht','Drazach Thicket'] _
,['Der_Ewige_Hain','Der Ewige Hain','The Eternal Grove'] _
,['Farntal','Farntal','Ferndale'] _
,['Melandrus_Hoffnung','Melandrus Hoffnung','Melandru''s Hope'] _
,['Morostovweg','Morostovweg','Morostav Trail'] _
,['Trauerflorfälle','Trauerflorfälle','Mourning Veil Falls'] _
,['Archipel','Archipel','Archipelagos'] _
,['Boreas_Meeresgrund','Boreas Meeresgrund','Boreas Seabed'] _
,['Gyala-Brutstätte','Gyala-Brutstätte','Gyala Hatchery'] _
,['Maishang-Hügel','Maishang-Hügel','Maishang Hills'] _
,['Quinkai','Quinkai','Mount Qinkai'] _
,['Rheas_Krater','Rheas Krater','Rhea''s Crater'] _
,['Stumme_Brandung','Stumme Brandung','Silent Surf'] _
,['Verschlafene_Gewässer','Verschlafene Gewässer','Unwaking Waters',"Dunes du Désespoir"] _
,['Fahranur,_die_Erste_Stadt','Fahranur, die Erste Stadt','Fahranur, The First City'] _
,['Felsen_von_Dohjok','Felsen von Dohjok','Cliffs of Dohjok'] _
,['Issnur-Inseln','Issnur-Inseln','Issnur Isles'] _
,['Lahtenda-Sumpf','Lahtenda-Sumpf','Lahtenda Bog'] _
,['Mehtani-Archipel','Mehtani-Archipel','Mehtani Keys'] _
,['Zehlon-Bucht','Zehlon-Bucht','Zehlon Reach'] _
,['Arkjok-Bastei','Arkjok-Bastei','Arkjok Ward'] _
,['Bahdok-Höhlen','Bahdok-Höhlen','Bahdok Caverns'] _
,['Barbarenküste','Barbarenküste','Barbarous Shore'] _
,['Dejarin-Anwesen','Dejarin-Anwesen','Dejarin Estate'] _
,['Die_Schwemmebene_von_Mahnkelon','Die Schwemmebene von Mahnkelon','The Floodplain of Mahnkelon'] _
,['Gandara,_die_Mondfestung','Gandara, die Mondfestung','Gandara, the Moon Fortress'] _
,['Jahai-Klippen','Jahai-Klippen','Jahai Bluffs'] _
,['Marga-Küste','Marga-Küste','Marga Coast'] _
,['Sonnenwärtige_Sümpfe','Sonnenwärtige Sümpfe','Sunward Marches'] _
,['Turais_Weg','Turais Weg','Turai''s Procession'] _
,['Der_Spiegel_von_Lyss','Der Spiegel von Lyss','The Mirror of Lyss'] _
,['Forum-Hochland','Forum-Hochland','Forum Highlands'] _
,['Güter_von_Chokhin','Güter von Chokhin','Holdings of Chokhin'] _
,['Makuun_die_Leuchtende','Makuun die Leuchtende','Resplendent Makuun'] _
,['Garten_von_Seborhin','Garten von Seborhin','Garden of Seborhin'] _
,['Vehjin-Minen','Vehjin-Minen','Vehjin Mines'] _
,['Vehtendi-Tal','Vehtendi-Tal','Vehtendi Valley'] _
,['Verborgene_Stadt_von_Ahdashim','Verborgene Stadt von Ahdashim','The Hidden City of Ahdashim'] _
,['Wildnis_von_Bahdza','Wildnis von Bahdza','Wilderness of Bahdza'] _
,['Yahtendi-Schluchten','Yahtendi-Schluchten','Yatendi Canyons'] _
,['Das_Alkalibecken','Das Alkalibecken','The Alkali Pan'] _
,['Das_Zerissene_Herz','Das Zerissene Herz','The Ruptured Heart'] _
,['Die_Schwefel-Einöde','Die Schwefel-Einöde','The Sulfurous Wastes'] _
,['Die_Zerklüfteten_Schluchten','Die Zerklüfteten Schluchten','The Shattered Ravines'] _
,['Giftige_Auswüchse','Giftige Auswüchse','Poisoned Outcrops'] _
,['Jokos_Domäne','Jokos Domäne','Joko''s Domain'] _
,['Kristallspitze','Kristallspitze','Crystal Overlook'] _
,['Alcazia-Dickicht','Alcazia-Dickicht','Alcazia Tangle'] _
,['Arborbucht','Arborbucht','Arbor Bay'] _
,['Funkenschwärmersumpf','Funkenschwärmersumpf','Sparkfly Swamp'] _
,['Grüne_Kaskaden','Grüne Kaskaden','Verdant Cascades'] _
,['Magussteine','Magussteine','Magus Stones'] _
,['Zerissene_Erde','Zerissene Erde','Riven Earth'] _
,['Dalada-Hochlande','Dalada-Hochlande','Dalada Uplands'] _
,['Grothmar-Kriegshügel','Grothmar-Kriegshügel','Grothmar Wardowns'] _
,['Sacnoth-Tal','Sacnoth-Tal','Sacnoth Valley'] _
,['Bjora-Sümpfe','Bjora-Sümpfe','Bjora Marches'] _
,['Drakkar-See','Drakkar-See','Drakkar Lake'] _
,['Eisklippen-Abgründe','Eisklippen-Abgründe','Ice Cliff Chasms'] _
,['Jaga-Moräne','Jaga-Moräne','Jaga Moraine'] _
,['Norrhart-Gebiete','Norrhart-Gebiete','Norrhart Domains'] _
,['Varajar-Moor','Varajar-Moor','Varajar Fells']]

;_ArrayDisplay($Vanq)
#EndRegion

#Region Wanted-Array definition
local $Wanted[][4]=[['Justiziarin_Kasandra','Justiziarin_Kasandra','Justiziarin_Kasandra'] _
,['Zaln_der_Erschöpfte','Zaln der Erschöpfte','boss not set','boss not set'] _
,['Carnak_der_Hungernde','Carnak der Hungernde','boss not set','boss not set'] _
,['_Greves_der_Anma%C3%9Fende','Greves der Anmaßende','boss not set','boss not set'] _
,['Justiziarin_Kimii','Justiziarin Kimii','boss not set','boss not set'] _
,['Destor_der_Wahrheitssuchende','Destor der Wahrheitssuchende','boss not set','boss not set'] _
,['Justiziarin_Amilyn','Justiziarin Amilyn','boss not set','boss not set'] _
,['Justiziar_Marron','Justiziar Marron','boss not set','boss not set'] _
,['Justiziar_Sevaan','Justiziar Sevaan','boss not set','boss not set'] _
,['Vess_die_Streitsüchtige','Vess die Streitsüchtige','boss not set','boss not set'] _
,['Maximilian_der_Pingelige','Maximilian der Pingelige','boss not set','boss not set'] _
,['Cerris','Cerris','boss not set','boss not set'] _
,['Lev_die_Verdammte','Lev die Verdammte','boss not set','boss not set'] _
,['Sarnia_die_Rothändige','Sarnia die Rothändige','boss not set','boss not set'] _
,['Vakar_der_Unersättlichee','Vakar der Unersättliche','boss not set','boss not set'] _
,['Joh_der_Feindselige','Joh der Feindselige','boss not set','boss not set'] _
,['Barthimus_der_ Fürsorgliche','Barthimus der Fürsorgliche','boss not set','boss not set'] _
,['Amalek_der_Gnadenlose','Amalek der Gnadenlose','boss not set','boss not set'] _
,['Calamitous','Calamitous','boss not set','boss not set'] _
,['Selenas_die_Unverblümte','Selenas die Unverblümte','boss not set','boss not set'] _
,['Valis_der_Ungezügelte','Valis der Ungezügelte','boss not set','boss not set']]
#EndRegion

#Region Combat-Array definition
local $Combat[][4]=[['Fort_Espenwald','Fort Espenwald','Fort Aspenwood'] _
,['Aufstieg_der_Helden','Aufstieg der Helden','Heroes Ascent','Random Arena'] _
,['Bündniskämpfe','Bündniskämpfe','Alliance Battles','Alliance Battles'] _
,['Gildenkämpfe','Gildenkämpfe','Guild versus Guild','Guild versus Guild'] _
,['Kodex-Arena','Kodex-Arena','Codex Arena','Codex Arena'] _
,['Zufallsarenen','Zufallsarenen','Random Arena','Random Arena'] _
,['Der_Jadesteinbruch','Der Jadesteinbruch','Jade Quarry','Jade Quarry']]
#EndRegion

#Region Bounty-Array definition
local $Bounty[][4]=[['Faulschuppe','Faulschuppe','Rotscale','Rotscale'] _
,['Verata','Verata','Verata','Verata'] _
,['Das_Dunkel','Das Dunkel','The Darkness','The Darkness'] _
,['Kepkhet_Markschmaus','Kepkhet Markschmaus','Kepkhet Marrowfeast','Kepkhet Marrowfeast'] _
,['Der_Eiserne_Schmied','The Iron Forgeman','The Iron Forgeman','The Iron Forgeman'] _
,['Harn_und_Maxine_Coldstone','Harn und Maxine Coldstone','Harn and Maxine Coldstone','Harn and Maxine Coldstone'] _
,['Baubao_Wellenzorn','Baubao Wellenzorn','Baubao Wavewrath','Baubao Wavewrath'] _
,['Chung_der_Eingestimmte','Chung der Eingestimmte','Chung, the Attuned','Chung, the Attuned'] _
,['Ghial_der_Knochentänzer','Ghial der Knochentänzer','Ghial the Bone Dancer','Ghial the Bone Dancer'] _
,['Quansong_Geistsprecher','Quansong Geistsprecher','Quansong Spiritspeak','Quansong Spiritspeak'] _
,['Royen_Bestienwärter','Royen Bestienwärter','Royen Beastkeeper','Royen Beastkeeper'] _
,['Kanaxai','Kanaxai','Kanaxai','Kanaxai'] _
,['Kunvie_Feuerflügel','Kunvie Feuerflügel','Kunvie Firewing','Kunvie Firewing'] _
,['Mohby_Windschnabel','Mohby Windschnabel','Mohby Windbeak','Mohby Windbeak'] _
,['Ssuns_der_von_Dwayna_Gesegnete','Ssuns der von Dwayna Gesegnete','Ssuns, Blessed of Dwayna','Ssuns, Blessed of Dwayna'] _
,['Arbor_Erdruf','Arbor Erdruf','Arbor Earthcall','Arbor Earthcall'] _
,['Mungri_Magiebox','Mungri Magiebox','Mungri Magicbox','Mungri Magicbox'] _
,['Urgoz','Urgoz','Urgoz','Urgoz'] _
,['Kommandeur_Wahli','Kommandeur Wahli','Commander Wahli','Commander Wahli'] _
,['Admiral_Kantoh','Admiral Kantoh','Admiral Kantoh','Admiral Kantoh'] _
,['Jarimiya_der_Gnadenlose','Jarimiya der Gnadenlose','Jarimiya the Unmerciful','Jarimiya the Unmerciful'] _
,['Korshek_der_Geopferte','Korshek der Geopferte','Korshek the Immolated','Korshek the Immolated'] _
,['Droajam,_Magier_des_Sandes','Droajam, Magier des Sandes','Droajam, Mage of the Sands','Droajam, Mage of the Sands'] _
,['Jedeh_der_Mächtige','Jedeh der Mächtige','Jedeh the Mighty','Jedeh the Mighty'] _
,['Fürst_Jadoth','Fürst Jadoth','Lord Jadoth','Lord Jadoth'] _
,['Das_Große_Dunkel','Das Große Dunkel','The Greater Darkness','The Greater Darkness'] _
,['Die_Schwarze_Bestie_von_Arrgh','Die Schwarze Bestie von Arrgh','The Black Beast of Arrgh','The Black Beast of Arrgh'] _
,['Die_Stygischen_Fürsten','Die Stygischen Fürsten','The Stygian Lords','The Stygian Lords'] _
,['Die_Stygischen_Unterfürsten','Die Stygischen Unterfürsten','The Stygian Underlords','The Stygian Underlords'] _
,['Arachni','Arachni','Arachni','Arachni'] _
,['Duncan_der_Schwarze','Duncan der Schwarze','Duncan the Black','Duncan the Black'] _
,['Eldritch-Ettin','Eldritch-Ettin','Eldritch-Ettin','Eldritch-Ettin'] _
,['Fendi_Nin','Fendi Nin','Fendi Nin','Fendi Nin'] _
,['Fronis_Eisenzehe','Fronis Eisenzehe','Fronis Irontoe','Fronis Irontoe'] _
,['Frostrachen_der_Sippenschlächter','Frostrachen der Sippenschlächter','Frostmaw the Kinslayer','Frostmaw the Kinslayer'] _
,['Havok_Seelenheuler','Havok Seelenheuler','Havok Soulwail','Havok Soulwail'] _
,['Ilsundur,_Herr_des_Feuers','Ilsundur, Herr des Feuers','Ilsundur, Lord of Fire','Ilsundur, Lord of Fire'] _
,['Justiziar_Thommis ','Justiziar Thommis ','Justiciar Thommis ','Justiciar Thommis '] _
,['Khabuus','Khabuus','Khabuus','Khabuus'] _
,['Magmus','Magmus','Magmus','Magmus'] _
,['Murakai,_Herrin_der_Nacht','Murakai, Herrin der Nacht','Murakai, Lady of the Night','Murakai, Lady of the Night'] _
,['Rand_Sturmweber','Rand Sturmweber','Rand Stormweaver','Rand Stormweaver'] _
,['Rragar_Menschenfresser','Rragar Menschenfresser','Rragar Maneater','Rragar Maneater'] _
,['Selvetarm','Selvetarm','Selvetarm','Selvetarm'] _
,['Seuche_der_Zerstörung ','Seuche der Zerstörung ','Plague of Destruction','Plague of Destruction'] _
,['Spektral-Schleim','Spektral-Schleim','Prismatic Ooze','Prismatic Ooze'] _
,['TPS-Regler-Golem','TPS-Regler-Golem','TPS Regulator Golem','TPS Regulator Golem'] _
,['Überrest_der_Vorzeit','Überrest der Vorzeit','Remnant of Antiquities','Remnant of Antiquities'] _
,["Z'him_Monns","Z'him Monns","Z'him Monns","Z'him Monns"] _
,['Zoldark_der_Unheilige','Zoldark der Unheilige','Zoldark the Unholy','Zoldark the Unholy'] _
,['Schmiedewicht','Schmiedewicht','Forgewight','Forgewight'] _
,['Fenrir','Fenrir','Fenrir','Fenrir'] _
,['Myish,_Herrin_des_Sees','Myish, Herrin des Sees','Myish, Lady of the Lake','Myish, Lady of the Lake'] _
,['Nulfastu_Erdgebundener','Nulfastu Erdgebundener','Nulfastu, Earthbound','Nulfastu, Earthbound'] _
,['Borrguus_Raurinde','Borrguus Raurinde','Borrguus Blisterbark','Borrguus Blisterbark'] _
,['Fozzy_Yeoryio','Fozzy Yeoryio','Fozzy Yeoryio','Fozzy Yeoryio'] _
,['Molotov_Felsschweif','Molotov Felsschweif','Molotov Rocktail','Molotov Rocktail'] _
,['Joffs_der_Sanfte','Joffs der Sanfte','Joffs the Mitigator','Joffs the Mitigator'] _
,['Pywatt_der_Schnelle','Pywatt der Schnelle','Pywatt The Swift','Pywatt The Swift'] _
,['Mobrin,_Herr_des_Sumpfes','Mobrin, Herr des Sumpfes','Mobrin, Lord of the Marsh','Mobrin, Lord of the Marsh'] _
,["Menzies' Priester","Menzies' Priester","Priest of Menzies","Priest of Menzies"] _
,['Lord_Khobay','Lord Khobay','Lord Khobay','Lord Khobay'] _
,['Drachen-Lich','Drachen-Lich','Dragon Lich','Dragon Lich'] _
,['Rachsüchtiger_Aatxe','Rachsüchtiger Aatxe','Vengeful Aatxe','Vengeful Aatxe'] _
,['Die_vier_Reiter','Die vier Reiter','The Four Horsemen','The Four Horsemen'] _
,['Geladene_Schwärze','Geladene Schwärze','Charged Blackness','Charged Blackness']]
#EndRegion

GetTodaysZaishen()

Func GetTodaysZaishen()
local $lang_strings[6][4] =[['dummy ','Zaishen-Bezwingung: ','Zaishen-Vanquish: ','Avis de recherche: '] _
,['dummy ','Heutige Zaishenquests: ','Todays Zaishenquests: ','Aujourd''hui: '] _
,['dummy ','Zaishen-Mission: ','Zaishen Mission: ','Mission zaishen: '] _
,['dummy ','Kopfgeld: ','Zaishen Bounty: ','Zaishen Bounty: '] _
,['dummy ','Zaishen-Kampf: ','Combat: ','Combat: '] _
,['dummy ','Gesucht: ','Wanted: ','Wanted: ']]

;query file
$txt = [MENTION=5699755]Scriptd[/MENTION]ir & "\query.txt"
FileDelete($txt)
$handlef=filewrite($txt,$original)

Global $Line=_FileCountLines($txt)
fileclose($handlef)
local $aRecords[$Line][1] ; declare array-size by lines of txtfile

		If Not _FileReadToArray($txt,$aRecords) Then
			MsgBox(4096,"Error", " Error reading log to Array. No Internet?     error:" & [MENTION=299637]ErRoR[/MENTION])
			Exit
		EndIf
;_arraydisplay($aRecords)

For $x = 0 to $Line -1

	If StringRegExp($aRecords[$x],'<tr style="font-weight:bold;',0) Then ExitLoop

	Next
			;get mission
			$v_bounty=$aRecords[$x+3]
			$a_bounty=_Stringbetween($v_bounty,'</td><td>  <a href="/wiki/','_(Zaishen-Kopfgeld)',0) ; puts result of stringbetween to array
			$mission=$aRecords[$x+2]
			;ConsoleWrite($mission)
			$a_mission=_Stringbetween($mission,'<a href="/wiki/','_(Zaishen-Mission)" title="',0) ; puts result of stringbetween to array
			if not IsArray($a_mission) then msgbox(0,"no","no")
			$v_combat=$aRecords[$x+4]
			$a_combat=_Stringbetween($v_combat,'</td><td>  <a href="/wiki/','_(Zaishen-Kampf)" title="',0) ; puts result of stringbetween to array
			;_ArrayDisplay($a_combat)
			$vanquish=$aRecords[$x+5]
			$a_vanquish=_Stringbetween($vanquish,'</td><td>  <a href="/wiki/','_(Zaishen-Bezwingung)" title="',0) ; puts result of stringbetween to array
			$v_wanted=$aRecords[$x+6]
			$a_wanted=_Stringbetween($v_wanted,'</td><td>  <a href="/wiki/Gesucht:','" title="Gesucht:',0) ; puts result of stringbetween to array



				;_ArrayDisplay($a_wanted)
				;get Mission language and pic
				local $i = 0
				#Region get Mission lang
					For $nz = 0 To UBound($Missionen) - 1
						If StringRegExp($Missionen[$nz][0], $a_mission[0], 0) Then
							$i = $nz
							exitloop
						EndIf
					Next
					#Region getpic
							$getpic = InetRead("http://www.guildwiki.de/wiki/" & "Datei:" & StringRegExpReplace($Missionen[$i][1], " ", "_") & ".jpg"); language needs  to be 1=german here
							$bgetpic = BinaryToString($getpic)
							Local $missionpicurls = _stringbetween($bgetpic, "gwiki/images/", ".jpg")
							$piclink = "http://www.guildwiki.de/gwiki/images/" & $missionpicurls[0] & ".jpg"
							InetGet($piclink, "mission.jpg")
							local $p_mission = [MENTION=5699755]Scriptd[/MENTION]ir & "\mission.jpg"
					#EndRegion getpic
				#EndRegion get Mission lang

						#Region get Vanquish
						Local $No = 0
							For $o = 0 To UBound($Vanq) - 1
								If StringRegExp($Vanq[$o][0], $a_vanquish[0], 0) Then
									$No = $o
									exitloop
								EndIf
							next
						#EndRegion get Vanquish

							#Region get Wanted
								local $NP = 0
								For $p = 0 To UBound($Wanted) - 1
									If StringRegExp($Wanted[$p][0], $a_wanted[0], 0) Then
										$NP = $p
										exitloop
									Endif
								next
							#EndRegion get Wanted

								#Region get Combat
									local $NZ = 0
									For $z = 0 To UBound($Combat) - 1
										If StringRegExp($Combat[$z][0], $a_combat[0], 0) Then
											$NZ = $z
											exitloop
										EndIf
									next
								#EndRegion get Combat

									#Region get Bounty
									local $NX = 0
										For $n = 0 To UBound($Bounty) - 1
										If StringRegExp($Bounty[$n][0], $a_bounty[0], 0) Then
											$NX = $n
											exitloop
										EndIf
										next
									#EndRegion get Bounty

; B
				$s_zaishen="<" &$lang_strings[3][$language]&">" [MENTION=3576271]CRLF[/MENTION] & $Bounty[$NX][$language] & [MENTION=3576271]CRLF[/MENTION] & [MENTION=3576271]CRLF[/MENTION] &  "<"&$lang_strings[2][$language]& ">"& [MENTION=3576271]CRLF[/MENTION] &$Missionen[$i][$language] _
				& [MENTION=3576271]CRLF[/MENTION] & [MENTION=3576271]CRLF[/MENTION] &"<" &$lang_strings[4][$language]&">"& [MENTION=3576271]CRLF[/MENTION] & $Combat[$NZ][$language] & [MENTION=3576271]CRLF[/MENTION] & [MENTION=3576271]CRLF[/MENTION] &"<" &$lang_strings[0][$language]& ">"& [MENTION=3576271]CRLF[/MENTION] &$Vanq[$No][$language]& [MENTION=3576271]CRLF[/MENTION] & [MENTION=3576271]CRLF[/MENTION] & _
				"<" & $lang_strings[5][$language]&">"& [MENTION=3576271]CRLF[/MENTION] &$Wanted[$NP][$language]

				_Toast_Show($p_mission, $lang_strings[1][$language],"" & [MENTION=3576271]CRLF[/MENTION] & $s_zaishen)
				sleep(8000)
 EndFunc
exit
Attached Files
File Type: rar Daily_activities.rar (31.2 KB, 13 views)
Ralle1976 is offline  
Thanks
4 Users
Old   #4
 
solos's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 325
Received Thanks: 85
hi Ralle1976,

thank you for your reply, i adopted your tips and added it. You are right i didn't test every Quest.

The error you get is a different one tough.
It's simply the searchpattern Mission{0} beeing not equal to the query result of the website(Utf-8 problem). I've made some changes to it, but i think i am not done fixing all "bugs".

If i look at today, the combat was "Alliance Battles" my search pattern was "Bündniskämpfe" but in the html from the german wiki it was "B%C3%BCndnisk%C3%A4mpfe" -> StringRegExp finds no result and throughs the error "" ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.:""

It's nice to see how you solved the problem with the csv, same problem different solution

@: i updated v1.2 once again gvg was a wrong string...
here is a little preview to what i am actually planning to use this for
Attached Images
File Type: png sneak.png (73.9 KB, 196 views)
solos is offline  
Old   #5
 
solos's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 325
Received Thanks: 85
wow - it's been a while i am back to it for the next two weeks.
I have a few ideas to extend the tool and want to see what i can do.
the project continues under the new name gwteamz and will be available in 3 different languages(german, english, french) i think those are the most known languages of gw players.


you can find the current dev.state at


edit: project was cancelöed though this is mostly implemented into gwtoolbox yet
Attached Images
File Type: png udpate.png (51.0 KB, 105 views)
solos is offline  
Thanks
3 Users
Reply


Similar Threads Similar Threads
[Tool] League of Legends Tool 1.0 [Tool]
11/14/2013 - League of Legends Hacks, Bots, Cheats & Exploits - 17 Replies
Hallo Com. Ich möchte euch heute mein selbst entwickeltes Tool vorstellen. Das Tool kann zwar nicht so viel aber bald wird es eine V.I.P "Edition" geben. (Was das heißt "lest" ihr später!) Als erstes möchte ich euch erklären was das Tool kann: Ihr könnt mit diesem Programm League of Legends öffnen, der Status bleibt auf "Offline" sobald League of Legends gestartet ist (sprich: Patch) könnt ihr nun die Funktion nutzen das ihr eure ID und Passwort abspeichern könnt. (Nicht im Programm in...
[Tool]SRO Taxi Tool V1[Tool]
04/05/2010 - SRO Hacks, Bots, Cheats & Exploits - 19 Replies
SRO Taxi Tool V1 Hello all, This is my First Post / Thread. I made a SRO Taxi Tool. I have seen some SRO Taxi Tool. I saw one that was very cool and it got virus so i made my own one. ScreenShot:



All times are GMT +2. The time now is 19:44.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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