taultunleashed logochat log : VGExtreme General Discussion
newtopic  postreply
 [ 9 posts ] 
blue large dot

chat log : VGExtreme General Discussion

Posted: April 19th, 2007, 1:50 pm
 
danzar

Total Posts: 527
Location: NC, USA
Joined: May 4th, 2005, 8:36 pm
danzar's Reps: 7
User avatar
Moderator
premium
Stay = 1
Do While (Stay = 1)
Do While Not (Infile.atEndOfStream ) ' do while not EOF
Line = Infile.ReadLine ' Read a Line from InFile
If Instr (Line, "is already over") Then
Stay = 0
end if

Ok my problem is that the scipt makes the log file but it dosn't enter the if statement when the text is true.

The text is in the log.txt but it just seems its not reading it..

BTW i copyed this block from someone else script

danzar


Reply with quote
Posted: April 19th, 2007, 8:54 pm
 
gheezer
gheezer's Reps:
User avatar
Danzar, try:

If Instr(Line, "is already over") > 0 Then

or

If Instr(1, Line, "is already over") > 0 Then


Reply with quote
Posted: April 27th, 2007, 4:39 pm
 
danzar

Total Posts: 527
Location: NC, USA
Joined: May 4th, 2005, 8:36 pm
danzar's Reps: 7
User avatar
Moderator
premium
I have figured out what i am doing wrong.. My script it reads the whole text file everytime i start the the script. So i need to knwo how to make it just read like the last 3 lines or just theres abouts.

thanks
danzar


Reply with quote
Posted: April 27th, 2007, 7:39 pm
 
danzar

Total Posts: 527
Location: NC, USA
Joined: May 4th, 2005, 8:36 pm
danzar's Reps: 7
User avatar
Moderator
premium
i got it figured out. i had a sleep delay killing me in a if statement that was making me think it wasnt responding right..

Danzar


Reply with quote
Posted: April 28th, 2007, 12:04 pm
 
danzar

Total Posts: 527
Location: NC, USA
Joined: May 4th, 2005, 8:36 pm
danzar's Reps: 7
User avatar
Moderator
premium
how would i make it so that the read line would not reread the same line twice?


Reply with quote
Posted: April 28th, 2007, 1:04 pm
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
HMm.. i looked at it. The problem is it needs a small update.

It is missing the chat channel. Ie [General], [Combat] etc at the very beginning of the line. As a temp fix, remove duplicate messages from each channel. I should have fix up by tomorrow though.

I would not read the whole log every time. I would use a FSO file object (or the built in xum log reading commands) so that it only reads "NEW" lines. You can call it over and over, and it will return "" unless there is new text.

_________________
Use Search first, ask questions later!


Reply with quote
Posted: April 28th, 2007, 3:58 pm
 
danzar

Total Posts: 527
Location: NC, USA
Joined: May 4th, 2005, 8:36 pm
danzar's Reps: 7
User avatar
Moderator
premium
Ok Awsome thank you for your help.

Danzar
BTW get my account back tomorrow woohoo


Reply with quote
Posted: April 30th, 2007, 6:39 pm
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
May 1, 2007 - VGExtreme v1.10

-- Bugfix VG chat log now logging the correct chat window name
-- Added Crafting:

Crafting functions are starting to go in. Most are self explanatory. But, holler if you need help!

'Function Crafting_State
'Function Crafting_StepHealth(step)
'Function Crafting_ComplicationHealth(step)
'Function Crafting_StageCount
'Function Crafting_StepCount
'Function Crafting_Stage
'Function Crafting_ActionPointsMax
'Function Crafting_ActionPointsLeft
'Function Crafting_Quality
'Function Crafting_QualityLetter
'Function Crafting_CurrentStageHealth
'Function Crafting_RecipeId
'Function Crafting_RecipeSectionName
'Function Crafting_RecipeNumUses
'Function Crafting_RecipeDescription
'Function Crafting_RecipeName
'Function Crafting_ActionDescription(step)
'Function Crafting_RemedyDescription(step)
'Function Crafting_ToolTipDescription
'Function Crafting_ToolTipName

_________________
Use Search first, ask questions later!


Reply with quote
Posted: April 30th, 2007, 9:38 pm
 
danzar

Total Posts: 527
Location: NC, USA
Joined: May 4th, 2005, 8:36 pm
danzar's Reps: 7
User avatar
Moderator
premium
AWSOME MAN!!~


Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 13 guests

Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of VGExtreme General Discussion RSS Feed 
Sitemap of VGExtreme General Discussion Sitemap 
SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?