Twister max level is 850?

In das Unterforum "Erledigt" werden alle Beiträge geschoben, die erledigt sind, bspw. bei behobenen Bugs.
Gesperrt
giopappy
Beiträge: 17
Registriert: Mi 11. Jan 2017, 12:29
Hat sich bedankt: 0
Danksagung erhalten: 0

Twister max level is 850?

Beitrag von giopappy »

Hi, I've a problem in fighting twister after passed level 850. In the log there is an info message: "Info Dungeon No matching dungeon opponents found!"
I checked the dungeons.xml file and seen that the twister section :

Code: Alles auswählen

<dungeon id="30" name="Twister" levels="1000">
has only 850 section id. Is that normal since there are 1000 levels? It's possible to add them? I tried to add other sections such as:

Code: Alles auswählen

<section id="851">
			<opponent>
				<level>471</level>
				<name>Fishorr</name>
				<class>Mage</class>
				<strength>21471</strength>
				<dexterity>21641</dexterity>
				<intelligence>86904</intelligence>
				<constitution>87322</constitution>
				<luck>30736</luck>
				<life>82431968</life>
			</opponent>
		</section>
		<section id="852">
			<opponent>
				<level>471</level>
				<name>Fishorr</name>
				<class>Mage</class>
				<strength>21471</strength>
				<dexterity>21641</dexterity>
				<intelligence>86904</intelligence>
				<constitution>87322</constitution>
				<luck>30736</luck>
				<life>82431968</life>
			</opponent>
		</section>
putting the xml file in read only mode to avoid the automatic substitution ad bot start, but I had following errors in the log:

Code: Alles auswählen

20180424 15:09:15 Info Dungeon No matching dungeon opponents found!
20180424 15:09:16 Error Core Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Message: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
HResult: -2146233086
Source: mscorlib
StackTrace:    at System.Collections.Generic.List`1.get_Item(Int32 index)
   at de.mfbot.MFBot_NG.Basisbibliothek.SingleTimeTasker.buyOneTimeItems() in File14:line 110
   at de.mfbot.MFBot_NG.Basisbibliothek.Account.(Action ) in File0:line 1525
   at de.mfbot.MFBot_NG.Basisbibliothek.Account.() in File0:line 1580
   at de.mfbot.MFBot_NG.Basisbibliothek.Account.	() in File0:line 1390
TargetSite: T get_Item(Int32)
Could it be possible to have twister working for all its levels?

Thanks
Benutzeravatar
Robin
Administrator
Beiträge: 1723
Registriert: So 30. Jun 2013, 18:12
Wohnort: Rheinland-Pfalz
Hat sich bedankt: 303 Mal
Danksagung erhalten: 354 Mal

Re: Twister max level is 850?

Beitrag von Robin »

Hi giopappy!
I'm sorry, there is no other way to add the remaining dungeon opponents because the bot needs at least some information to decide whether it should enter the dungeon or not.
That your changes didn't work can have multiple reasons, technically it should work - I also updated the file again with the help of rvm1975 so that all levels until level 900 are now possible.

Regards,
Robin
MFBot-VersionCode-Zeilen*In Dateien*Letzte Version
MFBot 1.5.x64851Juli 2013
MFBot 2.x1436316März 2014
MFBot 3.x2209536März 2015
MFBot 4.x55242241Juli 2018
MFBot 5.x66000440Tbc
*Ohne automatisch generierten Designer-Code
giopappy
Beiträge: 17
Registriert: Mi 11. Jan 2017, 12:29
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: Twister max level is 850?

Beitrag von giopappy »

Thank you very much, it works. I'll bother you again when reached lvl 900! :lol:
Benutzeravatar
Robin
Administrator
Beiträge: 1723
Registriert: So 30. Jun 2013, 18:12
Wohnort: Rheinland-Pfalz
Hat sich bedankt: 303 Mal
Danksagung erhalten: 354 Mal

Re: Twister max level is 850?

Beitrag von Robin »

Do that, I'm looking forward to it! :-D

Regards,
Robin
MFBot-VersionCode-Zeilen*In Dateien*Letzte Version
MFBot 1.5.x64851Juli 2013
MFBot 2.x1436316März 2014
MFBot 3.x2209536März 2015
MFBot 4.x55242241Juli 2018
MFBot 5.x66000440Tbc
*Ohne automatisch generierten Designer-Code
giopappy
Beiträge: 17
Registriert: Mi 11. Jan 2017, 12:29
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: Twister max level is 850?

Beitrag von giopappy »

Hi Robin, I couldn't think to reach lev 900 so quickly ... .but I did it.

When you have time, please could you add the others twister levels?

Thank you so much.
Baaam
Core Developer
Beiträge: 967
Registriert: Mo 23. Dez 2013, 14:13
Hat sich bedankt: 172 Mal
Danksagung erhalten: 206 Mal

Re: Twister max level is 850?

Beitrag von Baaam »

Currently our data contains every enemy until level 950. So you have a little more to do :P
giopappy
Beiträge: 17
Registriert: Mi 11. Jan 2017, 12:29
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: Twister max level is 850?

Beitrag von giopappy »

Oh, thanks! I've just restarted the bot and found the new dungeon.xml file!
Gesperrt

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste