ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: kaos91 on July 13, 2013, 12:56:30 AM
-
Hi I have a strange request to see if there is or could create, I'm killing monsters in doom, I would like to have a count that is dead in doom, a script that count how many df, impaler, shadow knight et .. and killed, it would be possible? There is something similar?
as I discuss in my earlier post I'm new at this and would not know where to start if I tried to do it myself XD! Thanks in advance. ;)
-
(https://d27fcql9yjk2c0.cloudfront.net/assets/5087159/view_large/Counting-Coup-Chalkboard.jpg?1329163758)
This is possible, some hints:
findtype on enemy set findid to a variable (IE: %monster1)
once the id (%monster1) is gone. accumulate another variable (IE: %monster1count) with something like %monster1count = %monster1count + 1.
-
Hi I have a strange request to see if there is or could create, I'm killing monsters in doom, I would like to have a count that is dead in doom, a script that count how many df, impaler, shadow knight et .. and killed, it would be possible? There is something similar?
as I discuss in my earlier post I'm new at this and would not know where to start if I tried to do it myself XD! Thanks in advance. ;)
I did this long ago with my Gauntlet Script to get statistics how much artifacts dropped within wich time and how many enemys i killed.
Basicly its not really hard to count them, but you need to take care about the filter.
When should the script know, if you killed enemy or not? I often had situations were 2 or 3 Enemys were in 1 room ( i were macroing with 4-5 accounts and had followers who joined when they knowed i script ) and if i would just count the corpses, it would be unaccurate. So you would need a script that counts deaths of persons you attack.
You maybe could write a small Hotkey based script, what targets an enemy and scans until it dies and count based on the enemytype were to add to counter.
-
Also you have to keep in mind the Shadow Knights that stealth/hide.
http://www.uoguide.com/Shadow_Knight
And when the lesser bosses teleport. I've also seen the dark father teleport as well. So that's something that you have to keep in mind in order to cut down on false positives.
-
is there any such script already created? I have no experience would not know where to start any command donot: S false positives do not care about the truth is to have an approximate number for me to an idea for every few falls artyfac
-
is there any such script already created? I have no experience would not know where to start any command donot: S false positives do not care about the truth is to have an approximate number for me to an idea for every few falls artyfac
Iam total out of EasyUO, i wroted such script looong ago and last time updated it 2010.
If you just want it super simple, you could make a simple script looping through itself and scan for Type of Bosses , every time it finds an result counts + 1 and set that Boss on Ignore. I believe this could be handled with less than 20 lines of Code ( Scan Process ) and maybe another 20 for a Graphical Interface or 1-2 more if it just would print Timestamp and Type. If you print it formatable to Excel ( Date | Type ) you could just read it out in Excel, make sum of all and and see what happend when.
Sample could be : Timestamp | Boss1 | Boss2 | Boss3 | Boss4 | Boss5 | DF
and Sample output could be : 07/13/2013 8:34PM | 0 | 1 | 0 | 0 | 0 | 0
In Excel you could seperate line Import throught | and would have 7 Columns. at end you could build a Sum through Excel :-)
Edit : Are you playing Osi or Freeshard?
Osi Chances you can Calculate through UOGuide and Freeshard have almost all the same chances :
public static int GetArtifactChance(Mobile boss)
{
if (!Core.AOS)
return 0;
int luck = LootPack.GetLuckChanceForKiller(boss);
int chance;
if (boss is DemonKnight)
chance = 1500 + (luck / 5);
else
chance = 750 + (luck / 10);
return chance;
}
-
You guys are way over thinking this. Just Check the bodies for the Property. I assume he is down there by himself killing these bosses.
set %N_Strings 3
Set %String1 Father
set %String2 Impaler
set %String3 Noobs
Repeat
Finditem YFM G_10
if #Findcnt > 0
{
Event Property #Findid
for %String 1 %N_Strings
{
if %String . %String in #Property
{
set % , %String . %String % . %String . %String + 1 ; Confusing....
}
}
ignoreitem #Findid
}
Until #False
This would output the # of Dead bodies with the Right string to a variable specified by the String....
So in that example the # of Dark Father Bodies would be Shown by
%Father
-
You guys are way over thinking this.
set %N_Strings 3
Set %String1 Father
set %String2 Impaler
set %String3 Noobs
Repeat
Finditem YFM G_10
if #Findcnt > 0
{
Event Property #Findid
for %String 1 %N_Strings
{
if %String . %String in #Property
{
set % , %String . %String % . %String . %String + 1 ; Confusing....
}
}
ignoreitem #Findid
}
Until #False
This would output the # of Dead bodies with the Right string to a variable specified by the String....
So in that example the # of Dark Father Bodies would be Shown by
%Father
Well You are the pro at easyuo. I wouldnt count me anymore better then a freshman in euo ;-)
-
Yeah, you know more about EUO than I know about stealth though chrome!
I meant Everyone was over thinking it with the Types for the Monsters. Just Check Corpses and look for Properties.
You might have to add in a delay after it finds the Corpse before it Checks the Property.
If you want to Monitor These #'s without Building a menu, then you can do this with Easyuo.
Goto Tools on the EUO menu > Manage Var List.
You should see something like this.
\Character Info
#Charposx
#Charposy
#Charposz
#Chardir
Just add Whatever Variables you want to watch above the \Character Info. So in the Example I gave you
%Father
%Impaler
%Noobs
\Character info
#Charposx
#Charposy
#Charposz
#Chardir
^^ That's what it would look like once you added them.
-
EasyUO not find any in that aga what I need, you can give me some lines of his art? if you have Impalers parents and I'm happy, something simple and fast for domestic use =) in my server is down the luck, works for rounds completed. ;)
Edited : Freeshard
-
Can anyone help me with the THIS please = (I have no idea about programming, 0 of 0 nothing and this script would be very useful me please :( singles Seeking Something Simple and counter / Mini Monitor nothing else could someone help me? :'(
-
Just copy and Paste that Into EUO. All it does is Count Corpses with specific Keywords. I Don't know if those keywords are the Correct ones that will wind up on their Corpses when they die, but it seems to work. I changed the Names to animals at Jhelom farms and killed them for a bit, seemed to keep up fairly well.
This is some advanced parsing. I wouldn't suggest trying to understand it just yet, but we do have some lovely tutorials here and there are some decent tutorials over at EUO as well for beginning scripter :)
set %N_Strings 5
Set %String1 Father
set %String2 Impaler
set %String3 Creeper
set %String4 Knight
set %String5 Horror
Menu Window Size 300 300
Menu Show 0 0
Menu Font Style Bold
Menu Font Size 14
For %I 1 %N_Strings
{
set %Y %I * 40
set %Y2 %I * 40 - 2
Menu Text Text , I 10 %Y %String . %I :
Menu Edit %String . %I 120 %Y2 50 0
}
Repeat
Finditem YFM G_10
if #Findcnt > 0
{
wait 5
Event Property #Findid
for %String 1 %N_Strings
{
if %String . %String in #Property
{
set % , %String . %String % . %String . %String + 1 ; Confusing....
Menu Set %String . %String % . %String . %String
}
}
ignoreitem #Findid
}
Until #False
-
Just copy and Paste that Into EUO. All it does is Count Corpses with specific Keywords. I Don't know if those keywords are the Correct ones that will wind up on their Corpses when they die, but it seems to work. I changed the Names to animals at Jhelom farms and killed them for a bit, seemed to keep up fairly well.
This is some advanced parsing. I wouldn't suggest trying to understand it just yet, but we do have some lovely tutorials here and there are some decent tutorials over at EUO as well for beginning scripter :)
set %N_Strings 5
Set %String1 Father
set %String2 Impaler
set %String3 Creeper
set %String4 Knight
set %String5 Horror
Menu Window Size 300 300
Menu Show 0 0
Menu Font Style Bold
Menu Font Size 14
For %I 1 %N_Strings
{
set %Y %I * 40
set %Y2 %I * 40 - 2
Menu Text Text , I 10 %Y %String . %I :
Menu Edit %String . %I 120 %Y2 50 0
}
Repeat
Finditem YFM G_10
if #Findcnt > 0
{
wait 5
Event Property #Findid
for %String 1 %N_Strings
{
if %String . %String in #Property
{
set % , %String . %String % . %String . %String + 1 ; Confusing....
Menu Set %String . %String % . %String . %String
}
}
ignoreitem #Findid
}
Until #False
and tested it and it does not detect the body, only detects it when I stop and start, restart and it works but one by one, as is this happening to me? : S
PD : Great Job Great Script :P! Thx All
-
Try now,
set %N_Strings 5
Set %String1 Father
set %String2 Impaler
set %String3 Creeper
set %String4 Knight
set %String5 Horror
Menu Window Size 300 300
Menu Show 0 0
Menu Font Style Bold
Menu Font Size 14
For %I 1 %N_Strings
{
set %Y %I * 40
set %Y2 %I * 40 - 2
Menu Text Text , I 10 %Y %String . %I :
Menu Edit %String . %I 120 %Y2 50 0
}
Repeat
Finditem YFM G_10
if #Findcnt > 0
{
For %Attempt 1 4
{
Event Property #Findid
wait 5
if Corpse in #property
Break
}
for %String 1 %N_Strings
{
if %String . %String in #Property
{
set % , %String . %String % . %String . %String + 1 ; Confusing....
Menu Set %String . %String % . %String . %String
}
}
ignoreitem #Findid
}
Until #False
-
Try now,
set %N_Strings 5
Set %String1 Father
set %String2 Impaler
set %String3 Creeper
set %String4 Knight
set %String5 Horror
Menu Window Size 300 300
Menu Show 0 0
Menu Font Style Bold
Menu Font Size 14
For %I 1 %N_Strings
{
set %Y %I * 40
set %Y2 %I * 40 - 2
Menu Text Text , I 10 %Y %String . %I :
Menu Edit %String . %I 120 %Y2 50 0
}
Repeat
Finditem YFM G_10
if #Findcnt > 0
{
For %Attempt 1 4
{
Event Property #Findid
wait 5
if Corpse in #property
Break
}
for %String 1 %N_Strings
{
if %String . %String in #Property
{
set % , %String . %String % . %String . %String + 1 ; Confusing....
Menu Set %String . %String % . %String . %String
}
}
ignoreitem #Findid
}
Until #False
dont function :S i play tammer in doom no count added number