Author Topic: My new project  (Read 3806 times)

0 Members and 1 Guest are viewing this topic.

Offline welgillTopic starter

  • Don't mess with TM!
  • Jr. Member
  • **
  • Posts: 92
  • Activity:
    0%
  • Reputation Power: 0
  • welgill has no influence.
  • Gender: Male
  • Respect: +9
  • Referrals: 1
    • View Profile
My new project
« on: September 02, 2009, 04:37:16 AM »
0
I am going to attempt to make a spellweaver assistant that will keep all the buffs going.
Now I have two ways I can go here and would like advice from someone better at scripting than I am.
Option1: use EN's buffbar subs to keep scanning buffbar and cast each spell as icon goes away

Option 2: use a timer for each spell and cast at intervals

which is going to be the most stable/best and which is going to be esiest to write please remember this will be my first project in umm 7 years or so.... anyway looking forward to your views

Offline _C2_

  • AFK FtW
  • Global Moderator
  • *
  • *
  • Posts: 4077
  • Activity:
    0%
  • Reputation Power: 48
  • _C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!
  • RIP Pen Trick
  • Respect: +254
  • Referrals: 4
    • View Profile
Re: My new project
« Reply #1 on: September 02, 2009, 04:46:03 AM »
0
I personally like EN's buffbar...
   However the everything in one folder seems to mess folks up on public scripts a bit.

If you dont use his buff bar - you will need to use the cast check icon enter how long timer is in a hardcode faction by user as they vary.  If there are some formulas out there for figuring out the timers I would let the math do all the work.  Cerveza has a great timer for curse weapon.  I bet someone has a reproducable formula for how long the spells last.. some don't have icons to my knowledge like arcane empowerment.

Offline welgillTopic starter

  • Don't mess with TM!
  • Jr. Member
  • **
  • Posts: 92
  • Activity:
    0%
  • Reputation Power: 0
  • welgill has no influence.
  • Gender: Male
  • Respect: +9
  • Referrals: 1
    • View Profile
Re: My new project
« Reply #2 on: September 02, 2009, 04:50:34 AM »
0
AE does have icon but it only lasts (for me anyway) 20 sec
I am leaning towards the scanner for the exact reasons you stated even when i was regularly scripting math was lordsid's dept lol I was terrible at scripting math functions  :'(

Offline Cerveza

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: My new project
« Reply #3 on: September 02, 2009, 04:55:27 AM »
0
The values *should* be based on skill, and if I can find the formulas I could setup your timers. Spellweaving has pretty long "cool down" times, which could be skill related as well.

The buff bar scanner is go/no go. Simple to use. You'd still need to know the "cool down" times though.
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline welgillTopic starter

  • Don't mess with TM!
  • Jr. Member
  • **
  • Posts: 92
  • Activity:
    0%
  • Reputation Power: 0
  • welgill has no influence.
  • Gender: Male
  • Respect: +9
  • Referrals: 1
    • View Profile
Re: My new project
« Reply #4 on: September 02, 2009, 05:25:51 AM »
0
yeah cool downs are set then minus fcr so will have fc/fcr check sub as well

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +393
  • Referrals: 1
    • View Profile
Re: My new project
« Reply #5 on: September 02, 2009, 05:50:35 AM »
0
I personally like EN's buffbar...
   However the everything in one folder seems to mess folks up on public scripts a bit.

Err you dont have to have everything in one folder ?

You just have to know where you put the script and call it with that path , you  dont have to use a path to the script if everything is in one folder

Ie All in one folder   Call ScanBuffbar
In a specfic folder   CAll C:\.....thepath\scanbuffbar
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline welgillTopic starter

  • Don't mess with TM!
  • Jr. Member
  • **
  • Posts: 92
  • Activity:
    0%
  • Reputation Power: 0
  • welgill has no influence.
  • Gender: Male
  • Respect: +9
  • Referrals: 1
    • View Profile
Re: My new project
« Reply #6 on: September 02, 2009, 01:24:10 PM »
0
EN:
Am looking at your example usage script in the buff debuff bar post.....
is this how the basic code will work?

Code: [Select]
Call ScanBuffBar.txt
set %ae _ArcaneEmpowerment_ %BuffBarIconNames
if %ae #true
  {
    Gosub ae
   }

looks right to me anyway



Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +393
  • Referrals: 1
    • View Profile
Re: My new project
« Reply #7 on: September 02, 2009, 02:20:38 PM »
0
Almost Right Forgot the NOTIN command and the = On the if line.

Code: [Select]
Call ScanBuffBar.txt
set %ae _ArcaneEmpowerment_  NOTIN %BuffBarIconNames
if %ae = #true
  {
    Gosub ae
   }

« Last Edit: September 02, 2009, 02:22:41 PM by Endless Night »
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline welgillTopic starter

  • Don't mess with TM!
  • Jr. Member
  • **
  • Posts: 92
  • Activity:
    0%
  • Reputation Power: 0
  • welgill has no influence.
  • Gender: Male
  • Respect: +9
  • Referrals: 1
    • View Profile
Re: My new project
« Reply #8 on: September 02, 2009, 02:22:00 PM »
0
thanks EN its coming together pretty good will write the calls then start looking at the pauses for cooldowns
also want to make it so it will wait to cast if casting a spell manualy
« Last Edit: September 02, 2009, 02:27:00 PM by welgill »

Scrripty

  • Guest
Re: My new project
« Reply #9 on: September 03, 2009, 04:27:23 PM »
0
The values *should* be based on skill, and if I can find the formulas I could setup your timers. Spellweaving has pretty long "cool down" times, which could be skill related as well.

The buff bar scanner is go/no go. Simple to use. You'd still need to know the "cool down" times though.

I can give you a hand with timings too, I've been doing nothing BUT timings for my script for months.  I'm pretty good with timings now. :)

Offline welgillTopic starter

  • Don't mess with TM!
  • Jr. Member
  • **
  • Posts: 92
  • Activity:
    0%
  • Reputation Power: 0
  • welgill has no influence.
  • Gender: Male
  • Respect: +9
  • Referrals: 1
    • View Profile
Re: My new project
« Reply #10 on: September 03, 2009, 05:08:15 PM »
0
schweeet  its up in debug now just timings and a little tweaking left lol

Tags: