D2NT Drucken

04/13/2010 08:03 Sub#1
Ich habe eine funktion, die den kalten immunes überspringt. Manchmal ist der bildschirm gefüllt ist. Wie kann ich eine zeitmesser eingang, damit es nicht den bildschirm auszufüllen?

Code:
if(NTA_GetResistance(target, NTA_DAMAGE_COLD) >= 100)
	{
		Print("˙c3Cold Immune " + "˙c8" + target.name)
		return 1;
	}
04/13/2010 14:34 Muddy Waters#2
Quote:
Originally Posted by Sub View Post
Ich habe eine funktion, die den kalten immunes überspringt. Manchmal ist der bildschirm gefüllt ist. Wie kann ich eine zeitmesser eingang, damit es nicht den bildschirm auszufüllen?

Code:
if(NTA_GetResistance(target, NTA_DAMAGE_COLD) >= 100)
	{
		Print("˙c3Cold Immune " + "˙c8" + target.name)
		return 1;
	}
Bitte korrektes Deutsch oder Englisch, ich verstehe es so jedenfalls nicht. ;)

In case your native language is not german, please provide a brief description of your problem in english. It is rather difficult to get the point of the the above text.

LG
Muddy
04/13/2010 17:13 Sub#3
Quote:
Originally Posted by Muddy_Waters View Post
Bitte korrektes Deutsch oder Englisch, ich verstehe es so jedenfalls nicht. ;)

In case your native language is not german, please provide a brief description of your problem in english, in case your native language is not german. It is rather difficult to get the point of the the above text.

LG
Muddy
Is there a way to put a timer to the print function so it does not spam the screen?
04/13/2010 18:56 Muddy Waters#4
Quote:
Originally Posted by Sub View Post
Is there a way to put a timer to the print function so it does not spam the screen?
Well, I don't really get the point of that output and I'd probably just remove it. :cool:
Anyway, If you still want to keep it, I got a suggestion:
How about just using that output when the attacked monster is some kind of boss?

Could you post the full script? I need more context. ;)

Regards
Muddy

Btw: This is way better than this google translation text you posted before. ;)
04/14/2010 01:08 Sub#5
Quote:
Originally Posted by Muddy_Waters View Post
Well, I don't really get the point of that output and I'd probably just remove it. :cool:
Anyway, If you still want to keep it, I got a suggestion:
How about just using that output when the attacked monster is some kind of boss?

Could you post the full script? I need more context. ;)

Regards
Muddy

Btw: This is way better than this google translation text you posted before. ;)
That google translation came out in perfect english but what ever lol.

That output tells you that it successfully skipped a cold immune because you wont see it happen. But the problem is, it scans every mob and in places like the Pit with alot of cold immunes, the print will get spammed on the screen. The same mob might get scanned 3 or 4 times so the screen is full of it.

I need to know how to set a timer to the print function so it only prints every second or so so my screen isnt filled with this.

[Only registered and activated users can see links. Click Here To Register...]
04/14/2010 03:37 Metal God#6
whats the problem if your bot`s screen get filled with cold immune messages? the bot won't care about too much messages and just will lose some time by scanning some mobs again. If you are just getting worried by the bots messages, don't care about them if your bot doesn't chicken ;)
04/14/2010 04:30 6momo6#7
Hi,

why dont u just remove

{
Print("˙c3Cold Immune " + "˙c8" + target.name)
return 1;
}

so youll get no spam anymore :)

-momo
04/14/2010 05:52 Sub#8
Because I like to watch the bot run and when it skips champions and unique monsters I told it to specificlly kill, Id like to know why it skipped them lol So does anyone know how to make a timer for it?
04/14/2010 12:12 fK_#9
there is no explicit delay function for text output (afaik)
you have to work out something on your own.
(you could sent i timestamp and check it etc)

and i actually don't get skipping part either.
what is your anticipation? i) do you want to check the script?
ii) do you want to kill immun champs differently? or iii) do you just want to watch the bot doing his job (O_o)?

in case of i) and ii) not showing all logs is not the best idea, as for checking (i) or not skipping (ii) you need all the information.

problem with delaying is you can't control which information you loose on your way (e.g. if you show a string every other second)

so imho you should show all the information or none at all

edit: btw lol @ title XD (in german 'print' means the work printers do, and this only)