Page 1 of 1
ETPro log question
Posted: Thu Nov 01, 2007 10:18 am
by roissgil
I'm trying to look at the logs and differentiate between a player being given a medpack by another medic and a medic feeding themselves a medpack. What I'm seeing in the logs, the 2 events are logged identically:
Item: 8 item_health
If a medic is given 3 healthpacks, I'll see 3 of those "Item" messages.. and sometimes 1 message that says Health_Pack: 10 8
But there doesn't appear to be a 1 to 1 relationship between the "Item" message and the "Health_pack" message if a medic eats more than 1 pack from another medic.
Ideally I would think that a medic eating one of their own packs would have just the "Item" message for each pack. While a medic eating a pack given to them by another medic would have both an "Item" and a "Health_pack" message for EACH medpack eaten.
Am I missing something that would help me tell the difference?
Thanks
Posted: Thu Nov 01, 2007 12:57 pm
by =FF=im2good4u
i think u cant find the dirrence especaly since they can also be put on the grond and thne u can walk over it but once its on the ground it an entity that doesnt refernce to who originaly made it i think
maybe u can get the difference when u use etpro lua scripting
Posted: Thu Nov 01, 2007 1:16 pm
by ReyalP
=FF=im2good4u wrote:i think u cant find the dirrence especaly since they can also be put on the grond and thne u can walk over it but once its on the ground it an entity that doesnt refernce to who originaly made it i think
The game knows, because it knows who to give the XP to. However, I think you are correct that you cannot tell from the log.
maybe u can get the difference when u use etpro lua scripting
It would be tricky if possible.
Posted: Thu Nov 01, 2007 2:43 pm
by roissgil
Ugh.. I wouldn't even know where to begin. I can figure out the syntax/constructs of most any programming language... my roadblock is knowing where to look for the data.. and how to use it once I got it. lol
Any help you could give me would be greatly appreciated.
Thanks
Posted: Thu Nov 01, 2007 10:05 pm
by Nail
Jaymod has a feature to stop self healing, not sure if it's any help
Posted: Fri Nov 02, 2007 6:57 am
by =FF=im2good4u
ReyalP wrote:
maybe u can get the difference when u use etpro lua scripting
It would be tricky if possible.
Heh im bored anyway ill try what i cna do today
![Razz :P](./images/smilies/icon_razz.gif)
Posted: Fri Nov 02, 2007 1:06 pm
by ReyalP
roissgil wrote:Ugh.. I wouldn't even know where to begin. I can figure out the syntax/constructs of most any programming language... my roadblock is knowing where to look for the data.. and how to use it once I got it. lol
Any help you could give me would be greatly appreciated.
Thanks
http://wolfwiki.anime.net/index.php/Lua_Mod_API
To know what the various fields and API calls do, you'll have to examine the ET SDK source.
That said, I have serious doubts you'll be able to do it effectively, as you can't currently set lua callbacks on the various entity functions.
Posted: Sat Nov 03, 2007 11:19 am
by =FF=im2good4u
ReyalP wrote:That said, I have serious doubts you'll be able to do it effectively, as you can't currently set lua callbacks on the various entity functions.
Verry tru iv tryed it and i didnt get any far. i do have a more complicated idea that might work but that would invovle code in RunFrame and that might screw up fps
![Confused :?](./images/smilies/icon_confused.gif)
Posted: Sun Nov 04, 2007 7:00 am
by roissgil
Thanks for the effort. I do appreciate it. But it looks like it can't be done.. and that's fine.
Thanks