Author Topic: Need Script Monster Death Count  (Read 6564 times)

0 Members and 1 Guest are viewing this topic.

Offline kaos91Topic starter

  • Jr. Member
  • **
  • Posts: 26
  • Activity:
    0%
  • Reputation Power: 0
  • kaos91 has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Need Script Monster Death Count
« on: July 13, 2013, 12:56:30 AM »
0
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. ;)

Offline dxrom

  • Master of the milestones!
  • Elite
  • *
  • *
  • Posts: 1080
  • Activity:
    0%
  • Reputation Power: 15
  • dxrom is working their way up.dxrom is working their way up.dxrom is working their way up.
  • KEYBOARD COWBOY, GREAT SAMURAI OF THE INTERNET.
  • Respect: +100
  • Referrals: 1
    • View Profile
Re: Need Script Monster Death Count
« Reply #1 on: July 13, 2013, 02:12:39 AM »
0


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.



 ​_██​_
(ಠ​_ృ)
I do say, ol' Chap! Come play EVE Online! Why here is a 21 Day Free Trial!

Offline Crome969

  • Elite
  • *
  • *
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: Need Script Monster Death Count
« Reply #2 on: July 13, 2013, 05:19:25 AM »
0
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.

Offline dxrom

  • Master of the milestones!
  • Elite
  • *
  • *
  • Posts: 1080
  • Activity:
    0%
  • Reputation Power: 15
  • dxrom is working their way up.dxrom is working their way up.dxrom is working their way up.
  • KEYBOARD COWBOY, GREAT SAMURAI OF THE INTERNET.
  • Respect: +100
  • Referrals: 1
    • View Profile
Re: Need Script Monster Death Count
« Reply #3 on: July 13, 2013, 05:48:05 AM »
0
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.



 ​_██​_
(ಠ​_ృ)
I do say, ol' Chap! Come play EVE Online! Why here is a 21 Day Free Trial!

Offline kaos91Topic starter

  • Jr. Member
  • **
  • Posts: 26
  • Activity:
    0%
  • Reputation Power: 0
  • kaos91 has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: Need Script Monster Death Count
« Reply #4 on: July 13, 2013, 07:30:11 AM »
0
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

Offline Crome969

  • Elite
  • *
  • *
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: Need Script Monster Death Count
« Reply #5 on: July 13, 2013, 10:35:03 AM »
0
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 :
Code: [Select]
       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;
        }
« Last Edit: July 13, 2013, 10:39:17 AM by Crome969 »

Offline manwinc

  • Elite
  • *
  • *
  • Posts: 2556
  • Activity:
    0%
  • Reputation Power: 32
  • manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!
  • Gender: Male
  • "The Devs Hard at Work"
  • Respect: +123
  • Referrals: 1
    • View Profile
Re: Need Script Monster Death Count
« Reply #6 on: July 13, 2013, 10:41:13 AM »
0
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.


Code: [Select]
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
« Last Edit: July 13, 2013, 11:07:34 AM by manwinc »
Monkeys and Typewriters!

" Oh I know, We'll make a Boss Encounter that requires 3 keys per player to enter, Then we'll make it not a closed instance so you never know if you are going to pop into a fresh room or a boss that has 1% Health left with 20 dudes smashing its face in, wasting your time and effort"

Offline Crome969

  • Elite
  • *
  • *
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: Need Script Monster Death Count
« Reply #7 on: July 13, 2013, 10:42:51 AM »
0
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 ;-)

Offline manwinc

  • Elite
  • *
  • *
  • Posts: 2556
  • Activity:
    0%
  • Reputation Power: 32
  • manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!
  • Gender: Male
  • "The Devs Hard at Work"
  • Respect: +123
  • Referrals: 1
    • View Profile
Re: Need Script Monster Death Count
« Reply #8 on: July 13, 2013, 11:06:21 AM »
0
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. 
Monkeys and Typewriters!

" Oh I know, We'll make a Boss Encounter that requires 3 keys per player to enter, Then we'll make it not a closed instance so you never know if you are going to pop into a fresh room or a boss that has 1% Health left with 20 dudes smashing its face in, wasting your time and effort"

Offline kaos91Topic starter

  • Jr. Member
  • **
  • Posts: 26
  • Activity:
    0%
  • Reputation Power: 0
  • kaos91 has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: Need Script Monster Death Count
« Reply #9 on: July 13, 2013, 11:16:54 AM »
0
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
« Last Edit: July 13, 2013, 02:51:23 PM by kaos91 »

Offline kaos91Topic starter

  • Jr. Member
  • **
  • Posts: 26
  • Activity:
    0%
  • Reputation Power: 0
  • kaos91 has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: Need Script Monster Death Count
« Reply #10 on: July 15, 2013, 02:36:29 AM »
0
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? :'(

Offline manwinc

  • Elite
  • *
  • *
  • Posts: 2556
  • Activity:
    0%
  • Reputation Power: 32
  • manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!
  • Gender: Male
  • "The Devs Hard at Work"
  • Respect: +123
  • Referrals: 1
    • View Profile
Re: Need Script Monster Death Count
« Reply #11 on: July 15, 2013, 05:45:57 AM »
0
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 :)

Code: [Select]
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
Monkeys and Typewriters!

" Oh I know, We'll make a Boss Encounter that requires 3 keys per player to enter, Then we'll make it not a closed instance so you never know if you are going to pop into a fresh room or a boss that has 1% Health left with 20 dudes smashing its face in, wasting your time and effort"

Offline kaos91Topic starter

  • Jr. Member
  • **
  • Posts: 26
  • Activity:
    0%
  • Reputation Power: 0
  • kaos91 has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: Need Script Monster Death Count
« Reply #12 on: July 15, 2013, 06:48:30 AM »
0
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 :)

Code: [Select]
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
« Last Edit: July 15, 2013, 07:08:26 AM by kaos91 »

Offline manwinc

  • Elite
  • *
  • *
  • Posts: 2556
  • Activity:
    0%
  • Reputation Power: 32
  • manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!
  • Gender: Male
  • "The Devs Hard at Work"
  • Respect: +123
  • Referrals: 1
    • View Profile
Re: Need Script Monster Death Count
« Reply #13 on: July 15, 2013, 08:17:53 AM »
0
Try now,

Code: [Select]
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
Monkeys and Typewriters!

" Oh I know, We'll make a Boss Encounter that requires 3 keys per player to enter, Then we'll make it not a closed instance so you never know if you are going to pop into a fresh room or a boss that has 1% Health left with 20 dudes smashing its face in, wasting your time and effort"

Offline kaos91Topic starter

  • Jr. Member
  • **
  • Posts: 26
  • Activity:
    0%
  • Reputation Power: 0
  • kaos91 has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: Need Script Monster Death Count
« Reply #14 on: July 15, 2013, 08:29:35 AM »
0
Try now,

Code: [Select]
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

Tags: Gauntlet  Doom